diff --git a/cmd/fs/rm.go b/cmd/fs/rm.go index 9e4bb681..aa45767e 100644 --- a/cmd/fs/rm.go +++ b/cmd/fs/rm.go @@ -2,13 +2,12 @@ package fs import ( "github.com/databricks/cli/cmd/root" - "github.com/databricks/cli/libs/filer" "github.com/databricks/databricks-sdk-go/service/files" "github.com/spf13/cobra" ) var rmCmd = &cobra.Command{ - Use: "rm ", + Use: "rm DIR_PATH", Short: "Remove files and directories from dbfs.", Long: `Remove files and directories from dbfs.`, Args: cobra.ExactArgs(1), @@ -18,7 +17,7 @@ var rmCmd = &cobra.Command{ ctx := cmd.Context() w := root.WorkspaceClient(ctx) - path, err := filer.ResolveDbfsPath(args[0]) + path, err := resolveDbfsPath(args[0]) if err != nil { return err }