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:
shreyas-goenka 2023-04-12 00:35:16 +02:00 committed by GitHub
parent 375eb1c502
commit d52fc12644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 8 deletions

View File

@ -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 {

View File

@ -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() {

View File

@ -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")