Archived
1
0

Adds description to the compile command

This commit is contained in:
Jip J. Dekker 2016-03-17 16:43:32 +01:00
parent 0a9519461e
commit 01b6db3c84

View File

@ -23,13 +23,11 @@ import (
// compileCmd represents the compile command // compileCmd represents the compile command
var compileCmd = &cobra.Command{ var compileCmd = &cobra.Command{
Use: "compile", Use: "compile",
Short: "A brief description of your command", Short: "Compiles all lilypond files in the library",
Long: `A longer description that spans multiple lines and likely contains examples Long: `Compile (ponder compile) will walk through and compile all
and usage of using your command. For example: lilypond files in accordance to ponder settings file.
Files that have already been compiled will be skipped,
Cobra is a CLI library for Go that empowers applications. unless the lilypond file has been edited.`,
This application is a tool to generate the needed files
to quickly create a Cobra application.`,
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
// TODO: Work your own magic here // TODO: Work your own magic here
fmt.Println("compile called") fmt.Println("compile called")