Commit 35f70a53 authored by Andy Cobaugh's avatar Andy Cobaugh

Add ci wait subcommand

parent ad6725e6
......@@ -19,6 +19,8 @@ import (
"os"
"strings"
"github.com/apex/log"
"github.com/apex/log/handlers/cli"
"github.com/fatih/color"
homedir "github.com/mitchellh/go-homedir"
"github.com/spf13/cobra"
......@@ -31,6 +33,8 @@ const (
var cfgFile string
const InitialPadding = 2
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "devtool",
......@@ -57,6 +61,8 @@ func Execute() {
}
func init() {
log.SetHandler(cli.Default)
cli.Default.Padding = InitialPadding
cobra.OnInitialize(initConfig)
// Here you will define your flags and configuration settings.
......
......@@ -5,6 +5,7 @@ go 1.12
require (
git.psu.edu/swe-golang/buildversion v0.2.0
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf // indirect
github.com/apex/log v1.1.2
github.com/fatih/color v1.7.0
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/goodhosts/hostsfile v0.0.1
......@@ -29,6 +30,8 @@ require (
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd // indirect
golang.org/x/text v0.3.2 // indirect
golang.org/x/tools v0.0.0-20200203215610-ab391d50b528 // indirect
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 // indirect
golang.org/x/net v0.0.0-20190620200207-3b0461eec859
gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20180810215634-df19058c872c // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/yaml.v2 v2.2.8
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment