diff --git a/cmd/root.go b/cmd/root.go index 8d42daf..7f2a072 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -19,21 +19,6 @@ var rootCmd = &cobra.Command{ }, } -var listCmd = &cobra.Command{ - Use: "list [directory]", - Short: "List the contents of a directory", - Long: "List the contents of a directory. Only shows one level deep.", - Args: cobra.MaximumNArgs(1), - RunE: func(cmd *cobra.Command, args []string) error { - - fileStorePath := os.Getenv("STORAGE_PATH") - resolveFileStorePath(fileStorePath) - readFilesFromFileStorePath(fileStorePath) - - return nil - }, -} - func Execute() { if err := rootCmd.Execute(); err != nil { fmt.Fprintln(os.Stderr, err)