2022-05-14 17:54:35 +00:00
|
|
|
package fs
|
2022-05-13 14:21:47 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
|
|
|
// lsCmd represents the ls command
|
|
|
|
var lsCmd = &cobra.Command{
|
2023-04-11 22:35:16 +00:00
|
|
|
Use: "ls <dir-name>",
|
|
|
|
Short: "Lists files",
|
|
|
|
Long: `Lists files`,
|
|
|
|
Hidden: true,
|
2022-09-16 09:06:58 +00:00
|
|
|
|
2023-04-11 14:59:27 +00:00
|
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
|
|
return fmt.Errorf("TODO")
|
2022-05-13 14:21:47 +00:00
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
fsCmd.AddCommand(lsCmd)
|
|
|
|
}
|