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

     1  package commands
     2  
     3  import (
     4  	"github.com/urfave/cli"
     5  )
     6  
     7  // DeleteCommand returns delete cli.command
     8  func DeleteCommand() cli.Command {
     9  	return cli.Command{
    10  		Name:        "delete",
    11  		Aliases:     []string{"d"},
    12  		Usage:       "\tDelete an object",
    13  		Category:    "MANAGEMENT COMMANDS",
    14  		Description: "This command deletes a created object ('app', 'context', 'function' or 'trigger').",
    15  		Hidden:      false,
    16  		ArgsUsage:   "<subcommand>",
    17  		Subcommands: GetCommands(DeleteCmds),
    18  	}
    19  }