mirror of https://github.com/databricks/cli.git
Disable bricks fs and configure commands (#320)
## Changes <!-- Summary of your changes that are easy to understand --> ## Tests <!-- How is this tested? -->
This commit is contained in:
parent
375eb1c502
commit
d52fc12644
|
@ -42,8 +42,9 @@ func (cfg *Configs) loadNonInteractive(cmd *cobra.Command) error {
|
|||
}
|
||||
|
||||
var configureCmd = &cobra.Command{
|
||||
Use: "configure",
|
||||
Short: "Configure authentication",
|
||||
Use: "configure",
|
||||
Short: "Configure authentication",
|
||||
Hidden: true,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
profile, err := cmd.Flags().GetString("profile")
|
||||
if err != nil {
|
||||
|
|
|
@ -7,9 +7,10 @@ import (
|
|||
|
||||
// fsCmd represents the fs command
|
||||
var fsCmd = &cobra.Command{
|
||||
Use: "fs",
|
||||
Short: "Filesystem related commands",
|
||||
Long: `Commands to do DBFS operations.`,
|
||||
Use: "fs",
|
||||
Short: "Filesystem related commands",
|
||||
Long: `Commands to do DBFS operations.`,
|
||||
Hidden: true,
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -8,9 +8,10 @@ import (
|
|||
|
||||
// lsCmd represents the ls command
|
||||
var lsCmd = &cobra.Command{
|
||||
Use: "ls <dir-name>",
|
||||
Short: "Lists files",
|
||||
Long: `Lists files`,
|
||||
Use: "ls <dir-name>",
|
||||
Short: "Lists files",
|
||||
Long: `Lists files`,
|
||||
Hidden: true,
|
||||
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return fmt.Errorf("TODO")
|
||||
|
|
Loading…
Reference in New Issue