Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "spinex", Short: "Spinex is a simple CLI for Spinnaker.", Long: `Spinex is a simple CLI for Spinnaker. To get autocompletion, run 'sudo spinex gen autocomplete'`, Run: func(cmd *cobra.Command, args []string) { if showVersion { fmt.Println("Spinex version 0.1") } else { cmd.Help() } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
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 FormatApplicationList ¶
func FormatApplicationList(apps []types.Application)
FormatApplicationList will format a list of applications
func FormatExecutionInfo ¶
FormatExecutionInfo formats information about pipeline execution
func FormatExecutionList ¶
FormatExecutionList formats output of a list of pipeline executions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.