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
+84
View File
@@ -0,0 +1,84 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "adb",
Description: "Forward-lock the app",
Subcommands: []core.Subcommand{
{Name: "devices", Description: "List connected devices"},
{Name: "help", Description: "Show this help message"},
{Name: "get-state", Description: "Print offline | bootloader | device"},
{Name: "get-serialno", Description: "Print <serial-number>"},
{Name: "get-devpath", Description: "Print <device-path>"},
{Name: "jdwp", Description: "List pids of processes hosting a JDWP transport"},
{Name: "root", Description: "Restart adbd with root permissions"},
{Name: "unroot", Description: "Restart adbd without root permissions"},
{Name: "usb", Description: "Restart adbd listening on USB"},
{Name: "sideload", Description: "Sideload the given full OTA package"},
{Name: "tcpip", Description: "Restart adbd listening on TCP on PORT"},
{Name: "disable-verity", Description: "Disable dm-verity checking on userdebug builds"},
{Name: "enable-verity", Description: "Re-enable dm-verity checking on userdebug builds"},
{Name: "wait-for-device", Description: "Wait for state=device"},
{Name: "wait-for-recovery", Description: "Wait for state=recovery"},
{Name: "wait-for-rescue", Description: "Wait for state=rescue"},
{Name: "wait-for-sideload", Description: "Wait for state=sideload"},
{Name: "wait-for-bootloader", Description: "Wait for state=bootloader"},
{Name: "wait-for-disconnect", Description: "Wait for state=disconnect"},
{Name: "wait-for-usb-device", Description: "Wait for usb in state=device"},
{Name: "wait-for-usb-recovery", Description: "Wait for usb in state=recovery"},
{Name: "wait-for-usb-rescue", Description: "Wait for usb in state=rescue"},
{Name: "wait-for-usb-sideload", Description: "Wait for usb in state=sideload"},
{Name: "wait-for-usb-bootloader", Description: "Wait for usb in state=bootloader"},
{Name: "wait-for-usb-disconnect", Description: "Wait for usb in state=disconnect"},
{Name: "wait-for-local-device", Description: "Wait for local in state=device"},
{Name: "wait-for-local-recovery", Description: "Wait for local in state=recovery"},
{Name: "wait-for-local-rescue", Description: "Wait for local in state=rescue"},
{Name: "wait-for-local-sideload", Description: "Wait for local in state=sideload"},
{Name: "wait-for-local-bootloader", Description: "Wait for local in state=bootloader"},
{Name: "wait-for-local-disconnect", Description: "Wait for local in state=disconnect"},
{Name: "wait-for-any-device", Description: "Wait for any in state=device"},
{Name: "wait-for-any-recovery", Description: "Wait for any in state=recovery"},
{Name: "wait-for-any-rescue", Description: "Wait for any in state=rescue"},
{Name: "wait-for-any-sideload", Description: "Wait for any in state=sideload"},
{Name: "wait-for-any-bootloader", Description: "Wait for any in state=bootloader"},
{Name: "wait-for-any-disconnect", Description: "Wait for any in state=disconnect"},
{Name: "keygen", Description: "Generate adb public/private key; private key stored in FILE"},
{Name: "logcat", Description: "Show device log (logcat --help for more)"},
{Name: "version", Description: "Show version num"},
{Name: "connect", Description: "Connect to a device via TCP/IP [default port=5555]"},
{Name: "disconnect", Description: "Disconnect from given TCP/IP device [default port=5555], or all"},
{Name: "uninstall", Description: "Remove this app package from the device"},
{Name: "bugreport", Description: "Write bugreport to given PATH [default=bugreport.zip];"},
{Name: "pair", Description: "Pair with a device for secure TCP/IP communication"},
{Name: "ppp", Description: "Run PPP over USB"},
{Name: "emu", Description: "Run emulator console command"},
{Name: "install", Description: "Push a single package to the device and install it"},
{Name: "install-multiple", Description: "Push multiple APKs to the device for a single package and install them"},
{Name: "install-multi-package", Description: "Push one or more packages to the device and install them atomically"},
},
Options: []core.Option{
{Name: "-l", Description: "Forward-lock the app"},
{Name: "-r", Description: "Replace existing application"},
{Name: "-t", Description: "Allow test packages"},
{Name: "-d", Description: "Allow version code downgrade (debuggable packages only)"},
{Name: "-s", Description: "Install on SD card instead of internal storage"},
{Name: "-g", Description: "Grant all runtime permissions"},
{Name: "-R", Description: "Reboot device"},
{Name: "-k", Description: "Keep the data and cache directories"},
{Name: "-p", Description: "Partial application install (install-multiple only)"},
{Name: "-e", Description: "Choose escape character, or `none` default '~'"},
{Name: "-n", Description: "Don't read from stdin"},
{Name: "-T", Description: "Disable pty allocation"},
{Name: "-tt", Description: "-tt: force pty allocation"},
{Name: "-x", Description: "Disable remote exit codes and stdout/stderr separation"},
{Name: "--list", Description: "List all forward socket connections"},
{Name: "--remove", Description: "Remove specific forward socket connection"},
{Name: "--remove-all", Description: "Remove all forward socket connections"},
{Name: "--no-rebind", Description: "Reverse connection"},
},
})
}
+54
View File
@@ -0,0 +1,54 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ag",
Description: "Recursively search for PATTERN in PATH. Like grep or ack, but faster",
Options: []core.Option{
{Name: "--ackmate", Description: "Set thread affinity (if platform supports it)"},
{Name: "--noaffinity", Description: "Don't set thread affinity (if platform supports it)"},
{Name: "-a", Description: "Print lines after match"},
{Name: "-B", Description: "Print lines before match"},
{Name: "--nobreak", Description: "Print a newline between matches in different files. Enabled by default"},
{Name: "-c", Description: "Print color codes in results"},
{Name: "--nocolor", Description: "Don't print color codes in results"},
{Name: "--color-line-number", Description: "Color codes for line numbers. Default is 1;33"},
{Name: "--color-match", Description: "Color codes for result match numbers. Default is 30;43"},
{Name: "--color-path", Description: "Color codes for path names. Default is 1;32"},
{Name: "--column", Description: "Print column numbers in results"},
{Name: "-C", Description: "Print lines before and after matches"},
{Name: "-D", Description: "Search up to NUM directories deep, -1 for unlimited"},
{Name: "--filename", Description: "Print file names"},
{Name: "--nofilename", Description: "Don't print file names"},
{Name: "-f", Description: "Follow symlinks"},
{Name: "--nofollow", Description: "Don't follow symlinks"},
{Name: "-F", Description: "Alias for --literal for compatibility with grep"},
{Name: "--group", Description: "Print filenames matching PATTERN"},
{Name: "-G", Description: "Only search files whose names match PATTERN"},
{Name: "-H", Description: "Print filenames above matching contents"},
{Name: "--noheading", Description: "Don't print filenames above matching contents"},
{Name: "--hidden", Description: "Search hidden files. This option obeys ignored files"},
{Name: "--ignore", Description: "The pattern to look for"},
{Name: "--ignore-dir", Description: "Alias for --ignore for compatibility with ack"},
{Name: "-i", Description: "Match case-insensitively"},
{Name: "-l", Description: "Only print the names of files that don't contain matches"},
{Name: "--list-file-types", Description: "See FILE TYPES below"},
{Name: "-m", Description: "Skip the rest of a file after NUM matches. Default is 0, which never skips"},
{Name: "--mmap", Description: "Match regexes across newlines"},
{Name: "--nomultiline", Description: "Don't match regexes across newlines"},
{Name: "-n", Description: "Don't recurse into directories"},
{Name: "--numbers", Description: "Print line numbers"},
{Name: "--nonumbers", Description: "Don't print line numbers"},
{Name: "-o", Description: "Print only the matching part of the lines"},
{Name: "--one-device", Description: "Provide a path to a specific .ignore file"},
{Name: "--pager", Description: "The pager"},
{Name: "--parallel", Description: "Print matches on very long lines (> 2k characters by default)"},
{Name: "--passthrough", Description: "When searching a stream, print all lines even if they don't match"},
{Name: "-Q", Description: "Do not parse PATTERN as a regular expression. Try to match it literally"},
},
})
}
+106
View File
@@ -0,0 +1,106 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "airflow",
Description: "Subcommand",
Subcommands: []core.Subcommand{
{Name: "celery", Description: "Celery components"},
{Name: "broker_api", Description: "Broker API"},
{Name: "flower_conf", Description: "Configuration file for flower"},
{Name: "hostname", Description: "Set the hostname on which to run the server"},
{Name: "log_file", Description: "Location of the log file"},
{Name: "port", Description: "The port on which to run the server"},
{Name: "stderr", Description: "Redirect stderr to this file"},
{Name: "stdout", Description: "Redirect stdout to this file"},
{Name: "url_prefix", Description: "URL prefix for Flower"},
{Name: "autoscale", Description: "Minimum and Maximum number of worker to autoscale"},
{Name: "concurrency", Description: "The number of worker processes"},
{Name: "queues", Description: "Comma delimited list of queues to serve"},
{Name: "umask", Description: "Set the umask of celery worker in daemon mode"},
{Name: "config", Description: "View configuration"},
{Name: "section", Description: "The section name"},
{Name: "option", Description: "The option name"},
{Name: "color", Description: "Do emit colored output (default: auto)"},
{Name: "connections", Description: "Manage connections"},
{Name: "conn_description", Description: "Connection description, optional when adding a connection"},
{Name: "conn_extra", Description: "Connection `Extra` field, optional when adding a connection"},
{Name: "conn_host", Description: "Connection host, optional when adding a connection"},
{Name: "conn_json", Description: "Connection JSON, required to add a connection using JSON representation"},
{Name: "conn_login", Description: "Connection login, optional when adding a connection"},
{Name: "conn_password", Description: "Connection password, optional when adding a connection"},
{Name: "conn_port", Description: "Connection port, optional when adding a connection"},
{Name: "conn_schema", Description: "Connection schema, optional when adding a connection"},
{Name: "conn_type", Description: "Connection type, required to add a connection without conn_uri"},
{Name: "conn_uri", Description: "Connection URI, required to add a connection without conn_type"},
{Name: "conn_id", Description: "Connection id, required to get/add/delete a connection"},
{Name: "file_format", Description: "File format for the export"},
{Name: "format", Description: "Deprecated -- use `--file-format` instead. File format to use for the export"},
{Name: "file", Description: "Output file path for exporting the connections"},
{Name: "(table, json, yaml, plain)", Description: "Output format. Allowed values: json, yaml, plain, table (default: table)"},
{Name: "num_runs", Description: "Set the number of runs to execute before exiting"},
{Name: "dags", Description: "Manage DAGs"},
{Name: "conf", Description: "JSON string that gets pickled into the DagRun's conf attribute"},
{Name: "end_date", Description: "Override end_date YYYY-MM-DD"},
{Name: "pool", Description: "Resource pool to use"},
{Name: "start_date", Description: "Override start_date YYYY-MM-DD"},
{Name: "task_regex", Description: "The regex to filter specific task_ids to backfill (optional)"},
{Name: "dag_id", Description: "The id of the dag"},
{Name: "limit", Description: "Return a limited number of records"},
{Name: "state", Description: "Only list the dag runs corresponding to the state"},
{Name: "num_executions", Description: "The number of next execution datetimes to show"},
{Name: "save", Description: "Saves the result to the indicated file"},
{Name: "execution_date", Description: "The execution date of the DAG"},
{Name: "exec_date", Description: "The execution date of the DAG"},
{Name: "run_id", Description: "Helps to identify this run"},
{Name: "db", Description: "Database operations"},
{Name: "migration_wait_timeout", Description: "Timeout to wait for db to migrate"},
},
Options: []core.Option{
{Name: "-h", Description: "Show this help message and exit"},
{Name: "-A", Description: "Broker API"},
{Name: "-D", Description: "Daemonize instead of running in the foreground"},
{Name: "-c", Description: "Configuration file for flower"},
{Name: "-H", Description: "Set the hostname on which to run the server"},
{Name: "-l", Description: "Location of the log file"},
{Name: "--pid", Description: "PID file location"},
{Name: "-p", Description: "The port on which to run the server"},
{Name: "--stderr", Description: "Redirect stderr to this file"},
{Name: "--stdout", Description: "Redirect stdout to this file"},
{Name: "-u", Description: "URL prefix for Flower"},
{Name: "-a", Description: "Minimum and Maximum number of worker to autoscale"},
{Name: "-q", Description: "Comma delimited list of queues to serve"},
{Name: "-s", Description: "Don't start the serve logs process along with the workers"},
{Name: "--without-gossip", Description: "Don't subscribe to other workers events"},
{Name: "--without-mingle", Description: "Don't synchronize with other workers at start-up"},
{Name: "-v", Description: "Make logging output more verbose"},
{Name: "--color", Description: "Do emit colored output (default: auto)"},
{Name: "--conn-description", Description: "Connection description, optional when adding a connection"},
{Name: "--conn-extra", Description: "Connection `Extra` field, optional when adding a connection"},
{Name: "--conn-host", Description: "Connection host, optional when adding a connection"},
{Name: "--conn-json", Description: "Connection JSON, required to add a connection using JSON representation"},
{Name: "--conn-login", Description: "Connection login, optional when adding a connection"},
{Name: "--conn-password", Description: "Connection password, optional when adding a connection"},
{Name: "--conn-port", Description: "Connection port, optional when adding a connection"},
{Name: "--conn-schema", Description: "Connection schema, optional when adding a connection"},
{Name: "--conn-type", Description: "Connection type, required to add a connection without conn_uri"},
{Name: "--conn-uri", Description: "Connection URI, required to add a connection without conn_type"},
{Name: "--file-format", Description: "File format for the export"},
{Name: "--format", Description: "Deprecated -- use `--file-format` instead. File format to use for the export"},
{Name: "--serialization-format", Description: "Output file path for exporting the connections"},
{Name: "-o", Description: "Output format. Allowed values: json, yaml, plain, table (default: table)"},
{Name: "--conn-id", Description: "If passed, only items with the specified connection ID will be displayed"},
{Name: "-n", Description: "Set the number of runs to execute before exiting"},
{Name: "-S", Description: "Start a standalone Dag Processor instance"},
{Name: "--continue-on-failures", Description: "If set, the backfill will keep going even if some of the tasks failed"},
{Name: "--delay-on-limit", Description: "Override end_date YYYY-MM-DD"},
{Name: "-i", Description: "Run the task using the LocalExecutor"},
{Name: "-m", Description: "Mark jobs as succeeded without running them"},
{Name: "--pool", Description: "Resource pool to use"},
},
})
}
+43
View File
@@ -0,0 +1,43 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "aliases",
Description: "Prints help information",
Subcommands: []core.Subcommand{
{Name: "add", Description: "Add an alias via the cli"},
{Name: "name", Description: "The name of the alias"},
{Name: "command", Description: "The command you want to run"},
{Name: "clone", Description: "Clone external aliases"},
{Name: "username", Description: "The username of the aliases you want to clone"},
{Name: "repo_url", Description: "The git repo url of the aliases (defaults to github/<username>/dot-aliases)"},
{Name: "directories", Description: "List all directories initialized with aliases"},
{Name: "exec", Description: "Execute an alias for a given directory"},
{Name: "directory", Description: "Directory where the alias is defined"},
{Name: "help", Description: "Prints help information"},
{Name: "init", Description: "Initialize a directory for aliases"},
{Name: "list", Description: "List the aliases available"},
{Name: "pull", Description: "Pull a cloned user's aliases"},
{Name: "rehash", Description: "Update the aliases"},
{Name: "remove", Description: "Remove an alias via the cli"},
{Name: "users", Description: "List the users"},
{Name: "disable", Description: "Disable a user's aliases"},
{Name: "enable", Description: "Enable a user's aliases"},
{Name: "move", Description: "Move a user up or down the prioritization list"},
{Name: "use", Description: "Assign a user to the top of the priority list"},
},
Options: []core.Option{
{Name: "--help", Description: "Prints help information"},
{Name: "--version", Description: "Prints version information"},
{Name: "-E", Description: "Whether to enable the user if they are not currently enabled"},
{Name: "-g", Description: "Returns the global initialization for the app"},
{Name: "-u", Description: "Initialize aliases for a specific user"},
{Name: "-l", Description: "List only local aliases"},
{Name: "-d", Description: "List aliases for a specific directory"},
},
})
}
+38
View File
@@ -0,0 +1,38 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "asciinema",
Description: "Terminal session recorder",
Subcommands: []core.Subcommand{
{Name: "rec", Description: "Start a recording"},
{Name: "play", Description: "Replay recorded asciicast in a terminal"},
{Name: "seconds", Description: "Can be fractional"},
{Name: "factor", Description: "Can be fractional"},
{Name: "cat", Description: "Print full output of recorded asciicast to a terminal"},
{Name: "upload", Description: "Upload recorded asciicast to asciinema.org site"},
{Name: "auth", Description: "Link and manage your install ID with your asciinema.org user account"},
},
Options: []core.Option{
{Name: "--version", Description: "Output version information and exit"},
{Name: "-h", Description: "Output help message and exit"},
{Name: "--stdin", Description: "Enable stdin (keyboard) recording"},
{Name: "--append", Description: "Append to existing recording"},
{Name: "--raw", Description: "Save raw output, without timing or other metadata"},
{Name: "--overwrite", Description: "Overwrite the recording if it already exists"},
{Name: "-c", Description: "Specify command to record, defaults to $SHELL"},
{Name: "-e", Description: "List of environment variables to capture"},
{Name: "-t", Description: "Specify the title of the asciicast"},
{Name: "-i", Description: "Limit recorded terminal inactivity to max amount of seconds"},
{Name: "--cols", Description: "Override terminal columns for recorded process"},
{Name: "--rows", Description: "Override terminal rows for recorded process"},
{Name: "-y", Description: "Answer “yes” to all prompts (e.g. upload confirmation)"},
{Name: "-q", Description: "Be quiet, suppress all notices/warnings (implies -y)"},
{Name: "-s", Description: "Playback speed"},
},
})
}
+43
View File
@@ -0,0 +1,43 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "asr",
Description: "Can be a disk image, /dev entry, or volume mountpoint",
Subcommands: []core.Subcommand{
{Name: "help", Description: "Displays asr usage information"},
{Name: "version", Description: "Displays asr version"},
{Name: "restore", Description: "Restores a disk image or volume to another volume"},
{Name: "server", Description: "Multicasts source over the network"},
{Name: "source", Description: "UDIF disk image local/remote path"},
{Name: "interface", Description: "The network interface to be used for multicasting"},
{Name: "configuration", Description: "Configuration file in standard property list format"},
},
Options: []core.Option{
{Name: "--source", Description: "Can be a disk image, /dev entry, or volume mountpoint"},
{Name: "--target", Description: "Can be a /dev entry, or volume mountpoint"},
{Name: "--file", Description: "When performing a multicast restore, --file can be specified instead of --target"},
{Name: "--erase", Description: "Specifies the destination filesystem format"},
{Name: "--noprompt", Description: "Suppresses the prompt which usually occurs before target"},
{Name: "--timeout", Description: "Number of seconds that a multicast client should wait"},
{Name: "--puppetstrings", Description: "Provide progress output that is easy for another program to parse"},
{Name: "--noverify", Description: "Allows restores to proceed even if the source's catalog file is fragmented"},
{Name: "--SHA256", Description: "Forces the restore to use the SHA-256 hash in the image during verification"},
{Name: "--sourcevolumename", Description: "Forces asr to use replication for restoring APFS volumes"},
{Name: "--useInverter", Description: "Forces asr to use the inverter for restoring APFS volumes"},
{Name: "--toSnapshot", Description: "One of the options that control how asr uses memory"},
{Name: "--buffersize", Description: "One of the options that control how asr uses memory"},
{Name: "--csumbuffers", Description: "One of the options that control how asr uses memory"},
{Name: "--csumbuffersize", Description: "One of the options that control how asr uses memory"},
{Name: "--verbose", Description: "Enables verbose progress and error messages"},
{Name: "--debug", Description: "Enables other progress and error messages"},
{Name: "--interface", Description: "The network interface to be used for multicasting"},
{Name: "--config", Description: "Server requires a configuration file to be passed"},
{Name: "--plist", Description: "Writes its output as an XML-formatted plist"},
},
})
}
+64
View File
@@ -0,0 +1,64 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "atuin",
Description: "Magical shell history",
Subcommands: []core.Subcommand{
{Name: "history", Description: "Manipulate shell history"},
{Name: "start", Description: "Begins a new command in the history"},
{Name: "end", Description: "Finishes a new command in the history (adds time, exit code)"},
{Name: "list", Description: "List all items in history"},
{Name: "last", Description: "Get the last command ran"},
{Name: "import", Description: "Import shell history from file"},
{Name: "auto", Description: "Import history for the current shell"},
{Name: "stats", Description: "Calculate statistics for your history"},
{Name: "search", Description: "Interactive history search"},
{Name: "sync", Description: "Sync with the configured server"},
{Name: "login", Description: "Login to the configured server"},
{Name: "logout", Description: "Log out"},
{Name: "register", Description: "Register with the configured server"},
{Name: "key", Description: "Print the encryption key for transfer to another machine"},
{Name: "server", Description: "Start an atuin server"},
{Name: "init", Description: "Output shell setup"},
{Name: "uuid", Description: "Generate a UUID"},
{Name: "gen-completions", Description: "Generate shell completions"},
},
Options: []core.Option{
{Name: "--exit", Description: "List all items in history"},
{Name: "--cwd", Description: "Show only the text of the command"},
{Name: "--format", Description: "Get the last command ran"},
{Name: "--human", Description: "Show only the text of the command"},
{Name: "--count", Description: "How many top commands to list"},
{Name: "--exclude-cwd", Description: "Exclude directory from results"},
{Name: "--exclude-exit", Description: "Exclude results with this exit code"},
{Name: "--before", Description: "Only include results added before this date"},
{Name: "--after", Description: "Only include results after this date"},
{Name: "--limit", Description: "How many entries to return at most"},
{Name: "--offset", Description: "Offset from the start of the results"},
{Name: "--interactive", Description: "Open interactive search UI"},
{Name: "--filter-mode", Description: "Allow overriding filter mode over config"},
{Name: "--search-mode", Description: "Allow overriding search mode over config"},
{Name: "--cmd-only", Description: "Show only the text of the command"},
{Name: "--delete", Description: "Delete anything matching this query. Will not print out the match"},
{Name: "--delete-it-all", Description: "Delete EVERYTHING!"},
{Name: "--reverse", Description: "Reverse the order of results, oldest first"},
{Name: "--force", Description: "Force re-download everything"},
{Name: "--username", Description: "The encryption key for your account"},
{Name: "--base64", Description: "Switch to base64 output of the key"},
{Name: "--key", Description: "Start an atuin server"},
{Name: "--host", Description: "The host address to bind"},
{Name: "--port", Description: "The port to bind"},
{Name: "--disable-ctrl-r", Description: "Disable the binding of CTRL-R to atuin"},
{Name: "--disable-up-arrow", Description: "Disable the binding of the Up Arrow key to atuin"},
{Name: "--shell", Description: "Set the shell for generating completions"},
{Name: "--out-dir", Description: "Set the output directory"},
{Name: "--help", Description: "Print help"},
{Name: "--version", Description: "Print version"},
},
})
}
+16
View File
@@ -0,0 +1,16 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "basename",
Description: "Return filename portion of pathname",
Options: []core.Option{
{Name: "-a", Description: "Treat every argument as a string"},
{Name: "-s", Description: "Suffix to remove from string"},
},
})
}
+21
View File
@@ -0,0 +1,21 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "bc",
Description: "An arbitrary precision calculator language",
Options: []core.Option{
{Name: "--help", Description: "Print the usage and exit"},
{Name: "--interactive", Description: "Force interactive mode"},
{Name: "--mathlib", Description: "Define the standard math library"},
{Name: "--warn", Description: "Give warnings for extensions to POSIX bc"},
{Name: "--standard", Description: "Process exactly the POSIX bc language"},
{Name: "--quiet", Description: "Do not print the normal GNU bc welcome"},
{Name: "--version", Description: "Print the version number and copyright and quit"},
},
})
}
+21
View File
@@ -0,0 +1,21 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "btop",
Description: "Beautifuler htop (interactive process viewer)",
Options: []core.Option{
{Name: "--help", Description: "Shows help for btop"},
{Name: "--low-color", Description: "Disables truecolor, converts 24-bit colors to 256-color"},
{Name: "--tty_on", Description: "Forces ON tty mode, max 16 colors and tty friendly graph symbol"},
{Name: "--tty_off", Description: "Forces OFF tty mode"},
{Name: "--preset", Description: "Start with preset"},
{Name: "--utf-force", Description: "Force start even if no UTF-8 locale was detected"},
{Name: "--debug", Description: "Shows the version of btop"},
},
})
}
+72
View File
@@ -0,0 +1,72 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "bundle",
Description: "Gem",
Subcommands: []core.Subcommand{
{Name: "install", Description: "Install the gems specified by the Gemfile or Gemfile.lock"},
{Name: "update", Description: "Update dependencies to their latest versions"},
{Name: "exec", Description: "Execute a command in the context of the bundle"},
{Name: "add", Description: "Add gem to the Gemfile and run bundle install"},
{Name: "binstubs", Description: "Install the binstubs of the listed gems"},
{Name: "show", Description: "Show the source location of a particular gem in the bundle"},
{Name: "outdated", Description: "Show all of the outdated gems in the current bundle"},
{Name: "console", Description: "Start an IRB session in the current bundle"},
{Name: "open", Description: "Open an installed gem in the editor"},
{Name: "lock", Description: "Generate a lockfile for your dependencies"},
{Name: "viz", Description: "Generate a visual representation of your dependencies"},
{Name: "init", Description: "Generate a simple Gemfile, placed in the current directory"},
{Name: "gem", Description: "Create a simple gem, suitable for development with Bundler"},
{Name: "platform", Description: "Display platform compatibility information"},
{Name: "clean", Description: "Clean up unused gems in your Bundler directory"},
{Name: "doctor", Description: "Display warnings about common problems"},
},
Options: []core.Option{
{Name: "--binstubs", Description: "Create binstubs in dir"},
{Name: "--clean", Description: "Remove unused gems after install"},
{Name: "--deployment", Description: "For Production and CI use"},
{Name: "--force", Description: "Redownload all gems"},
{Name: "--frozen", Description: "Do not allow lock file to update"},
{Name: "--full-index", Description: "Cache the full index locally"},
{Name: "--gemfile", Description: "The gemfile to use"},
{Name: "--jobs", Description: "Maximum number of parallel installs"},
{Name: "--local", Description: "Use only gems already downloaded or cached"},
{Name: "--no-cache", Description: "Do not use vendor/cache"},
{Name: "--no-prune", Description: "Do not remove stale gems"},
{Name: "--path", Description: "Path the install gems too"},
{Name: "--quiet", Description: "Do not print to stdout"},
{Name: "--retry", Description: "Retry failed network requests N times"},
{Name: "--shebang", Description: "Uses the specified ruby executable for binstubs"},
{Name: "--standalone", Description: "Makes a bundle that can work without depending on Rubygems or Bundler at runtime"},
{Name: "--system", Description: "Use system Rubygems location"},
{Name: "--trust-policy", Description: "Apply the Rubygems security policy"},
{Name: "--with", Description: "Groups to install"},
{Name: "--without", Description: "Groups to NOT install"},
{Name: "--all", Description: "Update all gems specified in Gemfile"},
{Name: "--group", Description: "Only update the gems in the specified group"},
{Name: "--source", Description: "The name of a :git or :path source used in the Gemfile"},
{Name: "--ruby", Description: "Update the locked version of Ruby to the current version of Ruby"},
{Name: "--bundler", Description: "Update the locked version of bundler to the invoked bundler version"},
{Name: "--patch", Description: "Prefer updating only to next patch version"},
{Name: "--minor", Description: "Prefer updating only to next minor version"},
{Name: "--major", Description: "Prefer updating to next major version (default)"},
{Name: "--strict", Description: "Do not allow any gem to be updated past latest --patch | --minor | --major"},
{Name: "--conservative", Description: "Do not allow shared dependencies to be updated"},
{Name: "--keep-file-descriptors", Description: "Pass all file descriptors to the new process"},
{Name: "--version", Description: "Specify version requirements"},
{Name: "--skip-install", Description: "Adds the gem to the Gemfile but does not install it"},
{Name: "--optimistic", Description: "Adds optimistic declaration of version"},
{Name: "--dry-run", Description: "Locks the Gemfile before running the command"},
{Name: "--paths", Description: "List the paths of all gems that are required by your Gemfile"},
{Name: "--pre", Description: "Check for newer pre-release gems"},
{Name: "--parseable", Description: "Use minimal formatting for more parseable output"},
{Name: "--groups", Description: "List gems organized by groups"},
{Name: "--update-strict", Description: "Prefer updating only to next minor version"},
},
})
}
+17
View File
@@ -0,0 +1,17 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "cal",
Description: "Displays a calendar and the date of Easter",
Options: []core.Option{
{Name: "-h", Description: "Turns off highlighting of today"},
{Name: "-j", Description: "Display Julian days (days one-based, numbered from January 1)"},
{Name: "-m", Description: "Display a calendar for the specified year"},
},
})
}
+91
View File
@@ -0,0 +1,91 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "cci",
Description: "CumulusCI command line interface",
Subcommands: []core.Subcommand{
{Name: "flow", Description: "Commands for finding and running flows for a project"},
{Name: "doc", Description: "Exports RST format documentation for all flows"},
{Name: "info", Description: "Displays information for a flow"},
{Name: "FLOW_NAME", Description: "Name of the flow"},
{Name: "list", Description: "List available flows for the current context"},
{Name: "run", Description: "Runs a flow"},
{Name: "TEXT", Description: "Name of the target org"},
{Name: "org", Description: "Commands for connecting and interacting with Salesforce orgs"},
{Name: "browser", Description: "Opens a browser window and logs into the org using the stored OAuth credentials"},
{Name: "ORGNAME", Description: "Name of the org"},
{Name: "connect", Description: "Connects a new org's credentials using OAuth Web Flow"},
{Name: "default", Description: "Sets an org as the default org for tasks and flows"},
{Name: "import", Description: "Import an org from Salesforce DX"},
{Name: "prune", Description: "Removes all expired scratch orgs from the current project"},
{Name: "remove", Description: "Removes an org from the keychain"},
{Name: "scratch", Description: "Connects a Salesforce DX Scratch Org to the keychain"},
{Name: "plan", Description: "Commands for getting information about MetaDeploy plans"},
{Name: "PLAN_NAME", Description: "Name of the plan"},
{Name: "robot", Description: "Commands for working with Robot Framework"},
{Name: "install_playwright", Description: "Install libraries necessary to use playwright with robot framework"},
{Name: "uninstall_playwright", Description: "Uninstalls the robotframework-browser package and node modules"},
{Name: "service", Description: "Commands for connecting services to the keychain"},
{Name: "connected_app", Description: "Connect a Connected App service to CumulusCI"},
{Name: "devhub", Description: "Connect a DevHub service to CumulusCI"},
{Name: "github", Description: "Connect a GitHub service to CumulusCI"},
{Name: "github_enterprise", Description: "Connect a GitHub Enterprise service to CumulusCI"},
{Name: "marketing_cloud", Description: "Connect a Marketing Cloud service to CumulusCI"},
{Name: "metaci", Description: "Connect a MetaCI service to CumulusCI"},
{Name: "metadeploy", Description: "Connect a MetaDeploy service to CumulusCI"},
{Name: "oauth2_client", Description: "Connect an OAuth2 Client service to CumulusCI"},
{Name: "rename", Description: "Rename a service"},
{Name: "update", Description: "Allow users to update attribute values of a particular service"},
{Name: "shell", Description: "Drop into a Python shell"},
{Name: "task", Description: "Commands for finding and running tasks for a project"},
{Name: "version", Description: "Print the current version of CumulusCI"},
{Name: "error", Description: "Get or share information about an error"},
{Name: "gist", Description: "Creates a GitHub gist from the latest logfile"},
{Name: "project", Description: "Commands for interacting with project repository configurations"},
{Name: "init", Description: "Initialize a new project for use with the cumulusci toolbelt"},
},
Options: []core.Option{
{Name: "--project", Description: "Include project-specific flows only"},
{Name: "--help", Description: "Help for flow doc"},
{Name: "--plain", Description: "Print the table using plain ascii"},
{Name: "--json", Description: "Print a json string"},
{Name: "--org", Description: "Specify the target org. By default, runs against the current default org"},
{Name: "--delete-org", Description: "If set, deletes the scratch org after the flow completes"},
{Name: "--debug", Description: "Drops into pdb, the Python debugger, on an exception"},
{Name: "-o", Description: "Task specific options"},
{Name: "--no-prompt", Description: "Help for flow run"},
{Name: "-p", Description: "Navigate to the specified page after logging in"},
{Name: "-r", Description: "Display the target URL, but don't open a browser"},
{Name: "--sandbox", Description: "If set, connects to a Salesforce sandbox org"},
{Name: "--login-url", Description: "If set, login to this hostname"},
{Name: "--default", Description: "If set, sets the connected org as the new default org"},
{Name: "--global-org", Description: "If set, the connected org is available to all CumulusCI projects"},
{Name: "--include-active", Description: "Remove all scratch orgs, regardless of expiry"},
{Name: "--devhub", Description: "If provided, overrides the devhub used to create the scratch org"},
{Name: "--days", Description: "If set, don't set a password for the org"},
{Name: "--python", Description: "Python code to run directly"},
{Name: "--messages", Description: "Show only plan messages"},
{Name: "-n", Description: "Dry run"},
{Name: "--login_url", Description: "Default Salesforce Login URL to be used with this Connected App"},
{Name: "--callback_url", Description: "Callback URL configured on the Connected App"},
{Name: "--client_id", Description: "Client ID/Consumer Key from the Connected App"},
{Name: "--client_secret", Description: "Client Secret/Consumer Secret from the Connected App"},
{Name: "--username", Description: "Username or alias of the SFDX org to use as a Dev Hub"},
{Name: "--email", Description: "Personal Access Token for GitHub. Leave blank to log in via browser"},
{Name: "--token", Description: "Personal Access Token"},
{Name: "--oauth2_client", Description: "Set this service as the global default"},
{Name: "--app_name", Description: "The Heroku app name"},
{Name: "--url", Description: "The main url to the MetaCI site"},
{Name: "--auth_uri", Description: "The URI for where users are directed to login"},
{Name: "--token_uri", Description: "The URI for where we request an access token"},
{Name: "-s", Description: "Help for cci service remove"},
{Name: "--script", Description: "Path to a script to run"},
{Name: "--resolution-strategy", Description: "The resolution strategy to use. Defaults to production"},
},
})
}
+34
View File
@@ -0,0 +1,34 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "cdk8s",
Description: "CDK for K8s",
Subcommands: []core.Subcommand{
{Name: "init", Description: "Create a new, empty CDK8S project"},
{Name: "type", Description: "Select language you are using"},
{Name: "import", Description: "Import a CRD schema to generate generate resources"},
{Name: "spec", Description: "Path to the CRD schema"},
{Name: "synth", Description: "Synthesizes Kubernetes manifests for all charts in your app"},
},
Options: []core.Option{
{Name: "--language", Description: "Output programming language"},
{Name: "--class-prefix", Description: "A prefix to add to all generated class names"},
{Name: "--no-class-prefix", Description: "Does not add a prefix to generated class names"},
{Name: "--exclude", Description: "Do not import types that match these regular expressions"},
{Name: "--output", Description: "Output directory"},
{Name: "--app", Description: "Command to use in order to execute cdk8s app"},
{Name: "--stdout", Description: "Write synthesized manifests to STDOUT instead of the output directory"},
{Name: "--plugins-dir", Description: "Directory to store cdk8s plugins"},
{Name: "--validate", Description: "Apply validation plugins on the resulting manifests"},
{Name: "--no-validate", Description: "Disable validation"},
{Name: "--version", Description: "The current version"},
{Name: "--help", Description: "Show help"},
{Name: "--check-upgrade", Description: "Check for cdk8s-cli upgrade"},
},
})
}
+99
View File
@@ -0,0 +1,99 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "chezmoi",
Description: "Attribute modifier",
Subcommands: []core.Subcommand{
{Name: "manage", Description: "Add an existing file, directory, or symlink to the source state"},
{Name: "apply", Description: "Update the destination directory to match the target state"},
{Name: "archive", Description: "Generate a tar archive of the target state"},
{Name: "cat", Description: "Print the target contents of a file, script, or symlink"},
{Name: "cd", Description: "Launch a shell in the source directory"},
{Name: "chattr", Description: "Change the attributes of a target in the source state"},
{Name: "completion", Description: "Generate shell completion code"},
{Name: "data", Description: "Print the template data"},
{Name: "decrypt", Description: "Decrypt file or standard input"},
{Name: "diff", Description: "Print the diff between the target state and the destination state"},
{Name: "doctor", Description: "Check your system for potential problems"},
{Name: "dump", Description: "Generate a dump of the target state"},
{Name: "edit", Description: "Edit the source state of a target"},
{Name: "edit-config", Description: "Edit the configuration file"},
{Name: "encrypt", Description: "Encrypt file or standard input"},
{Name: "execute-template", Description: "Execute the given template(s)"},
{Name: "unmanage", Description: "Remove a target from the source state"},
{Name: "git", Description: "Run git in the source directory"},
{Name: "ignored", Description: "Print ignored targets"},
{Name: "import", Description: "Import an archive into the source state"},
{Name: "license", Description: "Print license"},
{Name: "list", Description: "List the managed entries in the destination directory"},
{Name: "merge-all", Description: "Perform a three-way merge for each modified file"},
{Name: "purge", Description: "Purge chezmoi's configuration and data"},
{Name: "re-add", Description: "Re-add modified files"},
{Name: "rm", Description: "Remove a target from the source state and the destination directory"},
{Name: "secret", Description: "Interact with a secret manager"},
{Name: "keyring", Description: "Interact with keyring"},
{Name: "delete", Description: "Delete a value from keyring"},
{Name: "get", Description: "Get a value from keyring"},
{Name: "set", Description: "Set a value in keyring"},
{Name: "source-path", Description: "Print the source path of a target"},
{Name: "state", Description: "Manipulate the persistent state"},
{Name: "delete-bucket", Description: "Delete a bucket from the persistent state"},
{Name: "get-bucket", Description: "Get a bucket from the persistent state"},
{Name: "reset", Description: "Reset the persistent state"},
{Name: "status", Description: "Show the status of targets"},
{Name: "target-path", Description: "Print the target path of a source path"},
{Name: "unmanaged", Description: "List the unmanaged files in the destination directory"},
{Name: "update", Description: "Pull and apply any changes"},
{Name: "upgrade", Description: "Upgrade chezmoi to the latest released version"},
{Name: "help", Description: "Help about any command"},
{Name: "generate", Description: "Generate a file for use with chezmoi"},
},
Options: []core.Option{
{Name: "--autotemplate", Description: "Generate the template when adding files as templates"},
{Name: "--create", Description: "Add files that should exist, irrespective of their contents"},
{Name: "--encrypt", Description: "Encrypt files"},
{Name: "--exact", Description: "Add directories exactly"},
{Name: "--exclude", Description: "Exclude entry types"},
{Name: "--follow", Description: "Add symlink targets instead of symlinks"},
{Name: "--include", Description: "Include entry types"},
{Name: "--prompt", Description: "Prompt before adding each entry"},
{Name: "--recursive", Description: "Recurse into subdirectories"},
{Name: "--template", Description: "Add files as templates"},
{Name: "--template-symlinks", Description: "Add symlinks with target in source or home dirs as templates"},
{Name: "--init", Description: "Recreate config file from template"},
{Name: "--format", Description: "Set archive format"},
{Name: "--gzip", Description: "Compress output with gzip"},
{Name: "--pager", Description: "Set pager"},
{Name: "--reverse", Description: "Reverse the direction of the diff"},
{Name: "--use-builtin-diff", Description: "Use the builtin diff"},
{Name: "--apply", Description: "Apply after editing"},
{Name: "--hardlink", Description: "Invoke editor with a hardlink to the source file"},
{Name: "--promptBool", Description: "Simulate promptBool"},
{Name: "--promptInt", Description: "Simulate promptInt"},
{Name: "--promptString", Description: "Simulate promptString"},
{Name: "--stdinisatty", Description: "Simulate stdinIsATTY"},
{Name: "--remove-destination", Description: "Remove destination before import"},
{Name: "--strip-components", Description: "Strip leading path components"},
{Name: "--branch", Description: "Set initial branch to checkout"},
{Name: "--config-path", Description: "Path to write generated config file"},
{Name: "--data", Description: "Include existing template data"},
{Name: "--depth", Description: "Create a shallow clone"},
{Name: "--guess-repo-url", Description: "Guess the repo URL"},
{Name: "--one-shot", Description: "Run in one-shot mode"},
{Name: "--purge", Description: "Purge config and source directories after running"},
{Name: "--purge-binary", Description: "Purge chezmoi binary after running"},
{Name: "--ssh", Description: "Use ssh instead of https when guessing dotfile repo URL"},
{Name: "--binary", Description: "Purge chezmoi binary"},
{Name: "--service", Description: "Service"},
{Name: "--user", Description: "User"},
{Name: "--value", Description: "Value"},
{Name: "--bucket", Description: "Bucket"},
{Name: "--key", Description: "Key"},
},
})
}
+18
View File
@@ -0,0 +1,18 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "chsh",
Description: "Change your login shell",
Options: []core.Option{
{Name: "-s", Description: "Specify login shell"},
{Name: "-l", Description: "Print list of shells and exit"},
{Name: "-u", Description: "Print help message and exit"},
{Name: "-v", Description: "Print version and exit"},
},
})
}
+20
View File
@@ -0,0 +1,20 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "codesign",
Description: "Create and manipulate code signatures",
Options: []core.Option{
{Name: "--all-architectures", Description: "Display information about the code at the path(s) given"},
{Name: "-D", Description: "Constructs and prints the hosting chain of a running program"},
{Name: "-i", Description: "Indicates the granularity of code signing. Pagesize must be a power of two"},
{Name: "-r", Description: "Sign the code at the path(s) given using this identity"},
{Name: "-v", Description: "Requests verification of code signatures"},
{Name: "--continue", Description: "During static validation, do not validate the contents of the code's resources"},
},
})
}
+45
View File
@@ -0,0 +1,45 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "croc",
Description: "Send file(s), or folder",
Subcommands: []core.Subcommand{
{Name: "send", Description: "Send file(s), or folder"},
{Name: "relay", Description: "Start your own relay"},
{Name: "help", Description: "Shows a list of commands or help for one command"},
},
Options: []core.Option{
{Name: "--code", Description: "Codephrase used to connect to relay"},
{Name: "--hash", Description: "Hash algorithm"},
{Name: "--text", Description: "Send some text"},
{Name: "--no-local", Description: "Disable local relay when sending"},
{Name: "--no-multi", Description: "Disable multiplexing"},
{Name: "--ports", Description: "Ports of the local relay"},
{Name: "--host", Description: "Host of the relay"},
{Name: "--help", Description: "Show help for croc"},
{Name: "--internal-dns", Description: "Use a built-in DNS stub resolver rather than the host operating system"},
{Name: "--remember", Description: "Save these settings to reuse next time"},
{Name: "--debug", Description: "Toggle debug mode"},
{Name: "--yes", Description: "Automatically agree to all prompts"},
{Name: "--stdout", Description: "Redirect file to stdout"},
{Name: "--no-compress", Description: "Disable compression"},
{Name: "--ask", Description: "Make sure sender and recipient are prompted"},
{Name: "--local", Description: "Force to use only local connections"},
{Name: "--ignore-stdin", Description: "Ignore piped stdin"},
{Name: "--overwrite", Description: "Do not prompt to overwrite"},
{Name: "--curve", Description: "Choose an encryption curve"},
{Name: "--ip", Description: "Set sender ip if known"},
{Name: "--relay", Description: "Address of the relay"},
{Name: "--relay6", Description: "Ipv6 address of the relay"},
{Name: "--out", Description: "Specify an output folder to receive the file"},
{Name: "--pass", Description: "Add a socks5 proxy"},
{Name: "--throttleUpload", Description: "Throttle the upload speed e.g. 500k"},
{Name: "--version", Description: "Print the version"},
},
})
}
+18
View File
@@ -0,0 +1,18 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "crontab",
Description: "Maintain crontab file for individual users",
Options: []core.Option{
{Name: "-e", Description: "Edit the current crontab"},
{Name: "-l", Description: "Display the current crontab"},
{Name: "-r", Description: "Remove the current crontab"},
{Name: "-u", Description: "Specify the name of the user whose crontab is to be tweaked"},
},
})
}
+23
View File
@@ -0,0 +1,23 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "date",
Description: "Display or set date and time",
Options: []core.Option{
{Name: "-d", Description: "Set the kernel's value for daylight saving time"},
{Name: "-f", Description: "The format with which to parse the new date value"},
{Name: "-j", Description: "Don't try to set the date"},
{Name: "-n", Description: "Only set time on the current machine, instead of all machines in the local group"},
{Name: "-R", Description: "Use RFC 2822 date and time output format"},
{Name: "-r", Description: "Number of seconds since the Epoch (00:00:00 UTC, January 1, 1970)"},
{Name: "-t", Description: "Set the system's value for minutes west of GMT"},
{Name: "-u", Description: "Display or set the date in UTC (Coordinated Universal) time"},
{Name: "-v", Description: "[+|-]val[ymwdHMS]"},
},
})
}
+18
View File
@@ -0,0 +1,18 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "dateseq",
Description: "Print help and exit",
Options: []core.Option{
{Name: "--help", Description: "Print help and exit"},
{Name: "--version", Description: "Print version and exit"},
{Name: "--quiet", Description: "Suppress message about date/time and duration parse errors and fix-ups"},
{Name: "-f", Description: "Date/time"},
},
})
}
+59
View File
@@ -0,0 +1,59 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "dcli",
Description: "Display help for command",
Subcommands: []core.Subcommand{
{Name: "sync", Description: "Manually synchronize the local vault with Dashlane"},
{Name: "read", Description: "Retrieve a secret from the local vault via its path"},
{Name: "path", Description: "Path to the secret (dl://<title>/<field> or dl://<id>/<field>)"},
{Name: "password", Description: "Retrieve a password from the local vault and copy it to the clipboard"},
{Name: "otp", Description: "Retrieve an OTP code from local vault and copy it to the clipboard"},
{Name: "note", Description: "Retrieve a secure note from the local vault and open it"},
{Name: "accounts", Description: "Manage your accounts connected to the CLI"},
{Name: "whoami", Description: "Prints the login email of the account currently in use"},
{Name: "devices", Description: "Operations on devices"},
{Name: "list", Description: "Lists all registered devices that can access your account"},
{Name: "device ids", Description: "Ids of the devices to remove"},
{Name: "register", Description: "Registers a new device to be used in non-interactive mode"},
{Name: "device name", Description: "Name of the device to register"},
{Name: "team", Description: "Team related commands"},
{Name: "credentials", Description: "Team credentials operations"},
{Name: "generate", Description: "Generate new team credentials"},
{Name: "revoke", Description: "Revoke credentials by access key"},
{Name: "accessKey", Description: "Access key of the credentials to revoke"},
{Name: "members", Description: "List team members"},
{Name: "page", Description: "Page number"},
{Name: "limit", Description: "Limit of members per page"},
{Name: "logs", Description: "List audit logs"},
{Name: "report", Description: "Get team report"},
{Name: "days", Description: "Number of days in history"},
{Name: "configure", Description: "Configure the CLI"},
{Name: "disable-auto-sync", Description: "Disable automatic synchronization which is done once per hour (default: false)"},
{Name: "backup", Description: "Backup your local vault (will use the current directory by default)"},
{Name: "logout", Description: "Logout and clean your local database and OS keychain"},
},
Options: []core.Option{
{Name: "-i", Description: "Input file of a template to inject the credential into"},
{Name: "-o", Description: "Output file to write the injected template to"},
{Name: "--print", Description: "Prints just the OTP code, instead of copying it to the clipboard"},
{Name: "--json", Description: "Output in JSON format"},
{Name: "--all", Description: "Remove all devices including this one (dangerous)"},
{Name: "--others", Description: "Remove all other devices"},
{Name: "--csv", Description: "Output in CSV format"},
{Name: "--human-readable", Description: "Output dates in human readable format"},
{Name: "--start", Description: "Start timestamp in ms"},
{Name: "--end", Description: "Log type"},
{Name: "--category", Description: "Log category"},
{Name: "--directory", Description: "Logout and clean your local database and OS keychain"},
{Name: "-h", Description: "Display help for command"},
{Name: "-V", Description: "Output the version number"},
{Name: "--debug", Description: "Print debug messages"},
},
})
}
+12
View File
@@ -0,0 +1,12 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "dd",
Description: "The same as",
})
}
+100
View File
@@ -0,0 +1,100 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ddev",
Description: "DDEV-Local local development environment",
Subcommands: []core.Subcommand{
{Name: "auth", Description: "A collection of authentication commands"},
{Name: "ssh", Description: "Add ssh key authentication to the ddev-ssh-auth container"},
{Name: "clean", Description: "Removes items ddev has created"},
{Name: "composer", Description: "Executes a composer command within the web container"},
{Name: "config", Description: "Create or modify a ddev project configuration in the current directory"},
{Name: "global", Description: "Change global configuration"},
{Name: "d", Description: "A collection of debugging commands"},
{Name: "capabilities", Description: "Show capabilities of this version of ddev"},
{Name: "compose-config", Description: "Prints the docker-compose configuration of the current project"},
{Name: "configyaml", Description: "Prints the project config.*.yaml usage"},
{Name: "dockercheck", Description: "Diagnose DDEV docker/colima setup"},
{Name: "download-images", Description: "Download all images required by ddev"},
{Name: "fix-commands", Description: "Fix up custom/shell commands without running ddev start"},
{Name: "mutagen", Description: "Allows access to any mutagen command"},
{Name: "nfsmount", Description: "Checks to see if nfs mounting works for current project"},
{Name: "refresh", Description: "Refreshes docker cache for project"},
{Name: "router-nginx-config", Description: "Prints the nginx config of the router"},
{Name: "test", Description: "Run diagnostics on ddev using the embedded test_ddev.sh script"},
{Name: "delete", Description: "Remove all project information (including database) for an existing project"},
{Name: "images", Description: "Deletes drud/ddev-* docker images not in use by current ddev version"},
{Name: "desc", Description: "Get a detailed description of a running ddev project"},
{Name: "export-db", Description: "Dump a database to a file or to stdout"},
{Name: "get", Description: "Get/Download a 3rd party add-on (service, provider, etc.)"},
{Name: "hostname", Description: "Manage your hostfile entries"},
{Name: "import-db", Description: "Import a sql file into the project"},
{Name: "l", Description: "List projects"},
{Name: "logs", Description: "Get the logs from your running services"},
{Name: "monitor", Description: "Monitor mutagen status"},
{Name: "reset", Description: "Reset mutagen for project"},
{Name: "st", Description: "Shows mutagen sync status"},
{Name: "sync", Description: "Explicit sync for mutagen"},
{Name: "sc", Description: "Uses 'docker stop' to pause/stop the containers belonging to a project"},
{Name: "powerdown", Description: "Completely stop all projects and containers"},
{Name: "pull", Description: "Pull files and database using a configured provider plugin"},
{Name: "push", Description: "Push files and database using a configured provider plugin"},
{Name: "restart", Description: "Restart a project or several projects"},
{Name: "service", Description: "Add or remove, enable or disable extra services"},
{Name: "disable", Description: "Disable a 3rd party service"},
{Name: "enable", Description: "Enable a 3rd party service"},
{Name: "share", Description: "Share project on the internet via ngrok"},
{Name: "snapshot", Description: "Create a database snapshot for one or more projects"},
{Name: "add", Description: "Start a ddev project"},
{Name: "version", Description: "Print ddev version and component versions"},
{Name: "help", Description: "Help about any command"},
},
Options: []core.Option{
{Name: "--ssh-key-path", Description: "Full path to ssh key directory"},
{Name: "--all", Description: "Clean all ddev projects"},
{Name: "--dry-run", Description: "Run the clean command without deleting"},
{Name: "--yes", Description: "Yes - skip confirmation prompt"},
{Name: "--auto-restart-containers", Description: "If true, automatically restart containers after a reboot or docker restart"},
{Name: "--disable-http2", Description: "If true, 'ddev start' will fail when a hook fails"},
{Name: "--instrumentation-opt-in", Description: "Instrumentation-opt-in=true"},
{Name: "--letsencrypt-email", Description: "If true, web container will use mutagen caching/asynchronous updates"},
{Name: "--nfs-mount-enabled", Description: "Enable NFS mounting on all projects globally"},
{Name: "--no-bind-mounts", Description: "For example, --omit-containers=dba,ddev-ssh-agent"},
{Name: "--router-bind-all-interfaces", Description: "Router-bind-all-interfaces=true"},
{Name: "--simple-formatting", Description: "If true, use simple formatting and no color for tables"},
{Name: "--table-style", Description: "Table style for list and describe, see ~/.ddev/global_config.yaml for values"},
{Name: "--use-letsencrypt", Description: "A comma-delimited list of FQDNs for the project"},
{Name: "--additional-hostnames", Description: "A comma-delimited list of hostnames for the project"},
{Name: "--apptype", Description: "Automatically run config without prompting"},
{Name: "--bind-all-interfaces", Description: "Bind host ports on all interfaces, not just on localhost network interface"},
{Name: "--composer-root", Description: "Overrides the default composer root directory for the web service"},
{Name: "--composer-root-default", Description: "Unsets a web service composer root directory override"},
{Name: "--composer-version", Description: "Prompts ddev to create the docroot if it doesn't exist"},
{Name: "--database", Description: "Specify the database type:version to use. Defaults to mariadb:10.4"},
{Name: "--db-image", Description: "Sets the db container image"},
{Name: "--db-image-default", Description: "Sets the default db container image for this ddev version"},
{Name: "--db-working-dir", Description: "Overrides the default working directory for the db service"},
{Name: "--db-working-dir-default", Description: "Unsets a db service working directory override"},
{Name: "--dba-image", Description: "Sets the dba container image"},
{Name: "--dba-image-default", Description: "Sets the default dba container image for this ddev version"},
{Name: "--dba-working-dir", Description: "Overrides the default working directory for the dba service"},
{Name: "--dba-working-dir-default", Description: "Unsets a dba service working directory override"},
{Name: "--dbimage-extra-packages", Description: "Prevent ddev from creating or updating CMS settings files"},
{Name: "--docroot", Description: "Decide whether 'ddev start' should be interrupted by a failing hook"},
{Name: "--host-db-port", Description: "The db container's localhost-bound port"},
{Name: "--host-dba-port", Description: "The web container's localhost-bound https port"},
{Name: "--host-webserver-port", Description: "The web container's localhost-bound port"},
{Name: "--http-port", Description: "The router HTTP port for this project"},
{Name: "--https-port", Description: "The router HTTPS port for this project"},
{Name: "--image-defaults", Description: "Sets the default web, db, and dba container images"},
{Name: "--mailhog-https-port", Description: "Router port to be used for mailhog access (https)"},
{Name: "--mailhog-port", Description: "Router port to be used for mailhog access"},
{Name: "--mutagen-enabled", Description: "Enable mutagen asynchronous update of project in web container"},
},
})
}
+28
View File
@@ -0,0 +1,28 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "defaults",
Description: "Global domain",
Subcommands: []core.Subcommand{
{Name: "read", Description: "Shows defaults"},
{Name: "write", Description: "Writes key for domain"},
{Name: "delete", Description: "Deletes domain or key in domain"},
{Name: "rename", Description: "Renames old_key to new_key"},
{Name: "domains", Description: "Lists all domains"},
{Name: "find", Description: "Lists all entries containing word"},
{Name: "word", Description: "The word to search for"},
{Name: "help", Description: "Show help text"},
{Name: "read-type", Description: "Shows the type for the given domain, key"},
},
Options: []core.Option{
{Name: "-globalDomain", Description: "Global domain"},
{Name: "-app", Description: "Application name"},
{Name: "-string", Description: "Command line interface to a user's defaults"},
},
})
}
+19
View File
@@ -0,0 +1,19 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "degit",
Description: "Straightforward project scaffolding",
Options: []core.Option{
{Name: "--help", Description: "Print help"},
{Name: "-f", Description: "Overwrite existing files"},
{Name: "-c", Description: "Use a cache"},
{Name: "-v", Description: "Be verbose?"},
{Name: "-m", Description: "Clone mode"},
},
})
}
+60
View File
@@ -0,0 +1,60 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "deta",
Description: "Runtime",
Subcommands: []core.Subcommand{
{Name: "login", Description: "Trigger the login process for the Deta CLI"},
{Name: "version", Description: "Print the Deta version"},
{Name: "upgrade", Description: "Upgrade Deta CLI version"},
{Name: "projects", Description: "List Deta projects"},
{Name: "new", Description: "Create a new Deta Micro"},
{Name: "path", Description: "Path to new directory for the micro"},
{Name: "name", Description: "Name of the new micro"},
{Name: "project", Description: "Name of the existing project"},
{Name: "runtime", Description: "The selected runtime"},
{Name: "deploy", Description: "Deploy new code to a Deta Micro"},
{Name: "details", Description: "Get detailed information about a specific Deta micro"},
{Name: "watch", Description: "Auto-deploy locally saved changes in real time to your Deta micro"},
{Name: "auth", Description: "Change auth settings for a Deta Micro"},
{Name: "disable", Description: "Disable HTTP Auth for a Deta Micro"},
{Name: "enable", Description: "Enable HTTP Auth for a Deta Micro"},
{Name: "create-api-key", Description: "Create an API key for a Deta Micro"},
{Name: "description", Description: "The api-key description"},
{Name: "outfile", Description: "The api-key output file"},
{Name: "delete-api-key", Description: "Delete an API key for a Deta Micro"},
{Name: "pull", Description: "Pull the latest deployed code of a Deta Micro to your local machine"},
{Name: "clone", Description: "Clone a Deta Micro"},
{Name: "update", Description: "Update a Deta Micro's name or environment variables"},
{Name: "env", Description: "Path to env file"},
{Name: "visor", Description: "Change the Visor settings for a Deta Micro"},
{Name: "open", Description: "Open Micro's visor page in the browser"},
{Name: "run", Description: "Run a Deta Micro from the CLI"},
{Name: "action", Description: "The action to be performed on the micro. See docs for full examples and details"},
{Name: "cron", Description: "Change cron settings for a Deta Micro"},
{Name: "set", Description: "Set Deta Micro to run on a schedule"},
{Name: "expression", Description: "The cron expression to be set"},
{Name: "remove", Description: "Remove a schedule from a Deta Micro"},
},
Options: []core.Option{
{Name: "-h", Description: "Show help for login"},
{Name: "-v", Description: "Upgrade CLI to specific version"},
{Name: "-n", Description: "Create a micro with Node (node14.x) runtime"},
{Name: "-p", Description: "Create a micro with Python (python 3.9) runtime"},
{Name: "--name", Description: "Set the name of the new micro"},
{Name: "--project", Description: "Set the project under which the micro is created"},
{Name: "--runtime", Description: "Create a micro with a specified runtime"},
{Name: "-d", Description: "Set the api-key description"},
{Name: "-o", Description: "Set the api-key output file"},
{Name: "-f", Description: "Force the overwrite of existing files"},
{Name: "-r", Description: "The new runtime of the micro"},
{Name: "-e", Description: "The new env file of the micro"},
{Name: "-l", Description: "Show the micro logs"},
},
})
}
+12
View File
@@ -0,0 +1,12 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "dirname",
Description: "Return directory portion of pathname",
})
}
+21
View File
@@ -0,0 +1,21 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "do-release-upgrade",
Description: "Upgrade Ubuntu to latest release",
Options: []core.Option{
{Name: "-h", Description: "Show help message and exit"},
{Name: "-d", Description: "If using the latest supported release, upgrade to the development release"},
{Name: "-p", Description: "Try upgrading to the latest release using the upgrader from Ubuntu-proposed"},
{Name: "-m", Description: "Run in a special upgrade mode"},
{Name: "--mode", Description: "Run in a special upgrade mode"},
{Name: "-f", Description: "Run the specified frontend"},
{Name: "--frontend", Description: "Run the specified frontend"},
},
})
}
+40
View File
@@ -0,0 +1,40 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "dog",
Description: "Human-readable host names, nameservers, types, or classes",
Subcommands: []core.Subcommand{
{Name: "A", Description: "Query Domain A Record"},
{Name: "MX", Description: "Query Domain MX Record"},
{Name: "CNAME", Description: "Query Domain CNAME Record"},
{Name: "TXT", Description: "Query Domain TXT Record"},
{Name: "NS", Description: "Query NS Record"},
{Name: "SOA", Description: "Query SOA Record"},
{Name: "TTL", Description: "Query TTL Record"},
{Name: "ANY +noall +answer", Description: "Query ALL DNS Records"},
},
Options: []core.Option{
{Name: "-q", Description: "Host name or IP address to query"},
{Name: "-t", Description: "Type of the DNS record being queried (A, MX, NS...)"},
{Name: "-n", Description: "Address of the nameserver to send packets to"},
{Name: "-class", Description: "Network class of the DNS record being queried (IN, CH, HS)"},
{Name: "--edns", Description: "Whether to OPT in to EDNS (disable, hide, show)"},
{Name: "--txid", Description: "Set the transaction ID to a specific value"},
{Name: "-Z", Description: "Set uncommon protocol-level tweaks"},
{Name: "-U", Description: "Use the DNS protocol over UDP"},
{Name: "-T", Description: "Use the DNS protocol over TCP"},
{Name: "-S", Description: "Use the DNS-over-TLS protocol"},
{Name: "-H", Description: "Use the DNS-over-HTTPS protocol"},
{Name: "-1", Description: "Short mode: display nothing but the first result"},
{Name: "-J", Description: "Display the output as JSON"},
{Name: "--color", Description: "When to colourise the output (always, automatic, never)"},
{Name: "--seconds", Description: "Do not format durations, display them as seconds"},
{Name: "--time", Description: "Print how long the response took to arrive"},
},
})
}
+19
View File
@@ -0,0 +1,19 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "dotnet",
Description: "The dotnet cli",
Options: []core.Option{
{Name: "--version", Description: "Prints out a list of the installed .NET SDKs"},
{Name: "-?", Description: "Prints out a list of available commands"},
{Name: "-d", Description: "Enables diagnostic output"},
{Name: "-v", Description: "Path containing probing policy and assemblies to probe"},
{Name: "--additional-deps", Description: "Version of the .NET runtime to use to run the application"},
},
})
}
+25
View File
@@ -0,0 +1,25 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "dscacheutil",
Description: "Utility for managing the Directory Service cache",
Subcommands: []core.Subcommand{
{Name: "category", Description: "Category to query"},
},
Options: []core.Option{
{Name: "-h", Description: "List the options for calling dscacheutil"},
{Name: "-q", Description: "Query the Directory Service cache"},
{Name: "-a", Description: "Attribute to query"},
{Name: "-cachedump", Description: "Get an overview of the cache by default"},
{Name: "-buckets", Description: "Get an overview of the cache by default"},
{Name: "-entries", Description: "Dump detailed information about cache entries"},
{Name: "-configuration", Description: "Flush the entire cache"},
{Name: "-statistics", Description: "Get statistics from the cache, including an overview an detailed call statistics"},
},
})
}
+38
View File
@@ -0,0 +1,38 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "dscl",
Description: "Prompt for password",
Subcommands: []core.Subcommand{
{Name: "read", Description: "Prints a directory"},
{Name: "readall", Description: "Prints all the records of a given type"},
{Name: "readpl", Description: "Prints the contents of plist_path"},
{Name: "readpli", Description: "Prints the contents of plist_path for the plist at value_index of the key"},
{Name: "list", Description: "Lists the subdirectories of the given directory"},
{Name: "search", Description: "Searches for records that match a pattern"},
{Name: "create", Description: "Creates a new record"},
{Name: "createpl", Description: "Creates a string, or array of strings at plist_path"},
{Name: "append", Description: "Appends one or more values to a property in a given record"},
{Name: "delete", Description: "Delete a directory, property, or value"},
{Name: "deletepl", Description: "Deletes a value in a plist"},
{Name: "deletepli", Description: "Deletes a value for the plist at value_index of the key"},
{Name: "passwd", Description: "Changes the password of a user"},
{Name: "new password", Description: "New password of the user"},
},
Options: []core.Option{
{Name: "-p", Description: "Prompt for password"},
{Name: "-u", Description: "Authenticate as user"},
{Name: "-P", Description: "Authenticate with password"},
{Name: "-f", Description: "Targeted local node database file path"},
{Name: "-raw", Description: "Don't strip off prefix from DirectoryService API constants"},
{Name: "-plist", Description: "Print out record(s) or attribute(s) in XML plist format"},
{Name: "-url", Description: "Print record attribute values in URL-style encoding"},
{Name: "-q", Description: "Quiet - no interactive prompt"},
},
})
}
+52
View File
@@ -0,0 +1,52 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "dtm",
Description: "Plugin",
Subcommands: []core.Subcommand{
{Name: "apply", Description: "Create or update DevOps tools according to DevStream configuration file"},
{Name: "completion", Description: "Generate the autocompletion script for dtm for the specified shell"},
{Name: "bash", Description: "Generate autocompletion script for bash"},
{Name: "fish", Description: "Generate autocompletion script for fish"},
{Name: "powershell", Description: "Generate autocompletion script for powershell"},
{Name: "zsh", Description: "Generate autocompletion script for zsh"},
{Name: "delete", Description: "Delete DevOps tools according to DevStream configuration file"},
{Name: "develop", Description: "Develop is used for develop a new plugin"},
{Name: "create-plugin", Description: "Create a new plugin"},
{Name: "validate-plugin", Description: "Validate a plugin"},
{Name: "init", Description: "Download needed plugins according to the config file"},
{Name: "list", Description: "This command only supports listing plugins now"},
{Name: "plugins", Description: "List all plugins"},
{Name: "show", Description: "Show is used to print plugins' configuration templates or status"},
{Name: "config", Description: "Show configuration information"},
{Name: "status", Description: "Show status information"},
{Name: "upgrade", Description: "Upgrade dtm to the latest release version"},
{Name: "verify", Description: "Verify DevOps tools according to DevStream config file and state"},
{Name: "version", Description: "Print the version number of DevStream"},
{Name: "help", Description: "Help about any command"},
},
Options: []core.Option{
{Name: "--config-file", Description: "Config file"},
{Name: "--plugin-dir", Description: "Plugins directory"},
{Name: "--yes", Description: "Apply directly without confirmation"},
{Name: "--force", Description: "Force delete by config"},
{Name: "--name", Description: "Specify name of the plugin to be created"},
{Name: "--all", Description: "Validate all plugins"},
{Name: "--arch", Description: "Download plugins for specific arch"},
{Name: "--download-only", Description: "Download plugins only"},
{Name: "--os", Description: "Download plugins for specific os"},
{Name: "--plugins", Description: "The plugins to be downloaded"},
{Name: "--filter", Description: "Filter plugin by regex"},
{Name: "--plugin", Description: "Specify name with the plugin"},
{Name: "--template", Description: "Print a template config, e.g. quickstart/gitops/"},
{Name: "--id", Description: "Specify id with the plugin instance"},
{Name: "--debug", Description: "Debug level log"},
{Name: "--help", Description: "Display help"},
},
})
}
+17
View File
@@ -0,0 +1,17 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "echo",
Description: "Environment Variable",
Options: []core.Option{
{Name: "-n", Description: "Do not print the trailing newline character"},
{Name: "-e", Description: "Interpret escape sequences"},
{Name: "-E", Description: "Disable escape sequences"},
},
})
}
+12
View File
@@ -0,0 +1,12 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "eleventy",
Description: "Eleventy is a simpler static site generator",
})
}
+12
View File
@@ -0,0 +1,12 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "exec",
Description: "Replace the current shell with a program",
})
}
+55
View File
@@ -0,0 +1,55 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "fastlane",
Description: "Helps you with your initial fastlane setup",
Subcommands: []core.Subcommand{
{Name: "init", Description: "Helps you with your initial fastlane setup"},
{Name: "swift", Description: "Fastlane configuration written in Swift (Beta). Swift setup is still in beta"},
{Name: "appleID", Description: "Your Apple ID"},
{Name: "action", Description: "Shows more information for a specific command"},
{Name: "actions", Description: "Lists all available fastlane actions"},
{Name: "add_plugin", Description: "Add a new plugin to your fastlane setup"},
{Name: "docs", Description: "Generate a markdown based documentation based on the Fastfile"},
{Name: "enable_auto_complete", Description: "Enable tab auto completion"},
{Name: "env", Description: "Print your fastlane environment, use this when you submit an issue on GitHub"},
{Name: "help", Description: "Display global or [command] help documentation"},
{Name: "install_plugins", Description: "Install all plugins for this project"},
{Name: "lanes", Description: "Lists all available lanes and shows their description"},
{Name: "list", Description: "Lists all available lanes without description"},
{Name: "new_action", Description: "Create a new custom action for fastlane"},
{Name: "new_plugin", Description: "Create a new plugin that can be used with fastlane"},
{Name: "run", Description: "Run a fastlane one-off action without a full lane"},
{Name: "search_plugins", Description: "Search for plugins, search query is optional"},
{Name: "socket_server", Description: "Starts local socket server and enables only a single local connection"},
{Name: "seconds", Description: "Connection timeout in seconds"},
{Name: "port", Description: "The port on localhost"},
{Name: "trigger", Description: "Run a specific lane. Pass the lane name and optionally the platform first"},
{Name: "lane", Description: "Specific lane to trigger"},
{Name: "update_fastlane", Description: "Update fastlane to the latest release"},
{Name: "update_plugins", Description: "Update all plugin dependencies"},
},
Options: []core.Option{
{Name: "-u", Description: "Only iOS projects Your Apple ID"},
{Name: "-f", Description: "Overwrite the existing README.md in the ./fastlane folder"},
{Name: "-c", Description: "Add custom command(s) for which tab auto complete should be enabled too"},
{Name: "-j", Description: "Output the lanes in JSON instead of text"},
{Name: "--name", Description: "Name of your new action"},
{Name: "-s", Description: "Keeps socket server up even after error or disconnects, requires CTRL-C to kill"},
{Name: "-p", Description: "Sets the port on localhost for the socket connection"},
{Name: "--disable_runner_upgrades", Description: "Prevents fastlane from attempting to update FastlaneRunner swift project"},
{Name: "--swift_server_port", Description: "Prevents fastlane from attempting to update FastlaneRunner swift project"},
{Name: "--platform", Description: "Only show actions available on the given platform"},
{Name: "-h", Description: "Show help for fastlane"},
{Name: "-v", Description: "Show version information for fastlane"},
{Name: "--verbose", Description: "Show version information for fastlane"},
{Name: "--capture_output", Description: "Captures the output of the current run, and generates a markdown issue template"},
{Name: "--troubleshoot", Description: "Add environment(s) to use with `dotenv`"},
},
})
}
+29
View File
@@ -0,0 +1,29 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "fdisk",
Description: "Manipulate disk partition table",
Options: []core.Option{
{Name: "--help", Description: "Show help for fdisk"},
{Name: "--version", Description: "Show version for lsblk"},
{Name: "--sector-size", Description: "Specify the sector size of the disk"},
{Name: "--protect-boot", Description: "Specify the compatibility mode, 'dos' or 'nondos'"},
{Name: "--color", Description: "Colorize the output"},
{Name: "--list", Description: "List the partition tables for the specified devices and then exit"},
{Name: "--list-details", Description: "Like --list, but provides more details"},
{Name: "--lock", Description: "Use exclusive BSD lock for device or file it operates"},
{Name: "--noauto-pt", Description: "Don't automatically create a default partition table on empty device"},
{Name: "--output", Description: "Desc"},
{Name: "--getsz", Description: "This option is DEPRECATED in favour of blockdev(8)"},
{Name: "--type", Description: "When listing partition tables, show sizes in 'sectors' or in 'cylinders'"},
{Name: "--cylinders", Description: "Specify the number of cylinders of the disk"},
{Name: "--heads", Description: "The argument when can be auto, never or always"},
{Name: "--wipe-partitions", Description: "The argument when can be auto, never or always"},
},
})
}
+54
View File
@@ -0,0 +1,54 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ffmpeg",
Description: "Play, record, convert, and stream audio and video",
Options: []core.Option{
{Name: "-i", Description: "Input file"},
{Name: "-L", Description: "Show license"},
{Name: "-h", Description: "Show help"},
{Name: "-help", Description: "Show help"},
{Name: "--help", Description: "Show help"},
{Name: "-version", Description: "Show version"},
{Name: "-buildconf", Description: "Show build configuration"},
{Name: "-formats", Description: "Show available formats"},
{Name: "-muxers", Description: "Show available muxers"},
{Name: "-demuxers", Description: "Show available demuxers"},
{Name: "-devices", Description: "Show available devices"},
{Name: "-codecs", Description: "Show available codecs"},
{Name: "-decoders", Description: "Show available decoders"},
{Name: "-encoders", Description: "Show available encoders"},
{Name: "-bsfs", Description: "Show available bit stream filters"},
{Name: "-protocols", Description: "Show available protocols"},
{Name: "-filters", Description: "Show available filters"},
{Name: "-pix_fmts", Description: "Show available pixel formats"},
{Name: "-layouts", Description: "Show standard channel layouts"},
{Name: "-sample_fmts", Description: "Show available audio sample formats"},
{Name: "-dispositions", Description: "Show available stream dispositions"},
{Name: "-colors", Description: "Show available color names"},
{Name: "-sources", Description: "List sources of the input device"},
{Name: "-sinks", Description: "List sinks of the output device"},
{Name: "-hwaccels", Description: "Show available HW acceleration methods"},
{Name: "-loglevel", Description: "Set logging level"},
{Name: "-v", Description: "Set logging level"},
{Name: "-report", Description: "Generate a report"},
{Name: "-max_alloc", Description: "Set maximum size of a single allocated block"},
{Name: "-y", Description: "Overwrite output files"},
{Name: "-n", Description: "Never overwrite output files"},
{Name: "-ignore_unknown", Description: "Ignore unknown stream types"},
{Name: "-filter_threads", Description: "Number of non-complex filter threads"},
{Name: "-filter_complex_threads", Description: "Number of threads for -filter_complex"},
{Name: "-stats", Description: "Print progress report during encoding"},
{Name: "-max_error_rate", Description: "Change audio volume (256=normal)"},
{Name: "-cpuflags", Description: "Force specific cpu flags"},
{Name: "-cpucount", Description: "Force specific cpu count"},
{Name: "-hide_banner", Description: "Do not show program banner"},
{Name: "-copy_unknown", Description: "Copy unknown stream types"},
},
})
}
+49
View File
@@ -0,0 +1,49 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "firefox",
Description: "Free open-source web browser developer by Mozilla",
Options: []core.Option{
{Name: "--display", Description: "Specify an X display to use"},
{Name: "--sync", Description: "Make X calls synchronous"},
{Name: "--g-fatal-warnings", Description: "Make all warnings fatal"},
{Name: "-h", Description: "Print help message and exit"},
{Name: "-v", Description: "Print version information and exit"},
{Name: "--full-version", Description: "Print full version information and exit"},
{Name: "-P", Description: "Specify profile to use"},
{Name: "--profile", Description: "Specify profile to use by folder"},
{Name: "--migration", Description: "Start with migration wizard"},
{Name: "--ProfileManager", Description: "Start with ProfileManager"},
{Name: "--no-remote", Description: "Do not accept or send remote commands; implies --new-instance"},
{Name: "--new-instance", Description: "Open new instance, not a new window in running instance"},
{Name: "--safe-mode", Description: "Disables extensions and themes for this session"},
{Name: "--allow-downgrade", Description: "Allows downgrading a profile"},
{Name: "--MOZ_LOG", Description: "Treated as MOZ_LOG=<modules> environment variable, overrides it"},
{Name: "--MOZ_LOG_FILE", Description: "Run without a GUI"},
{Name: "--jsdebugger", Description: "Start the devtools server on a TCP port or Unix domain socket path"},
{Name: "--browser", Description: "Open a browser window"},
{Name: "--new-window", Description: "Open a URL in a new window"},
{Name: "--new-tab", Description: "Open a URL in a new tab"},
{Name: "--private-window", Description: "Open a URL in a new private window"},
{Name: "--preferences", Description: "Open the preferences dialog"},
{Name: "--screenshot", Description: "Take a screenshot"},
{Name: "--window-size", Description: "Size of your screenshot"},
{Name: "--search", Description: "Search for a term in your default search engine"},
{Name: "--setDefaultBrowser", Description: "Set Firefox as the default browser"},
{Name: "--first-startup", Description: "Run post-install actions before opening a new window"},
{Name: "--kiosk", Description: "Start the browser in kiosk mode"},
{Name: "--disable-pinch", Description: "Disable touch-screen and touch-pad pinch gestures"},
{Name: "--jsconsole", Description: "Open the Browser Console"},
{Name: "--devtools", Description: "Open DevTools on initial load"},
{Name: "--marionette", Description: "Enable remote debugging server"},
{Name: "--remote-debugging-port", Description: "Defaults to port 9222"},
{Name: "--allow-remote-hosts", Description: "Values of the Host header to allow for incoming requests"},
{Name: "--allow-remote-origins", Description: "Values of the Origin header to allow for incoming requests"},
},
})
}
+24
View File
@@ -0,0 +1,24 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "fisher",
Description: "[Prompt] - 🌊 The ultimate Fish prompt",
Subcommands: []core.Subcommand{
{Name: "install", Description: "Install plugin"},
{Name: "remove", Description: "Remove plugins"},
{Name: "installed plugins", Description: "The plugin you want to remove"},
{Name: "update", Description: "Update plugins"},
{Name: "list", Description: "List plugins"},
{Name: "RegEx", Description: "Search in list with regular expression"},
},
Options: []core.Option{
{Name: "--help", Description: "Show help for fisher"},
{Name: "--version", Description: "Show fisher version"},
},
})
}
+15
View File
@@ -0,0 +1,15 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "fmt",
Description: "Simple text formatter",
Options: []core.Option{
{Name: "-c", Description: "File(s) to format"},
},
})
}
+67
View File
@@ -0,0 +1,67 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "forc",
Description: "Fuel Orchestrator",
Subcommands: []core.Subcommand{
{Name: "addr2line", Description: "Show location and context of an opcode address in its source file"},
{Name: "build", Description: "Compile the current or target project"},
{Name: "check", Description: "Check the current or target project and all of its dependencies for errors"},
{Name: "completions", Description: "Generate tab-completion scripts for your shell"},
{Name: "bash", Description: "Bourne Again SHell (bash)"},
{Name: "elvish", Description: "Elvish shell"},
{Name: "fish", Description: "Friendly Interactive SHell (fish)"},
{Name: "power-shell", Description: "PowerShell"},
{Name: "zsh", Description: "Z SHell (zsh)"},
{Name: "fig", Description: "Fig"},
{Name: "new", Description: "Create a new Forc project at `<path>`"},
{Name: "init", Description: "Create a new Forc project in an existing directory"},
{Name: "parse-bytecode", Description: "Parse bytecode file into a debug format"},
{Name: "test", Description: "Run the Sway unit tests for the current project"},
{Name: "update", Description: "Update dependencies in the Forc dependencies directory"},
{Name: "plugins", Description: "List all forc plugins"},
{Name: "template", Description: "Create a new Forc project from a git template"},
{Name: "run", Description: "Run script project. Crafts a script transaction then sends it to a running node"},
{Name: "crypto", Description: "Forc plugin for hashing arbitrary data"},
{Name: "keccak256", Description: "Hashes the argument or file with this algorithm"},
{Name: "sha256", Description: "Hashes the argument or file with this algorithm"},
{Name: "address", Description: "Converts an address to another format"},
{Name: "get-public-key", Description: "Get the public key from a message and its signature"},
{Name: "new-key", Description: "Creates a new key for use with fuel-core"},
{Name: "parse-secret", Description: "Parses a private key to view the associated public key"},
{Name: "help", Description: "Print this message or the help of the given subcommand(s)"},
{Name: "doc", Description: "Forc plugin for building a Sway package's documentation"},
{Name: "fmt", Description: "Forc plugin for running the Sway code formatter"},
{Name: "submit", Description: "A `forc` plugin for interacting with a Fuel node"},
{Name: "deploy", Description: "Build output file options"},
},
Options: []core.Option{
{Name: "-S", Description: "Where to search for the project root"},
{Name: "-g", Description: "Source file mapping in JSON format"},
{Name: "-c", Description: "How many lines of context to show"},
{Name: "-i", Description: "Opcode index"},
{Name: "-h", Description: "Print help information"},
{Name: "--help", Description: "Compile the current or target project"},
{Name: "-p", Description: "Path to the project, if not specified, current working directory will be used"},
{Name: "-t", Description: "Terse mode. Limited warning and error output"},
{Name: "-o", Description: "If set, outputs a binary file representing the script bytes"},
{Name: "-T", Description: "Specify shell to enable tab-completion for"},
{Name: "--target", Description: "Bourne Again SHell (bash)"},
{Name: "-r", Description: "Pretty-print the logs emitted from tests"},
{Name: "-l", Description: "Print `Log` and `LogData` receipts for tests"},
{Name: "-d", Description: "Dependency to be updated. If not set, all dependencies will be updated"},
{Name: "-u", Description: "The template url, should be a git repo"},
{Name: "-k", Description: "Key type to generate. It can either be `block-production` or `peering`"},
{Name: "--key-type", Description: "Print help information"},
{Name: "-s", Description: "Silent mode. Don't output any warnings or errors to the command line"},
{Name: "-f", Description: "Print help information"},
{Name: "-v", Description: "Use verbose output"},
{Name: "-L", Description: "Set the log level"},
},
})
}
+53
View File
@@ -0,0 +1,53 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "forge",
Description: "A command line interface for managing Atlassian-hosted apps",
Subcommands: []core.Subcommand{
{Name: "autocomplete", Description: "Configures autocomplete for the Forge CLI"},
{Name: "create", Description: "Create an app"},
{Name: "deploy", Description: "Deploy your app to an environment"},
{Name: "feedback", Description: "Let us know what you think about Forge"},
{Name: "install", Description: "Manage app installations"},
{Name: "list", Description: "List app installations"},
{Name: "help", Description: "Display help for command"},
{Name: "lint", Description: "Check the source files for common errors"},
{Name: "login", Description: "Log in to your Atlassian account"},
{Name: "logout", Description: "Log out of your Atlassian account"},
{Name: "logs", Description: "View app logs"},
{Name: "providers", Description: "Manage external providers"},
{Name: "configure", Description: "Configure provider credentials"},
{Name: "register", Description: "Register an app you didn't create so you can run commands for it"},
{Name: "settings", Description: "Manage Forge CLI settings"},
{Name: "set", Description: "Update Forge CLI setting (choices: usage-analytics)"},
{Name: "uninstall", Description: "Uninstall the app from an Atlassian site"},
{Name: "variables", Description: "Manage app environment variables"},
{Name: "unset", Description: "Remove an environment variable"},
{Name: "webtrigger", Description: "Get a web trigger URL"},
{Name: "whoami", Description: "Display the account information of the logged in user"},
},
Options: []core.Option{
{Name: "--verbose", Description: "Enable verbose mode"},
{Name: "-h", Description: "Display help for command"},
{Name: "-t", Description: "Specify the template to use"},
{Name: "-d", Description: "Specify the directory to create (uses the template name by default)"},
{Name: "-f", Description: "Disable pre-deployment checks"},
{Name: "-e", Description: "Run the command without input prompts"},
{Name: "-p", Description: "Product (Jira, Confluence, Compass)"},
{Name: "--upgrade", Description: "Upgrade an existing installation"},
{Name: "--confirm-scopes", Description: "Skip confirmation of scopes for the app before installing or upgrading the app"},
{Name: "--non-interactive", Description: "Run the command without input prompts"},
{Name: "--fix", Description: "Attempt to automatically fix any issues encountered"},
{Name: "-u", Description: "Specify the email to use"},
{Name: "-n", Description: "Number of invocations to return"},
{Name: "-s", Description: "Group logs by invocation ID"},
{Name: "--encrypt", Description: "Encrypt variable"},
{Name: "-V", Description: "Output the version number"},
},
})
}
+54
View File
@@ -0,0 +1,54 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "fzf",
Description: "A general-purpose command-line fuzzy finder",
Options: []core.Option{
{Name: "-x", Description: "Enables extended-search mode"},
{Name: "-e", Description: "Enables Exact-match"},
{Name: "--algo", Description: "Fuzzy matching algorithm"},
{Name: "-i", Description: "Case-insensitive match (default: smart-case match)"},
{Name: "--literal", Description: "Do not normalize latin script letters before matching"},
{Name: "-n", Description: "Comma-separated list of field index expressions for limiting search scope"},
{Name: "--with-nth", Description: "Transform the presentation of each line using field index expressions"},
{Name: "-d", Description: "Field delimiter regex (default: AWK-style)"},
{Name: "--tac", Description: "Reverse the order of the input"},
{Name: "--disabled", Description: "Do not perform search"},
{Name: "--tiebreak", Description: "Comma-separated list of sort criteria to apply when the scores are tied"},
{Name: "-m", Description: "Enable multi-select with tab/shift-tab"},
{Name: "--no-mouse", Description: "Disable mouse"},
{Name: "--bind", Description: "Custom key bindings. Refer to the man page"},
{Name: "--cycle", Description: "Enable cyclic scroll"},
{Name: "--keep-right", Description: "Keep the right end of the line visible on overflow"},
{Name: "--no-hscroll", Description: "Disable horizontal scroll"},
{Name: "--hscroll-off", Description: "Number of screen columns to keep to the right of the highlighted substring"},
{Name: "--filepath-word", Description: "Make word-wise movements respect path separators"},
{Name: "--jump-labels", Description: "Label characters for jump and jump-accept"},
{Name: "--height", Description: "Height[%]"},
{Name: "--min-height", Description: "Minimum height when --height is given in percent"},
{Name: "--layout", Description: "Choose layout"},
{Name: "--border", Description: "Draw border around the finder"},
{Name: "--margin", Description: "Screen margin (TRBL | TB,RL | T,RL,B | T,R,B,L)"},
{Name: "--padding", Description: "Padding inside border (TRBL | TB,RL | T,RL,B | T,R,B,L)"},
{Name: "--info", Description: "Finder info style"},
{Name: "--prompt", Description: "Input prompt"},
{Name: "--pointer", Description: "Pointer to the current line"},
{Name: "--marker", Description: "Multi-select marker"},
{Name: "--header", Description: "String to print as header"},
{Name: "--header-lines", Description: "The first N lines of the input are treated as header"},
{Name: "--ansi", Description: "Enable processing of ANSI color codes"},
{Name: "--tabstop", Description: "Number of spaces for a tab character"},
{Name: "--color", Description: "Base scheme"},
{Name: "--no-bold", Description: "Do not use bold text"},
{Name: "--history", Description: "History file"},
{Name: "--history-size", Description: "Maximum number of history entries"},
{Name: "--preview", Description: "Command to preview highlighted line ({})"},
{Name: "--preview-window", Description: "Preview window layout"},
},
})
}
+54
View File
@@ -0,0 +1,54 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "fzf-tmux",
Description: "Opens a fuzzy finder in a tmux pane",
Options: []core.Option{
{Name: "-x", Description: "Enables extended-search mode"},
{Name: "-e", Description: "Enables Exact-match"},
{Name: "--algo", Description: "Fuzzy matching algorithm"},
{Name: "-i", Description: "Case-insensitive match (default: smart-case match)"},
{Name: "--literal", Description: "Do not normalize latin script letters before matching"},
{Name: "-n", Description: "Comma-separated list of field index expressions for limiting search scope"},
{Name: "--with-nth", Description: "Transform the presentation of each line using field index expressions"},
{Name: "-d", Description: "Field delimiter regex (default: AWK-style)"},
{Name: "--tac", Description: "Reverse the order of the input"},
{Name: "--disabled", Description: "Do not perform search"},
{Name: "--tiebreak", Description: "Comma-separated list of sort criteria to apply when the scores are tied"},
{Name: "-m", Description: "Enable multi-select with tab/shift-tab"},
{Name: "--no-mouse", Description: "Disable mouse"},
{Name: "--bind", Description: "Custom key bindings. Refer to the man page"},
{Name: "--cycle", Description: "Enable cyclic scroll"},
{Name: "--keep-right", Description: "Keep the right end of the line visible on overflow"},
{Name: "--no-hscroll", Description: "Disable horizontal scroll"},
{Name: "--hscroll-off", Description: "Number of screen columns to keep to the right of the highlighted substring"},
{Name: "--filepath-word", Description: "Make word-wise movements respect path separators"},
{Name: "--jump-labels", Description: "Label characters for jump and jump-accept"},
{Name: "--height", Description: "Height[%]"},
{Name: "--min-height", Description: "Minimum height when --height is given in percent"},
{Name: "--layout", Description: "Choose layout"},
{Name: "--border", Description: "Draw border around the finder"},
{Name: "--margin", Description: "Screen margin (TRBL | TB,RL | T,RL,B | T,R,B,L)"},
{Name: "--padding", Description: "Padding inside border (TRBL | TB,RL | T,RL,B | T,R,B,L)"},
{Name: "--info", Description: "Finder info style"},
{Name: "--prompt", Description: "Input prompt"},
{Name: "--pointer", Description: "Pointer to the current line"},
{Name: "--marker", Description: "Multi-select marker"},
{Name: "--header", Description: "String to print as header"},
{Name: "--header-lines", Description: "The first N lines of the input are treated as header"},
{Name: "--ansi", Description: "Enable processing of ANSI color codes"},
{Name: "--tabstop", Description: "Number of spaces for a tab character"},
{Name: "--color", Description: "Base scheme"},
{Name: "--no-bold", Description: "Do not use bold text"},
{Name: "--history", Description: "History file"},
{Name: "--history-size", Description: "Maximum number of history entries"},
{Name: "--preview", Description: "Command to preview highlighted line ({})"},
{Name: "--preview-window", Description: "Preview window layout"},
},
})
}
+23
View File
@@ -0,0 +1,23 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "gltfjsx",
Description: "GLTF to JSX converter",
Options: []core.Option{
{Name: "-t", Description: "Add Typescript definitions"},
{Name: "-v", Description: "Verbose output w/ names and empty groups"},
{Name: "-m", Description: "Include metadata (as userData)"},
{Name: "-s", Description: "Let meshes cast and receive shadows"},
{Name: "-w", Description: "Prettier printWidth (default: 120)"},
{Name: "-p", Description: "Number of fractional digits (default: 2)"},
{Name: "-d", Description: "Draco binary path"},
{Name: "-r", Description: "Sets directory from which .gltf file is served"},
{Name: "-D", Description: "Debug output"},
},
})
}
+23
View File
@@ -0,0 +1,23 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "goto",
Description: "Goto",
Options: []core.Option{
{Name: "--help", Description: "Show help for goto"},
{Name: "--register", Description: "Registers an alias"},
{Name: "--unregister", Description: "Unregister an alias"},
{Name: "--push", Description: "Pushes the current directory onto the stack, then performs goto"},
{Name: "--pop", Description: "Pops the top directory from the stack, then changes to that directory"},
{Name: "--list", Description: "Pops the top directory from the stack, then changes to that directory"},
{Name: "--expand", Description: "Expands an alias"},
{Name: "--cleanup", Description: "Cleans up non existent directory aliases"},
{Name: "--version", Description: "Displays the version of the goto script"},
},
})
}
+73
View File
@@ -0,0 +1,73 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "gum",
Description: "Background Color",
Subcommands: []core.Subcommand{
{Name: "choose", Description: "Choose an option from a list of choices"},
{Name: "confirm", Description: "Ask a user to confirm an action"},
{Name: "prompt", Description: "Prompt to display"},
{Name: "filter", Description: "Filter items from a list"},
{Name: "format", Description: "Format a string using a template"},
{Name: "template", Description: "Template string to format"},
{Name: "input", Description: "Prompt for some input"},
{Name: "join", Description: "Join text vertically or horizontally"},
{Name: "text", Description: "Text to join"},
{Name: "spin", Description: "Display spinner while running a command"},
{Name: "style", Description: "Apply coloring, borders, spacing to text"},
{Name: "write", Description: "Prompt for long-form text"},
{Name: "file", Description: "Pick a file from a folder"},
{Name: "path", Description: "The path to the folder to begin traversing"},
{Name: "table", Description: "Render a table of data"},
{Name: "pager", Description: "Scroll through a file"},
{Name: "content", Description: "Display content to scroll"},
},
Options: []core.Option{
{Name: "--background", Description: "Background Color"},
{Name: "--foreground", Description: "Foreground Color"},
{Name: "--border", Description: "Border Style"},
{Name: "--border-background", Description: "Border Background Color"},
{Name: "--border-foreground", Description: "Border Foreground Color"},
{Name: "--align", Description: "Text Alignment"},
{Name: "--height", Description: "Text height"},
{Name: "--width", Description: "Text width"},
{Name: "--margin", Description: "Text margin"},
{Name: "--padding", Description: "Text padding"},
{Name: "--bold", Description: "Bold text"},
{Name: "--faint", Description: "Faint text"},
{Name: "--italic", Description: "Italicize text"},
{Name: "--strikethrough", Description: "Strikethrough text"},
{Name: "--underline", Description: "Underline text"},
{Name: "--cursor", Description: "Prefix to show on item that corresponds to the cursor position"},
{Name: "--cursor-prefix", Description: "Prefix to show on the cursor item"},
{Name: "--selected-prefix", Description: "Prefix to show on selected items"},
{Name: "--unselected-prefix", Description: "Prefix to show on unselected items"},
{Name: "--selected", Description: "Options that should start as selected"},
{Name: "--limit", Description: "Maximum number of options to pick"},
{Name: "--no-limit", Description: "Pick unlimited number of options (ignores limit)"},
{Name: "--affirmative", Description: "The title of the affirmative action"},
{Name: "--negative", Description: "The title of the negative action"},
{Name: "--default", Description: "Default confirmation action"},
{Name: "--timeout", Description: "Timeout for confirmation"},
{Name: "--indicator", Description: "Character for selection"},
{Name: "--placeholder", Description: "Placeholder value"},
{Name: "--prompt", Description: "Prompt to display"},
{Name: "--value", Description: "Initial filter"},
{Name: "--reverse", Description: "Display from the bottom of the screen"},
{Name: "--type", Description: "Format to use"},
{Name: "--char-limit", Description: "Maximum value length"},
{Name: "--password", Description: "Mask input characters"},
{Name: "--horizontal", Description: "Join (potentially multi-line) strings horizontally"},
{Name: "--vertical", Description: "Join (potentially multi-line) strings vertically"},
{Name: "--show-output", Description: "Show output of command"},
{Name: "--spinner", Description: "Spinner type"},
{Name: "--title", Description: "Text to display to user while spinning"},
{Name: "--show-cursor-line", Description: "Show cursor line"},
},
})
}
+41
View File
@@ -0,0 +1,41 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "herd",
Description: "Display this application version",
Subcommands: []core.Subcommand{
{Name: "phpVersion", Description: "The PHP version you want to use; e.g 8.1"},
{Name: "nodeVersion", Description: "The Node version you want to use; e.g 21"},
{Name: "links", Description: "Display all of the registered Herd links"},
{Name: "list", Description: "List commands"},
{Name: "namespace", Description: "The namespace name"},
{Name: "site", Description: "The site to get the PHP executable path for"},
},
Options: []core.Option{
{Name: "--help", Description: "Display this application version"},
{Name: "--quiet", Description: "Do not output any message"},
{Name: "--verbose", Description: "Force ANSI output"},
{Name: "--no-ansi", Description: "Disable ANSI output"},
{Name: "--no-interaction", Description: "Do not ask any interactive question"},
{Name: "--debug", Description: "Tail the completion debug log"},
{Name: "--path", Description: "Get the URL to the current share tunnel for Expose"},
{Name: "--format", Description: "Change the version of PHP used by Herd to serve the current working directory"},
{Name: "--site", Description: "Change the version of Node used by the CLI for the current working directory"},
{Name: "--secure", Description: "Link the site with a trusted TLS certificate"},
{Name: "--isolate", Description: "Isolate the site to the PHP version specified, for example 8.3"},
{Name: "--raw", Description: "To output raw command list"},
{Name: "--lines", Description: "Show the log viewer UI for the given site"},
{Name: "--sites", Description: "Get or set the loopback address used for Herd sites"},
{Name: "--json", Description: "Get all of the paths registered with Herd"},
{Name: "--expireIn", Description: "Secure the given domain with a trusted TLS certificate"},
{Name: "--expiring", Description: "Limits the results to only sites expiring within the next 60 days"},
{Name: "--days", Description: "Share the current site via an Expose tunnel"},
{Name: "--all", Description: "Change the version of PHP used by Herd"},
},
})
}
+40
View File
@@ -0,0 +1,40 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "hop",
Description: "Interact with Hop in your terminal",
Subcommands: []core.Subcommand{
{Name: "auth", Description: "Authenticate with Hop"},
{Name: "help", Description: "Prints this message or the help of the given subcommand(s)"},
{Name: "login", Description: "Login to Hop"},
{Name: "logout", Description: "Logout the current user"},
{Name: "deploy", Description: "Deploy a new container"},
{Name: "ignite", Description: "Interact with Ignite containers"},
{Name: "ls", Description: "List all deployments"},
{Name: "rm", Description: "Delete a deployment"},
{Name: "link", Description: "Link an existing deployment to a hopfile"},
{Name: "projects", Description: "Interact with projects"},
{Name: "info", Description: "Get information about a project"},
{Name: "new", Description: "Create a new project"},
{Name: "switch", Description: "Switch to a different project"},
{Name: "whoami", Description: "Get information about the current user"},
},
Options: []core.Option{
{Name: "--type", Description: "Type of the container, defaults to `ephemeral`"},
{Name: "--containers", Description: "Number of containers to use, defaults to 1 if `scaling` is manual"},
{Name: "--cpu", Description: "The number of CPUs to use, defaults to 1"},
{Name: "--env", Description: "Environment variables to set, in the form of KEY=VALUE"},
{Name: "--name", Description: "Name of the deployment, defaults to the directory name"},
{Name: "--project", Description: "Namespace or ID of the project to use"},
{Name: "--ram", Description: "Amount of RAM to use, defaults to 512MB"},
{Name: "--scaling", Description: "Scaling strategy, defaults to `manual`"},
{Name: "--help", Description: "Prints help information"},
{Name: "--version", Description: "Prints version information"},
},
})
}
+17
View File
@@ -0,0 +1,17 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "hostname",
Description: "Set or print name of current host system",
Options: []core.Option{
{Name: "-f", Description: "Include domain information in the printed name"},
{Name: "-s", Description: "Trim off any domain information from the printed name"},
{Name: "-d", Description: "Only print domain information"},
},
})
}
+26
View File
@@ -0,0 +1,26 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "htop",
Description: "Improved top (interactive process viewer)",
Options: []core.Option{
{Name: "--help", Description: "Show help for htop"},
{Name: "--no-color", Description: "Use a monochrome color scheme"},
{Name: "--delay", Description: "Delay between updates, in tenths of sec"},
{Name: "--filter", Description: "Filter commands"},
{Name: "--highlight-changes", Description: "Highlight new and old processes"},
{Name: "--no-mouse", Description: "Disable the mouse"},
{Name: "--pid", Description: "Show only the given PIDs"},
{Name: "--sort-key", Description: "Sort by COLUMN in list view"},
{Name: "--tree", Description: "Show the tree view"},
{Name: "--user", Description: "Show only processes for a given user (or $USER)"},
{Name: "--no-unicode", Description: "Do not use unicode but plain ASCII"},
{Name: "--version", Description: "Print version info"},
},
})
}
+36
View File
@@ -0,0 +1,36 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "http",
Description: "HTTPie: command-line HTTP client for the API era",
Options: []core.Option{
{Name: "--json", Description: "Disables all sorting while formatting output"},
{Name: "--sorted", Description: "Re-enables all sorting options while formatting output"},
{Name: "--format-options", Description: "Controls output formatting"},
{Name: "--print", Description: "Request headers"},
{Name: "--headers", Description: "Print only the response headers. Shortcut for --print=h"},
{Name: "--body", Description: "Print only the response body. Shortcut for --print=b"},
{Name: "--verbose", Description: "Request headers"},
{Name: "--stream", Description: "Always stream the response body by line, i.e., behave like `tail -f'"},
{Name: "--output", Description: "Create or read a session without updating it form the request/response exchange"},
{Name: "--auth", Description: "Basic HTTP auth"},
{Name: "--ignore-netrc", Description: "Ignore credentials from .netrc"},
{Name: "--offline", Description: "Build the request and print it but don’t actually send it"},
{Name: "--proxy", Description: "Follow 30x Location redirects"},
{Name: "--max-redirects", Description: "By default, requests have a limit of 30 redirects (works with --follow)"},
{Name: "--max-headers", Description: "Bypass dot segment (/../ or /./) URL squashing"},
{Name: "--chunked", Description: "Enable streaming via chunked transfer encoding"},
{Name: "--verify", Description: "A string in the OpenSSL cipher list format"},
{Name: "--cert", Description: "Do not attempt to read stdin"},
{Name: "--help", Description: "Show the help message and exit"},
{Name: "--version", Description: "Show version and exit"},
{Name: "--traceback", Description: "Prints the exception traceback should one occur"},
{Name: "--default-scheme", Description: "The default scheme to use if not specified in the URL"},
},
})
}
+23
View File
@@ -0,0 +1,23 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "hyper",
Description: "Hyper is an Electron-based terminal",
Subcommands: []core.Subcommand{
{Name: "install", Description: "Install a plugin"},
{Name: "docs", Description: "Open the npm page of a plugin"},
{Name: "help", Description: "Display help"},
{Name: "list", Description: "List installed plugins"},
{Name: "list-remote", Description: "List plugins available on npm"},
{Name: "search", Description: "Search for plugins on npm"},
{Name: "uninstall", Description: "Uninstall plugin"},
{Name: "plugin", Description: "Plugin to uninstall"},
{Name: "version", Description: "Show version"},
},
})
}
+32
View File
@@ -0,0 +1,32 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "hyperfine",
Description: "A command-line benchmarking tool",
Options: []core.Option{
{Name: "--warmup", Description: "Perform warmupruns (number) before the actual benchmarking starts"},
{Name: "--min-runs", Description: "Perform at least NUM runs for each command"},
{Name: "--max-runs", Description: "Perform at most NUM runs for each command. Default: no limit"},
{Name: "--runs", Description: "Perform exactly NUM runs for each command"},
{Name: "--setup", Description: "Execute cmd once before each set of timing runs"},
{Name: "--prepare", Description: "Perform benchmark runs for each value in the range min..max"},
{Name: "--parameter-step-size", Description: "Perform benchmark runs for each value in the comma-separated list of values"},
{Name: "--style", Description: "Set output style type"},
{Name: "--shell", Description: "Set the shell to use for executing benchmarked commands"},
{Name: "--ignore-failure", Description: "Ignore non-zero exit codes of the benchmarked commands"},
{Name: "--time-unit", Description: "Set the time unit to use for the benchmark results"},
{Name: "--export-asciidoc", Description: "Export the timing summary statistics as an AsciiDoc table to the given file"},
{Name: "--export-csv", Description: "Export the timing summary statistics as CSV to the given file"},
{Name: "--export-json", Description: "Export the timing summary statistics as a Markdown table to the given file"},
{Name: "--show-output", Description: "Print the stdout and stderr of the benchmark instead of suppressing it"},
{Name: "--command-name", Description: "Identify a command with the given name"},
{Name: "--help", Description: "Prints help message"},
{Name: "--version", Description: "Shows version information"},
},
})
}
+26
View File
@@ -0,0 +1,26 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ibus",
Description: "Set or get engine",
Subcommands: []core.Subcommand{
{Name: "engine", Description: "Set or get engine"},
{Name: "exit", Description: "Exit ibus-daemon"},
{Name: "list-engine", Description: "Show available engines"},
{Name: "watch", Description: "Not implemented"},
{Name: "version", Description: "Show version"},
{Name: "read-cache", Description: "Show the content of registry cache"},
{Name: "write-cache", Description: "Create registry cache"},
{Name: "address", Description: "Print the D-Bus address of ibus-daemon"},
{Name: "read-config", Description: "Show the configuration values"},
{Name: "reset-config", Description: "Reset the configuration values"},
{Name: "emoji", Description: "Save emoji on dialog to clipboard"},
{Name: "help", Description: "Show this information"},
},
})
}
+20
View File
@@ -0,0 +1,20 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "id",
Description: "Display the full name of the user",
Options: []core.Option{
{Name: "-A", Description: "Display the full name of the user"},
{Name: "-G", Description: "Display the MAC label of the current process"},
{Name: "-P", Description: "Display the id as a password file entry"},
{Name: "-g", Description: "Display the effective group ID as a number"},
{Name: "-n", Description: "Make the output human-readable"},
{Name: "-u", Description: "Display the effective user ID as a number"},
},
})
}
+27
View File
@@ -0,0 +1,27 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ignite-cli",
Description: "Output usage information",
Subcommands: []core.Subcommand{
{Name: "new", Description: "Create a new React Native app"},
{Name: "g", Description: "Generate components and other app features"},
{Name: "update", Description: "Update installed generators"},
{Name: "doctor", Description: "Check your environment & display versions of installed dependencies"},
},
Options: []core.Option{
{Name: "-h", Description: "Output usage information"},
{Name: "-v", Description: "Output the version number"},
{Name: "--expo", Description: "Use Expo"},
{Name: "--bundle", Description: "Set the bundle ID of the app"},
{Name: "--list", Description: "List installed generators"},
{Name: "--update", Description: "Update installed generators"},
{Name: "--all", Description: "Update all installed generators"},
},
})
}
+20
View File
@@ -0,0 +1,20 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "install",
Description: "Use suffix as the backup suffix if -b is given",
Options: []core.Option{
{Name: "-B", Description: "Use suffix as the backup suffix if -b is given"},
{Name: "-b", Description: "Create directories. Missing parent directories are created as required"},
{Name: "-f", Description: "Specify a group. A numeric GID is allowed"},
{Name: "-M", Description: "Disable all use of mmap(2)"},
{Name: "-m", Description: "Specify an owner. A numeric UID is allowed"},
{Name: "-p", Description: "Causes install to show when -C actually installs something"},
},
})
}
+18
View File
@@ -0,0 +1,18 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "join",
Description: "The join utility performs an",
Options: []core.Option{
{Name: "-a", Description: "Replace empty output fields with string"},
{Name: "-o", Description: "Join on the field'th field of file1"},
{Name: "-2", Description: "Join on the field'th field of file2"},
{Name: "-j", Description: "Join on the field'th field of both file1 and file2"},
},
})
}
+51
View File
@@ -0,0 +1,51 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "julia",
Description: "The Julia Programming Language",
Options: []core.Option{
{Name: "-v", Description: "Display version information"},
{Name: "-h", Description: "Print help message for julia (--help-hidden for more)"},
{Name: "--help-hidden", Description: "Uncommon options not shown by `-h`"},
{Name: "--project", Description: "Set given directory as the home project/environment"},
{Name: "-J", Description: "Start up with the given system image file"},
{Name: "-H", Description: "Set location of `julia` executable"},
{Name: "--startup-file", Description: "Load `~/.julia/config/startup.jl`"},
{Name: "--handle-signals", Description: "Enable or disable Julia's default signal handlers"},
{Name: "--sysimage-native-code", Description: "Use native code from system image if available"},
{Name: "--compiled-modules", Description: "Enable or disable incremental precompilation of modules"},
{Name: "-e", Description: "Evaluate given expr"},
{Name: "-E", Description: "Evaluate given expr and display the result"},
{Name: "-L", Description: "Load given file immediately on all processors"},
{Name: "-t", Description: "Number of threads"},
{Name: "-p", Description: "Number of additional local worker processes"},
{Name: "--machine-file", Description: "Run processes on hosts listed in given file"},
{Name: "-i", Description: "Interactive mode; REPL runs and isinteractive() is true"},
{Name: "-q", Description: "Quiet startup: no banner, suppress REPL warnings"},
{Name: "--banner", Description: "Enable or disable startup banner"},
{Name: "--color", Description: "Enable or disable color text"},
{Name: "--history-file", Description: "Load or save history"},
{Name: "--depwarn", Description: "Enable or disable method overwrite warnings"},
{Name: "--warn-scope", Description: "Enable or disable warning for ambiguous top-level scope"},
{Name: "-C", Description: "Level of optimization"},
{Name: "-g", Description: "Enable / Set the level of debug info generation"},
{Name: "--inline", Description: "Control whether inlining is permitted, including overriding @inline declarations"},
{Name: "--check-bounds", Description: "Emit bounds checks always, never, or respect @inbounds declarations"},
{Name: "--polly", Description: "Enable or disable the polyhedral optimizer Polly (overrides @polly declaration)"},
{Name: "--math-mode", Description: "Enable or disable JIT compiler, or request exhaustive or minimal compilation"},
{Name: "--output-o", Description: "Generate an object file (including system image data)"},
{Name: "--output-ji", Description: "Generate a system image data file (.ji)"},
{Name: "--output-unopt-bc", Description: "Generate unoptimized LLVM bitcode (.bc)"},
{Name: "--output-jit-bc", Description: "Dump all IR generated by the frontend (not including system image)"},
{Name: "--output-bc", Description: "Generate LLVM bitcode (.bc)"},
{Name: "--output-asm", Description: "Generate an assembly file (.s)"},
{Name: "--output-incremental", Description: "Generate an incremental output file (rather than complete)"},
{Name: "--image-codegen", Description: "Force generate code in imaging mode"},
},
})
}
+83
View File
@@ -0,0 +1,83 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "kafkactl",
Description: "Command-line interface for Apache Kafka",
Subcommands: []core.Subcommand{
{Name: "edit", Description: "Alter topics, partitions"},
{Name: "partition", Description: "Alter a partition"},
{Name: "topic", Description: "Alter a topic"},
{Name: "attach", Description: "Run kafkactl pod in kubernetes and attach to it"},
{Name: "clone", Description: "Clone topics, consumerGroups"},
{Name: "cg", Description: "Clone existing consumerGroup with all offsets"},
{Name: "completion", Description: "Generate shell auto-completion file"},
{Name: "config", Description: "Show and edit configurations"},
{Name: "currentContext", Description: "Show current context"},
{Name: "getContexts", Description: "List configured contexts"},
{Name: "useContext", Description: "Switch active context"},
{Name: "view", Description: "Show contents of config file"},
{Name: "consume", Description: "Consume messages from a topic"},
{Name: "create", Description: "Create topics, consumerGroups, acls"},
{Name: "acl", Description: "Create an acl"},
{Name: "delete", Description: "Delete topics, consumerGroups, consumer-group-offset, acls"},
{Name: "consumer-groups", Description: "Delete a consumer-group"},
{Name: "cgo", Description: "Delete a consumer-group-offset"},
{Name: "describe", Description: "Describe topics, consumerGroups, brokers"},
{Name: "broker", Description: "Describe a broker"},
{Name: "list", Description: "Get info about topics, consumerGroups, acls, brokers"},
{Name: "brokers", Description: "List brokers"},
{Name: "topics", Description: "List available topics"},
{Name: "produce", Description: "Produce messages to a topic"},
{Name: "reset", Description: "Reset consumerGroupsOffset"},
{Name: "version", Description: "Print the version of kafkactl"},
{Name: "help", Description: "Help about any command"},
},
Options: []core.Option{
{Name: "--replicas", Description: "Set replicas for a partition"},
{Name: "--validate-only", Description: "Validate only"},
{Name: "--config", Description: "Configs in format `key=value`"},
{Name: "--partitions", Description: "Number of partitions"},
{Name: "--replication-factor", Description: "Replication factor"},
{Name: "--output", Description: "Output format. One of: compact"},
{Name: "--exit", Description: "Stop consuming when latest offset is reached"},
{Name: "--from-beginning", Description: "Set offset for consumer to the oldest offset"},
{Name: "--group", Description: "Consumer group to join"},
{Name: "--key-encoding", Description: "Key encoding (auto-detected by default). One of: none|hex|base64"},
{Name: "--key-proto-type", Description: "Key protobuf message type"},
{Name: "--max-messages", Description: "Stop consuming after n messages have been read"},
{Name: "--offset", Description: "Output format. One of: json|yaml"},
{Name: "--print-headers", Description: "Print message headers"},
{Name: "--print-keys", Description: "Print message keys"},
{Name: "--print-schema", Description: "Print details about avro schema used for decoding"},
{Name: "--print-timestamps", Description: "Print message timestamps"},
{Name: "--proto-file", Description: "Additional protobuf description file for searching message description"},
{Name: "--proto-import-path", Description: "Additional path to search files listed in proto 'import' directive"},
{Name: "--protoset-file", Description: "Additional compiled protobuf description file for searching message description"},
{Name: "--separator", Description: "Separator to split key and value"},
{Name: "--tail", Description: "Show only the last n messages on the topic"},
{Name: "--value-encoding", Description: "Value encoding (auto-detected by default). One of: none|hex|base64"},
{Name: "--value-proto-type", Description: "Value protobuf message type"},
{Name: "--allow", Description: "Acl of permissionType 'allow' (choose this or 'deny')"},
{Name: "--cluster", Description: "Create acl for the cluster"},
{Name: "--deny", Description: "Acl of permissionType 'deny' (choose this or 'allow')"},
{Name: "--host", Description: "Hosts to allow"},
{Name: "--operation", Description: "Operations of acl"},
{Name: "--pattern", Description: "Pattern type. one of (match, prefixed, literal)"},
{Name: "--principal", Description: "Principal to be authenticated"},
{Name: "--topic", Description: "Create acl for a topic"},
{Name: "--newest", Description: "Set the offset to newest offset (for all partitions or the specified partition)"},
{Name: "--oldest", Description: "Set the offset to oldest offset (for all partitions or the specified partition)"},
{Name: "--partition", Description: "Partition to create group for. -1 stands for all partitions"},
{Name: "--groups", Description: "Delete acl for a consumer group"},
{Name: "--topics", Description: "Delete acl for a topic"},
{Name: "--only-with-lag", Description: "Show only partitions that have a lag"},
{Name: "--print-members", Description: "Print group members"},
{Name: "--print-topics", Description: "Print topic details"},
},
})
}
+48
View File
@@ -0,0 +1,48 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "kamal",
Description: "Skip image build and push",
Subcommands: []core.Subcommand{
{Name: "boot", Description: "Boot new accessory service on host (use NAME=all to boot all accessories)"},
{Name: "upload", Description: "Upload accessory files to host"},
{Name: "directories", Description: "Create accessory directories on host"},
{Name: "start", Description: "Start existing accessory container on host"},
{Name: "stop", Description: "Stop existing accessory container on host"},
{Name: "restart", Description: "Restart existing accessory container on host"},
{Name: "details", Description: "Show details about accessory on host (use NAME=all to show all accessories)"},
{Name: "exec", Description: "Execute a custom command on servers"},
{Name: "logs", Description: "Show log lines from accessory on host"},
{Name: "status", Description: "Show status of accessory on host"},
{Name: "remove", Description: "Remove accessory container, image and data directory from host"},
},
Options: []core.Option{
{Name: "-P", Description: "Skip image build and push"},
{Name: "--since", Description: "Number of lines to show from each server"},
{Name: "--grep", Description: "Show lines with grep match only (use this to fetch specific requests by id)"},
{Name: "--follow", Description: "Follow log on primary server (or specific host set by --hosts)"},
{Name: "--verbose", Description: "Detailed logging"},
{Name: "--quiet", Description: "Minimal logging"},
{Name: "--version", Description: "Run commands against a specific app version"},
{Name: "--primary", Description: "Run commands only on primary host instead of all"},
{Name: "--hosts", Description: "Run commands on these hosts instead of all (separate by comma)"},
{Name: "--roles", Description: "Run commands on these roles instead of all (separate by comma)"},
{Name: "--config_file", Description: "Path to config file"},
{Name: "-d", Description: "Specify destination to use"},
{Name: "--skip_hooks", Description: "Don't run hooks"},
{Name: "-i", Description: "Execute command over ssh for an interactive shell (use for console/bash)"},
{Name: "--reuse", Description: "Reuse currently running container instead of starting a new one"},
{Name: "-y", Description: "Proceed without confirmation question"},
{Name: "--interactive", Description: "Execute command over ssh for an interactive shell (use for console/bash)"},
{Name: "--stop", Description: "Stop the stale containers found"},
{Name: "--rolling", Description: "Start existing Traefik container on servers"},
{Name: "--json", Description: "Output as JSON"},
{Name: "--confirmed", Description: "Proceed without confirmation question"},
},
})
}
+57
View File
@@ -0,0 +1,57 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "kitty",
Description: "A cat like utility to display images in the terminal",
Subcommands: []core.Subcommand{
{Name: "close-tab", Description: "Close the specified tab(s)"},
{Name: "close-window", Description: "Close the specified window(s)"},
{Name: "detach-tab", Description: "Detach the specified tab"},
{Name: "detach-window", Description: "Detach the specified window"},
{Name: "disable-ligatures", Description: "Control ligature rendering for the specified windows/tabs"},
{Name: "env", Description: "Change the environment variables seen by processing in newly launched windows"},
{Name: "focus-tab", Description: "The active window in the specified tab will be focused"},
{Name: "get-colors", Description: "Get the terminal colors for the specified window"},
{Name: "set-tab-title", Description: "Set the title for the specified tab(s)"},
{Name: "set-window-title", Description: "Set the title of the specified window(s)"},
{Name: "signal-child", Description: "Send one or more signals to the foreground process in the specified window(s)"},
},
Options: []core.Option{
{Name: "--align", Description: "Horizontal alignment for the displayed image"},
{Name: "--place", Description: "Choose where on the screen to display the image"},
{Name: "--scale-up", Description: "Mirror the image about a horizontal or vertical axis or both"},
{Name: "--clear", Description: "Remove all images currently displayed on the screen"},
{Name: "--transfer-mode", Description: "Which mechanism to use to transfer images to the terminal"},
{Name: "--detect-support", Description: "Detect support for image display in the terminal"},
{Name: "--detection-timeout", Description: "How long to wait for detection to complete before aborting"},
{Name: "--print-window-size", Description: "Print the current terminal window size in pixels"},
{Name: "--stdin", Description: "Read an image from stdin"},
{Name: "-T", Description: "Set the OS window title"},
{Name: "-C", Description: "Specify a path to the configuration file(s) to use"},
{Name: "-o", Description: "Override individual configuration options"},
{Name: "-d", Description: "Change to the specified directory when launching"},
{Name: "--session", Description: "Path to a file containing the startup session"},
{Name: "--hold", Description: "Remain open after child process exits"},
{Name: "-1", Description: "Only a single instance of kitty will run"},
{Name: "--instance-group", Description: "Kitty will open a new window in an existing instance and quit immediately"},
{Name: "--listen-on", Description: "Tell kitty to listen on the specified address for control messages"},
{Name: "--start-as", Description: "Control how the initial kitty window is created"},
{Name: "-v", Description: "The current kitty version"},
{Name: "-h", Description: "Display this help message"},
{Name: "--to", Description: "An address for the kitty instance to control"},
{Name: "-m", Description: "The tab to match"},
{Name: "--self", Description: "Close the tab of the window this command is run in, rather than the active tab"},
{Name: "--target-group", Description: "Close the specified group of tabs"},
{Name: "-t", Description: "The tab to match"},
{Name: "-a", Description: "Disable in all windows"},
{Name: "--no-response", Description: "Don't wait for a response indicating the success of the action"},
{Name: "-c", Description: "The window to match"},
{Name: "--temporary", Description: "The title can be overwritten by escape sequences"},
},
})
}
+22
View File
@@ -0,0 +1,22 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "klist",
Description: "Credential cache to list",
Options: []core.Option{
{Name: "-c", Description: "Credential cache to list"},
{Name: "--cache", Description: "Credential cache to list"},
{Name: "-s", Description: "Display AFS tokens"},
{Name: "-5", Description: "Display v5 cred cache (this is the default)"},
{Name: "-f", Description: "Include ticket flags in short form, each character stands for a specific flag"},
{Name: "-v", Description: "Verbose output. Include all possible information"},
{Name: "-l", Description: "JSON formatted output"},
{Name: "--hidden", Description: "Verbose output"},
},
})
}
+52
View File
@@ -0,0 +1,52 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "kool",
Description: "Script",
Subcommands: []core.Subcommand{
{Name: "create", Description: "Create a new project using a preset"},
{Name: "preset", Description: "Preset that will be used to create the project"},
{Name: "folder", Description: "Folder where the project will be created"},
{Name: "deploy", Description: "Deploy a local application to a Kool Cloud environment"},
{Name: "destroy", Description: "Destroy an environment deployed to Kool Cloud"},
{Name: "exec", Description: "Execute a command inside a running service container deployed to Kool Cloud"},
{Name: "logs", Description: "See the logs of running service container deployed to Kool Cloud"},
{Name: "docker", Description: "Create a new container (a powered up 'docker run')"},
{Name: "image", Description: "Docker image"},
{Name: "command", Description: "Command to execute inside the container"},
{Name: "service", Description: "Service you want to execute a command"},
{Name: "info", Description: "Print out information about the local environment"},
{Name: "recipe", Description: "Adds configuration for some recipe in the current work directory"},
{Name: "run", Description: "Execute a script defined in kool.yml"},
{Name: "script", Description: "Script to be executed"},
{Name: "self-update", Description: "Update kool to the latest version"},
{Name: "share", Description: "Live share your local environment on the Internet using an HTTP tunnel"},
{Name: "start", Description: "Start service containers defined in docker-compose.yml"},
{Name: "status", Description: "Show the status of all service containers"},
{Name: "stop", Description: "Stop and destroy running service containers"},
},
Options: []core.Option{
{Name: "--verbose", Description: "Increases output verbosity"},
{Name: "--help", Description: "Help for create"},
{Name: "--container", Description: "Container target"},
{Name: "--follow", Description: "Follow log output"},
{Name: "--tail", Description: "Help for logs"},
{Name: "--env", Description: "Environment variables"},
{Name: "--network", Description: "Connect a container to a network"},
{Name: "--publish", Description: "Publish a container's port(s) to the host"},
{Name: "--volume", Description: "Bind mount a volume"},
{Name: "--detach", Description: "Detached mode: Run command in the background"},
{Name: "--purge", Description: "Remove all persistent data from volume mounts on containers"},
{Name: "--rebuild", Description: "Updates and builds service's images"},
{Name: "--port", Description: "The name of the local service container you want to share"},
{Name: "--subdomain", Description: "The subdomain used to generate your public https://subdomain.kool.live URL"},
{Name: "--foreground", Description: "Start containers in foreground mode"},
{Name: "--profile", Description: "Specify a profile to enable"},
},
})
}
+88
View File
@@ -0,0 +1,88 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "launchctl",
Description: "Service or domain target",
Subcommands: []core.Subcommand{
{Name: "bootstrap", Description: "Bootstraps a domain or a service into a domain"},
{Name: "bootout", Description: "Tears down a domain or removes a service from a domain"},
{Name: "enable", Description: "Enables an existing service"},
{Name: "disable", Description: "Disables an existing service"},
{Name: "kickstart", Description: "Forces an existing service to start"},
{Name: "attach", Description: "Attach the system's debugger to a service"},
{Name: "debug", Description: "Configures the next invocation of a service for debugging"},
{Name: "argv", Description: "Variable args: argv0 argv1"},
{Name: "kill", Description: "Sends a signal to the service instance"},
{Name: "signal", Description: "Specify signal-name or signal-number"},
{Name: "blame", Description: "Prints the reason a service is running"},
{Name: "print", Description: "Prints a description of a domain or service"},
{Name: "print-cache", Description: "Prints information about the service cache"},
{Name: "print-disabled", Description: "Prints which services are disabled"},
{Name: "plist", Description: "Prints a property list embedded in a binary (targets the Info.plist by default)"},
{Name: "segment", Description: "Segment or section"},
{Name: "procinfo", Description: "Prints port information about a process"},
{Name: "hostinfo", Description: "Prints port information about the host"},
{Name: "resolveport", Description: "Resolves a port name from a process to an endpoint in launchd"},
{Name: "limit", Description: "Reads or modifies launchd's resource limits"},
{Name: "runstats", Description: "Prints performance statistics for a service"},
{Name: "examine", Description: "Runs the specified analysis tool against launchd in a non-re-entrant manner"},
{Name: "config", Description: "Modifies persistent configuration parameters for launchd domains"},
{Name: "param", Description: "A key for a key/value pair"},
{Name: "value", Description: "A value for a key/value pair"},
{Name: "dumpstate", Description: "Dumps launchd state to stdout"},
{Name: "dumpjpcategory", Description: "Dumps the jetsam properties category for all services"},
{Name: "reboot", Description: "Initiates a system reboot of the specified type"},
{Name: "remove", Description: "Unloads the specified service name"},
{Name: "list", Description: "Lists information about services"},
{Name: "start", Description: "Starts the specified service"},
{Name: "stop", Description: "Stops the specified service if it is running"},
{Name: "setenv", Description: "Sets the specified environment variables for all services within the domain"},
{Name: "unsetenv", Description: "Unsets the specified environment variables for all services within the domain"},
{Name: "getenv", Description: "Gets the value of an environment variable from within launchd"},
{Name: "bsexec", Description: "Execute a program in another process' bootstrap context"},
{Name: "asuser", Description: "Execute a program in the bootstrap context of a given user"},
{Name: "submit", Description: "Submit a basic job from the command line"},
{Name: "label", Description: "Unique label to assign to launchd"},
{Name: "command", Description: "Command to run"},
{Name: "managerpid", Description: "Prints the PID of the launchd controlling the session"},
{Name: "manageruid", Description: "Prints the UID of the current launchd session"},
{Name: "managername", Description: "Prints the name of the current launchd session"},
{Name: "error", Description: "Prints a description of an error"},
{Name: "type", Description: "Error domain type"},
{Name: "code", Description: "Numeric code"},
{Name: "variant", Description: "Prints the launchd variant"},
{Name: "version", Description: "Prints the launchd version"},
{Name: "help", Description: "Prints the usage for a given subcommand"},
},
Options: []core.Option{
{Name: "-w", Description: "Enable if disabled"},
{Name: "-F", Description: "Force load"},
{Name: "-S", Description: "Session"},
{Name: "-D", Description: "Load files from specified domain"},
{Name: "-k", Description: "Kill instance before restarting"},
{Name: "-p", Description: "Print PID"},
{Name: "-s", Description: "Force the service to start"},
{Name: "-x", Description: "Attach xpcproxy"},
{Name: "--program", Description: "Use program path as executable"},
{Name: "--guard-malloc", Description: "Turn on libgmalloc"},
{Name: "--malloc-stack-logging", Description: "Turn on malloc(3) stack logging"},
{Name: "--malloc-nano-allocator", Description: "Turn on malloc(3) nano allocator"},
{Name: "--debug-libraries", Description: "Set the DYLD_IMAGE_SUFFIX"},
{Name: "--introspection-libraries", Description: "Add introspection libraries to the DYLD_IMAGE_PATH"},
{Name: "--NSZombie", Description: "Enables NSZombie"},
{Name: "--32", Description: "Runs service on appropriate 32-bit architecture"},
{Name: "--stdin", Description: "Sets the stdin path"},
{Name: "--stdout", Description: "Sets the stdout path"},
{Name: "--stderr", Description: "Sets the stderr path"},
{Name: "--environment", Description: "Sets environment variables"},
{Name: "-o", Description: "Std out path"},
{Name: "-e", Description: "Std err path"},
{Name: "-l", Description: "Label flag"},
},
})
}
+41
View File
@@ -0,0 +1,41 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "leaf",
Description: "Create and interact with your leaf projects",
Subcommands: []core.Subcommand{
{Name: "completion", Description: "Dump the shell completion script"},
{Name: "create", Description: "[init] Create a new Leaf PHP project"},
{Name: "project name", Description: "Name of the project"},
{Name: "deploy", Description: "[publish] Deploy your leaf project"},
{Name: "help", Description: "Display help for a command"},
{Name: "install", Description: "Add a new package to your leaf app"},
{Name: "package name", Description: "Name of the package"},
{Name: "interact", Description: "Interact with your application"},
{Name: "list", Description: "List commands"},
{Name: "run", Description: "Run a script in your composer.json"},
{Name: "command name", Description: "Name of the command"},
{Name: "serve", Description: "Run your Leaf app"},
{Name: "port number", Description: "The port number to run the server on"},
{Name: "test", Description: "Test your leaf application through leaf alchemy"},
{Name: "test:setup", Description: "Add tests to your application"},
{Name: "uninstall", Description: "Uninstall a package"},
{Name: "update", Description: "Update leaf cli to the latest version"},
},
Options: []core.Option{
{Name: "-h", Description: "Do not output any message"},
{Name: "-V", Description: "Display this application version"},
{Name: "--ansi", Description: "Force ANSI output"},
{Name: "--no-ansi", Description: "Disable ANSI output"},
{Name: "-n", Description: "Do not ask any interactive question"},
{Name: "-v", Description: "Dump the shell completion script"},
{Name: "--port", Description: "The port number to run the server on"},
{Name: "--watch", Description: "Watch for changes and restart the server"},
},
})
}
+15
View File
@@ -0,0 +1,15 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "lima",
Description: "Lima is an alias for",
Options: []core.Option{
{Name: "-h", Description: "Help for lima"},
},
})
}
+18
View File
@@ -0,0 +1,18 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "login",
Description: "Begin session on the system",
Options: []core.Option{
{Name: "-p", Description: "Preserve environment"},
{Name: "-r", Description: "Perform autologin protocol for rlogin"},
{Name: "-h", Description: "Specify host"},
{Name: "-f", Description: "Don't authenticate user, user is preauthenticated"},
},
})
}
+39
View File
@@ -0,0 +1,39 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "lsblk",
Description: "List block devices",
Options: []core.Option{
{Name: "--help", Description: "Show help for lsblk"},
{Name: "--version", Description: "Show version for lsblk"},
{Name: "--all", Description: "Also list empty devices and RAM disk devices"},
{Name: "--bytes", Description: "Print the SIZE column in bytes"},
{Name: "--discard", Description: "Do not print holder devices or slaves"},
{Name: "--dedup", Description: "Use column as a de-duplication key to de-duplicate output tree"},
{Name: "--exclude", Description: "Output info about filesystems"},
{Name: "--include", Description: "Include devices specified by the comma-separated list of major device numbers"},
{Name: "--ascii", Description: "Use ASCII characters for tree formatting"},
{Name: "--json", Description: "Use JSON output format"},
{Name: "--list", Description: "Produce output in the form of a list"},
{Name: "--merge", Description: "Output info about device owner, group and mode"},
{Name: "--noheadings", Description: "Do not print a header line"},
{Name: "--output", Description: "Specify which output columns to print"},
{Name: "--output-all", Description: "Output all available columns"},
{Name: "--pairs", Description: "Produce output in the form of key-value pairs"},
{Name: "--raw", Description: "Produce output in raw format"},
{Name: "--scsi", Description: "Output info about SCSI devices only"},
{Name: "--inverse", Description: "Print dependencies in inverse order"},
{Name: "--tree", Description: "Force tree-like output format"},
{Name: "--topology", Description: "Output info about block-device topology"},
{Name: "--width", Description: "Specifies output width as a number of characters"},
{Name: "--sort", Description: "Sort output lines by column"},
{Name: "--zoned", Description: "Print the zone model for each device"},
{Name: "--sysroot", Description: "Device to list"},
},
})
}
+45
View File
@@ -0,0 +1,45 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "lsof",
Description: "List open files",
Options: []core.Option{
{Name: "-?", Description: "Help"},
{Name: "-a", Description: "Apply AND to the selections (defaults to OR)"},
{Name: "-b", Description: "Avoid kernel blocks"},
{Name: "-c", Description: "Select the listing of files for processes executing a command"},
{Name: "-d", Description: "Search tree for all open instances/files/directories of directory. *SLOW?*"},
{Name: "-f", Description: "Inhibit path name arguments to be interpreted"},
{Name: "-F", Description: "Select fields to output"},
{Name: "-g", Description: "Exclude or select by process group IDs (PGID)"},
{Name: "-i", Description: "Selects files by [46][protocol][@hostname|hostaddr][:service|port]"},
{Name: "-l", Description: "Inhibit conversion of user IDs to login names"},
{Name: "-L", Description: "Disable listing of file link counts"},
{Name: "-M", Description: "Disable portMap registration"},
{Name: "-n", Description: "No host names"},
{Name: "-N", Description: "Select NFS files"},
{Name: "-o", Description: "List file offset"},
{Name: "-O", Description: "No overhead *RISKY*"},
{Name: "-p", Description: "Exclude or select process identification numbers (PIDs)"},
{Name: "-P", Description: "No port names"},
{Name: "-r", Description: "Repeat every t seconds (15) forever"},
{Name: "-R", Description: "List parent PID"},
{Name: "-s", Description: "List file size or exclude/select protocol"},
{Name: "-S", Description: "Stat timeout in seconds (lstat/readlink/stat)"},
{Name: "-T", Description: "Disable TCP/TPI info"},
{Name: "-t", Description: "Specify terse listing"},
{Name: "-u", Description: "Exclude/select login|UID set"},
{Name: "-U", Description: "Select Unix socket"},
{Name: "-v", Description: "List version info"},
{Name: "-V", Description: "Verbose search"},
{Name: "-w", Description: "Disable warnings"},
{Name: "-x", Description: "Cross over +d|+D File systems or symbolic links"},
{Name: "-X", Description: "File descriptor table only"},
},
})
}
+34
View File
@@ -0,0 +1,34 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "man",
Description: "Format and display manual pages",
Options: []core.Option{
{Name: "-C", Description: "Specify the configuration file to use"},
{Name: "-M", Description: "Specify the list of directories to search (colon separated)"},
{Name: "-P", Description: "Specify the pager program"},
{Name: "-B", Description: "Specify which browser to use for HTML files"},
{Name: "-H", Description: "Specify a command that renders HTML files as text"},
{Name: "-S", Description: "Specify a colon-separated list of manual sections to search"},
{Name: "-a", Description: "Open every matching page instead of just the first"},
{Name: "-c", Description: "Reformat the source page, even when an up-to-date cat-page exists"},
{Name: "-d", Description: "Don't actually display the pages (dry run)"},
{Name: "-D", Description: "Both display and print debugging info"},
{Name: "-f", Description: "Equivalent to `whatis`"},
{Name: "-F", Description: "Format only, do not display"},
{Name: "-h", Description: "Print a help message and exit"},
{Name: "-k", Description: "Equivalent to apropos"},
{Name: "-K", Description: "Search for a given string in all pages"},
{Name: "-m", Description: "Specify an alternate set of pages to search based on the system name given"},
{Name: "-p", Description: "Specify the sequence of preprocessors to run before nroff or troff"},
{Name: "-t", Description: "Use `/usr/bin/groff -Tps -mandoc -c` to format the page"},
{Name: "-w", Description: "Print the location of files that would be displayed"},
{Name: "-W", Description: "Print file locations, one per line"},
},
})
}
+85
View File
@@ -0,0 +1,85 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "meroxa",
Description: "The Meroxa CLI",
Subcommands: []core.Subcommand{
{Name: "accounts", Description: "Manage Meroxa Accounts"},
{Name: "ls", Description: "List Meroxa Accounts"},
{Name: "set", Description: "Set active account"},
{Name: "api", Description: "Invoke Meroxa API"},
{Name: "app", Description: "Manage Turbine Data Applications"},
{Name: "deploy", Description: "Deploy a Turbine Data Application"},
{Name: "describe", Description: "Describe a Turbine Data Application"},
{Name: "init", Description: "Initialize a Turbine Data Application"},
{Name: "log", Description: "View relevant logs to the state of the given Turbine Data Application"},
{Name: "open", Description: "Open the link to a Turbine Data Application in the Dashboard"},
{Name: "rm", Description: "Remove a Turbine Data Application"},
{Name: "run", Description: "Execute a Turbine Data Application locally"},
{Name: "upgrade", Description: "Upgrade a Turbine Data Application"},
{Name: "auth", Description: "Authentication commands for Meroxa"},
{Name: "login", Description: "Login or Sign up to the Meroxa Platform"},
{Name: "logout", Description: "Clears local login credentials of the Meroxa Platform"},
{Name: "whoami", Description: "Display the current logged in user"},
{Name: "billing", Description: "Open your billing page in a web browser"},
{Name: "build", Description: "Inspect Process Builds on Meroxa"},
{Name: "completion", Description: "Generate completion script"},
{Name: "cfg", Description: "Manage your Meroxa CLI configuration"},
{Name: "env", Description: "Manage environments on Meroxa"},
{Name: "create", Description: "Create an environment"},
{Name: "repair", Description: "Repair environment"},
{Name: "update", Description: "Update an environment"},
{Name: "resource", Description: "Manage resources on Meroxa"},
{Name: "add", Description: "Add a resource to your Meroxa resource catalog"},
{Name: "rotate-tunnel-key", Description: "Rotate the tunnel key for a resource"},
{Name: "validate", Description: "Validate a resource"},
{Name: "transform", Description: "Manage transforms on Meroxa"},
{Name: "version", Description: "Display the Meroxa CLI version"},
{Name: "help", Description: "Help about any command"},
},
Options: []core.Option{
{Name: "--no-headers", Description: "Display output without headers"},
{Name: "--docker-hub-access-token", Description: "DockerHub access token to use to build and deploy the app"},
{Name: "--docker-hub-username", Description: "DockerHub username to use to build and deploy the app"},
{Name: "--env", Description: "Environment (name or UUID) where application will be deployed to"},
{Name: "--path", Description: "Path to the app directory (default is local directory)"},
{Name: "--skip-collection-validation", Description: "Skips unique destination collection and looping validations"},
{Name: "--spec", Description: "Deployment specification version to use to build and deploy the app"},
{Name: "--verbose", Description: "Prints more logging messages"},
{Name: "--lang", Description: "Language to use (js|go|py) (required)"},
{Name: "--mod-vendor", Description: "Path where application will be initialized (current directory as default)"},
{Name: "--skip-mod-init", Description: "Whether to run 'go mod init' while initializing a Go application"},
{Name: "--force", Description: "Skip confirmation"},
{Name: "--config", Description: "Environment cloud provider to use"},
{Name: "--region", Description: "Environment region"},
{Name: "--type", Description: "Environment type, when not specified"},
{Name: "--yes", Description: "Skip confirmation prompt"},
{Name: "--yolo", Description: "Skip confirmation"},
{Name: "--ca-cert", Description: "Trusted certificates for verifying resource"},
{Name: "--client-cert", Description: "Client certificate for authenticating to the resource"},
{Name: "--client-key", Description: "Client private key for authenticating to the resource"},
{Name: "--metadata", Description: "Resource metadata"},
{Name: "--password", Description: "Password"},
{Name: "--private-key-file", Description: "Path to private key file"},
{Name: "--ssh-private-key", Description: "SSH tunneling private key"},
{Name: "--ssh-url", Description: "SSH tunneling address"},
{Name: "--ssl", Description: "Use SSL"},
{Name: "--token", Description: "API Token"},
{Name: "--url", Description: "Resource url"},
{Name: "--username", Description: "Username"},
{Name: "--types", Description: "List resource types"},
{Name: "--name", Description: "New resource name"},
{Name: "--api-url", Description: "API url"},
{Name: "--cli-config-file", Description: "Meroxa configuration file"},
{Name: "--debug", Description: "Display any debugging information"},
{Name: "--json", Description: "Output json"},
{Name: "--timeout", Description: "Set the duration of the client timeout in seconds"},
{Name: "--help", Description: "Display help"},
},
})
}
+39
View File
@@ -0,0 +1,39 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "mkdocs",
Description: "Project documentation with Markdown",
Subcommands: []core.Subcommand{
{Name: "build", Description: "Build the MkDocs documentation"},
{Name: "gh-deploy", Description: "Deploy your documentation to GitHub Pages"},
{Name: "new", Description: "Create a new MkDocs project"},
{Name: "serve", Description: "Run the builtin development server"},
},
Options: []core.Option{
{Name: "-h", Description: "Provide a specific MkDocs config"},
{Name: "-s", Description: "Enable strict mode. This will cause MkDocs to abort the build on any warnings"},
{Name: "-t", Description: "The theme to use when building your documentation"},
{Name: "--use-directory-urls", Description: "Use directory URLs when building pages (the default)"},
{Name: "--no-directory-urls", Description: "Don't use directory URLs when building pages"},
{Name: "-q", Description: "Silence warnings"},
{Name: "-v", Description: "Enable verbose output"},
{Name: "-c", Description: "Remove old files from the site directory before building (the default)"},
{Name: "--dirty", Description: "Only rebuild pages that have been modified since last build"},
{Name: "-d", Description: "The directory to output the result of the documentation build"},
{Name: "-m", Description: "Force the push to the repository"},
{Name: "--no-history", Description: "Replace the whole Git history with one new commit"},
{Name: "--ignore-version", Description: "Ignore check that build is not being deployed with an older version of MkDocs"},
{Name: "--shell", Description: "Use the shell when invoking Git"},
{Name: "-a", Description: "IP address and port to serve documentation locally (default: localhost:8000)"},
{Name: "--live-reload", Description: "Enable the live reloading in the development server (this is the default)"},
{Name: "--no-reload", Description: "Disable the live reloading in the development server"},
{Name: "--dirtyreload", Description: "A directory or file to watch for live reloading. Can be supplied multiple times"},
{Name: "-V", Description: "Show the version and exit"},
},
})
}
+15
View File
@@ -0,0 +1,15 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "mkfifo",
Description: "Make FIFOs (first-in, first-out)",
Options: []core.Option{
{Name: "-m", Description: "FIFO(s) to create"},
},
})
}
+40
View File
@@ -0,0 +1,40 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "mkinitcpio",
Description: "Create an initial ramdisk environment",
Options: []core.Option{
{Name: "--help", Description: "Show help for mkinitcpio"},
{Name: "--version", Description: "Display version information"},
{Name: "--addhooks", Description: "Add additional hooks to the image"},
{Name: "--config", Description: "Use config file to generate the ramdisk"},
{Name: "--generatedir", Description: "Set directory as the location where the initramfs is built"},
{Name: "--hookdir", Description: "Generate a CPIO image as filename"},
{Name: "--hookhelp", Description: "Output help for hookname"},
{Name: "--kernel", Description: "Use kernelversion, instead of the current running kernel"},
{Name: "--listhooks", Description: "List all available hooks"},
{Name: "--automods", Description: "Display modules found via autodetection"},
{Name: "--nocolor", Description: "Disable color output"},
{Name: "--uefi", Description: "Generate a UEFI executable as filename"},
{Name: "--allpresets", Description: "Process all presets contained in /etc/mkinitcpio.d"},
{Name: "--preset", Description: "Build initramfs image(s) according to specified preset"},
{Name: "--moduleroot", Description: "Specifies the root directory to find modules in"},
{Name: "--skiphooks", Description: "Skip hooks when generating the image"},
{Name: "--save", Description: "Saves the build directory for the initial ramdisk"},
{Name: "--builddir", Description: "Use tmpdir as the temporary build directory instead of /tmp"},
{Name: "--verbose", Description: "Verbose output"},
{Name: "--compress", Description: "Override the compression method with the compress program"},
{Name: "--cmdline", Description: "Use kernel command line with UEFI executable"},
{Name: "--splash", Description: "UEFI executables can show a bitmap file on boot"},
{Name: "--uefistub", Description: "UEFI stub image used for UEFI executable generation"},
{Name: "--kernelimage", Description: "Include a kernel image for the UEFI executable"},
{Name: "--microcode", Description: "Include microcode into the UEFI executable"},
{Name: "--osrelease", Description: "Include a os-release file for the UEFI executable"},
},
})
}
+19
View File
@@ -0,0 +1,19 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "mknod",
Description: "Create device special file",
Subcommands: []core.Subcommand{
{Name: "c", Description: "Create (c)haracter device"},
{Name: "b", Description: "Create (b)lock device"},
},
Options: []core.Option{
{Name: "-F", Description: "Format"},
},
})
}
+25
View File
@@ -0,0 +1,25 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "mosh",
Description: "Address of remote machine to log into",
Options: []core.Option{
{Name: "--help", Description: "Show help for mosh"},
{Name: "--client", Description: "Local echo options"},
{Name: "-4", Description: "Use IPv4 only"},
{Name: "-6", Description: "Use IPv6 only"},
{Name: "--family", Description: "Network Type"},
{Name: "--port", Description: "Server-side UDP port or range, (No effect on server-side SSH port)"},
{Name: "--bind-server", Description: "Do not allocate a pseudo tty on ssh connection"},
{Name: "--no-init", Description: "Do not send terminal initialization string"},
{Name: "--local", Description: "Run mosh-server locally without using ssh"},
{Name: "--experimental-remote-ip", Description: "Select the method for discovering the remote IP address to use for mosh"},
{Name: "--version", Description: "Version and copyright information"},
},
})
}
+48
View File
@@ -0,0 +1,48 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "mount",
Description: "Mount disks and manage subtrees",
Options: []core.Option{
{Name: "-h", Description: "Help for abc"},
{Name: "-a", Description: "Mount all filesystems in fstab"},
{Name: "-c", Description: "Don't canonicalize paths"},
{Name: "-f", Description: "Dry run; skip the mount(2) syscall"},
{Name: "-F", Description: "Fork off for each device (use with -a)"},
{Name: "-T", Description: "Alternative file to /etc/fstab"},
{Name: "-i", Description: "Don't call the mount.<type> helpers"},
{Name: "-l", Description: "Show also filesystem labels"},
{Name: "-m", Description: "Alias to '-o X-mount.mkdir"},
{Name: "-n", Description: "Don't write to /etc/mtab"},
{Name: "--options-mode", Description: "What to do with options loaded from fstab"},
{Name: "--options-source", Description: "Mount options source"},
{Name: "--options-source-force", Description: "Force use of options from fstab/mtab"},
{Name: "-o", Description: "Comma-separated list of mount options"},
{Name: "-O", Description: "Limit the set of filesystems (use with -a)"},
{Name: "-r", Description: "Mount the filesystem read-only (same as -o ro)"},
{Name: "-t", Description: "Limit the set of filesystem types"},
{Name: "--source", Description: "Explicitly specifies source"},
{Name: "--target", Description: "Explicitly specifies mountpoint"},
{Name: "--target-prefix", Description: "Specifies path used for all mountpoints"},
{Name: "-v", Description: "Say what is being done"},
{Name: "-w", Description: "Mount the filesystem read-write (default)"},
{Name: "-V", Description: "Display version"},
{Name: "-B", Description: "Mount a subtree somewhere else (same as -o bind)"},
{Name: "-M", Description: "Move a subtree to some other place"},
{Name: "-R", Description: "Mount a subtree and all submounts somewhere else"},
{Name: "--make-shared", Description: "Mark a subtree as shared"},
{Name: "--make-slave", Description: "Mark a subtree as slave"},
{Name: "--make-private", Description: "Mark a subtree as private"},
{Name: "--make-unbindable", Description: "Mark a subtree as unbindable"},
{Name: "--make-rshared", Description: "Recursively mark a whole subtree as shared"},
{Name: "--make-rslave", Description: "Recursively mark a whole subtree as slave"},
{Name: "--make-rprivate", Description: "Recursively mark a whole subtree as private"},
{Name: "--make-runbindable", Description: "Recursively mark a whole subtree as unbindable"},
},
})
}
+27
View File
@@ -0,0 +1,27 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ncal",
Description: "Displays a calendar and the date of Easter",
Options: []core.Option{
{Name: "-h", Description: "Turns off highlighting of today"},
{Name: "-J", Description: "Display date of Easter (for western churches)"},
{Name: "-j", Description: "Display Julian days (days one-based, numbered from January 1)"},
{Name: "-m", Description: "Display a calendar for the specified year"},
{Name: "-o", Description: "Display date of Orthodox Easter (Greek and Russian Orthodox Churches)"},
{Name: "-p", Description: "Print the number of the week below each week column"},
{Name: "-3", Description: "Display the previous, current and next month surrounding today"},
{Name: "-A", Description: "Display the number of months after the current month"},
{Name: "-B", Description: "Display the number of months before the current month"},
{Name: "-C", Description: "Switch to cal mode"},
{Name: "-N", Description: "Switch to ncal mode"},
{Name: "-d", Description: "Use yyyy-mm as the current date (for debugging of date selection)"},
{Name: "-H", Description: "Use yyyy-mm-dd as the current date (for debugging of highlighting)"},
},
})
}
+54
View File
@@ -0,0 +1,54 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "neofetch",
Description: "The most complete system information CLI tool",
Options: []core.Option{
{Name: "--help", Description: "Show help for neofetch"},
{Name: "--disable", Description: "Disable information line"},
{Name: "--title_fqdn", Description: "Hide/Show Fully Qualified Domain Name in title"},
{Name: "--package_managers", Description: "Hide/Show Package Manager names"},
{Name: "--os_arch", Description: "Hide/Show OS architecture"},
{Name: "--speed_type", Description: "Change the type of cpu speed to display"},
{Name: "--speed_shorthand", Description: "Whether or not to show decimals in CPU speed"},
{Name: "--cpu_brand", Description: "Enable/Disable CPU brand in output"},
{Name: "--cpu_cores", Description: "Whether or not to display the number of CPU cores"},
{Name: "--cpu_speed", Description: "Hide/Show cpu speed"},
{Name: "--cpu_temp", Description: "Hide/Show cpu temperature"},
{Name: "--distro_shorthand", Description: "Shorten the output of distro"},
{Name: "--kernel_shorthand", Description: "Shorten the output of kernel"},
{Name: "--uptime_shorthand", Description: "Shorten the output of uptime"},
{Name: "--refresh_rate", Description: "Whether to display the refresh rate of each monitor"},
{Name: "--gpu_brand", Description: "Enable/Disable GPU brand in output"},
{Name: "--gpu_type", Description: "Which GPU to display"},
{Name: "--de_version", Description: "Show/Hide Desktop Environment version"},
{Name: "--gtk_shorthand", Description: "Shorten output of gtk theme/icons"},
{Name: "--gtk2", Description: "Enable/Disable gtk2 theme/font/icons output"},
{Name: "--gtk3", Description: "Enable/Disable gtk3 theme/font/icons output"},
{Name: "--shell_path", Description: "Enable/Disable showing $SHELL path"},
{Name: "--shell_version", Description: "Enable/Disable showing $SHELL version"},
{Name: "--disk_show", Description: "Which disks to display"},
{Name: "--disk_subtitle", Description: "What information to append to the Disk subtitle"},
{Name: "--disk_percent", Description: "Hide/Show disk percent"},
{Name: "--ip_host", Description: "URL to query for public IP"},
{Name: "--ip_timeout", Description: "Public IP timeout"},
{Name: "--memory_percent", Description: "Display memory percentage"},
{Name: "--memory_unit", Description: "Memory output unit"},
{Name: "--colors", Description: "Changes the text colors"},
{Name: "--underline", Description: "Enable/Disable the underline"},
{Name: "--underline_char", Description: "Character to use when underlining title"},
{Name: "--bold", Description: "Enable/Disable bold text"},
{Name: "--separator", Description: "Changes the default ':' separator to the specified string"},
{Name: "--color_blocks", Description: "Enable/Disable the color blocks"},
{Name: "--col_offset", Description: "Left-padding of color blocks"},
{Name: "--block_width", Description: "Width of color blocks in spaces"},
{Name: "--block_height", Description: "Height of color blocks in lines"},
{Name: "--block_range", Description: "Range of colors to print as blocks"},
},
})
}
+20
View File
@@ -0,0 +1,20 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "networkQuality",
Description: "Measure the different aspects of network quality",
Options: []core.Option{
{Name: "-h", Description: "Show help for networkQuality"},
{Name: "-c", Description: "Produce computer readable output"},
{Name: "-s", Description: "Run tests sequentially instead of in parallel"},
{Name: "-v", Description: "Verbose output"},
{Name: "-C", Description: "Use a custom configuration URL"},
{Name: "-I", Description: "Bind test to interface"},
},
})
}
+95
View File
@@ -0,0 +1,95 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "networksetup",
Description: "Configuration tool for network settings in macOS",
Subcommands: []core.Subcommand{
{Name: "computername", Description: "The new name for your computer on the network"},
{Name: "ip", Description: "The IP address to set for the network service"},
{Name: "subnet", Description: "The subnet mask to apply"},
{Name: "router", Description: "The router address to set"},
{Name: "clientid", Description: "Optional DHCP client ID. Use 'Empty' to clear it"},
{Name: "prefixlength", Description: "The prefix length for the IPv6 address (e.g., 64)"},
{Name: "dns", Description: "IP addresses of DNS servers. Use 'empty' to clear all DNS entries"},
{Name: "domain", Description: "List of search domains. Use 'empty' to clear all existing domains"},
{Name: "newnetworkservicename", Description: "The name of the new 6 to 4 service to be created"},
{Name: "relayaddress", Description: "The manually specified relay address to be used by the 6 to 4 service"},
{Name: "portnumber", Description: "The port number for the proxy server"},
{Name: "authenticated", Description: "Specify whether proxy authentication is required"},
{Name: "on", Description: "Specify <on> for <authenticated> to enable authenticated proxy support"},
{Name: "off", Description: "Specify <off> for <authenticated> to disable authenticated proxy support"},
{Name: "username", Description: "The username for proxy authentication"},
{Name: "password", Description: "The password for proxy authentication"},
{Name: "url", Description: "The URL of the proxy auto-config (PAC) file"},
{Name: "network", Description: "The name of the Wi-Fi network to connect to"},
{Name: "index", Description: "The position in the preferred list"},
{Name: "securitytype", Description: "The security type of the network"},
{Name: "OPEN", Description: "No security"},
{Name: "WPA", Description: "WPA Personal"},
{Name: "WPA2", Description: "WPA2 Personal"},
{Name: "WPA/WPA2", Description: "WPA/WPA2 Personal"},
{Name: "WPAE", Description: "WPA Enterprise"},
{Name: "WPA2E", Description: "WPA2 Enterprise"},
{Name: "WPAE/WPA2E", Description: "WPA/WPA2 Enterprise"},
{Name: "WEP", Description: "Plain WEP"},
{Name: "8021XWEP", Description: "802.1X WEP"},
{Name: "networkservicename", Description: "The name for the new network service"},
{Name: "value", Description: "The MTU value to set, typically an integer representing the maximum packet size"},
{Name: "subtype", Description: "The media subtype to set for the hardware port or device"},
{Name: "name", Description: "The name to assign to the new VLAN"},
{Name: "parentdevice", Description: "The parent device over which the VLAN will be created"},
{Name: "tag", Description: "The VLAN tag to assign to the new VLAN"},
{Name: "device", Description: "The devices to include in the bond. Any number of devices can be specified"},
{Name: "account", Description: "The PPPoE account name"},
{Name: "pppoeName", Description: "Optional name for the PPPoE service"},
{Name: "location", Description: "The name for the new location"},
},
Options: []core.Option{
{Name: "-listnetworkserviceorder", Description: "Displays a list of all the network services on the server's hardware ports"},
{Name: "-listallhardwareports", Description: "Displays ethernet (or Wi-Fi) address for hardwareport or device specified"},
{Name: "-getcomputername", Description: "Displays the computer name"},
{Name: "-setcomputername", Description: "Sets computer name to <computername>. This name is used by AFP"},
{Name: "-getinfo", Description: "The IP address to set for the network service"},
{Name: "-setdhcp", Description: "Optional DHCP client ID. Use 'Empty' to clear it"},
{Name: "-setbootp", Description: "The IP address to set for the network service"},
{Name: "-getadditionalroutes", Description: "Use this command to turn IPv4 off on the specified <networkservice>"},
{Name: "-setv6off", Description: "Use this command to turn IPv6 off on the specified <networkservice>"},
{Name: "-setv6automatic", Description: "Use this command to set IPv6 to only use link local for <networkservice>"},
{Name: "-setv6manual", Description: "The IPv6 address to assign"},
{Name: "-getv6additionalroutes", Description: "Displays DNS info for <networkservice>"},
{Name: "-setdnsservers", Description: "IP addresses of DNS servers. Use 'empty' to clear all DNS entries"},
{Name: "-getsearchdomains", Description: "Displays Domain Name info for <networkservice>"},
{Name: "-setsearchdomains", Description: "List of search domains. Use 'empty' to clear all existing domains"},
{Name: "-create6to4service", Description: "The name of the new 6 to 4 service to be created"},
{Name: "-set6to4automatic", Description: "The name of the 6 to 4 service to be configured"},
{Name: "-getwebproxy", Description: "Displays Web proxy (server, port, enabled value) info for <networkservice>"},
{Name: "-setwebproxy", Description: "The domain name or IP address of the proxy server"},
{Name: "-setwebproxystate", Description: "Set Web proxy on <networkservice> to either <on> or <off>"},
{Name: "-getsecurewebproxy", Description: "The proxy server's domain or IP address"},
{Name: "-setsecurewebproxystate", Description: "Set Secure Web proxy on <networkservice> to either <on> or <off>"},
{Name: "-getsocksfirewallproxy", Description: "The proxy server's domain or IP address"},
{Name: "-setsocksfirewallproxystate", Description: "Set SOCKS Firewall proxy to either <on> or <off>"},
{Name: "-getproxybypassdomains", Description: "Displays Bypass Domain Names for <networkservice>"},
{Name: "-setproxybypassdomains", Description: "Domains to bypass proxy for. Use 'Empty' to clear all bypass domains"},
{Name: "-getproxyautodiscovery", Description: "Displays Proxy Auto Discover for <networkservice>"},
{Name: "-setproxyautodiscovery", Description: "Set Proxy Auto Discover for <networkservice> to either <on> or <off>"},
{Name: "-setautoproxyurl", Description: "Set proxy auto-config to url for <networkservice> and enable it"},
{Name: "-getautoproxyurl", Description: "Displays proxy auto-config (url, enabled) info for <networkservice>"},
{Name: "-getairportnetwork", Description: "Displays current Wi-Fi Network"},
{Name: "-setairportnetwork", Description: "Set Wi-Fi Network to <network> using optional [password] if specified"},
{Name: "-getairportpower", Description: "Displays whether Wi-Fi power is on or off"},
{Name: "-setairportpower", Description: "Set Wi-Fi power to either <on> or <off>"},
{Name: "-getnetworkserviceenabled", Description: "Displays whether a service is on or off (enabled or disabled)"},
{Name: "-setnetworkserviceenabled", Description: "The name for the new network service"},
{Name: "-renamenetworkservice", Description: "The new name for the network service"},
{Name: "-duplicatenetworkservice", Description: "The new name for the duplicated network service"},
{Name: "-removenetworkservice", Description: "Get the MTU value for hardwareport or device specified"},
{Name: "-setMTU", Description: "Set MTU for hardwareport or device specified"},
},
})
}
+73
View File
@@ -0,0 +1,73 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "nextflow",
Description: "Session ID",
Subcommands: []core.Subcommand{
{Name: "clean", Description: "Clean up project cache and work directories (Default: last run)"},
{Name: "clone", Description: "Clone a project into a folder"},
{Name: "config", Description: "Print a project configuration"},
{Name: "console", Description: "Launch Nextflow interactive console"},
{Name: "drop", Description: "Delete the local copy of a project"},
{Name: "help", Description: "Print the usage help for a command"},
{Name: "info", Description: "Print project and system runtime information"},
{Name: "kuberun", Description: "Execute a workflow in a Kubernetes cluster (experimental)"},
{Name: "list", Description: "List all downloaded projects"},
{Name: "log", Description: "Print executions log and runtime info"},
{Name: "pull", Description: "Download or update a project"},
{Name: "run", Description: "Execute a pipeline project"},
{Name: "secrets", Description: "Handle and manage sensitive information for pipeline execution in a safe manner"},
{Name: "get", Description: "Allows retrieving a secret value e.g. nextflow secrets get FOO"},
{Name: "delete", Description: "Allows deleting an existing secret e.g. nextflow secrets delete FOO"},
{Name: "self-update", Description: "Update nextflow runtime to the latest available version"},
{Name: "view", Description: "View project script file(s)"},
},
Options: []core.Option{
{Name: "-after", Description: "Clean up runs executed after the specified one"},
{Name: "-before", Description: "Clean up runs executed before the specified one"},
{Name: "-but", Description: "Clean up all runs except the specified one"},
{Name: "-n", Description: "Print names of file to be removed without deleting them (Default: false)"},
{Name: "-f", Description: "Force clean command (Default: false)"},
{Name: "-h", Description: "Print the command usage (Default: false)"},
{Name: "-k", Description: "Do not print names of files removed (Default: false)"},
{Name: "-hub", Description: "Service hub where the project is hosted (Default: GitHub)"},
{Name: "-r", Description: "Revision to clone - It can be a git branch, tag or revision number"},
{Name: "-user", Description: "Private repository user name"},
{Name: "-flat", Description: "Print config using flat notation (Default: false)"},
{Name: "-profile", Description: "Choose a configuration profile"},
{Name: "-properties", Description: "Prints config using Java properties notatio (Default: false)"},
{Name: "-a", Description: "Show all configuration profiles"},
{Name: "-sort", Description: "Sort config attributes (Default: false)"},
{Name: "-u", Description: "Check for remote updates (Default: false)"},
{Name: "-d", Description: "Show detailed information (Default: false)"},
{Name: "-o", Description: "Output format, either: text (default), json, yaml"},
{Name: "-E", Description: "Exports all current system environment (Default: false)"},
{Name: "-ansi-log", Description: "Enable/disable ANSI console logging"},
{Name: "-bucket-dir", Description: "Remote bucket where intermediate result files are stored"},
{Name: "-cache", Description: "Enable/disable processes caching"},
{Name: "-disable-jobs-cancellation", Description: "Prevent the cancellation of child jobs on execution termination"},
{Name: "-dsl1", Description: "Execute the workflow using DSL1 syntax (Default: false)"},
{Name: "-dsl2", Description: "Execute the workflow using DSL2 syntax (Default: false)"},
{Name: "-dump-channels", Description: "Dump channels for debugging purpose"},
{Name: "-dump-hashes", Description: "Dump task hash keys for debugging purpose (Default: false)"},
{Name: "-e", Description: "Entry workflow name to be executed"},
{Name: "-head-cpus", Description: "Specify number of CPUs requested for the Nextflow pod (Default: 0)"},
{Name: "-head-memory", Description: "Specify amount of memory requested for the Nextflow pod"},
{Name: "-latest", Description: "Pull latest changes before run (Default: false)"},
{Name: "-lib", Description: "Library extension path"},
{Name: "-main-script", Description: "The script file to be executed when launching a project directory or repository"},
{Name: "-name", Description: "Assign a mnemonic name to the a pipeline run"},
{Name: "-offline", Description: "Do not check for remote project updates (Default: false)"},
{Name: "-params-file", Description: "Load script parameters from a JSON/YAML file"},
{Name: "-plugins", Description: "Specify the plugins to be applied for this run e.g. nf-amazon,nf-tower"},
{Name: "-pod-image", Description: "Specify the container image for the Nextflow pod"},
{Name: "-process", Description: "Set process options. Syntax: -process.key=value (Default: {}"},
{Name: "-qs", Description: "Max number of processes that can be executed in parallel by each executor"},
},
})
}
+27
View File
@@ -0,0 +1,27 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "nhost",
Description: "Nhost",
Subcommands: []core.Subcommand{
{Name: "deploy", Description: "Deploy local migrations and metadata changes to Nhost production"},
{Name: "dev", Description: "Start Nhost project for local development"},
{Name: "down", Description: "Stop and remove local Nhost backend started by `nhost dev`"},
{Name: "env", Description: "List environment variables"},
{Name: "env:pull", Description: "Sync remote environment variables to your local environment"},
{Name: "help", Description: "Display help for nhost"},
{Name: "init", Description: "Initialize current working directory as a Nhost project"},
{Name: "link", Description: "Link Nhost Project"},
{Name: "login", Description: "Login to your Nhost account"},
{Name: "logout", Description: "Logout from your Nhost account"},
},
Options: []core.Option{
{Name: "--email", Description: "Email address"},
},
})
}
+35
View File
@@ -0,0 +1,35 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "nmap",
Description: "Network exploration tool and security / port scanner",
Options: []core.Option{
{Name: "-iR", Description: "Choose random targets"},
{Name: "--exclude", Description: "Excluide hosts/networks"},
{Name: "--excludefile", Description: "Exclude list from file"},
{Name: "-sT", Description: "TCP scan"},
{Name: "-sA", Description: "TCP ACK scan"},
{Name: "-sW", Description: "TCP Window scan"},
{Name: "-sM", Description: "TCP Maimon scan"},
{Name: "-sU", Description: "UDP scan"},
{Name: "-sP", Description: "Ping scan"},
{Name: "-sN", Description: "TCP Null scan"},
{Name: "-sF", Description: "FIN scan"},
{Name: "-sX", Description: "Xmas scan"},
{Name: "-sO", Description: "IP protocol scan"},
{Name: "-p", Description: "Scan specified ports"},
{Name: "-v", Description: "Increase verbosity level"},
{Name: "--osscan-limit", Description: "Limit OS detection to promising targets"},
{Name: "-6", Description: "Enable IPV6 scanning"},
{Name: "-V", Description: "Print version number"},
{Name: "-privileged", Description: "Assume that user is fully privileges"},
{Name: "-unprivileged", Description: "Assume that user lacks raw socket privileges"},
{Name: "--help", Description: "Show help for nmap"},
},
})
}
+19
View File
@@ -0,0 +1,19 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "nrm",
Description: "Use the right package manage - remove",
Options: []core.Option{
{Name: "-g", Description: "Package will be removed from your `devDependencies`"},
{Name: "-P", Description: "Remove package from your `peerDependencies`"},
{Name: "-O", Description: "Remove package from your `optionalDependencies`"},
{Name: "--frozen", Description: "Don't generate a lockfile and fail if an update is needed"},
{Name: "-h", Description: "Output usage information"},
},
})
}
+52
View File
@@ -0,0 +1,52 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ns",
Description: "Forces rebuilding the native application",
Subcommands: []core.Subcommand{
{Name: "next", Description: "The latest development release"},
},
Options: []core.Option{
{Name: "--clean", Description: "Forces rebuilding the native application"},
{Name: "--timeout", Description: "Specifies that you want to debug the app in an emulator"},
{Name: "--device", Description: "Specifies a connected device/emulator to start and run the app"},
{Name: "--force", Description: "Disables Hot Module Replacement (HMR)"},
{Name: "--framework-path", Description: "Show the output of the command in JSON format"},
{Name: "--justlaunch", Description: "Does not print the application output in the console"},
{Name: "--release", Description: "Bundle the application"},
{Name: "--help", Description: "Specifies that the command will produce and deploy an Android App Bundle"},
{Name: "--key-store-path", Description: "Provides the password for the keystore file specified with --key-store-path"},
{Name: "--key-store-alias", Description: "Provides the alias for the keystore file specified with --key-store-path"},
{Name: "--key-store-alias-password", Description: "Provides the password for the alias specified with --key-store-alias-password"},
{Name: "--sdk", Description: "Specifies the target simulator's sdk"},
{Name: "--debug-brk", Description: "Attaches the debug tools to a deployed and running app"},
{Name: "--no-watch", Description: "Changes in your code will not be livesynced"},
{Name: "--no-client", Description: "Sets the Android SDK that will be used to build the project"},
{Name: "--for-device", Description: "Open the CLI's documentation in your web browser"},
{Name: "--insecure", Description: "Enables anonymous usage reporting"},
{Name: "--template", Description: "Create a project using a predefined template"},
{Name: "--angular", Description: "Create a project using the Angular template"},
{Name: "--react", Description: "Create a project using the React template"},
{Name: "--vue", Description: "Create a project using the Vue template"},
{Name: "--svelte", Description: "Create a project using the Svelte template"},
{Name: "--typescript", Description: "Create a project using plain TypeScript"},
{Name: "--javascript", Description: "Create a project using plain JavaScript"},
{Name: "--path", Description: "Clean your Nativescript project"},
{Name: "--framework", Description: "Sets the unit testing framework to install"},
{Name: "--pluginName", Description: "Used to set the default file and class names in the plugin source"},
{Name: "--includeTypeScriptDemo", Description: "Specifies if a TypeScript demo should be created"},
{Name: "--includeAngularDemo", Description: "Specifies if an Angular demo should be created"},
{Name: "--background", Description: "Sets the background color of the splashscreen"},
{Name: "--hmr", Description: "Enables the hot module replacement (HMR) feature"},
{Name: "--ipa", Description: "Use the provided .ipa file instead of building the project"},
{Name: "--team-id", Description: "Lists all available Android devices"},
{Name: "--available-devices", Description: "Lists all available iOS devices"},
{Name: "-v", Description: "View your current Nativescript CLI version"},
},
})
}
+106
View File
@@ -0,0 +1,106 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "nylas",
Description: "A command line interface for Nylas",
Subcommands: []core.Subcommand{
{Name: "api", Description: "Access the Nylas API endpoints"},
{Name: "a", Description: "A API commands"},
{Name: "accounts", Description: "Accounts commands"},
{Name: "delete", Description: "Delete an Account"},
{Name: "get", Description: "Return All Accounts"},
{Name: "accounts:downgrade", Description: "Accounts:downgrade commands"},
{Name: "post", Description: "Cancel an Account"},
{Name: "accounts:revoke-all", Description: "Accounts:revoke-all commands"},
{Name: "accounts:token-info", Description: "Accounts:token-info commands"},
{Name: "accounts:upgrade", Description: "Accounts:upgrade commands"},
{Name: "applications", Description: "Gets your application info"},
{Name: "calendars", Description: "Calendars API commands"},
{Name: "availability", Description: "Availability commands"},
{Name: "availability:consecutive", Description: "Availability:consecutive commands"},
{Name: "free-busy", Description: "Free-busy commands"},
{Name: "put", Description: "Update A Calendar"},
{Name: "connect", Description: "Connect API commands"},
{Name: "detect-provider", Description: "Detect-provider commands"},
{Name: "contacts", Description: "Contacts API commands"},
{Name: "groups", Description: "Groups commands"},
{Name: "picture", Description: "Picture commands"},
{Name: "delta", Description: "Delta API commands"},
{Name: "latest:cursor", Description: "Latest:cursor commands"},
{Name: "longpoll", Description: "Longpoll commands"},
{Name: "streaming", Description: "Streaming commands"},
{Name: "drafts", Description: "Drafts API commands"},
{Name: "events", Description: "Events API commands"},
{Name: "to-ics", Description: "To-ics commands"},
{Name: "files", Description: "Files API commands"},
{Name: "download", Description: "Download commands"},
{Name: "folders", Description: "Folders API commands"},
{Name: "ip-addresses", Description: "Gets a list of Nylas IP addresses (paid customers only)"},
{Name: "job-statuses", Description: "Job-Statuses API commands"},
{Name: "labels", Description: "Labels API commands"},
{Name: "messages", Description: "Messages API commands"},
{Name: "neural", Description: "Neural API commands"},
{Name: "categorize", Description: "Categorize commands"},
{Name: "categorize:feedback", Description: "Categorize:feedback commands"},
{Name: "conversation", Description: "Conversation commands"},
{Name: "conversation:feedback", Description: "Conversation:feedback commands"},
{Name: "ocr", Description: "Ocr commands"},
{Name: "ocr:feedback", Description: "Ocr:feedback commands"},
{Name: "sentiment", Description: "Sentiment commands"},
{Name: "sentiment:feedback", Description: "Sentiment:feedback commands"},
{Name: "signature", Description: "Signature commands"},
{Name: "signature:feedback", Description: "Signature:feedback commands"},
{Name: "resources", Description: "Resources API commands"},
{Name: "send", Description: "Send API commands"},
{Name: "send-rsvp", Description: "Send-Rsvp API commands"},
{Name: "threads", Description: "Threads API commands"},
},
Options: []core.Option{
{Name: "--display_columns", Description: "Return All Accounts"},
{Name: "--body", Description: "Request body (or use < to redirect a JSON file)"},
{Name: "--limit", Description: "This is usage"},
{Name: "--country", Description: "Returns the contacts matching the contact's exact physical addresses"},
{Name: "--group", Description: "Returns the contacts belonging to the Contact Group matching this ID"},
{Name: "--postal_code", Description: "Returns the contacts matching the one of the contact's exact street address"},
{Name: "--cursor", Description: "The data cursor from `/delta/latest_cursor`"},
{Name: "--view", Description: "Streaming commands"},
{Name: "--any_email", Description: "Return threads containing messages that were CC'd to this email address"},
{Name: "--in", Description: "Return threads whose first message was received after this Unix-based timestamp"},
{Name: "--started_before", Description: "Return threads whose first message was received before this Unix-based timestamp"},
{Name: "--subject", Description: "Return threads with a matching literal subject"},
{Name: "--thread_id", Description: "Return messages belonging to a specific thread"},
{Name: "--to", Description: "Return threads containing messages sent to this email address"},
{Name: "--calendar_id", Description: "Return events belonging to the specified calendar ID"},
{Name: "--count", Description: "See [Count](/docs/api/#overview--count-view) for more information"},
{Name: "--description", Description: "Return events matching the specified description"},
{Name: "--ends_before", Description: "Return events ending before the specified unix timestamp"},
{Name: "--event_id", Description: "Return the event matching the specified event ID"},
{Name: "--metadata_key", Description: "Return events starting after the specified unix timestamp"},
{Name: "--starts_before", Description: "Return events starting before the specified unix timestamp"},
{Name: "--title", Description: "Return events matching the specified title"},
{Name: "--content_type", Description: "Return objects matching the specified content type"},
{Name: "--message_id", Description: "Return objects matching the specified message ID"},
{Name: "--from", Description: "Return threads containing messages sent from this email address"},
{Name: "--received_before", Description: "Return messages received before this unix timestamp"},
{Name: "--callback_domain", Description: "The domain for the callback URL"},
{Name: "--forward", Description: "Address to forward requests to (e.g. http://localhost:3000)"},
{Name: "--print", Description: "Prints the (json) payload to the console"},
{Name: "--triggers", Description: "The triggers to register for your webhooks"},
{Name: "--websocket_domain", Description: "The domain for the websocket server"},
{Name: "--access_token", Description: "Nylas account access token"},
{Name: "--config_dir", Description: "Config directory"},
{Name: "--config_file", Description: "Config file (default is config.yaml)"},
{Name: "--dashboard_api_url", Description: "Dashboard API URL"},
{Name: "--debug", Description: "Enable debugging output"},
{Name: "--disable_telemetry", Description: "Disables sending telemetry data"},
{Name: "--nylas_api_url", Description: "Nylas API URL"},
{Name: "--output", Description: "Output format (e.g. json, table)"},
{Name: "--region", Description: "Nylas Region (values: us, ireland, canada, australia)"},
},
})
}
+47
View File
@@ -0,0 +1,47 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "oh-my-posh",
Description: "The config file to use",
Subcommands: []core.Subcommand{
{Name: "init", Description: "Initialize oh-my-posh for your shell"},
{Name: "get", Description: "Get oh-my-posh values"},
{Name: "shell", Description: "Get the current shell, example usage: 'oh-my-posh get shell'"},
{Name: "debug", Description: "Debug oh-my-posh, example usage: 'oh-my-posh debug'"},
{Name: "config", Description: "Interact with the oh-my-posh configuration"},
{Name: "edit", Description: "Edit the config file, example usage: 'oh-my-posh config edit'"},
{Name: "OUTPUT", Description: "The file to write to"},
{Name: "print", Description: "Print a prompt"},
{Name: "WIDTH", Description: "The terminal width"},
{Name: "COMMAND", Description: "The tooltip command"},
{Name: "ERROR CODE", Description: "The last error code"},
{Name: "EXECUTION TIME", Description: "The last command's execution time"},
{Name: "POWERSHELL WORKING DIRECTORY", Description: "The working directory according to PowerShell"},
{Name: "WORKING DIRECTORY", Description: "The working directory"},
{Name: "SHELL", Description: "The shell used"},
{Name: "NUM", Description: "The number of stacks"},
{Name: "version", Description: "Display the oh-my-posh version, example usage: 'oh-my-posh version'"},
},
Options: []core.Option{
{Name: "--config", Description: "The config file to use"},
{Name: "--format", Description: "The file format to use"},
{Name: "--print", Description: "Print the init script"},
{Name: "--write", Description: "The file to write to"},
{Name: "--terminal-width", Description: "The terminal width"},
{Name: "--command", Description: "The tooltip command"},
{Name: "--error", Description: "The last exit code, example usage: 'oh-my-posh print primary --error 127'"},
{Name: "--eval", Description: "Use eval to render the prompt, example usage: 'oh-my-posh print primary --eval'"},
{Name: "--execution-time", Description: "The last command's execution time"},
{Name: "--plain", Description: "The working directory according to PowerShell"},
{Name: "--pwd", Description: "The working directory"},
{Name: "--shell", Description: "The current shell, example usage: 'oh-my-posh print primary --shell fish'"},
{Name: "--stack-count", Description: "The number of stacks"},
{Name: "--help", Description: "Show help for oh-my-posh"},
},
})
}
+41
View File
@@ -0,0 +1,41 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "okta",
Description: "The Okta CLI is the easiest way to get started with Okta!",
Subcommands: []core.Subcommand{
{Name: "register", Description: "Sign up for a new Okta account"},
{Name: "login", Description: "Authorizes the Okta CLI tool"},
{Name: "apps", Description: "Manage Okta apps"},
{Name: "config", Description: "Show an Okta app's configuration"},
{Name: "create", Description: "Create a new Okta app"},
{Name: "delete", Description: "Deletes an Okta app"},
{Name: "appIds", Description: "List of application IDs to be deleted"},
{Name: "start", Description: "Creates an Okta Sample Application"},
{Name: "name", Description: "The name of the sample app to create"},
{Name: "help", Description: "Displays help information about the specified command"},
{Name: "generate-completion", Description: "Generate bash/zsh completion script for Okta"},
},
Options: []core.Option{
{Name: "--company", Description: "Company/organization used when registering a new Okta account"},
{Name: "--email", Description: "Email used when registering a new Okta account"},
{Name: "--first-name", Description: "First name used when registering a new Okta account"},
{Name: "--last-name", Description: "Last name used when registering a new Okta account"},
{Name: "--app", Description: "The App ID"},
{Name: "--app-name", Description: "Application name to be created, defaults to current directory name"},
{Name: "--authorization-server-id", Description: "Okta Authorization Server Id"},
{Name: "--config-file", Description: "Application config file"},
{Name: "--redirect-uri", Description: "OIDC Redirect URI"},
{Name: "-f", Description: "Deactivate and delete applications without confirmation"},
{Name: "--help", Description: "Show help for Okta CLI"},
{Name: "--version", Description: "Print version information"},
{Name: "--verbose", Description: "Verbose logging"},
{Name: "--batch", Description: "Batch mode, will not prompt for user input"},
},
})
}
+32
View File
@@ -0,0 +1,32 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ollama",
Description: "A command-line tool for managing and deploying machine learning models",
Subcommands: []core.Subcommand{
{Name: "serve", Description: "Start ollama"},
{Name: "create", Description: "Create a model from a Modelfile"},
{Name: "show", Description: "Show information for a model"},
{Name: "run", Description: "Run a model"},
{Name: "stop", Description: "Stop the ollama server"},
{Name: "pull", Description: "Pull a model from a registry"},
{Name: "push", Description: "Push a model to a registry"},
{Name: "list", Description: "List models"},
{Name: "ps", Description: "List running models"},
{Name: "cp", Description: "Copy a model"},
{Name: "rm", Description: "Remove a model"},
{Name: "help", Description: "Help about any command"},
},
Options: []core.Option{
{Name: "-f", Description: "Specify Modelfile"},
{Name: "--verbose", Description: "Enable verbose output"},
{Name: "--help", Description: "Show help for ollama"},
{Name: "--version", Description: "Show version information"},
},
})
}
+31
View File
@@ -0,0 +1,31 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "omz",
Description: "Oh My Zsh",
Subcommands: []core.Subcommand{
{Name: "help", Description: "Print the help message"},
{Name: "changelog", Description: "Print the changelog"},
{Name: "plugin", Description: "Manage plugins"},
{Name: "disable", Description: "Disable plugin(s)"},
{Name: "enable", Description: "Enable plugin(s)"},
{Name: "info", Description: "Get information of a plugin"},
{Name: "list", Description: "List all available Oh My Zsh plugins"},
{Name: "load", Description: "Load plugin(s)"},
{Name: "pr", Description: "Manage Oh My Zsh Pull Requests"},
{Name: "clean", Description: "Delete all PR branches (ohmyzsh/pull-*)"},
{Name: "test", Description: "Fetch PR #NUMBER and rebase against master"},
{Name: "reload", Description: "Reload the current zsh session"},
{Name: "theme", Description: "Manage themes"},
{Name: "set", Description: "Set a theme in your .zshrc file"},
{Name: "use", Description: "Load a theme"},
{Name: "update", Description: "Update Oh My Zsh"},
{Name: "version", Description: "Show the version"},
},
})
}
+106
View File
@@ -0,0 +1,106 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "pac",
Description: "7",
Subcommands: []core.Subcommand{
{Name: "admin", Description: "Work with your Power Platform Admin Account"},
{Name: "list", Description: "List all environments from your tenant"},
{Name: "create", Description: "Creates a Dataverse instance in your tenant"},
{Name: "backup", Description: "Takes a manual backup of your environment"},
{Name: "set-backup-retention-period", Description: "Takes a manual backup of your environment"},
{Name: "delete", Description: "Deletes the environment from your tenant"},
{Name: "reset", Description: "Reset the environment from your tenant"},
{Name: "list-backups", Description: "Lists all backups of your environment"},
{Name: "restore", Description: "Restores an environment to a given backup"},
{Name: "copy", Description: "Copy Source Environment to Destination Environment"},
{Name: "status", Description: "This command lists the status of all the operations in progress"},
{Name: "assign-user", Description: "Assign a user to a target Dataverse environment with specified security role"},
{Name: "assign-group", Description: "Assign group to target Dataverse environment with specified security role"},
{Name: "list-app-templates", Description: "Lists all supported Dataverse templates of model-driven apps in Dynamics 365"},
{Name: "list-service-principal", Description: "List Microsoft Entra ID applications which have access to Dataverse"},
{Name: "set-governance-config", Description: "Enable, disable, and edit managed environments"},
{Name: "list-tenant-settings", Description: "List tenant settings"},
{Name: "update-tenant-settings", Description: "Update tenant settings"},
{Name: "application", Description: "Work with Microsoft Entra ID applications"},
{Name: "register", Description: "Register Microsoft Entra ID application with your tenant"},
{Name: "unregister", Description: "Unregister Microsoft Entra ID application from your tenant"},
{Name: "install", Description: "Installs Dataverse application to given environment"},
{Name: "auth", Description: "Manage how you authenticate to various services"},
{Name: "select", Description: "Select which authentication profile should be active"},
{Name: "update", Description: "Update name or target environment of an existing authentication profile"},
{Name: "name", Description: "Name or rename an existing authentication profile"},
{Name: "clear", Description: "Clear all authentication profiles stored on this computer"},
{Name: "canvas", Description: "Operating with Power Apps .msapp files"},
{Name: "download", Description: "Download canvas app as .msapp file"},
{Name: "pack", Description: "(Preview) Pack sources into an msapp file"},
{Name: "unpack", Description: "(Preview) Extract an msapp file into sources"},
{Name: "catalog", Description: "Commands for working with Catalog in Power Platform"},
{Name: "submit", Description: "Submit catalog approval request"},
{Name: "connection", Description: "Commands for working with Dataverse connection"},
{Name: "connector", Description: "Commands for working with Power Platform Connectors"},
{Name: "init", Description: "Initializes a new API Properties file for a Connector"},
{Name: "copilot", Description: "Tools and utilities for copilot scenarios"},
{Name: "predict", Description: "Sends text or prompt to AI Model"},
{Name: "data", Description: "Import and export data from Dataverse"},
{Name: "export", Description: "Export data"},
{Name: "import", Description: "Import data"},
{Name: "help", Description: "Show help for the Microsoft Power Platform CLI"},
{Name: "modelbuilder", Description: "Code Generator for Dataverse APIs and Tables"},
{Name: "build", Description: "Builds a code model for Dataverse APIs and Tables"},
{Name: "org", Description: "Work with your Dataverse organization"},
{Name: "who", Description: "Displays information about the current Dataverse organization"},
{Name: "fetch", Description: "Performs FetchXML query against Dataverse"},
{Name: "list-settings", Description: "List environment settings"},
{Name: "update-settings", Description: "Update environment settings"},
{Name: "package", Description: "Commands for working with Dataverse package projects"},
},
Options: []core.Option{
{Name: "--environment", Description: "List all environments that contain given string in their name or ID"},
{Name: "--type", Description: "List all environments with the given type"},
{Name: "--name", Description: "List all environments that contain given string in their name"},
{Name: "--organization-id", Description: "List all environments that contain given string in their organization ID"},
{Name: "--application", Description: "Creates a Dataverse instance in your tenant"},
{Name: "--region", Description: "Sets the environment's region name. [defaults to unitedstates]"},
{Name: "--currency", Description: "Sets the currency used for your environment. [defaults to USD]"},
{Name: "--language", Description: "Sets the language used for your environment. [defaults to English]"},
{Name: "--templates", Description: "Optional boolean argument to run pac verbs asynchronously, defaults to false"},
{Name: "--team-id", Description: "Team ID as Guid"},
{Name: "--max-async-wait-time", Description: "Max asynchronous wait time in minutes. The default value is 60 minutes"},
{Name: "--user", Description: "Takes a manual backup of your environment"},
{Name: "--label", Description: "Sets the backup label as provided"},
{Name: "--notes", Description: "**ignored**: Additional notes for this backup"},
{Name: "--backup-retention-period", Description: "Optional boolean argument to run pac verbs asynchronously, defaults to false"},
{Name: "--domain", Description: "Sets the name of the environment"},
{Name: "--purpose", Description: "Sets the description used to associate the environment with a specific intent"},
{Name: "--source-env", Description: "Environment URL or ID of the source environment required for restore"},
{Name: "--target-env", Description: "DateTime of the backup in 'mm/dd/yyyy hh:mm' format OR string 'latest'"},
{Name: "--skip-audit-data", Description: "Switch indicating whether audit data should be skipped"},
{Name: "--async", Description: "Optional boolean argument to run pac verbs asynchronously, defaults to false"},
{Name: "--application-user", Description: "ID of business unit to associate application user with"},
{Name: "--group", Description: "Microsoft Entra ID object ID of group to assign to target Dataverse environment"},
{Name: "--group-name", Description: "Name of the group or team to create in Dataverse"},
{Name: "--role", Description: "Name or ID of security role to be applied to user"},
{Name: "--team-type", Description: "Type of team"},
{Name: "--membership-type", Description: "Team membership type"},
{Name: "--business-unit", Description: "ID of business unit to associate application user with"},
{Name: "--filter", Description: "Application name 'starts with' filter"},
{Name: "--max", Description: "Max number of applications to show. Default: 20"},
{Name: "--exclude-analysis", Description: "Exclude usage insights for the environment from the weekly digest email"},
{Name: "--include-insights", Description: "Include insights in the Power Platform Admin Center homepage cards"},
{Name: "--limit-sharing-mode", Description: "Limit sharing mode"},
{Name: "--max-limit-user-sharing", Description: "Solution checker validation mode"},
{Name: "--settings-file", Description: "The .json file to output tenant settings"},
{Name: "--application-id", Description: "Application Id"},
{Name: "--application-list", Description: "Manage how you authenticate to various services"},
{Name: "--kind", Description: "The kind of authentication profile you're creating"},
{Name: "--url", Description: "The resource URL to connect to"},
{Name: "--username", Description: "Optional: The password to authenticate with"},
},
})
}
+17
View File
@@ -0,0 +1,17 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "passwd",
Description: "Modify a user",
Options: []core.Option{
{Name: "-i", Description: "Specify where the password update should be applied"},
{Name: "-l", Description: "The location of the chosen directory system"},
{Name: "-u", Description: "Specify the user name to use when authenticating to the directory node"},
},
})
}
+15
View File
@@ -0,0 +1,15 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "pathchk",
Description: "Check pathnames for POSIX portability",
Options: []core.Option{
{Name: "-p", Description: "Pathname(s) to check"},
},
})
}
+16
View File
@@ -0,0 +1,16 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "pdfunite",
Description: "Combine multiple pdfs",
Options: []core.Option{
{Name: "-v", Description: "Print copyright and version info"},
{Name: "-h", Description: "Print usage information"},
},
})
}

Some files were not shown because too many files have changed in this diff Show More