Adds content to the book command
This commit is contained in:
parent
e9c72213d0
commit
8839cdb66e
@ -15,8 +15,7 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"github.com/jjdekker/ponder/compiler"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -27,7 +26,8 @@ var bookCmd = &cobra.Command{
|
|||||||
// TODO: Write description
|
// TODO: Write description
|
||||||
Long: ``,
|
Long: ``,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
fmt.Println("book called")
|
path, opts := getSettings()
|
||||||
|
compiler.MakeBook(path, opts)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user