Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIContext ¶
type CLIContext struct { Customers *customersapi.ClientWithResponses Writer io.Writer Debug bool }
type GetCustomerCmd ¶
type GetCustomerCmd struct {
ID string `kong:"required"`
}
func (*GetCustomerCmd) Run ¶
func (ccc *GetCustomerCmd) Run(ctx context.Context, cli *CLIContext) error
type ListCustomersCmd ¶
func (*ListCustomersCmd) Run ¶
func (ccc *ListCustomersCmd) Run(ctx context.Context, cli *CLIContext) error
type NewCustomerCmd ¶
type NewCustomerCmd struct { Name string `kong:"required"` Labels []string `kong:"required"` Description string }
func (*NewCustomerCmd) Run ¶
func (ccc *NewCustomerCmd) Run(ctx context.Context, cli *CLIContext) error
Click to show internal directories.
Click to hide internal directories.