mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
8b4f22ce95
commit
b64b7ab1a7
|
@ -7,7 +7,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var rmCmd = &cobra.Command{
|
var rmCmd = &cobra.Command{
|
||||||
Use: "rm DIR_PATH",
|
Use: "rm PATH",
|
||||||
Short: "Remove files and directories from dbfs.",
|
Short: "Remove files and directories from dbfs.",
|
||||||
Long: `Remove files and directories from dbfs.`,
|
Long: `Remove files and directories from dbfs.`,
|
||||||
Args: cobra.ExactArgs(1),
|
Args: cobra.ExactArgs(1),
|
||||||
|
@ -32,6 +32,6 @@ var rmCmd = &cobra.Command{
|
||||||
var recursive bool
|
var recursive bool
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
rmCmd.Flags().BoolVarP(&recursive, "recursive", "r", false, "Allow deletion of non-empty directories.")
|
rmCmd.Flags().BoolVarP(&recursive, "recursive", "r", false, "Recursively delete a non-empty directory.")
|
||||||
fsCmd.AddCommand(rmCmd)
|
fsCmd.AddCommand(rmCmd)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue