token

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2025 License: MIT Imports: 6 Imported by: 0

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("subcommand error")
	},
}
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("subcommand error")
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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