master
1package get
2
3import (
4 "github.com/kahnwong/swissknife/internal/get"
5 "github.com/spf13/cobra"
6)
7
8var SensorsCmd = &cobra.Command{
9 Use: "sensors",
10 Short: "Get sensors info",
11 RunE: func(cmd *cobra.Command, args []string) error {
12 return get.Sensors()
13 },
14}
15
16func init() {
17 Cmd.AddCommand(SensorsCmd)
18}