push

package
v0.1.0-rc.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Protos      []string `` /* 193-byte string literal not displayed */
	Imports     []string `name:"import" short:"I" placeholder:"DIR" help:"Additional proto import path. Repeatable."`
	ProjectID   string   `` /* 151-byte string literal not displayed */
	Console     string   `` /* 192-byte string literal not displayed */
	LockPath    string   `` /* 166-byte string literal not displayed */
	NoLock      bool     `name:"no-lock" help:"Skip lock-file write."`
	FixturesDir string   `` /* 229-byte string literal not displayed */
	Decide      []string `` /* 210-byte string literal not displayed */
	Initiative  string   `` /* 257-byte string literal not displayed */
}

Cmd implements `w17ctl push` — the **single** unified command that ships every artifact the project has to console in one call. Today: compiled IR schema + every fixtures/<domain>/<name>.json. Tomorrow: any other artifact types we add (initial_data once it lands, …).

Idempotent: calling repeatedly with the same inputs is safe. Server-side stores latest body; in the future the PR/approval workflow gates promotion, but the wire contract stays the same — caller always sends "everything I have."

Per docs/conventions-global/structure.md the operator never has to think about "which subcommand"; one command, server figures out what changed.

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