Archived
1
0

Adds placeholder book command

This commit is contained in:
Jip J. Dekker 2016-03-20 16:03:36 +01:00
parent aaad2e29d9
commit dba1568370

36
cmd/book.go Normal file
View File

@ -0,0 +1,36 @@
// Copyright © 2016 Jip J. Dekker <jip@dekker.li>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
// bookCmd represents the book command
var bookCmd = &cobra.Command{
Use: "book",
Short: "Generate library songbook",
// TODO: Write description
Long: ``,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("book called")
},
}
func init() {
RootCmd.AddCommand(bookCmd)
}