2022-05-14 17:54:35 +00:00
|
|
|
package fs
|
2022-05-13 14:21:47 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
2023-07-27 10:03:08 +00:00
|
|
|
func New() *cobra.Command {
|
|
|
|
cmd := &cobra.Command{
|
|
|
|
Use: "fs",
|
|
|
|
Short: "Filesystem related commands",
|
|
|
|
Long: `Commands to do DBFS operations.`,
|
|
|
|
}
|
|
|
|
|
|
|
|
cmd.AddCommand(
|
|
|
|
newCatCommand(),
|
|
|
|
newCpCommand(),
|
|
|
|
newLsCommand(),
|
|
|
|
newMkdirCommand(),
|
|
|
|
newRmCommand(),
|
|
|
|
)
|
2022-05-13 14:21:47 +00:00
|
|
|
|
2023-07-27 10:03:08 +00:00
|
|
|
return cmd
|
2022-05-13 14:21:47 +00:00
|
|
|
}
|