Makes Long description formatting consistent
This commit is contained in:
parent
feffd5d03d
commit
1510422a59
@ -26,8 +26,9 @@ import (
|
|||||||
var addCmd = &cobra.Command{
|
var addCmd = &cobra.Command{
|
||||||
Use: "add [file]+",
|
Use: "add [file]+",
|
||||||
Short: "Add pdf file to a book",
|
Short: "Add pdf file to a book",
|
||||||
Long: `Add creates a json file with all options regarding a sheet music file in PDF format.
|
Long: `Add creates a json file with all options regarding a sheet music file
|
||||||
The information saved in the json file will be used when compiling the songbook.`,
|
in PDF format. The information saved in the json file will be used when
|
||||||
|
compiling the songbook.`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
var (
|
var (
|
||||||
path string
|
path string
|
||||||
|
@ -23,10 +23,9 @@ import (
|
|||||||
var compileCmd = &cobra.Command{
|
var compileCmd = &cobra.Command{
|
||||||
Use: "compile",
|
Use: "compile",
|
||||||
Short: "Compiles all lilypond files in the library",
|
Short: "Compiles all lilypond files in the library",
|
||||||
Long: `Compile (ponder compile) will walk through and compile all
|
Long: `Compile (ponder compile) will walk through and compile all lilypond
|
||||||
lilypond files in accordance to ponder settings file.
|
files in accordance to ponder settings file. Files that have already been
|
||||||
Files that have already been compiled will be skipped,
|
compiled will be skipped, unless the lilypond file has been edited.`,
|
||||||
unless the lilypond file has been edited.`,
|
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
path, opts := getSettings()
|
path, opts := getSettings()
|
||||||
opts.EnablePointAndClick = opts.EnablePointAndClick || enablePointAndClick
|
opts.EnablePointAndClick = opts.EnablePointAndClick || enablePointAndClick
|
||||||
|
@ -43,7 +43,7 @@ var initCmd = &cobra.Command{
|
|||||||
Use: "init [location]",
|
Use: "init [location]",
|
||||||
Short: "Initialize a Ponder Library",
|
Short: "Initialize a Ponder Library",
|
||||||
Long: `Initialize (ponder init) will create a new library, with a ponder
|
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 a name is provided, it will be created in the current directory;
|
||||||
* If no name is provided, the current directory will be assumed;
|
* If no name is provided, the current directory will be assumed;
|
||||||
|
@ -34,10 +34,10 @@ var (
|
|||||||
var RootCmd = &cobra.Command{
|
var RootCmd = &cobra.Command{
|
||||||
Use: "ponder",
|
Use: "ponder",
|
||||||
Short: "A managing tool for lilypond sheet music libraries",
|
Short: "A managing tool for lilypond sheet music libraries",
|
||||||
Long: `Ponder is a tool to help manage your sheet music library.
|
Long: `Ponder is a tool to help manage your sheet music library. The main
|
||||||
The main purpose is to help in the compilation of your lilypond files
|
purpose is to help in the compilation of your lilypond files into both single
|
||||||
into both single files and a fully functioning song book. It also accepts
|
files and a fully functioning song book. It also accepts other PDF files to be
|
||||||
other PDF files to be part of your song book.`,
|
part of your song book.`,
|
||||||
PersistentPreRun: func(cmd *cobra.Command, args []string) {
|
PersistentPreRun: func(cmd *cobra.Command, args []string) {
|
||||||
setLogLevel()
|
setLogLevel()
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user