module

package
v0.1.0-rc.69 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCmd

type AddCmd struct {
	Ident       string `` /* 269-byte string literal not displayed */
	WithExample bool   `` /* 137-byte string literal not displayed */
	Console     string `` /* 176-byte string literal not displayed */
}

AddCmd implements `w17ctl module add DOMAIN/MODULE`.

The positional argument is path-shaped (`<domain>/<module>`) to mirror the directory structure the command creates and because operators tab-complete subdirs with `/`. The leading segment must be an existing domain — the command refuses when the domain directory is missing (steers to `w17ctl domain add`).

func (*AddCmd) Run

func (c *AddCmd) Run() error

Run implements the kong command interface.

type Cmd

type Cmd struct {
	Add AddCmd `` /* 324-byte string literal not displayed */
}

Cmd is the parent of `w17ctl module <leaf>`. Today the only leaf is `add`; future: `module rename` / `module remove`.

Jump to

Keyboard shortcuts

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