github.com/vishnupahwa/lakctl@v0.0.2-alpha/cmd/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  	addStart(topLevel)
    11  	addCompletion(topLevel)
    12  }