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{
|
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 {
|
||||||
|
|
|
@ -7,9 +7,10 @@ import (
|
||||||
|
|
||||||
// fsCmd represents the fs command
|
// fsCmd represents the fs command
|
||||||
var fsCmd = &cobra.Command{
|
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() {
|
||||||
|
|
|
@ -8,9 +8,10 @@ import (
|
||||||
|
|
||||||
// lsCmd represents the ls command
|
// lsCmd represents the ls command
|
||||||
var lsCmd = &cobra.Command{
|
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