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
+37
View File
@@ -0,0 +1,37 @@
package jvm
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "clojure",
Description: "An alias to refer to its function or a qualified function",
Options: []core.Option{
{Name: "-A", Description: "Use concatenated aliases to modify classpath"},
{Name: "-X", Description: "Invoke tool by name or via aliases ala -X"},
{Name: "-M", Description: "Use concatenated aliases to modify classpath or supply main opts"},
{Name: "-P", Description: "Prepare deps - download libs, cache classpath, but don't exec"},
{Name: "-J", Description: "Pass opt through in java_opts"},
{Name: "-Sdeps", Description: "Pass the deps data on the command line"},
{Name: "-Spath", Description: "Compute classpath and echo to stdout only"},
{Name: "-Scp", Description: "Use specified classpath instead of cached or computed one"},
{Name: "-Sdescribe", Description: "Print environment and command parsing information as data"},
{Name: "-Sforce", Description: "Ignore classpath cache and force recomputation"},
{Name: "-Spom", Description: "Generate (or update) pom.xml with deps and paths"},
{Name: "-Srepro", Description: "Ignore the ~/.clojure/deps.edn config file"},
{Name: "-Sthreads", Description: "Set the number of threads to use when downloading dependencies"},
{Name: "-Strace", Description: "Write a trace.edn file that traces deps expansion"},
{Name: "-Stree", Description: "Print dependency tree"},
{Name: "-Sverbose", Description: "Print all path locations"},
{Name: "-version", Description: "Print the Clojure CLI version"},
{Name: "-i", Description: "Load a file or resource"},
{Name: "-e", Description: "Evaluate expressions in string; print non-nil values"},
{Name: "--report", Description: "Report uncaught exceptions"},
{Name: "-m", Description: "Call the -main function from a namespace with args"},
{Name: "-r", Description: "Run a REPL"},
{Name: "-h", Description: "Show help for clojure"},
},
})
}
+106
View File
@@ -0,0 +1,106 @@
package jvm
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "dart",
Description: "The Dart file containing the main function",
Subcommands: []core.Subcommand{
{Name: "analyze", Description: "Analyze Dart code in a directory"},
{Name: "directory", Description: "Dart project directory to analyze"},
{Name: "compile", Description: "Compile Dart to various formats"},
{Name: "aot-snapshot", Description: "Compile Dart to an AOT snapshot"},
{Name: "exe", Description: "Compile Dart to a self-contained executable"},
{Name: "jit-snapshot", Description: "Compile Dart to a JIT snapshot"},
{Name: "js", Description: "Compile Dart to JavaScript"},
{Name: "kernel", Description: "Compile Dart to a kernel snapshot"},
{Name: "create", Description: "Create a new Dart project"},
{Name: "console", Description: "A simple command-line application"},
{Name: "package", Description: "A starting point for Dart libraries or applications"},
{Name: "server-shelf", Description: "A web server built using package:shelf"},
{Name: "web", Description: "A web app that uses only core Dart libraries"},
{Name: "fix", Description: "Apply automated fixes to Dart source code"},
{Name: "format", Description: "Idiomatically format Dart source code"},
{Name: "json", Description: "Print code and selection as JSON"},
{Name: "none", Description: "Discard output"},
{Name: "show", Description: "Print code to terminal"},
{Name: "write", Description: "Overwrite formatted files on disk"},
{Name: "all", Description: "All visited files and directories"},
{Name: "changed", Description: "Only the names of files whose formatting is changed"},
{Name: "line", Description: "Single-line summary"},
{Name: "profile", Description: "How long it took to format each file"},
{Name: "line-length", Description: "Line length to wrap"},
{Name: "files-or-directory", Description: "The files or directories to format"},
{Name: "migrate", Description: "Perform null safety migration on a project"},
{Name: "pub", Description: "Work with packages"},
{Name: "add", Description: "Add a dependency to pubspec.yaml"},
{Name: "cache", Description: "Work with the Pub system cache"},
{Name: "repair", Description: "Reinstall a cached package"},
{Name: "deps", Description: "Print package dependencies"},
{Name: "downgrade", Description: "Downgrade packages in a Flutter project"},
{Name: "get", Description: "Get packages in a Flutter project"},
{Name: "global", Description: "Work with Pub global packages"},
{Name: "activate", Description: "Make a package's executables globally available"},
{Name: "deactivate", Description: "Remove a previously activated package"},
{Name: "list", Description: "List globally activated packages"},
{Name: "run", Description: "Run an executable from a globally activated package"},
{Name: "login", Description: "Log into pub.dev"},
{Name: "logout", Description: "Log out of pub.dev"},
{Name: "outdated", Description: "Analyze dependencies to find which ones can be upgraded"},
{Name: "publish", Description: "Publish the current package to pub.dartlang.org"},
{Name: "remove", Description: "Removes a dependency from the current package"},
{Name: "upgrade", Description: "Upgrade the current package's dependencies to latest versions"},
{Name: "uploader", Description: "Manage uploaders for a package on pub.dev"},
{Name: "const-functions", Description: "Allow more of the Dart language to be executed in const expressions"},
{Name: "extension-methods", Description: "Extension methods (no-op - enabled by default)"},
{Name: "extension-types", Description: "Extension types"},
{Name: "non-nullable", Description: "Non-nullable by default. (no-op - on by default)"},
{Name: "triple-shift", Description: "Triple-shift operator"},
},
Options: []core.Option{
{Name: "--offline", Description: "Use cached packages instead of accessing the network"},
{Name: "--no-offline", Description: "Do not use cached packages instead of accessing the network"},
{Name: "-n", Description: "Report what dependencies would change but don't change any"},
{Name: "--precompile", Description: "Precompile executables in immediate dependencies"},
{Name: "--no-precompile", Description: "Do not precompile executables in immediate dependencies"},
{Name: "--enable-asserts", Description: "Enable assert statements"},
{Name: "--no-enable-asserts", Description: "Do not enable assert statements"},
{Name: "-D", Description: "Key-value pairs to define in Dart script"},
{Name: "--verbosity", Description: "Sets the verbosity level of the compilation"},
{Name: "-h", Description: "Print this usage information"},
{Name: "-o", Description: "Write the output to <file-name>"},
{Name: "-p", Description: "The path to draw packages from"},
{Name: "--no-sound-null-safety", Description: "Respect the nullability of types at runtime"},
{Name: "-S", Description: "The path to write debugging info to"},
{Name: "-v", Description: "Print verbose output"},
{Name: "--version", Description: "Current Dart version"},
{Name: "--enable-analytics", Description: "Enables analytics"},
{Name: "--disable-analytics", Description: "Disables analytics"},
{Name: "--fatal-infos", Description: "Treat info level issues as fatal"},
{Name: "--fatal-warnings", Description: "Treat warning level issues as fatal (defaults to on)"},
{Name: "--no-fatal-warnings", Description: "Do not treat warning level issues as fatal (defaults to on)"},
{Name: "-m", Description: "Generate minified output"},
{Name: "-t", Description: "The project template to use"},
{Name: "--pub", Description: "Run 'pub get' after the project has been created. Default to on"},
{Name: "--no-pub", Description: "Do not run 'pub get' after the project has been created. Default to on"},
{Name: "--force", Description: "Force project generation, even if the target directory already exists"},
{Name: "--apply", Description: "Apply the proposed changes"},
{Name: "--show", Description: "Set which filenames to print"},
{Name: "--summary", Description: "Show the specified summary after formatting"},
{Name: "--set-exit-if-changed", Description: "Return exist code 1 if there are any formatting changes"},
{Name: "--fix", Description: "Apply all style fixes"},
{Name: "--fix-doc-comments", Description: "Use triple slash for documentation comments"},
{Name: "--fix-function-typedefs", Description: "Use new syntax for function type typedefs"},
{Name: "--fix-named-default-separator", Description: "Use '=' as the separator before named parameter default values"},
{Name: "--fix-optional-const", Description: "Remove 'const' keyword inside constant context"},
{Name: "--fix-optional-new", Description: "Remove 'new' keyword"},
{Name: "-l", Description: "Wrap lines longer than this. Defaults to 80"},
{Name: "-i", Description: "Add this many spaces of leading indentation"},
{Name: "--follow-links", Description: "Follow links to files and directories. If unset, links will be ignored"},
{Name: "--selection", Description: "Track selection (given as 'start:length') through formatting"},
},
})
}
+101
View File
@@ -0,0 +1,101 @@
package jvm
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "flutter",
Description: "Available emulators",
Subcommands: []core.Subcommand{
{Name: "analyze", Description: "Analyze the project's Dart code"},
{Name: "assemble", Description: "Assemble and build Flutter resources"},
{Name: "attach", Description: "Attach to a running app"},
{Name: "bash-completion", Description: "Output command line shell completion setup scripts"},
{Name: "build", Description: "Build an executable app or install bundle"},
{Name: "aar", Description: "Build a repository containing an AAR and a POM file"},
{Name: "apk", Description: "Build an Android APK file from your app"},
{Name: "appbundle", Description: "Build an Android App Bundle file from your app"},
{Name: "bundle", Description: "Build the Flutter assets directory from your app"},
{Name: "ios", Description: "Build an iOS application bundle (Mac OS X host only)"},
{Name: "ipa", Description: "Build an iOS archive bundle (Mac OS X host only)"},
{Name: "web", Description: "Build a web application bundle"},
{Name: "channel", Description: "List or switch Flutter channels"},
{Name: "channel-name", Description: "Switch to <channel name>. Leave this blank to see available channels"},
{Name: "clean", Description: "Delete the build/ and .dart_tool/ directories"},
{Name: "config", Description: "Configure Flutter settings"},
{Name: "create", Description: "Create a new Flutter project"},
{Name: "devices", Description: "List all connected devices"},
{Name: "doctor", Description: "Show information about the installed tooling"},
{Name: "downgrade", Description: "Downgrade Flutter to the last active version for the current channel"},
{Name: "drive", Description: "Run integration tests for the project on an attached device or emulator"},
{Name: "emulators", Description: "List, launch and create emulators"},
{Name: "format", Description: "Format one or more Dart files"},
{Name: "gen-l10n", Description: "Generate localizations for the current project"},
{Name: "install", Description: "Install a Flutter app on an attached device"},
{Name: "logs", Description: "Show log output for running Flutter apps"},
{Name: "pub", Description: "Commands for managing Flutter packages"},
{Name: "add", Description: "Add a dependency to pubspec.yaml"},
{Name: "cache", Description: "Work with the Pub system cache"},
{Name: "deps", Description: "Print package dependencies"},
{Name: "get", Description: "Get packages in a Flutter project"},
{Name: "global", Description: "Work with Pub global packages"},
{Name: "login", Description: "Log into pub.dev"},
{Name: "logout", Description: "Log out of pub.dev"},
{Name: "outdated", Description: "Analyze dependencies to find which ones can be upgraded"},
{Name: "publish", Description: "Publish the current package to pub.dartlang.org"},
{Name: "remove", Description: "Removes a dependency from the current package"},
{Name: "run", Description: "Run an executable from a package"},
{Name: "upgrade", Description: "Upgrade the current package's dependencies to latest versions"},
{Name: "uploader", Description: "Manage uploaders for a package on pub.dev"},
{Name: "version", Description: "Print Pub version"},
{Name: "screenshot", Description: "Take a screenshot from a connected device"},
{Name: "symbolize", Description: "Symbolize a stack trace from an AOT-compiled Flutter app"},
{Name: "file path", Description: "A file path for a symbolized stack trace to be written to"},
{Name: "test", Description: "Run Flutter unit tests for the current project"},
},
Options: []core.Option{
{Name: "-h", Description: "Print this usage information"},
{Name: "-v", Description: "Target device id or name (prefixes allowed)"},
{Name: "--version", Description: "Reports the version of this tool"},
{Name: "--suppress-analytics", Description: "Suppress analytics reporting when this command runs"},
{Name: "--pub", Description: "Run 'flutter pub get' before executing this command"},
{Name: "--no-pub", Description: "Don't run 'flutter pub get' before executing this command"},
{Name: "--current-package", Description: "Analyze the current project, if applicable"},
{Name: "--no-current-package", Description: "Don't analyze the current project, if applicable"},
{Name: "--congratulate", Description: "Treat info level issues as fatal"},
{Name: "--no-fatal-infos", Description: "Don't treat info level issues as fatal"},
{Name: "--fatal-warnings", Description: "Treat warning level issues as fatal"},
{Name: "--no-fatal-warnings", Description: "Don't treat warning level issues as fatal"},
{Name: "--null-assertions", Description: "Exclude the assets bundle for build testing"},
{Name: "--uninstall-only", Description: "Uninstall the app if already on the device. Skip install"},
{Name: "--no-uninstall-only", Description: "Don't generate the Dart localization file with locales imported as deferred"},
{Name: "--synthetic-package", Description: "Start in a paused mode and wait for a debugger to connect"},
{Name: "--no-start-paused", Description: "When performing operations, overwrite existing files"},
{Name: "--no-overwrite", Description: "Enable reporting anonymously tool usage statistics and crash reports"},
{Name: "--no-analytics", Description: "Disable reporting anonymously tool usage statistics and crash reports"},
{Name: "--enable-web", Description: "Enable Flutter for Fuchsia. This setting will take effect on the master channel"},
{Name: "--no-enable-fuchsia", Description: "Disable Flutter for Fuchsia. This setting will take effect on the master channel"},
{Name: "--profile", Description: "Build a version of your app specialized for performance profiling"},
{Name: "-t", Description: "Build a release version of your app"},
{Name: "--flavor", Description: "Trace application startup, then exit, saving the trace to a file"},
{Name: "--verbose-system-logs", Description: "Include verbose logging from the flutter engine"},
{Name: "--cache-sksl", Description: "Only cache the shader in SkSL instead of binary or GLSL"},
{Name: "--vmservice-out-file", Description: "Run flutter command"},
{Name: "--watch", Description: "Run analysis continuously, watching the filesystem for changes"},
{Name: "--write", Description: "Assemble and build Flutter resources"},
{Name: "-d", Description: "Allows passing configuration to a target with --define=target=key=value"},
{Name: "-i", Description: "Treat warning level issues as fatal"},
{Name: "--depfile", Description: "The maximum number of concurrent tasks the build system will run"},
{Name: "--debug-uri", Description: "The URI at which the observatory is listening"},
{Name: "--app-id", Description: "Output command line shell completion setup scripts"},
{Name: "--clear-ios-signing-cert", Description: "The Android SDK directory"},
{Name: "--android-studio-dir", Description: "The Android Studio install directory"},
{Name: "--build-dir", Description: "The relative path to override a projects build directory"},
{Name: "--clear-features", Description: "Remove all configured features and restore them to the default values"},
{Name: "--description", Description: "[objc, swift (default)]"},
{Name: "-a", Description: "[java, kotlin (default)]"},
},
})
}
+44
View File
@@ -0,0 +1,44 @@
package jvm
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "fvm",
Description: "Print this usage information",
Subcommands: []core.Subcommand{
{Name: "config", Description: "Set configuration for FVM"},
{Name: "path", Description: "Path to the Flutter versions cache"},
{Name: "dart", Description: "Proxies Dart commands"},
{Name: "doctor", Description: "Shows information about environment, and project configuration"},
{Name: "flavor", Description: "Switches between different project flavors"},
{Name: "flavor-name", Description: "The flavor to switch to"},
{Name: "flutter", Description: "Proxies Flutter commands"},
{Name: "global", Description: "Sets Flutter SDK version as global"},
{Name: "version", Description: "Flutter SDK to set for global flutter command"},
{Name: "install", Description: "Installs Flutter SDK version"},
{Name: "stable", Description: "Latest stable release of Flutter"},
{Name: "beta", Description: "Latest beta release of Flutter"},
{Name: "dev", Description: "Latest dev release of Flutter (master)"},
{Name: "list", Description: "Lists installed Flutter SDK versions"},
{Name: "releases", Description: "View all Flutter SDK releases available for install"},
{Name: "remove", Description: "Removes Flutter SDK version"},
{Name: "spawn", Description: "Spawn a Flutter SDK version command"},
{Name: "use", Description: "Sets a Flutter SDK version to be used in a project"},
},
Options: []core.Option{
{Name: "-h", Description: "Print this usage information"},
{Name: "--verbose", Description: "Print verbose output"},
{Name: "--version", Description: "Current FVM version"},
{Name: "-c", Description: "Set the path which FVM will cache the version. Priority over FVM_HOME"},
{Name: "-s", Description: "Skip setup after a version install"},
{Name: "-g", Description: "ADVANCED: Will cache a local version of Flutter repo for faster version install"},
{Name: "--force", Description: "Skips version global check"},
{Name: "-f", Description: "Skips command guards that does Flutter project checks"},
{Name: "-p", Description: "If version provided is a channel. Will pin the latest release of the channel"},
{Name: "--flavor", Description: "Sets version for a project flavor"},
},
})
}
+58
View File
@@ -0,0 +1,58 @@
package jvm
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "gradle",
Description: "Log all warnings",
Subcommands: []core.Subcommand{
{Name: "build", Description: "Compute all outputs"},
{Name: "run", Description: "Run applications"},
{Name: "check", Description: "Run all checks"},
{Name: "clean", Description: "Clear the contents of the build directory"},
{Name: "projects", Description: "List of all sub-projects"},
{Name: "tasks", Description: "List of main tasks of the selected project"},
{Name: "help", Description: "Display task usage information"},
{Name: "buildEnvironment", Description: "Visualises the buildscript dependencies of the selected project"},
{Name: "properties", Description: "Gives you a list of the properties of the selected project"},
{Name: "init", Description: "Create new Gradle builds, with new or existing projects"},
{Name: "test", Description: "Run a test task"},
},
Options: []core.Option{
{Name: "-?", Description: "Shows a help message with all available CLI options"},
{Name: "-v", Description: "Prints Gradle, Groovy, Ant, JVM, and operating system version information"},
{Name: "-S", Description: "Print out the full (very verbose) stacktrace for any exceptions"},
{Name: "-s", Description: "Print out the stacktrace also for user exceptions (e.g. compile error)"},
{Name: "--scan", Description: "Debug Gradle Daemon process"},
{Name: "--build-cache", Description: "Disables --parallel"},
{Name: "--priority", Description: "Generate a build scan with detailed performance diagnostics"},
{Name: "--watch-fs", Description: "Disables --daemon"},
{Name: "--foreground", Description: "Starts the Gradle Daemon in a foreground process"},
{Name: "-q", Description: "Log errors only"},
{Name: "-w", Description: "Set log level to warn"},
{Name: "-i", Description: "Set log level to info"},
{Name: "-d", Description: "Log in debug mode (includes normal stacktrace)"},
{Name: "--console", Description: "Specifies which type of console output to generate"},
{Name: "--warning-mode", Description: "Specifies how to log warning"},
{Name: "--include-build", Description: "Run the build as a composite, including the specified build"},
{Name: "--offline", Description: "Specifies that the build should operate without accessing network resources"},
{Name: "--refresh-dependencies", Description: "Refresh the state of dependencies"},
{Name: "--dry-run", Description: "Specifies the build file. For example: gradle --build-file=foo.gradle"},
{Name: "-c", Description: "Specifies the start directory for Gradle"},
{Name: "--project-cache-dir", Description: "Sets a system property of the JVM, for example -Dmyprop=myvalue"},
{Name: "-I", Description: "Specifies an initialization script"},
{Name: "-P", Description: "Sets a project property of the root project, for example -Pmyprop=myvalue"},
{Name: "--all", Description: "Display task usage information"},
{Name: "--task", Description: "Visualises the buildscript dependencies of the selected project"},
{Name: "--status", Description: "(Standalone command) Stop all Gradle Daemons of the same version"},
{Name: "--type", Description: "Specify project type"},
{Name: "--gradle-version", Description: "The Gradle version used for downloading and executing the Wrapper"},
{Name: "--distribution-type", Description: "The Gradle distribution type used for the Wrapper"},
{Name: "--gradle-distribution-url", Description: "The full URL pointing to Gradle distribution ZIP file"},
{Name: "--continuous", Description: "This will force test and all task dependencies of test to execute"},
},
})
}
+52
View File
@@ -0,0 +1,52 @@
package jvm
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "jenv",
Description: "Executable file",
Subcommands: []core.Subcommand{
{Name: "commands", Description: "List all available JEnv commands"},
{Name: "help", Description: "Parses and displays help contents from a command's source file"},
{Name: "info", Description: "Show information about which command will be executed"},
{Name: "enable-plugin", Description: "Activate a jEnv plugin"},
{Name: "pluginName", Description: "Plugin Name"},
{Name: "disable-plugin", Description: "Deactivate a jEnv plugin"},
{Name: "doctor", Description: "Run jEnv diagnostics"},
{Name: "global", Description: "Sets the global Java version"},
{Name: "global-options", Description: "Sets the global Java options"},
{Name: "local-options", Description: "Sets the local application-specific Java options"},
{Name: "shell", Description: "Sets a shell-specific Java version by setting the `JENV_VERSION'"},
{Name: "shell-options", Description: "Sets the shell-specific Java options"},
{Name: "hooks", Description: "List hook scripts for a given jenv command"},
{Name: "init", Description: "Configure the shell environment for jenv"},
{Name: "javahome", Description: "Display path to selected JAVA_HOME"},
{Name: "options", Description: "Show the current Java options"},
{Name: "options-file", Description: "Detect the file that sets the current jenv jvm options"},
{Name: "options-file-read", Description: "Read options from file"},
{Name: "options-file-write", Description: "Write options to a file"},
{Name: "prefix", Description: "Displays the directory where a Java version is installed"},
{Name: "refresh-plugins", Description: "Refresh plugins links"},
{Name: "refresh-versions", Description: "Refresh alias names"},
{Name: "rehash", Description: "Rehash jenv shims (run this after installing executables)"},
{Name: "remove", Description: "Remove JDK installations"},
{Name: "root", Description: "Display the root directory where versions and shims are kept"},
{Name: "shims", Description: "List existing jenv shims"},
{Name: "version", Description: "Shows the currently selected Java version and how it was selected"},
{Name: "versions", Description: "Lists all Java versions found in `$JENV_ROOT/versions/*'"},
{Name: "whence", Description: "List all Java versions that contain the given executable"},
},
Options: []core.Option{
{Name: "--usage", Description: "Show information about which command will be executed"},
{Name: "--unset", Description: "Remove local jEnv settings"},
{Name: "--short", Description: "Show only files without path"},
{Name: "--bare", Description: "Display only version"},
{Name: "--verbose", Description: "Display verbose output"},
{Name: "--path", Description: "Show help for jEnv"},
{Name: "--version", Description: "Show version for jEnv"},
},
})
}
+41
View File
@@ -0,0 +1,41 @@
package jvm
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "jmeter",
Description: "Apache JMeter - 100% Java Load Testing Tool",
Options: []core.Option{
{Name: "-v", Description: "Print the JMeter version information and exit"},
{Name: "-h", Description: "Print usage information and exit"},
{Name: "-p", Description: "The jmeter property file to use"},
{Name: "-q", Description: "Additional JMeter property file(s)"},
{Name: "-t", Description: "The file to log samples to"},
{Name: "-i", Description: "JMeter logging configuration file"},
{Name: "-j", Description: "JMeter run log file"},
{Name: "-n", Description: "Run JMeter in nongui mode"},
{Name: "-s", Description: "Run the JMeter server"},
{Name: "-E", Description: "Set a proxy scheme to use for the proxy server"},
{Name: "-H", Description: "Set a proxy server for JMeter to use"},
{Name: "-P", Description: "Set proxy server port for JMeter to use"},
{Name: "-N", Description: "Set nonproxy host list (e.g. *.apache.org|localhost)"},
{Name: "-u", Description: "Set username for proxy server that JMeter is to use"},
{Name: "-a", Description: "Set password for proxy server that JMeter is to use"},
{Name: "-J", Description: "Define additional JMeter properties <argument>=<value>"},
{Name: "-G", Description: "Define additional system properties <argument>=<value>"},
{Name: "-S", Description: "Additional system property file(s)"},
{Name: "-f", Description: "Force delete existing results files and web report folder"},
{Name: "-L", Description: "[category=]level e.g. jorphan=INFO, jmeter.util=DEBUG or com.example.foo=WARN"},
{Name: "-r", Description: "Start remote servers (as defined in remote_hosts)"},
{Name: "-R", Description: "Start these remote servers (overrides remote_hosts)"},
{Name: "-d", Description: "The JMeter home directory to use"},
{Name: "-X", Description: "Exit the remote servers at end of test (non-GUI)"},
{Name: "-g", Description: "Generate report dashboard only, from a test results file"},
{Name: "-e", Description: "Generate report dashboard after load test"},
{Name: "-o", Description: "Output folder for report dashboard"},
},
})
}
+19
View File
@@ -0,0 +1,19 @@
package jvm
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "kdoctor",
Description: "Report a version of KDoctor",
Options: []core.Option{
{Name: "--version", Description: "Report a version of KDoctor"},
{Name: "--verbose", Description: "Report an extended information"},
{Name: "--all", Description: "Run extra diagnostics"},
{Name: "--team-ids", Description: "Report all available Apple dev team ids"},
{Name: "--help", Description: "Usage info"},
},
})
}
+54
View File
@@ -0,0 +1,54 @@
package jvm
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "keytool",
Description: "Show help message",
Options: []core.Option{
{Name: "-h", Description: "Show help message"},
{Name: "-v", Description: "Verbose output"},
{Name: "-alias", Description: "Alias name of the entry to process"},
{Name: "-keystore", Description: "Keystore name"},
{Name: "-storepass", Description: "Keystore password"},
{Name: "-storetype", Description: "Keystore type"},
{Name: "-providername", Description: "Provider name"},
{Name: "-addprovider", Description: "Add security provider by name (e.g. SunPKCS11)"},
{Name: "-providerclass", Description: "Add security provider by fully-qualified class name"},
{Name: "-providerarg", Description: "Configure argument for -addprovider or -providerclass"},
{Name: "-providerpath", Description: "Provider classpath"},
{Name: "-protected", Description: "Password through protected mechanism"},
{Name: "-conf", Description: "Specify pre-configured options file"},
{Name: "-certreq", Description: "Generates a certificate request"},
{Name: "-sigalg", Description: "Signature algorithm name"},
{Name: "-file", Description: "Output file name"},
{Name: "-keypass", Description: "Key password"},
{Name: "-dname", Description: "Distinguished name"},
{Name: "-ext", Description: "X.509 extension"},
{Name: "-changealias", Description: "Changes an entry's alias"},
{Name: "-destalias", Description: "Destination alias"},
{Name: "-cacerts", Description: "Access the cacerts keystore"},
{Name: "-delete", Description: "Deletes an entry"},
{Name: "-exportcert", Description: "Exports certificate"},
{Name: "-rfc", Description: "Output in RFC style"},
{Name: "-genkeypair", Description: "Generate a key pair"},
{Name: "-keyalg", Description: "Key algorithm name"},
{Name: "-keysize", Description: "Key bit size"},
{Name: "-groupname", Description: "Group name. For example, an Elliptic Curve name"},
{Name: "-startdate", Description: "Certificate validity start date/time"},
{Name: "-validity", Description: "Validity number of days"},
{Name: "-genseckey", Description: "Generates a secret key"},
{Name: "-gencert", Description: "Generates certificate from a certificate request"},
{Name: "-infile", Description: "Input file name"},
{Name: "-outfile", Description: "Output file name"},
{Name: "-importcert", Description: "Imports a certificate or a certificate chain"},
{Name: "-noprompt", Description: "Do not prompt"},
{Name: "-trustcacerts", Description: "Trust certificates from cacerts"},
{Name: "-importpass", Description: "Imports a password"},
{Name: "-importkeystore", Description: "Imports one or all entries from another keystore"},
},
})
}
+53
View File
@@ -0,0 +1,53 @@
package jvm
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "mvn",
Description: "Maven - a Java based project management and comprehension tool",
Options: []core.Option{
{Name: "--also-make", Description: "Also build projects required by project list"},
{Name: "--also-make-dependents", Description: "Also build projects that depend on projects in the project list"},
{Name: "--batch-mode", Description: "Run in non-interactive (batch)"},
{Name: "--builder", Description: "Specify the build strategy to use"},
{Name: "--strict-checksums", Description: "Fail if checksums do not match"},
{Name: "--lax-checksums", Description: "Warn if checksums do not match"},
{Name: "--color", Description: "Specify the color mode of the output"},
{Name: "--check-plugin-updates", Description: "Ineffective. Only kept for backward compatibility"},
{Name: "--define", Description: "Define a system property"},
{Name: "--errors", Description: "Produce execution error messages"},
{Name: "--encrypt-master-password", Description: "Encrypt the master security password"},
{Name: "--encrypt-password", Description: "Encrypt the server password"},
{Name: "--file", Description: "Force the use of an alternate POM file (or directory with pom.xml)"},
{Name: "--fail-at-end", Description: "Only fail the build afterwards; allow all non-impacted builds to continue"},
{Name: "--fail-fast", Description: "Stop at first failure in reactorized builds"},
{Name: "--fail-never", Description: "Never fail the build, regardless of project result"},
{Name: "--global-settings", Description: "Specify the global settings file to use"},
{Name: "--global-toolchains", Description: "Specify the global toolchains file to use"},
{Name: "--help", Description: "Display help information"},
{Name: "--log-file", Description: "Specify the file to log to"},
{Name: "--legacy-local-repository", Description: "Use the Maven2 legacy local repository behaviour"},
{Name: "--non-recursive", Description: "Do not recurse into sub-projects"},
{Name: "--no-plugin-registry", Description: "Ineffective. Only kept for backward compatibility"},
{Name: "--no-plugin-updates", Description: "Ineffective. Only kept for backward compatibility"},
{Name: "--no-snapshot-updates", Description: "Suppress SNAPSHOT updates"},
{Name: "--no-transfer-progress", Description: "Do not display transfer progress when downloading or uploading"},
{Name: "--offline", Description: "Work offline"},
{Name: "--activate-profiles", Description: "Activate the specified profiles (comma delimited)"},
{Name: "--projects", Description: "Specify the projects to build"},
{Name: "--quiet", Description: "Quiet output - only shows errors"},
{Name: "--resume-from", Description: "Resume from the specified project"},
{Name: "--settings", Description: "Specify the user settings file to use"},
{Name: "--toolchains", Description: "Specify the toolchains file to use"},
{Name: "--threads", Description: "Specify the number of threads to use"},
{Name: "--update-snapshots", Description: "Forces a check for missing releases and updated snapshots on remote repositories"},
{Name: "--update-plugins", Description: "Ineffective. Only kept for backward compatibility"},
{Name: "--version", Description: "Display version information"},
{Name: "--show-version", Description: "Display version information"},
{Name: "--debug", Description: "Produce execution debug output"},
},
})
}
+44
View File
@@ -0,0 +1,44 @@
package jvm
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "spring",
Description: "Initialize a new project using Spring Initializr",
Subcommands: []core.Subcommand{
{Name: "init", Description: "Initialize a new project using Spring Initializr"},
{Name: "gradle-build", Description: "Generate a Gradle build file"},
{Name: "gradle-project", Description: "Generate a Gradle based project archive using the Groovy DSL"},
{Name: "gradle-project-kotlin", Description: "Generate a Gradle based project archive using the Kotlin DSL"},
{Name: "maven-build", Description: "Generate a Maven pom.xml"},
{Name: "maven-project", Description: "Generate a Maven based project archive"},
{Name: "encodepassword", Description: "Encode a password for use with Spring Security"},
{Name: "shell", Description: "Start a nested shell"},
{Name: "help", Description: "Show help for other commands"},
},
Options: []core.Option{
{Name: "-a", Description: "Project coordinates"},
{Name: "-b", Description: "Spring Boot version"},
{Name: "--build", Description: "Build system to use"},
{Name: "-d", Description: "Project description"},
{Name: "-f", Description: "Force overwrite of existing files"},
{Name: "--format", Description: "Format of the generated content"},
{Name: "-g", Description: "Project coordinates"},
{Name: "-j", Description: "Language level"},
{Name: "--list", Description: "List the capabilities of the service"},
{Name: "-n", Description: "Project name"},
{Name: "-p", Description: "Project packaging"},
{Name: "--package-name", Description: "Package name"},
{Name: "-t", Description: "Project type"},
{Name: "--target", Description: "URL of the service to use"},
{Name: "-v", Description: "Project version"},
{Name: "-x", Description: "Encode a password for use with Spring Security"},
{Name: "--help", Description: "Show help for spring"},
{Name: "--version", Description: "Get spring CLI version"},
{Name: "--debug", Description: "Print additional status information for the command you are running"},
},
})
}