cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package cmd create a root cobra command and add subcommands to it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultOneXCtlCommand

func NewDefaultOneXCtlCommand() *cobra.Command

NewDefaultOneXCtlCommand creates the `onexctl` command with default arguments.

func NewOneXCtlCommand

func NewOneXCtlCommand(in io.Reader, out, err io.Writer) *cobra.Command

NewOneXCtlCommand returns new initialized instance of 'onexctl' root command.

Types

This section is empty.

Directories

Path Synopsis
Package color print colors supported by the current terminal.
Package color print colors supported by the current terminal.
Package info print the host information.
Package info print the host information.
Package jwt can be used to sign/show/verify jwt token with given secretID and secretKey.
Package jwt can be used to sign/show/verify jwt token with given secretID and secretKey.
Package minerset provides functions to manage minersets on onex platform.
Package minerset provides functions to manage minersets on onex platform.
Package used to generate demo command code.
Package used to generate demo command code.
Package options print a list of global command-line options (applies to all commands).
Package options print a list of global command-line options (applies to all commands).
Package secret provides functions to manage secrets on onex platform.
Package secret provides functions to manage secrets on onex platform.
Package user provides functions to manage users on onex cloud platform.
Package user provides functions to manage users on onex cloud platform.
Package validate is used to validate the basic environment for onexctl to run.
Package validate is used to validate the basic environment for onexctl to run.
Package version print the client and server version information.
Package version print the client and server version information.

Jump to

Keyboard shortcuts

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