github.com/tcnksm/gcli@v0.2.4-0.20170129033839-7eb950507e5a/sample.toml (about) 1 Name = "todo" # Name of executable. 2 Owner = "tcnksm" # Command author name, this should be github.com/<Owner>/<Name>. 3 Version = "0.1.0" # First version of command. 4 Description = "Manage TODO tasks from command line" # Description of application. 5 6 [[Commands]] 7 Name = "add" # Name of command. 8 Synopsis = "Add new task" # A one-line, short synopsis of the command. 9 Help = "[Usage] todo [option] add TASK" # Long-form help text that includes the command-line usage. 10 11 [[Commands]] 12 Name = "list" 13 Synopsis = "Show all available tasks" 14 Help = "[Usage] todo [option] list" 15 16 [[Commands]] 17 Name = "delete" 18 Synopsis = "Delete a task" 19 Help = "[Usage] todo [option] delete TASK"