feat(commands): more commands (#30)

- I wrote a scripts to copy and generate all commands missing in iris
from fig repo: https://github.com/withfig/autocomplete
- Add a new script to generate commands docs about which commands
currently are inside commands folder
377d4aac663590e504fe39a92eb4dac4cbd333b2
- Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
This commit is contained in:
VERSE
2026-07-04 22:08:36 +07:00
committed by GitHub
parent ffa336196a
commit 2ef3c90819
482 changed files with 22971 additions and 5 deletions
+31
View File
@@ -0,0 +1,31 @@
package ops
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "sftp",
Description: "OpenSSH secure file transfer",
Options: []core.Option{
{Name: "--help", Description: "Show help for sftp"},
{Name: "-4", Description: "Forces scp to use IPv4 addresses only"},
{Name: "-6", Description: "Forces scp to use IPv6 addresses only"},
{Name: "-A", Description: "The buffer size"},
{Name: "-b", Description: "The batch file"},
{Name: "-C", Description: "Compression enable. Passes the -C flag to ssh(1) to enable compression"},
{Name: "-c", Description: "The selected cipher specification"},
{Name: "-D", Description: "Path to the SFTP server"},
{Name: "-F", Description: "The selected ssh config"},
{Name: "-f", Description: "Requests that files be flushed to disk immediately after transfer"},
{Name: "-i", Description: "Specified identity file"},
{Name: "-J", Description: "Scp destination"},
{Name: "-l", Description: "Limits the used bandwidth, specified in Kbit/s"},
{Name: "-N", Description: "Disables quiet mode, e.g. to override the implicit quiet mode set by the -b flag"},
{Name: "-o", Description: "Preserves modification times, access times, and modes from the original file"},
{Name: "-q", Description: "The number of requests"},
{Name: "-r", Description: "Path to the SFTP server"},
},
})
}