This commit is contained in:
Shreyas Goenka 2023-06-05 15:42:56 +02:00
parent 4b8f5746ef
commit 25aa5b667c
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 2 additions and 3 deletions

View File

@ -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 <dir-name>",
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
}