1
0
mirror of https://github.com/TomWright/dasel.git synced 2022-05-22 02:32:45 +03:00
Files
dasel-data-selector/internal/command/root.go
2020-09-22 15:06:37 +01:00

20 lines
358 B
Go

package command
import (
"github.com/spf13/cobra"
"github.com/tomwright/dasel/internal"
)
// RootCMD is the root command for use with cobra.
var RootCMD = &cobra.Command{
Use: "dasel",
Short: "Query and modify data structures using selector strings.",
}
func init() {
RootCMD.Version = internal.Version
RootCMD.AddCommand(
selectCommand(),
)
}