Adding ability to print out responses as JSON.

This commit is contained in:
Renan DelValle 2018-11-09 15:58:26 -08:00
parent dcb27f64c2
commit bc28198c2d
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
8 changed files with 210 additions and 130 deletions

View file

@ -1,9 +1,9 @@
package cmd
import (
"fmt"
"github.com/spf13/cobra"
log "github.com/sirupsen/logrus"
)
func init() {
@ -23,5 +23,5 @@ var createCmd = &cobra.Command{
}
func createJob(cmd *cobra.Command, args []string) {
fmt.Println("Not implemented yet.")
log.Println("Not implemented yet.")
}