Documentation ¶
Index ¶
- Variables
- func ErrorExit(message string)
- func ErrorExitWithUsage(ctx *cobra.Command, message string)
- func Execute()
- func RenderErrorSummary(s *models.Stage)
- func RenderQuietView(progressChannel chan models.SyncProgress, wg *sync.WaitGroup)
- func RenderSilentView(progressChannel chan models.SyncProgress, wg *sync.WaitGroup)
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "nodetree",
Short: "A node tree manager",
Long: `A node tree manager
nodetree is a CLI that can manages nodes in a tree through API calls`,
}
This represents the base command when called without any subcommands
Functions ¶
func ErrorExitWithUsage ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func RenderErrorSummary ¶
func RenderQuietView ¶
func RenderQuietView(progressChannel chan models.SyncProgress, wg *sync.WaitGroup)
simple view. No in place updates
func RenderSilentView ¶
func RenderSilentView(progressChannel chan models.SyncProgress, wg *sync.WaitGroup)
silent view
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.