Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdLabelCreate = cli.Command{ Name: "create", Aliases: []string{"c"}, Usage: "Create a label", Description: `Create a label`, ArgsUsage: " ", Action: runLabelCreate, Flags: append([]cli.Flag{ &cli.StringFlag{ Name: "name", Usage: "label name", }, &cli.StringFlag{ Name: "color", Usage: "label color value", }, &cli.StringFlag{ Name: "description", Usage: "label description", }, &cli.StringFlag{ Name: "file", Usage: "indicate a label file", }, }, flags.AllDefaultFlags...), }
CmdLabelCreate represents a sub command of labels to create label.
View Source
var CmdLabelDelete = cli.Command{ Name: "delete", Aliases: []string{"rm"}, Usage: "Delete a label", Description: `Delete a label`, ArgsUsage: " ", Action: runLabelDelete, Flags: append([]cli.Flag{ &cli.IntFlag{ Name: "id", Usage: "label id", }, }, flags.AllDefaultFlags...), }
CmdLabelDelete represents a sub command of labels to delete label.
View Source
var CmdLabelUpdate = cli.Command{ Name: "update", Usage: "Update a label", Description: `Update a label`, ArgsUsage: " ", Action: runLabelUpdate, Flags: append([]cli.Flag{ &cli.IntFlag{ Name: "id", Usage: "label id", }, &cli.StringFlag{ Name: "name", Usage: "label name", }, &cli.StringFlag{ Name: "color", Usage: "label color value", }, &cli.StringFlag{ Name: "description", Usage: "label description", }, }, flags.AllDefaultFlags...), }
CmdLabelUpdate represents a sub command of labels to update label.
View Source
var CmdLabelsList = cli.Command{ Name: "list", Aliases: []string{"ls"}, Usage: "List labels", Description: "List labels", ArgsUsage: " ", Action: RunLabelsList, Flags: append([]cli.Flag{ &cli.BoolFlag{ Name: "save", Aliases: []string{"s"}, Usage: "Save all the labels as a file", }, &flags.PaginationPageFlag, &flags.PaginationLimitFlag, }, flags.AllDefaultFlags...), }
CmdLabelsList represents a sub command of labels to list labels
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.