databricks-cli/cmd/fs/fs.go

25 lines
394 B
Go
Raw Permalink Normal View History

2022-05-14 17:54:35 +00:00
package fs
2022-05-13 14:21:47 +00:00
import (
"github.com/spf13/cobra"
)
func New() *cobra.Command {
cmd := &cobra.Command{
Use: "fs",
Short: "Filesystem related commands",
Long: `Commands to do file system operations on DBFS and UC Volumes.`,
GroupID: "workspace",
}
cmd.AddCommand(
newCatCommand(),
newCpCommand(),
newLsCommand(),
newMkdirCommand(),
newRmCommand(),
)
2022-05-13 14:21:47 +00:00
return cmd
2022-05-13 14:21:47 +00:00
}