Commit 250501d
Changed files (6)
cmd/root.go
@@ -5,7 +5,6 @@ import (
"github.com/kahnwong/swissknife/cmd/generate"
"github.com/kahnwong/swissknife/cmd/get"
- "github.com/kahnwong/swissknife/cmd/misc"
"github.com/spf13/cobra"
)
@@ -31,8 +30,8 @@ func init() {
rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
rootCmd.AddCommand(get.Cmd)
rootCmd.AddCommand(generate.Cmd)
- rootCmd.AddCommand(misc.SpeedTestCmd)
- rootCmd.AddCommand(misc.ShouldIDeployTodayCmd)
- rootCmd.AddCommand(misc.TimerCmd)
- rootCmd.AddCommand(misc.StopwatchCmd)
+ rootCmd.AddCommand(SpeedTestCmd)
+ rootCmd.AddCommand(ShouldIDeployTodayCmd)
+ rootCmd.AddCommand(TimerCmd)
+ rootCmd.AddCommand(StopwatchCmd)
}
cmd/misc/shouldideploytoday.go → cmd/shouldideploytoday.go
@@ -1,4 +1,4 @@
-package misc
+package cmd
import (
"encoding/json"
cmd/misc/shouldideploytoday_test.go → cmd/shouldideploytoday_test.go
@@ -1,4 +1,4 @@
-package misc
+package cmd
import (
"reflect"
cmd/misc/speedtest.go → cmd/speedtest.go
@@ -1,4 +1,4 @@
-package misc
+package cmd
import (
"fmt"
cmd/misc/stopwatch.go → cmd/stopwatch.go
@@ -1,5 +1,5 @@
// from <https://github.com/charmbracelet/bubbletea/blob/master/examples/stopwatch/main.go>
-package misc
+package cmd
import (
"fmt"
cmd/misc/timer.go → cmd/timer.go
@@ -1,5 +1,5 @@
// modified from <https://github.com/maaslalani/pom/blob/main/main.go>
-package misc
+package cmd
import (
"fmt"