Markus Pesch
6d9368e86c
changes: - sensor temperature add - sensor temperature list - sensor temperature rm - temperature get - temperature log - temperature push
20 lines
252 B
Go
20 lines
252 B
Go
package config
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var configDir string
|
|
|
|
var configCmd = &cobra.Command{
|
|
Use: "config",
|
|
Short: "Manage configuration",
|
|
}
|
|
|
|
func InitCmd(cmd *cobra.Command, c string) {
|
|
configDir = c
|
|
|
|
cmd.AddCommand(configCmd)
|
|
|
|
}
|