org

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdOrg = cli.NewCmd[cli.ShowHelp](cli.CmdRoot, "org", func(cmd *cobra.Command) {
})
View Source
var CmdOrgCreate = cli.NewCmd[Create](CmdOrg, "create", func(cmd *cobra.Command) {
	cfg := cli.ConfigFromCmd(cmd)

	cmd.Flags().StringVar(&cfg.Org.Name, "org-name", "", "Name for created org.")
})

Functions

This section is empty.

Types

type Create

type Create struct {
	Anc *api.Session

	OrgName string
}

func (*Create) Perform

func (c *Create) Perform(ctx context.Context, drv *ui.Driver) (*api.Organization, error)

func (Create) UI

func (c Create) UI() cli.UI

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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