Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AclCmd = &cobra.Command{ Use: "acl", Short: "Manages command access for API tokens.", Long: ` The acl command allows you to configure access control for API tokens, specifying which commands can be executed by each token. It supports creating, listing, and modifying ACL rules to fine-tune command execution permissions based on your security requirements. `, RunE: func(cmd *cobra.Command, args []string) error { err := cmd.Help() if err != nil { return err } return errors.New("a subcommand is required. Use 'alpacon token acl list', 'alpacon token acl add', or 'alpacon token acl delete' to manage access control rules. Run 'alpacon token acl --help' for more information") }, }
View Source
var TokenCmd = &cobra.Command{ Use: "token", Short: "Commands to manage api tokens", RunE: func(cmd *cobra.Command, args []string) error { err := cmd.Help() if err != nil { return err } return errors.New("a subcommand is required. Use 'alpacon token create', 'alpacon token list', 'alpacon token delete', or 'alpacon token acl' to manage API tokens. Run 'alpacon token --help' for more information") }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.