diff --git a/cmd/add.go b/cmd/add.go index 6710f9f..b362678 100644 --- a/cmd/add.go +++ b/cmd/add.go @@ -26,8 +26,9 @@ import ( var addCmd = &cobra.Command{ Use: "add [file]+", Short: "Add pdf file to a book", - Long: `Add creates a json file with all options regarding a sheet music file in PDF format. -The information saved in the json file will be used when compiling the songbook.`, + Long: `Add creates a json file with all options regarding a sheet music file +in PDF format. The information saved in the json file will be used when +compiling the songbook.`, Run: func(cmd *cobra.Command, args []string) { var ( path string diff --git a/cmd/compile.go b/cmd/compile.go index ab2defb..b8d097a 100644 --- a/cmd/compile.go +++ b/cmd/compile.go @@ -23,10 +23,9 @@ import ( var compileCmd = &cobra.Command{ Use: "compile", Short: "Compiles all lilypond files in the library", - Long: `Compile (ponder compile) will walk through and compile all -lilypond files in accordance to ponder settings file. -Files that have already been compiled will be skipped, -unless the lilypond file has been edited.`, + Long: `Compile (ponder compile) will walk through and compile all lilypond +files in accordance to ponder settings file. Files that have already been +compiled will be skipped, unless the lilypond file has been edited.`, Run: func(cmd *cobra.Command, args []string) { path, opts := getSettings() opts.EnablePointAndClick = opts.EnablePointAndClick || enablePointAndClick diff --git a/cmd/init.go b/cmd/init.go index c626b0b..af4323a 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -43,7 +43,7 @@ var initCmd = &cobra.Command{ Use: "init [location]", Short: "Initialize a Ponder Library", Long: `Initialize (ponder init) will create a new library, with a ponder - settings file and corresponding git ignore file. +settings file and corresponding git ignore file. * If a name is provided, it will be created in the current directory; * If no name is provided, the current directory will be assumed; diff --git a/cmd/root.go b/cmd/root.go index 81518a2..7525700 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -34,10 +34,10 @@ var ( var RootCmd = &cobra.Command{ Use: "ponder", Short: "A managing tool for lilypond sheet music libraries", - Long: `Ponder is a tool to help manage your sheet music library. -The main purpose is to help in the compilation of your lilypond files -into both single files and a fully functioning song book. It also accepts -other PDF files to be part of your song book.`, + Long: `Ponder is a tool to help manage your sheet music library. The main +purpose is to help in the compilation of your lilypond files into both single +files and a fully functioning song book. It also accepts other PDF files to be +part of your song book.`, PersistentPreRun: func(cmd *cobra.Command, args []string) { setLogLevel() },