Archived
1
0

Adds content to the book command

This commit is contained in:
Jip J. Dekker 2016-03-20 16:24:00 +01:00
parent e9c72213d0
commit 8839cdb66e

View File

@ -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)
}, },
} }