2022-05-14 17:54:35 +00:00
|
|
|
package fs
|
2022-05-13 14:21:47 +00:00
|
|
|
|
|
|
|
import (
|
2022-05-14 17:54:35 +00:00
|
|
|
"github.com/databricks/bricks/cmd/root"
|
2022-05-13 14:21:47 +00:00
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
|
|
|
// fsCmd represents the fs command
|
|
|
|
var fsCmd = &cobra.Command{
|
|
|
|
Use: "fs",
|
|
|
|
Short: "Filesystem related commands",
|
|
|
|
Long: `Commands to do DBFS operations.`,
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
2022-05-14 17:54:35 +00:00
|
|
|
root.RootCmd.AddCommand(fsCmd)
|
2022-05-13 14:21:47 +00:00
|
|
|
|
|
|
|
// Here you will define your flags and configuration settings.
|
|
|
|
|
|
|
|
// Cobra supports Persistent Flags which will work for this command
|
|
|
|
// and all subcommands, e.g.:
|
|
|
|
// fsCmd.PersistentFlags().String("foo", "", "A help for foo")
|
|
|
|
|
|
|
|
// Cobra supports local flags which will only run when this command
|
|
|
|
// is called directly, e.g.:
|
|
|
|
// fsCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
|
|
|
|
}
|