refactor(commands): separate commands and its core into two folders (#32)

- I think it would be better if one for commands only, one for the spec
handling core logic so people won't be confused by the core logic inside
the commands folder (cleaner I guess)
- Regen docs
This commit is contained in:
VERSE
2026-07-05 11:27:30 +07:00
committed by GitHub
parent 6b98455957
commit ebde9ba68f
536 changed files with 2241 additions and 2241 deletions
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "adb",
Description: "Forward-lock the app",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "devices", Description: "List connected devices"},
{Name: "help", Description: "Show this help message"},
{Name: "get-state", Description: "Print offline | bootloader | device"},
@@ -60,7 +60,7 @@ func init() {
{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{
Options: []spec.Option{
{Name: "-l", Description: "Forward-lock the app"},
{Name: "-r", Description: "Replace existing application"},
{Name: "-t", Description: "Allow test packages"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "ag",
Description: "Recursively search for PATTERN in PATH. Like grep or ack, but faster",
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "airflow",
Description: "Subcommand",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "celery", Description: "Celery components"},
{Name: "broker_api", Description: "Broker API"},
{Name: "flower_conf", Description: "Configuration file for flower"},
@@ -60,7 +60,7 @@ func init() {
{Name: "db", Description: "Database operations"},
{Name: "migration_wait_timeout", Description: "Timeout to wait for db to migrate"},
},
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "aliases",
Description: "Prints help information",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -30,7 +30,7 @@ func init() {
{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{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "asciinema",
Description: "Terminal session recorder",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "rec", Description: "Start a recording"},
{Name: "play", Description: "Replay recorded asciicast in a terminal"},
{Name: "seconds", Description: "Can be fractional"},
@@ -17,7 +17,7 @@ func init() {
{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{
Options: []spec.Option{
{Name: "--version", Description: "Output version information and exit"},
{Name: "-h", Description: "Output help message and exit"},
{Name: "--stdin", Description: "Enable stdin (keyboard) recording"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "asr",
Description: "Can be a disk image, /dev entry, or volume mountpoint",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -17,7 +17,7 @@ func init() {
{Name: "interface", Description: "The network interface to be used for multicasting"},
{Name: "configuration", Description: "Configuration file in standard property list format"},
},
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "atuin",
Description: "Magical shell history",
Subcommands: []core.Subcommand{
Subcommands: []spec.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)"},
@@ -28,7 +28,7 @@ func init() {
{Name: "uuid", Description: "Generate a UUID"},
{Name: "gen-completions", Description: "Generate shell completions"},
},
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "basename",
Description: "Return filename portion of pathname",
Options: []core.Option{
Options: []spec.Option{
{Name: "-a", Description: "Treat every argument as a string"},
{Name: "-s", Description: "Suffix to remove from string"},
},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "bc",
Description: "An arbitrary precision calculator language",
Options: []core.Option{
Options: []spec.Option{
{Name: "--help", Description: "Print the usage and exit"},
{Name: "--interactive", Description: "Force interactive mode"},
{Name: "--mathlib", Description: "Define the standard math library"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "btop",
Description: "Beautifuler htop (interactive process viewer)",
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "bundle",
Description: "Gem",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -26,7 +26,7 @@ func init() {
{Name: "clean", Description: "Clean up unused gems in your Bundler directory"},
{Name: "doctor", Description: "Display warnings about common problems"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "--binstubs", Description: "Create binstubs in dir"},
{Name: "--clean", Description: "Remove unused gems after install"},
{Name: "--deployment", Description: "For Production and CI use"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "cal",
Description: "Displays a calendar and the date of Easter",
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "cci",
Description: "CumulusCI command line interface",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -49,7 +49,7 @@ func init() {
{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{
Options: []spec.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"},
+4 -4
View File
@@ -1,21 +1,21 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "cdk8s",
Description: "CDK for K8s",
Subcommands: []core.Subcommand{
Subcommands: []spec.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{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "chezmoi",
Description: "Attribute modifier",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -53,7 +53,7 @@ func init() {
{Name: "help", Description: "Help about any command"},
{Name: "generate", Description: "Generate a file for use with chezmoi"},
},
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "chsh",
Description: "Change your login shell",
Options: []core.Option{
Options: []spec.Option{
{Name: "-s", Description: "Specify login shell"},
{Name: "-l", Description: "Print list of shells and exit"},
{Name: "-u", Description: "Print help message and exit"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "codesign",
Description: "Create and manipulate code signatures",
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,19 +1,19 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "croc",
Description: "Send file(s), or folder",
Subcommands: []core.Subcommand{
Subcommands: []spec.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{
Options: []spec.Option{
{Name: "--code", Description: "Codephrase used to connect to relay"},
{Name: "--hash", Description: "Hash algorithm"},
{Name: "--text", Description: "Send some text"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "crontab",
Description: "Maintain crontab file for individual users",
Options: []core.Option{
Options: []spec.Option{
{Name: "-e", Description: "Edit the current crontab"},
{Name: "-l", Description: "Display the current crontab"},
{Name: "-r", Description: "Remove the current crontab"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "date",
Description: "Display or set date and time",
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "dateseq",
Description: "Print help and exit",
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "dcli",
Description: "Display help for command",
Subcommands: []core.Subcommand{
Subcommands: []spec.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>)"},
@@ -38,7 +38,7 @@ func init() {
{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{
Options: []spec.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"},
+2 -2
View File
@@ -1,11 +1,11 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "dd",
Description: "The same as",
})
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "ddev",
Description: "DDEV-Local local development environment",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -54,7 +54,7 @@ func init() {
{Name: "version", Description: "Print ddev version and component versions"},
{Name: "help", Description: "Help about any command"},
},
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "defaults",
Description: "Global domain",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "read", Description: "Shows defaults"},
{Name: "write", Description: "Writes key for domain"},
{Name: "delete", Description: "Deletes domain or key in domain"},
@@ -19,7 +19,7 @@ func init() {
{Name: "help", Description: "Show help text"},
{Name: "read-type", Description: "Shows the type for the given domain, key"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "-globalDomain", Description: "Global domain"},
{Name: "-app", Description: "Application name"},
{Name: "-string", Description: "Command line interface to a user's defaults"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "degit",
Description: "Straightforward project scaffolding",
Options: []core.Option{
Options: []spec.Option{
{Name: "--help", Description: "Print help"},
{Name: "-f", Description: "Overwrite existing files"},
{Name: "-c", Description: "Use a cache"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "deta",
Description: "Runtime",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -41,7 +41,7 @@ func init() {
{Name: "expression", Description: "The cron expression to be set"},
{Name: "remove", Description: "Remove a schedule from a Deta Micro"},
},
Options: []core.Option{
Options: []spec.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"},
+2 -2
View File
@@ -1,11 +1,11 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "dirname",
Description: "Return directory portion of pathname",
})
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "do-release-upgrade",
Description: "Upgrade Ubuntu to latest release",
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "dog",
Description: "Human-readable host names, nameservers, types, or classes",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "A", Description: "Query Domain A Record"},
{Name: "MX", Description: "Query Domain MX Record"},
{Name: "CNAME", Description: "Query Domain CNAME Record"},
@@ -18,7 +18,7 @@ func init() {
{Name: "TTL", Description: "Query TTL Record"},
{Name: "ANY +noall +answer", Description: "Query ALL DNS Records"},
},
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "dotnet",
Description: "The dotnet cli",
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,17 +1,17 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "dscacheutil",
Description: "Utility for managing the Directory Service cache",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "category", Description: "Category to query"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "-h", Description: "List the options for calling dscacheutil"},
{Name: "-q", Description: "Query the Directory Service cache"},
{Name: "-a", Description: "Attribute to query"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "dscl",
Description: "Prompt for password",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -24,7 +24,7 @@ func init() {
{Name: "passwd", Description: "Changes the password of a user"},
{Name: "new password", Description: "New password of the user"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "-p", Description: "Prompt for password"},
{Name: "-u", Description: "Authenticate as user"},
{Name: "-P", Description: "Authenticate with password"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "dtm",
Description: "Plugin",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -30,7 +30,7 @@ func init() {
{Name: "version", Description: "Print the version number of DevStream"},
{Name: "help", Description: "Help about any command"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "--config-file", Description: "Config file"},
{Name: "--plugin-dir", Description: "Plugins directory"},
{Name: "--yes", Description: "Apply directly without confirmation"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "echo",
Description: "Environment Variable",
Options: []core.Option{
Options: []spec.Option{
{Name: "-n", Description: "Do not print the trailing newline character"},
{Name: "-e", Description: "Interpret escape sequences"},
{Name: "-E", Description: "Disable escape sequences"},
+2 -2
View File
@@ -1,11 +1,11 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "eleventy",
Description: "Eleventy is a simpler static site generator",
})
+9 -9
View File
@@ -4,11 +4,11 @@ import (
"os"
"strings"
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func envVarGenerator(tokens []string, _ string, _ string) []core.Suggestion {
var results []core.Suggestion
func envVarGenerator(tokens []string, _ string, _ string) []spec.Suggestion {
var results []spec.Suggestion
for _, env := range os.Environ() {
parts := strings.SplitN(env, "=", 2)
name := parts[0]
@@ -20,36 +20,36 @@ func envVarGenerator(tokens []string, _ string, _ string) []core.Suggestion {
val = val[:57] + "..."
}
}
results = append(results, core.Suggestion{Cmd: name, Desc: val})
results = append(results, spec.Suggestion{Cmd: name, Desc: val})
}
return results
}
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "export",
Description: "set environment variable",
Generator: envVarGenerator,
})
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "env",
Description: "print environment",
Generator: envVarGenerator,
Options: []core.Option{
Options: []spec.Option{
{Name: "-i", Description: "start with empty env"},
{Name: "-u", Description: "unset variable"},
{Name: "-0", Description: "null delimited"},
},
})
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "printenv",
Description: "print environment variables",
Generator: envVarGenerator,
})
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "unset",
Description: "unset variable",
Generator: envVarGenerator,
+2 -2
View File
@@ -1,11 +1,11 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "exec",
Description: "Replace the current shell with a program",
})
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "fastlane",
Description: "Helps you with your initial fastlane setup",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -34,7 +34,7 @@ func init() {
{Name: "update_fastlane", Description: "Update fastlane to the latest release"},
{Name: "update_plugins", Description: "Update all plugin dependencies"},
},
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "fdisk",
Description: "Manipulate disk partition table",
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "ffmpeg",
Description: "Play, record, convert, and stream audio and video",
Options: []core.Option{
Options: []spec.Option{
{Name: "-i", Description: "Input file"},
{Name: "-L", Description: "Show license"},
{Name: "-h", Description: "Show help"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "firefox",
Description: "Free open-source web browser developer by Mozilla",
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "fisher",
Description: "[Prompt] - 🌊 The ultimate Fish prompt",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "install", Description: "Install plugin"},
{Name: "remove", Description: "Remove plugins"},
{Name: "installed plugins", Description: "The plugin you want to remove"},
@@ -16,7 +16,7 @@ func init() {
{Name: "list", Description: "List plugins"},
{Name: "RegEx", Description: "Search in list with regular expression"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "--help", Description: "Show help for fisher"},
{Name: "--version", Description: "Show fisher version"},
},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "fmt",
Description: "Simple text formatter",
Options: []core.Option{
Options: []spec.Option{
{Name: "-c", Description: "File(s) to format"},
},
})
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "forc",
Description: "Fuel Orchestrator",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -40,7 +40,7 @@ func init() {
{Name: "submit", Description: "A `forc` plugin for interacting with a Fuel node"},
{Name: "deploy", Description: "Build output file options"},
},
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "forge",
Description: "A command line interface for managing Atlassian-hosted apps",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -31,7 +31,7 @@ func init() {
{Name: "webtrigger", Description: "Get a web trigger URL"},
{Name: "whoami", Description: "Display the account information of the logged in user"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "--verbose", Description: "Enable verbose mode"},
{Name: "-h", Description: "Display help for command"},
{Name: "-t", Description: "Specify the template to use"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "fzf",
Description: "A general-purpose command-line fuzzy finder",
Options: []core.Option{
Options: []spec.Option{
{Name: "-x", Description: "Enables extended-search mode"},
{Name: "-e", Description: "Enables Exact-match"},
{Name: "--algo", Description: "Fuzzy matching algorithm"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "fzf-tmux",
Description: "Opens a fuzzy finder in a tmux pane",
Options: []core.Option{
Options: []spec.Option{
{Name: "-x", Description: "Enables extended-search mode"},
{Name: "-e", Description: "Enables Exact-match"},
{Name: "--algo", Description: "Fuzzy matching algorithm"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "gltfjsx",
Description: "GLTF to JSX converter",
Options: []core.Option{
Options: []spec.Option{
{Name: "-t", Description: "Add Typescript definitions"},
{Name: "-v", Description: "Verbose output w/ names and empty groups"},
{Name: "-m", Description: "Include metadata (as userData)"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "goto",
Description: "Goto",
Options: []core.Option{
Options: []spec.Option{
{Name: "--help", Description: "Show help for goto"},
{Name: "--register", Description: "Registers an alias"},
{Name: "--unregister", Description: "Unregister an alias"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "gum",
Description: "Background Color",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -27,7 +27,7 @@ func init() {
{Name: "pager", Description: "Scroll through a file"},
{Name: "content", Description: "Display content to scroll"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "--background", Description: "Background Color"},
{Name: "--foreground", Description: "Foreground Color"},
{Name: "--border", Description: "Border Style"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "herd",
Description: "Display this application version",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -16,7 +16,7 @@ func init() {
{Name: "namespace", Description: "The namespace name"},
{Name: "site", Description: "The site to get the PHP executable path for"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "--help", Description: "Display this application version"},
{Name: "--quiet", Description: "Do not output any message"},
{Name: "--verbose", Description: "Force ANSI output"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "hop",
Description: "Interact with Hop in your terminal",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -24,7 +24,7 @@ func init() {
{Name: "switch", Description: "Switch to a different project"},
{Name: "whoami", Description: "Get information about the current user"},
},
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "hostname",
Description: "Set or print name of current host system",
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "htop",
Description: "Improved top (interactive process viewer)",
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "http",
Description: "HTTPie: command-line HTTP client for the API era",
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "hyper",
Description: "Hyper is an Electron-based terminal",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "install", Description: "Install a plugin"},
{Name: "docs", Description: "Open the npm page of a plugin"},
{Name: "help", Description: "Display help"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "hyperfine",
Description: "A command-line benchmarking tool",
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "ibus",
Description: "Set or get engine",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "engine", Description: "Set or get engine"},
{Name: "exit", Description: "Exit ibus-daemon"},
{Name: "list-engine", Description: "Show available engines"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "id",
Description: "Display the full name of the user",
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,20 +1,20 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "ignite-cli",
Description: "Output usage information",
Subcommands: []core.Subcommand{
Subcommands: []spec.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{
Options: []spec.Option{
{Name: "-h", Description: "Output usage information"},
{Name: "-v", Description: "Output the version number"},
{Name: "--expo", Description: "Use Expo"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "install",
Description: "Use suffix as the backup suffix if -b is given",
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "join",
Description: "The join utility performs an",
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "julia",
Description: "The Julia Programming Language",
Options: []core.Option{
Options: []spec.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`"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "kafkactl",
Description: "Command-line interface for Apache Kafka",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "edit", Description: "Alter topics, partitions"},
{Name: "partition", Description: "Alter a partition"},
{Name: "topic", Description: "Alter a topic"},
@@ -37,7 +37,7 @@ func init() {
{Name: "version", Description: "Print the version of kafkactl"},
{Name: "help", Description: "Help about any command"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "--replicas", Description: "Set replicas for a partition"},
{Name: "--validate-only", Description: "Validate only"},
{Name: "--config", Description: "Configs in format `key=value`"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "kamal",
Description: "Skip image build and push",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -21,7 +21,7 @@ func init() {
{Name: "status", Description: "Show status of accessory on host"},
{Name: "remove", Description: "Remove accessory container, image and data directory from host"},
},
Options: []core.Option{
Options: []spec.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)"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "kitty",
Description: "A cat like utility to display images in the terminal",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -21,7 +21,7 @@ func init() {
{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{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "klist",
Description: "Credential cache to list",
Options: []core.Option{
Options: []spec.Option{
{Name: "-c", Description: "Credential cache to list"},
{Name: "--cache", Description: "Credential cache to list"},
{Name: "-s", Description: "Display AFS tokens"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "kool",
Description: "Script",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -30,7 +30,7 @@ func init() {
{Name: "status", Description: "Show the status of all service containers"},
{Name: "stop", Description: "Stop and destroy running service containers"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "--verbose", Description: "Increases output verbosity"},
{Name: "--help", Description: "Help for create"},
{Name: "--container", Description: "Container target"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "launchctl",
Description: "Service or domain target",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -59,7 +59,7 @@ func init() {
{Name: "version", Description: "Prints the launchd version"},
{Name: "help", Description: "Prints the usage for a given subcommand"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "-w", Description: "Enable if disabled"},
{Name: "-F", Description: "Force load"},
{Name: "-S", Description: "Session"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "leaf",
Description: "Create and interact with your leaf projects",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -27,7 +27,7 @@ func init() {
{Name: "uninstall", Description: "Uninstall a package"},
{Name: "update", Description: "Update leaf cli to the latest version"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "-h", Description: "Do not output any message"},
{Name: "-V", Description: "Display this application version"},
{Name: "--ansi", Description: "Force ANSI output"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "lima",
Description: "Lima is an alias for",
Options: []core.Option{
Options: []spec.Option{
{Name: "-h", Description: "Help for lima"},
},
})
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "login",
Description: "Begin session on the system",
Options: []core.Option{
Options: []spec.Option{
{Name: "-p", Description: "Preserve environment"},
{Name: "-r", Description: "Perform autologin protocol for rlogin"},
{Name: "-h", Description: "Specify host"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "lsblk",
Description: "List block devices",
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "lsof",
Description: "List open files",
Options: []core.Option{
Options: []spec.Option{
{Name: "-?", Description: "Help"},
{Name: "-a", Description: "Apply AND to the selections (defaults to OR)"},
{Name: "-b", Description: "Avoid kernel blocks"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "man",
Description: "Format and display manual pages",
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "meroxa",
Description: "The Meroxa CLI",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "accounts", Description: "Manage Meroxa Accounts"},
{Name: "ls", Description: "List Meroxa Accounts"},
{Name: "set", Description: "Set active account"},
@@ -42,7 +42,7 @@ func init() {
{Name: "version", Description: "Display the Meroxa CLI version"},
{Name: "help", Description: "Help about any command"},
},
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,20 +1,20 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "mkdocs",
Description: "Project documentation with Markdown",
Subcommands: []core.Subcommand{
Subcommands: []spec.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{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "mkfifo",
Description: "Make FIFOs (first-in, first-out)",
Options: []core.Option{
Options: []spec.Option{
{Name: "-m", Description: "FIFO(s) to create"},
},
})
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "mkinitcpio",
Description: "Create an initial ramdisk environment",
Options: []core.Option{
Options: []spec.Option{
{Name: "--help", Description: "Show help for mkinitcpio"},
{Name: "--version", Description: "Display version information"},
{Name: "--addhooks", Description: "Add additional hooks to the image"},
+4 -4
View File
@@ -1,18 +1,18 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "mknod",
Description: "Create device special file",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "c", Description: "Create (c)haracter device"},
{Name: "b", Description: "Create (b)lock device"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "-F", Description: "Format"},
},
})
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "mosh",
Description: "Address of remote machine to log into",
Options: []core.Option{
Options: []spec.Option{
{Name: "--help", Description: "Show help for mosh"},
{Name: "--client", Description: "Local echo options"},
{Name: "-4", Description: "Use IPv4 only"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "mount",
Description: "Mount disks and manage subtrees",
Options: []core.Option{
Options: []spec.Option{
{Name: "-h", Description: "Help for abc"},
{Name: "-a", Description: "Mount all filesystems in fstab"},
{Name: "-c", Description: "Don't canonicalize paths"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "ncal",
Description: "Displays a calendar and the date of Easter",
Options: []core.Option{
Options: []spec.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)"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "neofetch",
Description: "The most complete system information CLI tool",
Options: []core.Option{
Options: []spec.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"},
+23 -23
View File
@@ -1,15 +1,15 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "curl",
Description: "transfer data via URL",
Generator: core.FileGenerator(),
Options: []core.Option{
Generator: spec.FileGenerator(),
Options: []spec.Option{
{Name: "-X", Description: "request method (GET/POST/PUT/DELETE)"},
{Name: "-H", Description: "request header"},
{Name: "-d", Description: "request body data"},
@@ -35,11 +35,11 @@ func init() {
},
})
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "wget",
Description: "non-interactive downloader",
Generator: core.FileGenerator(),
Options: []core.Option{
Generator: spec.FileGenerator(),
Options: []spec.Option{
{Name: "-O", Description: "output filename"},
{Name: "-q", Description: "quiet"},
{Name: "-v", Description: "verbose"},
@@ -56,10 +56,10 @@ func init() {
},
})
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "nc",
Description: "netcat - TCP/UDP tool",
Options: []core.Option{
Options: []spec.Option{
{Name: "-l", Description: "listen mode"},
{Name: "-p", Description: "local port"},
{Name: "-z", Description: "port scan mode"},
@@ -70,10 +70,10 @@ func init() {
},
})
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "ping",
Description: "test network connectivity",
Options: []core.Option{
Options: []spec.Option{
{Name: "-c", Description: "packet count"},
{Name: "-i", Description: "interval"},
{Name: "-t", Description: "TTL"},
@@ -82,10 +82,10 @@ func init() {
},
})
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "dig",
Description: "DNS lookup",
Options: []core.Option{
Options: []spec.Option{
{Name: "+short", Description: "short output"},
{Name: "+noall", Description: "no output flags"},
{Name: "+answer", Description: "answer section only"},
@@ -94,30 +94,30 @@ func init() {
},
})
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "nslookup",
Description: "query DNS",
})
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "ifconfig",
Description: "configure network interface",
Options: []core.Option{
Options: []spec.Option{
{Name: "-a", Description: "all interfaces"},
},
})
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "ip",
Description: "show/manage network",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "addr", Description: "address management"},
{Name: "link", Description: "network device management"},
{Name: "route", Description: "routing table management"},
{Name: "neigh", Description: "ARP table"},
{Name: "rule", Description: "routing policy"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "-4", Description: "IPv4 only"},
{Name: "-6", Description: "IPv6 only"},
{Name: "-br", Description: "brief output"},
@@ -125,10 +125,10 @@ func init() {
},
})
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "netstat",
Description: "network statistics",
Options: []core.Option{
Options: []spec.Option{
{Name: "-t", Description: "TCP connections"},
{Name: "-u", Description: "UDP connections"},
{Name: "-l", Description: "listening only"},
@@ -139,10 +139,10 @@ func init() {
},
})
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "ss",
Description: "socket statistics",
Options: []core.Option{
Options: []spec.Option{
{Name: "-t", Description: "TCP"},
{Name: "-u", Description: "UDP"},
{Name: "-l", Description: "listening"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "networkQuality",
Description: "Measure the different aspects of network quality",
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "networksetup",
Description: "Configuration tool for network settings in macOS",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -49,7 +49,7 @@ func init() {
{Name: "pppoeName", Description: "Optional name for the PPPoE service"},
{Name: "location", Description: "The name for the new location"},
},
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "nextflow",
Description: "Session ID",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -27,7 +27,7 @@ func init() {
{Name: "self-update", Description: "Update nextflow runtime to the latest available version"},
{Name: "view", Description: "View project script file(s)"},
},
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "nhost",
Description: "Nhost",
Subcommands: []core.Subcommand{
Subcommands: []spec.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`"},
@@ -20,7 +20,7 @@ func init() {
{Name: "login", Description: "Login to your Nhost account"},
{Name: "logout", Description: "Logout from your Nhost account"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "--email", Description: "Email address"},
},
})
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "nmap",
Description: "Network exploration tool and security / port scanner",
Options: []core.Option{
Options: []spec.Option{
{Name: "-iR", Description: "Choose random targets"},
{Name: "--exclude", Description: "Excluide hosts/networks"},
{Name: "--excludefile", Description: "Exclude list from file"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "nrm",
Description: "Use the right package manage - remove",
Options: []core.Option{
Options: []spec.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`"},
+4 -4
View File
@@ -1,17 +1,17 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "ns",
Description: "Forces rebuilding the native application",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "next", Description: "The latest development release"},
},
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "nylas",
Description: "A command line interface for Nylas",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "api", Description: "Access the Nylas API endpoints"},
{Name: "a", Description: "A API commands"},
{Name: "accounts", Description: "Accounts commands"},
@@ -60,7 +60,7 @@ func init() {
{Name: "send-rsvp", Description: "Send-Rsvp API commands"},
{Name: "threads", Description: "Threads API commands"},
},
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "oh-my-posh",
Description: "The config file to use",
Subcommands: []core.Subcommand{
Subcommands: []spec.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'"},
@@ -27,7 +27,7 @@ func init() {
{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{
Options: []spec.Option{
{Name: "--config", Description: "The config file to use"},
{Name: "--format", Description: "The file format to use"},
{Name: "--print", Description: "Print the init script"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "okta",
Description: "The Okta CLI is the easiest way to get started with Okta!",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -21,7 +21,7 @@ func init() {
{Name: "help", Description: "Displays help information about the specified command"},
{Name: "generate-completion", Description: "Generate bash/zsh completion script for Okta"},
},
Options: []core.Option{
Options: []spec.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"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "ollama",
Description: "A command-line tool for managing and deploying machine learning models",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "serve", Description: "Start ollama"},
{Name: "create", Description: "Create a model from a Modelfile"},
{Name: "show", Description: "Show information for a model"},
@@ -22,7 +22,7 @@ func init() {
{Name: "rm", Description: "Remove a model"},
{Name: "help", Description: "Help about any command"},
},
Options: []core.Option{
Options: []spec.Option{
{Name: "-f", Description: "Specify Modelfile"},
{Name: "--verbose", Description: "Enable verbose output"},
{Name: "--help", Description: "Show help for ollama"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "omz",
Description: "Oh My Zsh",
Subcommands: []core.Subcommand{
Subcommands: []spec.Subcommand{
{Name: "help", Description: "Print the help message"},
{Name: "changelog", Description: "Print the changelog"},
{Name: "plugin", Description: "Manage plugins"},
+4 -4
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "pac",
Description: "7",
Subcommands: []core.Subcommand{
Subcommands: []spec.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"},
@@ -60,7 +60,7 @@ func init() {
{Name: "update-settings", Description: "Update environment settings"},
{Name: "package", Description: "Commands for working with Dataverse package projects"},
},
Options: []core.Option{
Options: []spec.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"},
+3 -3
View File
@@ -1,14 +1,14 @@
package sys
import (
"github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/spec"
)
func init() {
core.Register(&core.Spec{
spec.Register(&spec.Spec{
Name: "passwd",
Description: "Modify a user",
Options: []core.Option{
Options: []spec.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"},

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