mirror of https://github.com/databricks/cli.git
25 lines
394 B
Go
25 lines
394 B
Go
package fs
|
|
|
|
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(),
|
|
)
|
|
|
|
return cmd
|
|
}
|