github.com/azunymous/cdx@v0.0.0-20201122180449-fbb46cc4d252/commands/commands.go (about) 1 // Commands package specifies all subcommands of the top level command 2 package commands 3 4 import ( 5 "github.com/spf13/cobra" 6 ) 7 8 // Add commands all the commands to a top level command. 9 func AddCommands(topLevel *cobra.Command) { 10 addTag(topLevel) 11 }