github.com/devcamcar/cli@v0.0.0-20181107134215-706a05759d18/commands/inspect.go (about)

     1  package commands
     2  
     3  import (
     4  	"github.com/urfave/cli"
     5  )
     6  
     7  // InspectCommand returns inspect cli.command
     8  func InspectCommand() cli.Command {
     9  	return cli.Command{
    10  		Name:        "inspect",
    11  		UsageText:   "inspect",
    12  		Aliases:     []string{"i"},
    13  		Usage:       "\tRetrieve properties of an object",
    14  		Category:    "MANAGEMENT COMMANDS",
    15  		Hidden:      false,
    16  		ArgsUsage:   "<subcommand>",
    17  		Description: "This command allows to inspect the properties of an object ('app', 'context', function' or 'trigger').",
    18  		Subcommands: GetCommands(InspectCmds),
    19  	}
    20  }