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