wip: moving things around to logically group them

This commit is contained in:
2026-05-12 21:05:03 -06:00
parent a7eaa45869
commit 66fc781260
3 changed files with 34 additions and 4 deletions
+5 -2
View File
@@ -22,11 +22,14 @@ 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 {
name := "world"
fileStorePath := os.Getenv("STORAGE_PATH")
resolveFileStorePath(fileStorePath)
readFilesFromFileStorePath(fileStorePath)
fmt.Printf("Hello, %s!\n", name)
return nil
},
}