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
|
@ -44,6 +44,7 @@ func (cfg *Configs) loadNonInteractive(cmd *cobra.Command) error {
|
||||||
var configureCmd = &cobra.Command{
|
var configureCmd = &cobra.Command{
|
||||||
Use: "configure",
|
Use: "configure",
|
||||||
Short: "Configure authentication",
|
Short: "Configure authentication",
|
||||||
|
Hidden: true,
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
profile, err := cmd.Flags().GetString("profile")
|
profile, err := cmd.Flags().GetString("profile")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -10,6 +10,7 @@ var fsCmd = &cobra.Command{
|
||||||
Use: "fs",
|
Use: "fs",
|
||||||
Short: "Filesystem related commands",
|
Short: "Filesystem related commands",
|
||||||
Long: `Commands to do DBFS operations.`,
|
Long: `Commands to do DBFS operations.`,
|
||||||
|
Hidden: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
@ -11,6 +11,7 @@ var lsCmd = &cobra.Command{
|
||||||
Use: "ls <dir-name>",
|
Use: "ls <dir-name>",
|
||||||
Short: "Lists files",
|
Short: "Lists files",
|
||||||
Long: `Lists files`,
|
Long: `Lists files`,
|
||||||
|
Hidden: true,
|
||||||
|
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
return fmt.Errorf("TODO")
|
return fmt.Errorf("TODO")
|
||||||
|
|
Loading…
Reference in New Issue