codegen

package
v0.1.0-rc.45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package codegen wires `w17ctl codegen` — a thin kong adapter over the codegen orchestration in internal/codegen.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Console        string `` /* 214-byte string literal not displayed */
	Force          bool   `name:"force" help:"Overwrite existing files at the target paths. Default: error if a target file already exists."`
	AdoptGitignore bool   `` /* 265-byte string literal not displayed */
}

Cmd generates ALL derived code: the Storage-layer Go gRPC handlers + the ACL / eventbus / MCP bundles + the FE clients + deploy artifacts. It walks parent dirs to the project root, reads w17/lock.yaml, uploads every .proto under proto/ to the console, and writes the returned files under <root>/<gen_dir>/.

func (*Cmd) Run

func (c *Cmd) Run() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL