forked from Elara6331/itd
		
	Fix comments in filesystem commands
This commit is contained in:
		| @@ -23,7 +23,7 @@ import ( | |||||||
| 	"go.arsenm.dev/itd/cmd/itctl/root" | 	"go.arsenm.dev/itd/cmd/itctl/root" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| // filesystemCmd represents the get command | // filesystemCmd represents the filesystem command | ||||||
| var filesystemCmd = &cobra.Command{ | var filesystemCmd = &cobra.Command{ | ||||||
| 	Use:   "filesystem", | 	Use:   "filesystem", | ||||||
| 	Aliases: []string{"fs"}, | 	Aliases: []string{"fs"}, | ||||||
|   | |||||||
| @@ -27,7 +27,7 @@ import ( | |||||||
| 	"go.arsenm.dev/itd/api" | 	"go.arsenm.dev/itd/api" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| // listCmd represents the heart command | // listCmd represents the list command | ||||||
| var listCmd = &cobra.Command{ | var listCmd = &cobra.Command{ | ||||||
| 	Use:     "list [path]", | 	Use:     "list [path]", | ||||||
| 	Aliases: []string{"ls"}, | 	Aliases: []string{"ls"}, | ||||||
|   | |||||||
| @@ -25,7 +25,7 @@ import ( | |||||||
| 	"go.arsenm.dev/itd/api" | 	"go.arsenm.dev/itd/api" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| // heartCmd represents the heart command | // mkdirCmd represents the mkdir command | ||||||
| var mkdirCmd = &cobra.Command{ | var mkdirCmd = &cobra.Command{ | ||||||
| 	Use:   "mkdir <path...>", | 	Use:   "mkdir <path...>", | ||||||
| 	Short: "Create a new directory", | 	Short: "Create a new directory", | ||||||
|   | |||||||
| @@ -25,7 +25,7 @@ import ( | |||||||
| 	"go.arsenm.dev/itd/api" | 	"go.arsenm.dev/itd/api" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| // heartCmd represents the heart command | // moveCmd represents the move command | ||||||
| var moveCmd = &cobra.Command{ | var moveCmd = &cobra.Command{ | ||||||
| 	Use:     "move <old> <new>", | 	Use:     "move <old> <new>", | ||||||
| 	Aliases: []string{"mv"}, | 	Aliases: []string{"mv"}, | ||||||
|   | |||||||
| @@ -28,7 +28,7 @@ import ( | |||||||
| 	"go.arsenm.dev/itd/api" | 	"go.arsenm.dev/itd/api" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| // heartCmd represents the heart command | // readCmd represents the read command | ||||||
| var readCmd = &cobra.Command{ | var readCmd = &cobra.Command{ | ||||||
| 	Use:   `read <remote path> <local path | "-">`, | 	Use:   `read <remote path> <local path | "-">`, | ||||||
| 	Short: "Read a file from InfiniTime", | 	Short: "Read a file from InfiniTime", | ||||||
|   | |||||||
| @@ -25,7 +25,7 @@ import ( | |||||||
| 	"go.arsenm.dev/itd/api" | 	"go.arsenm.dev/itd/api" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| // heartCmd represents the heart command | // removeCmd represents the remove command | ||||||
| var removeCmd = &cobra.Command{ | var removeCmd = &cobra.Command{ | ||||||
| 	Use:   "remove <path...>", | 	Use:   "remove <path...>", | ||||||
| 	Aliases: []string{"rm"}, | 	Aliases: []string{"rm"}, | ||||||
|   | |||||||
| @@ -29,7 +29,7 @@ import ( | |||||||
| 	"go.arsenm.dev/itd/api" | 	"go.arsenm.dev/itd/api" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| // heartCmd represents the heart command | // writeCmd represents the write command | ||||||
| var writeCmd = &cobra.Command{ | var writeCmd = &cobra.Command{ | ||||||
| 	Use:   `write <local path | "-"> <remote path>`, | 	Use:   `write <local path | "-"> <remote path>`, | ||||||
| 	Short: "Write a file to InfiniTime", | 	Short: "Write a file to InfiniTime", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user