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:
@@ -0,0 +1,42 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "amplify",
|
||||
Description: "Environment",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "push", Description: "Provisions cloud resources with the latest local developments"},
|
||||
{Name: "delete", Description: "Deletes all of the resources tied to the project from the cloud"},
|
||||
{Name: "add", Description: "Adds a resource for an Amplify category in your local backend"},
|
||||
{Name: "update", Description: "Update resource for an Amplify category in your local backend"},
|
||||
{Name: "remove", Description: "Removes a resource for an Amplify category in your local backend"},
|
||||
{Name: "upgrade", Description: "Download and install the latest version of the Amplify CLI"},
|
||||
{Name: "migrate", Description: "Migrates GraphQL schemas to the latest GraphQL transformer version"},
|
||||
{Name: "override", Description: "Generates overrides file to apply custom modifications to CloudFormation"},
|
||||
{Name: "mock", Description: "Run mock server for testing categories locally"},
|
||||
{Name: "console", Description: "Opens the web console for the selected cloud resource"},
|
||||
{Name: "logout", Description: "If using temporary cloud provider credentials, this logs out of the account"},
|
||||
{Name: "env", Description: "Display all commands available for new Amplify project"},
|
||||
{Name: "pull", Description: "Pulls the current env from the cloud"},
|
||||
{Name: "checkout", Description: "Switches to selected environment"},
|
||||
{Name: "env-name", Description: "Env name"},
|
||||
{Name: "list", Description: "Displays a list of all the environments"},
|
||||
{Name: "get", Description: "Displays the environment details"},
|
||||
{Name: "import", Description: "Imports an environment"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-y", Description: "Answer all question as 'Yes'"},
|
||||
{Name: "-v", Description: "Deletes all of the resources tied to the project from the cloud"},
|
||||
{Name: "--restore", Description: "Overwrite your local changes"},
|
||||
{Name: "--details", Description: "See more details"},
|
||||
{Name: "--json", Description: "Format the output"},
|
||||
{Name: "--name", Description: "Mandatory flag"},
|
||||
{Name: "--config", Description: "Specify provider configs"},
|
||||
{Name: "--awsInfo", Description: "Specify AWS configs"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "ampx",
|
||||
Description: "CLI for Amplify Gen 2",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "sandbox", Description: "Deploy to your personal cloud sandbox"},
|
||||
{Name: "delete", Description: "Delete your personal cloud sandbox"},
|
||||
{Name: "secret", Description: "Manage backend secrets for your personal cloud sandbox"},
|
||||
{Name: "set", Description: "Set a secret"},
|
||||
{Name: "remove", Description: "Remove a secret"},
|
||||
{Name: "list", Description: "List all available secrets"},
|
||||
{Name: "get", Description: "View details of a secret"},
|
||||
{Name: "generate", Description: "Generate supplemental information or code"},
|
||||
{Name: "outputs", Description: "Generate backend outputs file"},
|
||||
{Name: "graphql-client-code", Description: "Generate GraphQL statements and types"},
|
||||
{Name: "forms", Description: "Generate React form components"},
|
||||
{Name: "info", Description: "Generate system information for troubleshooting"},
|
||||
{Name: "pipeline-deploy", Description: "Deploy Amplify project in a CI/CD pipeline"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--dir-to-watch", Description: "Directory to watch for file changes"},
|
||||
{Name: "--exclude", Description: "Paths or glob patterns to ignore"},
|
||||
{Name: "--identifier", Description: "Name to distinguish between sandbox environments"},
|
||||
{Name: "--outputs-out-dir", Description: "Directory where client config file is written"},
|
||||
{Name: "--outputs-format", Description: "Format of the client config file"},
|
||||
{Name: "--outputs-version", Description: "Version of the configuration"},
|
||||
{Name: "--profile", Description: "AWS profile name"},
|
||||
{Name: "--stream-function-logs", Description: "Stream function execution logs"},
|
||||
{Name: "--logs-filter", Description: "Regex pattern to filter logs"},
|
||||
{Name: "--logs-out-file", Description: "File to append streaming logs"},
|
||||
{Name: "--name", Description: "Name to distinguish between sandbox environments"},
|
||||
{Name: "-y", Description: "Do not ask for confirmation before deleting"},
|
||||
{Name: "--format", Description: "Format of the configuration"},
|
||||
{Name: "--out-dir", Description: "Directory where config is written"},
|
||||
{Name: "--branch", Description: "Git branch name"},
|
||||
{Name: "--app-id", Description: "Amplify App ID"},
|
||||
{Name: "--out", Description: "Directory where config is written"},
|
||||
{Name: "--model-target", Description: "Modelgen export target"},
|
||||
{Name: "--statement-target", Description: "Graphql codegen statement export target"},
|
||||
{Name: "--type-target", Description: "Graphql-codegen type export target"},
|
||||
{Name: "--all", Description: "Show hidden options"},
|
||||
{Name: "--debug", Description: "Print debug logs to the console"},
|
||||
{Name: "--statement-max-depth", Description: "Maximum depth of the generated GraphQL statements"},
|
||||
{Name: "--models", Description: "Model names to generate"},
|
||||
{Name: "--stack", Description: "CloudFormation stack name"},
|
||||
{Name: "--help", Description: "Display help information"},
|
||||
{Name: "--version", Description: "Display version information"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "ansible",
|
||||
Description: "Define and run a single Ansible task",
|
||||
Options: []core.Option{
|
||||
{Name: "--ask-vault-pass", Description: "Ask for vault password"},
|
||||
{Name: "--list-hosts", Description: "Outputs a list of matching hosts; does not execute"},
|
||||
{Name: "--playbook-dir", Description: "Perform a syntax check on the playbook, but do not execute it"},
|
||||
{Name: "--vault-id", Description: "Specify the vault identity to use"},
|
||||
{Name: "--vault-password-file", Description: "Specify a vault password file"},
|
||||
{Name: "--version", Description: "Run asynchronously, failing after specified seconds"},
|
||||
{Name: "--check", Description: "When changing (small) files and templates, show the differences in those files"},
|
||||
{Name: "--module-path", Description: "Prepend colon-separated path(s) to module library"},
|
||||
{Name: "--poll", Description: "Set the poll interval if using -B"},
|
||||
{Name: "--args", Description: "Specify module arguments"},
|
||||
{Name: "--extra-vars", Description: "Set additional variables as key=value or YAML/JSON, if filename prepend with @"},
|
||||
{Name: "--forks", Description: "Specify number of parallel processes to use"},
|
||||
{Name: "--help", Description: "Show help for ansible"},
|
||||
{Name: "--inventory", Description: "Specify inventory host path or comma separated host list"},
|
||||
{Name: "--limit", Description: "Limit selected hosts to an additional pattern"},
|
||||
{Name: "--module-name", Description: "Specify the module name to execute"},
|
||||
{Name: "--one-line", Description: "Condense output"},
|
||||
{Name: "--tree", Description: "Log output to specific directory"},
|
||||
{Name: "--verbose", Description: "Enable verbose mode"},
|
||||
{Name: "-vvv", Description: "Enable very verbose mode"},
|
||||
{Name: "-vvvv", Description: "Enable connection debug mode"},
|
||||
{Name: "--become-method", Description: "Privilege escalation method to use"},
|
||||
{Name: "--become-user", Description: "Privilege escalation user to use"},
|
||||
{Name: "--ask-become-pass", Description: "Prompt for privilege escalation password"},
|
||||
{Name: "--become", Description: "Run operations with become"},
|
||||
{Name: "--private-key", Description: "Use this fole to authenticate the connection"},
|
||||
{Name: "--scp-extra-args", Description: "Extra arguments to pass to (only) scp"},
|
||||
{Name: "--sftp-extra-args", Description: "Extra arguments to pass to (only) sftp"},
|
||||
{Name: "-ssh-extra-args", Description: "Extra arguments to pass to (only) ssh"},
|
||||
{Name: "--ssh-common-args", Description: "Extra arguments to pass to sftp/scp/ssh"},
|
||||
{Name: "--timeout", Description: "Override the connection timeout in seconds"},
|
||||
{Name: "--connection", Description: "Connection type to use"},
|
||||
{Name: "--ask-pass", Description: "Ask for connection password"},
|
||||
{Name: "--user", Description: "Connect as this user"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "ansible-config",
|
||||
Description: "View ansible configuration",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "list", Description: "List and output available configs"},
|
||||
{Name: "CONFIG_FILE", Description: "Path to configuration file"},
|
||||
{Name: "TYPE", Description: "Plugin type"},
|
||||
{Name: "args", Description: "Specific plugin to target, requires type of plugin to be set"},
|
||||
{Name: "dump", Description: "Shows the current settings, merges ansible.cfg if specified"},
|
||||
{Name: "view", Description: "Displays the current config file"},
|
||||
{Name: "init", Description: "Initializes a new config file (to stdout)"},
|
||||
{Name: "FORMAT", Description: "Output format"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--help", Description: "Show help and exit"},
|
||||
{Name: "--verbose", Description: "Verbose mode (-vvv for more, -vvvv to enable connection debugging)"},
|
||||
{Name: "-v", Description: "Verbose mode (-vvv for more, -vvvv to enable connection debugging)"},
|
||||
{Name: "--config", Description: "Path to configuration file, defaults to first file found in precedence"},
|
||||
{Name: "--type", Description: "Filter down to a specific plugin type"},
|
||||
{Name: "--only-changed", Description: "Only show configurations that have changed from the default"},
|
||||
{Name: "--disabled", Description: "Prefixes all entries with a comment character to disable them"},
|
||||
{Name: "--format", Description: "Output format for init"},
|
||||
{Name: "--version", Description: "Show help and exit"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "ansible-doc",
|
||||
Description: "Displays information on modules installed in Ansible libraries",
|
||||
Options: []core.Option{
|
||||
{Name: "--metadata-dump", Description: "For internal testing only Dump json metadata for all plugins"},
|
||||
{Name: "--playbook-dir", Description: "Sets the relative path for many features including roles/ group_vars/ etc"},
|
||||
{Name: "--version", Description: "Show plugin names and their source files without summaries (implies --list)"},
|
||||
{Name: "--module-path", Description: "Prepend colon-separated path(s) to module library"},
|
||||
{Name: "--entry-point", Description: "Select the entry point for role(s)"},
|
||||
{Name: "--help", Description: "Show help and exit"},
|
||||
{Name: "--json", Description: "Change output into json format"},
|
||||
{Name: "--list", Description: "The path to the directory containing your roles"},
|
||||
{Name: "--snippet", Description: "Show playbook snippet for these plugin types: inventory, lookup, module"},
|
||||
{Name: "--type", Description: "Verbose mode (-vvv for more, -vvvv to enable connection debugging)"},
|
||||
{Name: "-v", Description: "Verbose mode (-vvv for more, -vvvv to enable connection debugging)"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "ansible-galaxy",
|
||||
Description: "The Galaxy API server URL",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "collection", Description: "Operate on collections"},
|
||||
{Name: "download", Description: "Download collections"},
|
||||
{Name: "init", Description: "Initialize collections"},
|
||||
{Name: "collection_name", Description: "Name of the collection"},
|
||||
{Name: "build", Description: "Build collections"},
|
||||
{Name: "publish", Description: "Publish collections"},
|
||||
{Name: "collection_path", Description: "The path to the collection tarball to publish"},
|
||||
{Name: "list", Description: "List collections"},
|
||||
{Name: "verify", Description: "Verify collections"},
|
||||
{Name: "role", Description: "Operate on roles"},
|
||||
{Name: "role_name", Description: "Name of the role"},
|
||||
{Name: "remove", Description: "Remove roles"},
|
||||
{Name: "search", Description: "Search roles"},
|
||||
{Name: "searchterm", Description: "Search terms"},
|
||||
{Name: "import", Description: "Import roles"},
|
||||
{Name: "github_user", Description: "GitHub username"},
|
||||
{Name: "github_repo", Description: "GitHub repository"},
|
||||
{Name: "setup", Description: "Set up roles"},
|
||||
{Name: "info", Description: "Role information"},
|
||||
{Name: "install", Description: "Install roles"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--server", Description: "The Galaxy API server URL"},
|
||||
{Name: "--token", Description: "Ignore SSL certificate validation errors"},
|
||||
{Name: "--clear-response-cache", Description: "Clear the existing server response cache"},
|
||||
{Name: "--no-cache", Description: "Do not use the server response cache"},
|
||||
{Name: "--no-deps", Description: "Don't download collection(s) listed as dependencies"},
|
||||
{Name: "--download-path", Description: "The directory to download the collections to"},
|
||||
{Name: "--requirements-file", Description: "A file containing a list of collections to be downloaded"},
|
||||
{Name: "--pre", Description: "Include pre-release versions"},
|
||||
{Name: "--force", Description: "Force overwriting an existing role or collection"},
|
||||
{Name: "--init-path", Description: "The path in which the skeleton collection will be created"},
|
||||
{Name: "--collection-skeleton", Description: "The path to a collection skeleton that the new collection should be based upon"},
|
||||
{Name: "--output-path", Description: "The path in which the collection is built to"},
|
||||
{Name: "--no-wait", Description: "Don't wait for import validation results"},
|
||||
{Name: "--import-timeout", Description: "The time to wait for the collection import process to finish"},
|
||||
{Name: "--collections-path", Description: "Format to display the list of collections in"},
|
||||
{Name: "--offline", Description: "Don't query the galaxy API when creating roles"},
|
||||
{Name: "--role-skeleton", Description: "The path in which the skeleton role will be created"},
|
||||
{Name: "--type", Description: "Initialize using an alternate role type"},
|
||||
{Name: "--roles-path", Description: "The path to the directory containing your roles"},
|
||||
{Name: "--platforms", Description: "List of OS platforms to filter by"},
|
||||
{Name: "--galaxy-tags", Description: "List of Galaxy tags to filter by"},
|
||||
{Name: "--author", Description: "GitHub username"},
|
||||
{Name: "--branch", Description: "The name the role should have, if different than the repo name"},
|
||||
{Name: "--status", Description: "The path to the directory containing your roles"},
|
||||
{Name: "--remove", Description: "List all of your integrations"},
|
||||
{Name: "--force-with-deps", Description: "Force overwriting an existing role and its dependencies"},
|
||||
{Name: "--keep-scm-meta", Description: "Use tar instead of the scm archive option when packaging the role"},
|
||||
{Name: "--help", Description: "Show help and exit"},
|
||||
{Name: "--verbose", Description: "Verbose mode (-vvv for more, -vvvv to enable connection debugging)"},
|
||||
{Name: "-v", Description: "Verbose mode (-vvv for more, -vvvv to enable connection debugging)"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "ansible-lint",
|
||||
Description: "Ansible static code analysis",
|
||||
Options: []core.Option{
|
||||
{Name: "-f", Description: "Ansible static code analysis"},
|
||||
{Name: "--help", Description: "Show help for ansible-lint"},
|
||||
{Name: "--list-rules", Description: "List all the rules"},
|
||||
{Name: "--list-tags", Description: "List all the tags and the rules they cover"},
|
||||
{Name: "--format", Description: "Stdout formatting"},
|
||||
{Name: "-q", Description: "Quieter, reduce verbosity, can be specified twice"},
|
||||
{Name: "-p", Description: "Parseable output, same as '-f pep8'"},
|
||||
{Name: "--progressive", Description: "Specify custom rule directories"},
|
||||
{Name: "-R", Description: "Keep using embedded rules when using '-r'"},
|
||||
{Name: "--write", Description: "Allow ansible-lint to reformat YAML files and run rule transforms"},
|
||||
{Name: "--show-relpath", Description: "Display path relative to CWD"},
|
||||
{Name: "--tags", Description: "Only check rules whose id/tags match these values"},
|
||||
{Name: "-v", Description: "Increase verbosity level (-vv for more)"},
|
||||
{Name: "--skip-list", Description: "Only check rules whose id/tags do not match these values"},
|
||||
{Name: "--warn-list", Description: "Activate optional rules by their tag name"},
|
||||
{Name: "--nocolor", Description: "Disable colored output, same as NO_COLOR=1"},
|
||||
{Name: "--force-color", Description: "Force colored output, same as FORCE_COLOR=1"},
|
||||
{Name: "--exclude-paths", Description: "Path to directories or files to skip. This option is repeatable"},
|
||||
{Name: "--config-file", Description: "Disable installation of requirements.yml"},
|
||||
{Name: "--version", Description: "Show version of ansible-lint"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "ansible-playbook",
|
||||
Description: "Runs Ansible playbooks, executing the defined tasks on the targeted hosts",
|
||||
Options: []core.Option{
|
||||
{Name: "--ask-vault-pass", Description: "Ask for vault password"},
|
||||
{Name: "--flush-cache", Description: "Clears the fact cache for every host in inventory"},
|
||||
{Name: "--force-handlers", Description: "Run handlers even if a task fails"},
|
||||
{Name: "--list-hosts", Description: "Outputs a list of matching hosts; does not execute"},
|
||||
{Name: "--list-tags", Description: "List all available tags"},
|
||||
{Name: "--list-tasks", Description: "List all tasks that would be executed"},
|
||||
{Name: "--skip-tags", Description: "Only run plays and tasks whose tags do not match these values"},
|
||||
{Name: "--start-at-task", Description: "Start the playbook at the task matching this name one-step-at-a-time"},
|
||||
{Name: "--step", Description: "Execute one-step-at-a-time"},
|
||||
{Name: "--syntax-check", Description: "Perform a syntax check on the playbook, but do not execute it"},
|
||||
{Name: "--vault-id", Description: "Specify the vault identity to use"},
|
||||
{Name: "--vault-password-file", Description: "Specify a vault password file"},
|
||||
{Name: "--version", Description: "When changing (small) files and templates, show the differences in those files"},
|
||||
{Name: "--module-path", Description: "Prepend colon-separated path(s) to module library"},
|
||||
{Name: "--extra-vars", Description: "Set additional variables as key=value or YAML/JSON, if filename prepend with @"},
|
||||
{Name: "--forks", Description: "Specify number of parallel processes to use"},
|
||||
{Name: "--help", Description: "Show help for ansible"},
|
||||
{Name: "--inventory", Description: "Specify inventory host path or comma separated host list"},
|
||||
{Name: "--limit", Description: "Limit selected hosts to an additional pattern"},
|
||||
{Name: "--tags", Description: "Only run plays and tasks tagged with these values"},
|
||||
{Name: "--verbose", Description: "Enable verbose mode"},
|
||||
{Name: "-vvv", Description: "Enable very verbose mode"},
|
||||
{Name: "-vvvv", Description: "Enable connection debug mode"},
|
||||
{Name: "--become-method", Description: "Privilege escalation method to use"},
|
||||
{Name: "--become-user", Description: "Privilege escalation user to use"},
|
||||
{Name: "--ask-become-pass", Description: "Prompt for privilege escalation password"},
|
||||
{Name: "--become", Description: "Run operations with become"},
|
||||
{Name: "--private-key", Description: "Use this fole to authenticate the connection"},
|
||||
{Name: "--scp-extra-args", Description: "Extra arguments to pass to (only) scp"},
|
||||
{Name: "--sftp-extra-args", Description: "Extra arguments to pass to (only) sftp"},
|
||||
{Name: "-ssh-extra-args", Description: "Extra arguments to pass to (only) ssh"},
|
||||
{Name: "--ssh-common-args", Description: "Extra arguments to pass to sftp/scp/ssh"},
|
||||
{Name: "--timeout", Description: "Override the connection timeout in seconds"},
|
||||
{Name: "--connection", Description: "Connection type to use"},
|
||||
{Name: "--ask-pass", Description: "Ask for connection password"},
|
||||
{Name: "--user", Description: "Connect as this user"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "appwrite",
|
||||
Description: "Appwrite - Open-Source End-to-End Backend Server",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "login", Description: "The login command allows you to authenticate and manage a user account"},
|
||||
{Name: "project", Description: "Initialise your Appwrite project"},
|
||||
{Name: "function", Description: "Initialise your Appwrite cloud function"},
|
||||
{Name: "collection", Description: "Initialise your Appwrite collections"},
|
||||
{Name: "logout", Description: "The logout command allows you to logout of your Appwrite account"},
|
||||
{Name: "account", Description: "The account command allows you to authenticate and manage a user account"},
|
||||
{Name: "get", Description: "Get currently logged in user data as JSON object"},
|
||||
{Name: "updateName", Description: "Update currently logged in user account name"},
|
||||
{Name: "getPrefs", Description: "Get currently logged in user preferences as a key-value object"},
|
||||
{Name: "getSessions", Description: "Get currently logged in user list of active sessions across different devices"},
|
||||
{Name: "functions", Description: "The functions command allows you view, create and manage your Cloud Functions"},
|
||||
{Name: "listRuntimes", Description: "Get a list of all runtimes that are currently active on your instance"},
|
||||
{Name: "update", Description: "Update function by its unique ID"},
|
||||
{Name: "delete", Description: "Delete a function by its unique ID"},
|
||||
{Name: "getDeployment", Description: "Get a code deployment by its unique ID"},
|
||||
{Name: "deleteDeployment", Description: "Delete a code deployment by its unique ID"},
|
||||
{Name: "getExecution", Description: "Get a function execution log by its unique ID"},
|
||||
{Name: "getAntivirus", Description: "Check the Appwrite Antivirus server is up and connection is successful"},
|
||||
{Name: "getCache", Description: "Check the Appwrite in-memory cache server is up and connection is successful"},
|
||||
{Name: "getDB", Description: "Check the Appwrite database server is up and connection is successful"},
|
||||
{Name: "getStorageLocal", Description: "Check the Appwrite local storage device is up and connection is successful"},
|
||||
{Name: "storage", Description: "The storage command allows you to manage your project files"},
|
||||
{Name: "createBucket", Description: "Create a new storage bucket"},
|
||||
{Name: "updateBucket", Description: "Update a storage bucket by its unique ID"},
|
||||
{Name: "deleteBucket", Description: "Delete a storage bucket by its unique ID"},
|
||||
{Name: "listLogs", Description: "Get the team activity logs list by its unique ID"},
|
||||
{Name: "users", Description: "The users command allows you to manage your project users"},
|
||||
{Name: "create", Description: "Create a new user"},
|
||||
{Name: "updateEmail", Description: "Update the user email by its unique ID"},
|
||||
{Name: "getLogs", Description: "Get the user activity logs list by its unique ID"},
|
||||
{Name: "getMemberships", Description: "Get the user membership list by its unique ID"},
|
||||
{Name: "updatePassword", Description: "Update the user password by its unique ID"},
|
||||
{Name: "updatePhone", Description: "Update the user phone by its unique ID"},
|
||||
{Name: "deleteSessions", Description: "Delete all user's sessions by using the user's unique ID"},
|
||||
{Name: "deleteSession", Description: "Delete a user sessions by its unique ID"},
|
||||
{Name: "updateEmailVerification", Description: "Update the user email verification status by its unique ID"},
|
||||
{Name: "updatePhoneVerification", Description: "Update the user phone verification status by its unique ID"},
|
||||
{Name: "client", Description: "The client command allows you to configure your CLI"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--databaseId", Description: "Database ID"},
|
||||
{Name: "--all", Description: "Flag to initialize all databases"},
|
||||
{Name: "--functionId", Description: "Function ID"},
|
||||
{Name: "--userId", Description: "User ID"},
|
||||
{Name: "--password", Description: "User password. Must be at least 8 chars"},
|
||||
{Name: "--name", Description: "User name. Max length: 128 chars"},
|
||||
{Name: "--email", Description: "User email"},
|
||||
{Name: "--limit", Description: "Maximum number of results to return"},
|
||||
{Name: "--oldPassword", Description: "Current user password. Must be at least 8 chars"},
|
||||
{Name: "--number", Description: "User password. Must be at least 8 chars"},
|
||||
{Name: "--prefs", Description: "Prefs key-value JSON object"},
|
||||
{Name: "--url", Description: "Appwrite server endpoint URL"},
|
||||
{Name: "--secret", Description: "Valid reset token"},
|
||||
{Name: "--passwordAgain", Description: "Repeat new user password. Must be at least 8 chars"},
|
||||
{Name: "--provider", Description: "Provider name"},
|
||||
{Name: "--sessionId", Description: "Session ID. Use the string 'current' to get the current device session"},
|
||||
{Name: "--code", Description: "Browser Code"},
|
||||
{Name: "--width", Description: "Image width. Pass an integer between 0 to 2000. Defaults to 100"},
|
||||
{Name: "--height", Description: "Image height. Pass an integer between 0 to 2000. Defaults to 100"},
|
||||
{Name: "--quality", Description: "Image quality. Pass an integer between 0 to 100. Defaults to 100"},
|
||||
{Name: "--destination", Description: "Output file path"},
|
||||
{Name: "--color", Description: "Output file path"},
|
||||
{Name: "--text", Description: "Plain text to be converted to QR code image"},
|
||||
{Name: "--size", Description: "QR code size. Pass an integer between 1 to 1000. Defaults to 400"},
|
||||
{Name: "--margin", Description: "Margin from edge. Pass an integer between 0 to 10. Defaults to 1"},
|
||||
{Name: "--download", Description: "Output file path"},
|
||||
{Name: "--search", Description: "Search term to filter your list results. Max length: 256 chars"},
|
||||
{Name: "--orderType", Description: "Order result by ASC or DESC order"},
|
||||
{Name: "--range", Description: "'Date range"},
|
||||
{Name: "--collectionId", Description: "Collection name. Max length: 128 chars"},
|
||||
{Name: "--permission", Description: "Database ID"},
|
||||
{Name: "--required", Description: "Is attribute required?"},
|
||||
{Name: "--xdefault", Description: "Is attribute an array?"},
|
||||
{Name: "--elements", Description: "Is attribute required?"},
|
||||
{Name: "--min", Description: "Minimum value to enforce on new documents"},
|
||||
{Name: "--max", Description: "Maximum value to enforce on new documents"},
|
||||
{Name: "--orderAttributes", Description: "Database ID"},
|
||||
{Name: "--read", Description: "Database ID"},
|
||||
{Name: "--documentId", Description: "Document ID"},
|
||||
{Name: "--data", Description: "Database ID"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "arch",
|
||||
Description: "32-bit intel",
|
||||
Options: []core.Option{
|
||||
{Name: "-arch", Description: "Print architecture type or run select architecture"},
|
||||
{Name: "-32", Description: "Add the native 32-bit architecture to the list of architectures"},
|
||||
{Name: "-64", Description: "Add the native 64-bit architecture to the list of architectures"},
|
||||
{Name: "-c", Description: "Clear the environment that will be passed to the command"},
|
||||
{Name: "-d", Description: "Delete the named environment variable from the command's environment"},
|
||||
{Name: "-e", Description: "Assign the given value to the variable in the command's environment"},
|
||||
{Name: "-h", Description: "Print a help message and exit"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "arduino-cli",
|
||||
Description: "Arduino CLI - build, compile, and upload Arduino sketches",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "board", Description: "Arduino board commands"},
|
||||
{Name: "FQBN", Description: "Fully qualified board name"},
|
||||
{Name: "port", Description: "Arduino board port connection"},
|
||||
{Name: "list", Description: "Detects and displays a list of boards connected to the current computer"},
|
||||
{Name: "search", Description: "Search for a board in the Boards Manager using the specified keywords"},
|
||||
{Name: "burn-bootloader", Description: "Upload the bootloader on the board using an external programmer"},
|
||||
{Name: "cache", Description: "Arduino cache commands"},
|
||||
{Name: "compile", Description: "Compiles Arduino sketches"},
|
||||
{Name: "e", Description: "If set built binaries will be exported to the sketch folder"},
|
||||
{Name: "none", Description: "Use warning level 'none'"},
|
||||
{Name: "default", Description: "Use warning level 'default'"},
|
||||
{Name: "more", Description: "Use warning level 'more'"},
|
||||
{Name: "all", Description: "Use warning level 'all'"},
|
||||
{Name: "completion", Description: "Generates completion scripts for various shells"},
|
||||
{Name: "config", Description: "Arduino configuration commands"},
|
||||
{Name: "add", Description: "Adds one or more values to a setting"},
|
||||
{Name: "delete", Description: "Deletes a settings key and all its sub keys"},
|
||||
{Name: "dump", Description: "Prints the current configuration"},
|
||||
{Name: "remove", Description: "Removes one or more values from a setting"},
|
||||
{Name: "set", Description: "Sets a setting value"},
|
||||
{Name: "core", Description: "Arduino core operations"},
|
||||
{Name: "download", Description: "Downloads one or more cores and corresponding tool dependencies"},
|
||||
{Name: "install", Description: "Installs one or more cores and corresponding tool dependencies"},
|
||||
{Name: "update-index", Description: "Updates the index of cores to the latest version"},
|
||||
{Name: "upgrade", Description: "Upgrades one or all installed platforms to the latest version"},
|
||||
{Name: "debug", Description: "Debug Arduino sketches. (this command opens an interactive gdb session)"},
|
||||
{Name: "check", Description: "Check if the given board/programmer combination supports debugging"},
|
||||
{Name: "console", Description: "Debug interpreter 'console'"},
|
||||
{Name: "mi", Description: "Debug interpreter 'mi'"},
|
||||
{Name: "mi1", Description: "Debug interpreter 'mi1'"},
|
||||
{Name: "mi2", Description: "Debug interpreter 'mi2'"},
|
||||
{Name: "mi3", Description: "Debug interpreter 'mi3'"},
|
||||
{Name: "help", Description: "Help provides help for any command in the application"},
|
||||
{Name: "lib", Description: "Arduino commands about libraries"},
|
||||
{Name: "deps", Description: "Check dependencies status for the specified library"},
|
||||
{Name: "uninstall", Description: "Uninstalls one or more libraries"},
|
||||
{Name: "monitor", Description: "Open a communication port with a board"},
|
||||
{Name: "sketch", Description: "Arduino CLI sketch commands"},
|
||||
{Name: "archive", Description: "Creates a zip file containing all sketch files"},
|
||||
{Name: "new", Description: "Create a new Sketch"},
|
||||
{Name: "update", Description: "Updates the index of cores and libraries to the latest versions"},
|
||||
{Name: "upload", Description: "Upload Arduino sketches. This does NOT compile the sketch prior to upload"},
|
||||
{Name: "version", Description: "Shows the version number of Arduino CLI which is installed on your system"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--board-options", Description: "Max time to wait for port discovery, example: '30s, 1m (default 1s)'"},
|
||||
{Name: "-b", Description: "Fully Qualified Board Name, example: 'arduino:avr:uno'"},
|
||||
{Name: "-h", Description: "Help for attach"},
|
||||
{Name: "-p", Description: "Upload port address, example: 'COM3 or /dev/ttyACM2'"},
|
||||
{Name: "-l", Description: "Upload port protocol, example: 'serial'"},
|
||||
{Name: "-f", Description: "Show full board details"},
|
||||
{Name: "--list-programmers", Description: "Show list of available programmers"},
|
||||
{Name: "--show-properties", Description: "Detects and displays a list of boards connected to the current computer"},
|
||||
{Name: "-w", Description: "Help for listall"},
|
||||
{Name: "-a", Description: "Show also boards marked as 'hidden' in the platform"},
|
||||
{Name: "-P", Description: "Programmer to use, example: 'atmel_ice'"},
|
||||
{Name: "-v", Description: "Turns on verbose mode"},
|
||||
{Name: "-t", Description: "Verify uploaded binary after upload"},
|
||||
{Name: "--build-path", Description: "Optional, cleanup the build folder and do not use any cached build"},
|
||||
{Name: "--discovery-timeout", Description: "Max time to wait for port discovery, example: '30s, 1m (default 1s)'"},
|
||||
{Name: "--dump-profile", Description: "Create and print a profile configuration from the build"},
|
||||
{Name: "--encrypt-key", Description: "If set built binaries will be exported to the sketch folder"},
|
||||
{Name: "--keys-keychain", Description: "Optional, optimize compile output for debugging, rather than for release"},
|
||||
{Name: "--output-dir", Description: "Save build artifacts in this directory"},
|
||||
{Name: "--preprocess", Description: "Print preprocessed code to stdout instead of compiling"},
|
||||
{Name: "-m", Description: "Sketch profile to use"},
|
||||
{Name: "--quiet", Description: "Optional, suppresses almost every output"},
|
||||
{Name: "--warnings", Description: "Use warning level 'none'"},
|
||||
{Name: "--no-description", Description: "Disable completion description for shells that support it"},
|
||||
{Name: "--dest-dir", Description: "Sets where to save the configuration file"},
|
||||
{Name: "--dest-file", Description: "Sets where to save the configuration file"},
|
||||
{Name: "--overwrite", Description: "Overwrite existing config file"},
|
||||
{Name: "--no-overwrite", Description: "Do not overwrite already installed platforms"},
|
||||
{Name: "--run-post-install", Description: "Force run of post-install scripts (if the CLI is not running interactively)"},
|
||||
{Name: "--run-pre-uninstall", Description: "Force run of pre-uninstall scripts (if the CLI is not running interactively)"},
|
||||
{Name: "--skip-post-install", Description: "Force skip of post-install scripts (if the CLI is running interactively)"},
|
||||
{Name: "--skip-pre-uninstall", Description: "Force skip of pre-uninstall scripts (if the CLI is running interactively)"},
|
||||
{Name: "--updatable", Description: "List updatable platforms"},
|
||||
{Name: "--daemonize", Description: "Do not terminate daemon process if the parent process dies"},
|
||||
{Name: "--debug", Description: "Enable debug logging of gRPC calls"},
|
||||
{Name: "--debug-file", Description: "Append debug logging to the specified file"},
|
||||
{Name: "--debug-filter", Description: "Display only the provided gRPC calls"},
|
||||
{Name: "--port", Description: "The TCP port the daemon will listen to"},
|
||||
{Name: "--interpreter", Description: "Debug interpreter 'console'"},
|
||||
{Name: "-I", Description: "Show metadata about the debug session instead of starting the debugger"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "argo",
|
||||
Description: "If True, Use the HTTP client. Defaults to the ARGO_HTTP1 environment variable",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "archive", Description: "Manage the workflow archive"},
|
||||
{Name: "delete", Description: "Delete a workflow in the archive"},
|
||||
{Name: "get", Description: "Get a workflow in the archive"},
|
||||
{Name: "list", Description: "List workflows in the archive"},
|
||||
{Name: "list-label-keys", Description: "List workflows label keys in the archive"},
|
||||
{Name: "list-label-values", Description: "Get workflow label values in the archive"},
|
||||
{Name: "resubmit", Description: "Resubmit one or more workflows"},
|
||||
{Name: "retry", Description: "Retry zero or more workflows"},
|
||||
{Name: "auth", Description: "Manage authentication settings"},
|
||||
{Name: "token", Description: "Print the auth token"},
|
||||
{Name: "cluster-template", Description: "Manipulate cluster workflow templates"},
|
||||
{Name: "create", Description: "Create a cluster workflow template"},
|
||||
{Name: "lint", Description: "Validate files or directories of cluster workflow template manifests"},
|
||||
{Name: "completion", Description: "Output shell completion code for the specified shell (bash or zsh)"},
|
||||
{Name: "cp", Description: "Copy artifacts from workflow"},
|
||||
{Name: "cron", Description: "Manage cron workflows"},
|
||||
{Name: "resume", Description: "Resume zero or more cron workflows"},
|
||||
{Name: "suspend", Description: "Suspend zero or more cron workflows"},
|
||||
{Name: "executor-plugin", Description: "Manage executor plugins"},
|
||||
{Name: "build", Description: "Build an executor plugin"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
{Name: "logs", Description: "View logs of a pod or workflow"},
|
||||
{Name: "node", Description: "Perform action on a node in a workflow"},
|
||||
{Name: "server", Description: "Start the Argo Server"},
|
||||
{Name: "stop", Description: "Stop zero or more workflows allowing all exit handlers to run"},
|
||||
{Name: "submit", Description: "Submit a workflow"},
|
||||
{Name: "template", Description: "Manipulate workflow templates"},
|
||||
{Name: "terminate", Description: "Terminate zero or more workflows immediately"},
|
||||
{Name: "version", Description: "Print version information"},
|
||||
{Name: "wait", Description: "Waits for workflows to complete"},
|
||||
{Name: "watch", Description: "Watch a workflow until it completes"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--argo-base-href", Description: "If True, Use the HTTP client. Defaults to the ARGO_HTTP1 environment variable"},
|
||||
{Name: "--argo-server", Description: "Username to impersonate for the operation"},
|
||||
{Name: "--as-group", Description: "UID to impersonate for the operation"},
|
||||
{Name: "--certificate-authorityk", Description: "Path to a cert file for the certificate authority"},
|
||||
{Name: "--client-certificate", Description: "Path to a client certificate file for TLS"},
|
||||
{Name: "--client-key", Description: "Path to a client key file for TLS"},
|
||||
{Name: "--cluster", Description: "The name of the kubeconfig cluster to use"},
|
||||
{Name: "--context", Description: "The name of the kubeconfig context to use"},
|
||||
{Name: "--gloglevel", Description: "Set the glog logging level"},
|
||||
{Name: "--header", Description: "Help for argo"},
|
||||
{Name: "--insecure-skip-tls-verify", Description: "Path to a kube config. Only required if out-of-cluster"},
|
||||
{Name: "--loglevel", Description: "If present the namespace scope for this CLI request"},
|
||||
{Name: "--password", Description: "Password for basic authentication to the API server"},
|
||||
{Name: "--proxy-url", Description: "This URL will be used to connect via proxy"},
|
||||
{Name: "--request-timeout", Description: "The address and port of the Kubernetes API server"},
|
||||
{Name: "--tls-server-name", Description: "Bearer token for authentication to the API server"},
|
||||
{Name: "--user", Description: "The name of the kubeconfig user to use"},
|
||||
{Name: "--username", Description: "Username for basic authentication to the API server"},
|
||||
{Name: "--verbose", Description: "Enabled verbose logging i.e. --loglevel debug"},
|
||||
{Name: "--output", Description: "List workflows in the archive"},
|
||||
{Name: "--chunk-size", Description: "Return large lists in chunks rather than all at once. Pass 0 to disable"},
|
||||
{Name: "--help", Description: "Help for list"},
|
||||
{Name: "--selector", Description: "Resubmit one or more workflows"},
|
||||
{Name: "--field-selector", Description: "Help for resubmit"},
|
||||
{Name: "--log", Description: "Log the workflow until it completes"},
|
||||
{Name: "--memoized", Description: "Re-use successful steps & outputs from the previous run"},
|
||||
{Name: "--parameter", Description: "Input parameter to override on the original workflow spec"},
|
||||
{Name: "--priority", Description: "Workflow priority"},
|
||||
{Name: "--node-field-selector", Description: "Output format. One of: name|json|yaml|wide"},
|
||||
{Name: "--restart-successful", Description: "Indicates to restart successful nodes matching the --node-field-selector"},
|
||||
{Name: "--watch", Description: "Manage authentication settings"},
|
||||
{Name: "--strict", Description: "Perform strict workflow validation (default true)"},
|
||||
{Name: "--all", Description: "Delete all cluster workflow templates"},
|
||||
{Name: "--artifact-name", Description: "Name of output artifact in workflow"},
|
||||
{Name: "--node-id", Description: "Id of node in workflow"},
|
||||
{Name: "--path", Description: "Name of template in workflow"},
|
||||
{Name: "--entrypoint", Description: "Override entrypoint"},
|
||||
{Name: "--generate-name", Description: "Override metadata.generateName"},
|
||||
{Name: "--labels", Description: "Comma separated labels to apply to the workflow. Will override previous values"},
|
||||
{Name: "--name", Description: "Override metadata.name"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "asdf",
|
||||
Description: "Plugin name",
|
||||
Options: []core.Option{
|
||||
{Name: "--urls", Description: "Show git urls"},
|
||||
{Name: "--refs", Description: "Show git refs"},
|
||||
{Name: "--all", Description: "Update all plugins to latest commit on default branch"},
|
||||
{Name: "--head", Description: "Using HEAD commit"},
|
||||
{Name: "--version", Description: "Version for asdf"},
|
||||
{Name: "-h", Description: "Help for asdf"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "atlas",
|
||||
Description: "CLI tool to manage MongoDB Atlas",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "config", Description: "Manage your profile to store access settings for your MongoDB deployment"},
|
||||
{Name: "init", Description: "Configure a profile to store access settings for your MongoDB deployment"},
|
||||
{Name: "set", Description: "Configure specific properties of a profile"},
|
||||
{Name: "ls", Description: "List available profiles"},
|
||||
{Name: "get", Description: "Return a specific profile"},
|
||||
{Name: "mv", Description: "Rename a profile"},
|
||||
{Name: "rm", Description: "Delete a profile"},
|
||||
{Name: "auth", Description: "Manage the CLI's authentication state"},
|
||||
{Name: "login", Description: "Authenticate with MongoDB Atlas"},
|
||||
{Name: "whoami", Description: "Verifies and displays information about your authentication state"},
|
||||
{Name: "logout", Description: "Log out of the CLI"},
|
||||
{Name: "quickstart", Description: "Create and access an Atlas Cluster"},
|
||||
{Name: "project", Description: "Project operations"},
|
||||
{Name: "create", Description: "Create a project"},
|
||||
{Name: "show", Description: "Describe a project"},
|
||||
{Name: "apikeys", Description: "Manage API Keys for your project"},
|
||||
{Name: "update", Description: "Assign an API Key to a project"},
|
||||
{Name: "user", Description: "Manage users for a project"},
|
||||
{Name: "team", Description: "Teams operations"},
|
||||
{Name: "add", Description: "Add team to a project"},
|
||||
{Name: "updates", Description: "Update roles for a team in a project"},
|
||||
{Name: "invitation", Description: "Invitation operations"},
|
||||
{Name: "organization", Description: "Organization operations"},
|
||||
{Name: "accesslists", Description: "Manage the IP access list for your API Key"},
|
||||
{Name: "globalapikeys", Description: "Global API Keys operations"},
|
||||
{Name: "globalaccesslists", Description: "Manage IP access list for Global API Key"},
|
||||
{Name: "invite", Description: "Invite a user"},
|
||||
{Name: "cluster", Description: "Manage clusters for your project"},
|
||||
{Name: "watch", Description: "Watch for a cluster to be available"},
|
||||
{Name: "pause", Description: "Pause a running MongoDB cluster in Atlas"},
|
||||
{Name: "start", Description: "Start a paused MongoDB cluster in Atlas"},
|
||||
{Name: "loadSampleData", Description: "Load sample data into a MongoDB cluster in Atlas"},
|
||||
{Name: "index", Description: "Manage cluster rolling indexes for your project"},
|
||||
{Name: "fts", Description: "Manage Atlas Search for your cluster"},
|
||||
{Name: "describe", Description: "Describe a search index for a cluster"},
|
||||
{Name: "onlinearchives", Description: "Manage online archives for your cluster"},
|
||||
{Name: "connectionstrings", Description: "Manage MongoDB cluster connection string"},
|
||||
{Name: "availableregions", Description: "Manage available regions for your project"},
|
||||
{Name: "dbuser", Description: "Manage database users for your project"},
|
||||
{Name: "cert", Description: "Manage Atlas x509 certificates for your database users"},
|
||||
{Name: "customdbroles", Description: "Manage custom database roles for your project"},
|
||||
{Name: "datalakes", Description: "Manage Atlas Data Lakes for your project"},
|
||||
{Name: "alert", Description: "Manage alerts for your project"},
|
||||
{Name: "field", Description: "Manages alert configuration fields for your project"},
|
||||
{Name: "types", Description: "Lists available field types for your alert configurations"},
|
||||
{Name: "ack", Description: "Acknowledges one alert for the specified project"},
|
||||
{Name: "unack", Description: "Unacknowledges one alert for the specified project"},
|
||||
{Name: "global", Description: "Retrieves all the global alerts for the specified Ops Manager project"},
|
||||
{Name: "backup", Description: "Manage cloud backups for your project"},
|
||||
{Name: "snapshot", Description: "Manage cloud backup snapshots for your project"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--gov", Description: "Create a default profile for atlas for gov"},
|
||||
{Name: "--output", Description: "Return a specific profile"},
|
||||
{Name: "--force", Description: "Manage the CLI's authentication state"},
|
||||
{Name: "--cm", Description: "Log in to Cloud Manager"},
|
||||
{Name: "--loginOnly", Description: "Skip profile configuration"},
|
||||
{Name: "--noBrowser", Description: "Don't try to open a browser session"},
|
||||
{Name: "--accessListIp", Description: "IP address to be allowed to access the deployment"},
|
||||
{Name: "--clusterName", Description: "Name of the cluster"},
|
||||
{Name: "--default", Description: "User's password"},
|
||||
{Name: "--projectId", Description: "Name of your cloud service provider. Valid values are AWS, AZURE, or GCP"},
|
||||
{Name: "--region", Description: "Indicates whether to skip accessing your deployment with MongoDB Shell"},
|
||||
{Name: "--skipSampleData", Description: "Indicates whether to skip loading sample data into your Atlas Cluster"},
|
||||
{Name: "--tier", Description: "Tier for each data-bearing server in the cluster"},
|
||||
{Name: "--username", Description: "Username for authenticating to MongoDB"},
|
||||
{Name: "--limit", Description: "Number of items per page"},
|
||||
{Name: "--orgId", Description: "Page number"},
|
||||
{Name: "--govCloudRegionsOnly", Description: "Delete a project"},
|
||||
{Name: "--desc", Description: "Description of the API key"},
|
||||
{Name: "--email", Description: "User's email address"},
|
||||
{Name: "--teamId", Description: "Unique identification of the team"},
|
||||
{Name: "--includeDeleted", Description: "If specified, Atlas includes the deleted organizations"},
|
||||
{Name: "--name", Description: "Page number"},
|
||||
{Name: "--apiKey", Description: "API Key"},
|
||||
{Name: "--cidr", Description: "Whitelist entry in CIDR notation to be added for a given API key"},
|
||||
{Name: "--ip", Description: "IP address to be allowed for a given API key"},
|
||||
{Name: "--country", Description: "The ISO 3166-1 alpha two-letter country code of the user's country of residence"},
|
||||
{Name: "--firstName", Description: "User's first name"},
|
||||
{Name: "--lastName", Description: "User's last name"},
|
||||
{Name: "--mobile", Description: "The user's mobile or cell phone number"},
|
||||
{Name: "--orgRole", Description: "User's roles for the associated organization"},
|
||||
{Name: "--projectRole", Description: "User's roles for the associated project"},
|
||||
{Name: "--id", Description: "Unique identifier of the user"},
|
||||
{Name: "--backup", Description: "If true, enables Continuous Cloud Backup for your deployment"},
|
||||
{Name: "--biConnector", Description: "If true, enables BI Connector for Atlas on the deployment"},
|
||||
{Name: "--diskSizeGB", Description: "Capacity, in gigabytes, of the host's root volume"},
|
||||
{Name: "--file", Description: "File name to use, optional file with a json cluster configuration"},
|
||||
{Name: "--mdbVersion", Description: "MongoDB version of the cluster to deploy"},
|
||||
{Name: "--members", Description: "Number of members in the replica set"},
|
||||
{Name: "--type", Description: "Watch for a cluster to be available"},
|
||||
{Name: "--collection", Description: "Collection name"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "aws",
|
||||
Description: "Use a specific profile from your credential file",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "account", Description: "Operations for Amazon Web Services Account Management"},
|
||||
{Name: "amplifybackend", Description: "AWS Amplify Admin API"},
|
||||
{Name: "apigatewayv2", Description: "Amazon API Gateway V2"},
|
||||
{Name: "artifact", Description: "This reference provides descriptions of the low-level AWS Artifact Service API"},
|
||||
{Name: "bedrock-agent", Description: "Describes the API operations for creating and managing Amazon Bedrock agents"},
|
||||
{Name: "bedrock-agent-runtime", Description: "Contains APIs related to model invocation and querying of knowledge bases"},
|
||||
{Name: "bedrock-data-automation", Description: "Amazon Bedrock Keystone Build"},
|
||||
{Name: "bedrock-data-automation-runtime", Description: "Amazon Bedrock Keystone Runtime"},
|
||||
{Name: "bedrock-runtime", Description: "Describes the API operations for running inference using Amazon Bedrock models"},
|
||||
{Name: "cloudhsmv2", Description: "For more information about CloudHSM, see CloudHSM and the CloudHSM User Guide"},
|
||||
{Name: "connectcampaigns", Description: "Provide APIs to create and manage Amazon Connect Campaigns"},
|
||||
{Name: "connectcampaignsv2", Description: "Provide APIs to create and manage Amazon Connect Campaigns"},
|
||||
{Name: "drs", Description: "AWS Elastic Disaster Recovery Service"},
|
||||
{Name: "elastic-inference", Description: "Amazon Elastic Inference is no longer available. Elastic Inference public APIs"},
|
||||
{Name: "elastictranscoder", Description: "AWS Elastic Transcoder Service The AWS Elastic Transcoder Service"},
|
||||
{Name: "finspace-data", Description: "The FinSpace APIs let you take actions inside the FinSpace"},
|
||||
{Name: "forecast", Description: "Provides APIs for creating and managing Amazon Forecast resources"},
|
||||
{Name: "forecastquery", Description: "Provides APIs for creating and managing Amazon Forecast resources"},
|
||||
{Name: "glue", Description: "Glue Defines the public endpoint for the Glue service"},
|
||||
{Name: "iot1click-projects", Description: "The AWS IoT 1-Click Projects API Reference"},
|
||||
{Name: "kafka", Description: "The operations for managing an Amazon MSK cluster"},
|
||||
{Name: "kendra", Description: "Amazon Kendra is a service for indexing large document sets"},
|
||||
{Name: "kinesis-video-webrtc-storage", Description: "Webrtc"},
|
||||
{Name: "lakeformation", Description: "Lake Formation Defines the public endpoint for the Lake Formation service"},
|
||||
{Name: "machinelearning", Description: "Definition of the public APIs exposed by Amazon Machine Learning"},
|
||||
{Name: "macie2", Description: "Amazon Macie"},
|
||||
{Name: "marketplacecommerceanalytics", Description: "Provides AWS Marketplace business intelligence data on-demand"},
|
||||
{Name: "mediaconnect", Description: "API for AWS Elemental MediaConnect"},
|
||||
{Name: "mediaconvert", Description: "AWS Elemental MediaConvert"},
|
||||
{Name: "medialive", Description: "API for AWS Elemental MediaLive"},
|
||||
{Name: "mediapackage", Description: "AWS Elemental MediaPackage"},
|
||||
{Name: "mediapackage-vod", Description: "AWS Elemental MediaPackage VOD"},
|
||||
{Name: "mgn", Description: "The Application Migration Service service"},
|
||||
{Name: "mturk", Description: "Amazon Mechanical Turk API Reference"},
|
||||
{Name: "pinpoint", Description: "Doc Engage API - Amazon Pinpoint API"},
|
||||
{Name: "pinpoint-sms-voice", Description: "Pinpoint SMS and Voice Messaging public facing APIs"},
|
||||
{Name: "qldb", Description: "The resource management API for Amazon QLDB"},
|
||||
{Name: "resourcegroupstaggingapi", Description: "Resource Groups Tagging API"},
|
||||
{Name: "robomaker", Description: "This section provides documentation for the AWS RoboMaker API operations"},
|
||||
{Name: "route53-recovery-readiness", Description: "Recovery readiness"},
|
||||
{Name: "s3outposts", Description: "Amazon S3 on Outposts provides access to S3 on Outposts operations"},
|
||||
{Name: "sagemaker-edge", Description: "SageMaker Edge Manager dataplane service for communicating with active agents"},
|
||||
{Name: "sagemaker-geospatial", Description: "Provides APIs for creating and managing SageMaker geospatial resources"},
|
||||
{Name: "sagemaker-runtime", Description: "The Amazon SageMaker runtime API"},
|
||||
{Name: "schemas", Description: "Amazon EventBridge Schema Registry"},
|
||||
{Name: "sms-voice", Description: "Pinpoint SMS and Voice Messaging public facing APIs"},
|
||||
{Name: "snow-device-management", Description: "Amazon Web Services Snow Device Management documentation"},
|
||||
{Name: "timestream-query", Description: "Amazon Timestream Query"},
|
||||
{Name: "trustedadvisor", Description: "TrustedAdvisor Public API"},
|
||||
{Name: "runtime.sagemaker", Description: "The Amazon SageMaker runtime API"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--profile", Description: "Use a specific profile from your credential file"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "aws-vault",
|
||||
Description: "Add credentials to the secure keystore",
|
||||
Options: []core.Option{
|
||||
{Name: "-f", Description: "Force-remove the profile without a prompt"},
|
||||
{Name: "--profiles", Description: "Show only the profile names"},
|
||||
{Name: "--sessions", Description: "Show only the session names"},
|
||||
{Name: "--credentials", Description: "Show only the profiles with stored credential"},
|
||||
{Name: "-n", Description: "Use master credentials, no session or role used"},
|
||||
{Name: "-d", Description: "Duration of the temporary or assume-role session. Defaults to 1h"},
|
||||
{Name: "--region", Description: "The AWS region"},
|
||||
{Name: "-t", Description: "The MFA token to use"},
|
||||
{Name: "--help", Description: "Show context-sensitive help (also try --help-long and --help-man)"},
|
||||
{Name: "--version", Description: "Show application version"},
|
||||
{Name: "--debug", Description: "Show debugging output"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "bit",
|
||||
Description: "Bit documentation: https://bit.dev/docs",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "init", Description: "Create or reinitialize an empty workspace"},
|
||||
{Name: "new", Description: "Create a new workspace from a template"},
|
||||
{Name: "config", Description: "Global config management"},
|
||||
{Name: "set", Description: "Set a global configuration"},
|
||||
{Name: "del", Description: "Delete given key from global configuration"},
|
||||
{Name: "get", Description: "Get a value from global configuration"},
|
||||
{Name: "list", Description: "List all configuration(s)"},
|
||||
{Name: "scope-config", Description: "Scope config management"},
|
||||
{Name: "login", Description: "Log in to Bit cloud"},
|
||||
{Name: "logout", Description: "Log the CLI out of Bit"},
|
||||
{Name: "doctor", Description: "Diagnose a bit workspace"},
|
||||
{Name: "filePath", Description: "Path to save diagnoses to a file"},
|
||||
{Name: "completion", Description: "Enable bash/zsh-completion shortcuts for commands and options"},
|
||||
{Name: "cli", Description: "EXPERIMENTAL. Enters bit cli program and generates commands list"},
|
||||
{Name: "generate", Description: "Generate an .md file with all commands details"},
|
||||
{Name: "help", Description: "Shows help"},
|
||||
{Name: "clear-cache", Description: "Clears Bit's cache from current working machine"},
|
||||
{Name: "remote", Description: "Manage set of tracked bit scope(s)"},
|
||||
{Name: "add", Description: "Add a bare-scope as a remote, usage: remote add <url>"},
|
||||
{Name: "remove", Description: "Remove component(s) from the workspace, or a remote scope"},
|
||||
{Name: "import", Description: "Import components from their remote scopes to the local workspace"},
|
||||
{Name: "pack", Description: "Create tar for npm publish"},
|
||||
{Name: "deprecate", Description: "Deprecate a component"},
|
||||
{Name: "undeprecate", Description: "Undeprecate a deprecated component (local/remote)"},
|
||||
{Name: "rename", Description: "Rename a component"},
|
||||
{Name: "export", Description: "Export components from the workspace to remote scopes"},
|
||||
{Name: "string", Description: "Resume export using an export-id"},
|
||||
{Name: "dependents", Description: "EXPERIMENTAL. Show dependents of the given component"},
|
||||
{Name: "show", Description: "Display the component's essential information"},
|
||||
{Name: "dependencies", Description: "Manage dependencies"},
|
||||
{Name: "deps", Description: "Manage dependencies"},
|
||||
{Name: "unset", Description: "Unset a dependency to component(s) that was previously set by 'bit deps set'"},
|
||||
{Name: "debug", Description: "Show the immediate dependencies and how their versions were determined"},
|
||||
{Name: "reset", Description: "Reset dependencies to the default values (revert any previously 'bit deps set')"},
|
||||
{Name: "eject", Description: "Write dependencies that were previously set via 'bit deps set' into .bitmap"},
|
||||
{Name: "blame", Description: "EXPERIMENTAL: Find out which snap/tag changed a dependency version"},
|
||||
{Name: "usage", Description: "EXPERIMENTAL: Find components that use the specified dependency"},
|
||||
{Name: "log", Description: "Show components(s) version history"},
|
||||
{Name: "move", Description: "Move a component to a different filesystem path"},
|
||||
{Name: "diff", Description: "Show the diff between the components' source files and config"},
|
||||
{Name: "envs", Description: "List all components maintained by the workspace and their corresponding envs"},
|
||||
{Name: "replace", Description: "Replace an existing env with another env for all components using the old env"},
|
||||
{Name: "update", Description: "Update a version of an env for all components using that env"},
|
||||
{Name: "start", Description: "Run the ui/development server"},
|
||||
{Name: "ui-build", Description: "Build production assets for deployment"},
|
||||
{Name: "checkout", Description: "Switch between component versions or remove local changes"},
|
||||
{Name: "install", Description: "Installs workspace dependencies"},
|
||||
{Name: "uninstall", Description: "Uninstall dependencies"},
|
||||
{Name: "component-names", Description: "Names or IDs of the components to link"},
|
||||
{Name: "component-issues", Description: "List available component-issues"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--bare", Description: "Initialize an empty bit bare scope"},
|
||||
{Name: "--shared", Description: "Add group write permissions to a scope"},
|
||||
{Name: "--standalone", Description: "Do not nest component store within .git"},
|
||||
{Name: "--reset", Description: "Write missing or damaged Bit files"},
|
||||
{Name: "--reset-new", Description: "Reset .bitmap file as if components were newly added"},
|
||||
{Name: "--reset-lane-new", Description: "Reset only components belonging to lanes"},
|
||||
{Name: "--reset-hard", Description: "Delete all Bit files and directories"},
|
||||
{Name: "--reset-scope", Description: "Removes local scope"},
|
||||
{Name: "--default-directory", Description: "Set the default directory pattern"},
|
||||
{Name: "--default-scope", Description: "Set the default scope for components"},
|
||||
{Name: "--package-manager", Description: "Set the package manager to be used"},
|
||||
{Name: "--force", Description: "Force workspace initialization without clearing local objects"},
|
||||
{Name: "--harmony", Description: "DEPRECATED: Harmony is the default now"},
|
||||
{Name: "--interactive", Description: "Start an interactive process"},
|
||||
{Name: "--aspect", Description: "ID of the aspect that registered the template"},
|
||||
{Name: "--template", Description: "Env-ID of the template's owner. Alias for --env"},
|
||||
{Name: "--env", Description: "Env-ID of the template. Alias for -t"},
|
||||
{Name: "--skip-git", Description: "Skip generation of Git repository in the new workspace"},
|
||||
{Name: "--empty", Description: "Skip template's default component creation"},
|
||||
{Name: "--load-from", Description: "Local path to the workspace containing the template"},
|
||||
{Name: "--cloud-domain", Description: "Login cloud domain (default bit.cloud)"},
|
||||
{Name: "--port", Description: "Port number to open for localhost server"},
|
||||
{Name: "--suppress-browser-launch", Description: "Do not open a browser for authentication"},
|
||||
{Name: "--npmrc-path", Description: "Path to npmrc file to configure bit.cloud registry"},
|
||||
{Name: "--skip-registry-config", Description: "Don't configure bit.cloud registry"},
|
||||
{Name: "--machine-name", Description: "Specify machine-name to pair with the token"},
|
||||
{Name: "--json", Description: "Return diagnoses in json format"},
|
||||
{Name: "--list", Description: "List all available diagnoses"},
|
||||
{Name: "--save", Description: "Path to save diagnoses to a file"},
|
||||
{Name: "--archive", Description: "Path to archive the workspace including diagnosis info"},
|
||||
{Name: "--metadata", Description: "Metadata/front-matter to place at the top of the .md file"},
|
||||
{Name: "--docs", Description: "Generate the cli-reference.docs.mdx file"},
|
||||
{Name: "--internal", Description: "Show internal commands"},
|
||||
{Name: "--remote", Description: "Clear memory cache from a remote scope"},
|
||||
{Name: "--global", Description: "Configure a remote bit scope"},
|
||||
{Name: "--track", Description: "Keep tracking component in .bitmap"},
|
||||
{Name: "--keep-files", Description: "Keep component files"},
|
||||
{Name: "--silent", Description: "Skip confirmation"},
|
||||
{Name: "--path", Description: "Import components into a specific directory"},
|
||||
{Name: "--objects", Description: "Import components objects without checkout"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "bosh",
|
||||
Description: "Deployment",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "add-blob", Description: "Add blob"},
|
||||
{Name: "unignore", Description: "Unignore an instance"},
|
||||
{Name: "update-cloud-config", Description: "Update current cloud config"},
|
||||
{Name: "update-config", Description: "Update config"},
|
||||
{Name: "update-cpi-config", Description: "Update current CPI config"},
|
||||
{Name: "update-resurrection", Description: "Enable/disable resurrection"},
|
||||
{Name: "update-runtime-config", Description: "Update current runtime config"},
|
||||
{Name: "upload-blobs", Description: "Upload blobs"},
|
||||
{Name: "upload-release", Description: "Upload release"},
|
||||
{Name: "upload-stemcell", Description: "Upload stemcell"},
|
||||
{Name: "variables", Description: "List variables"},
|
||||
{Name: "vendor-package", Description: "Vendor package"},
|
||||
{Name: "vms", Description: "List all VMs in all deployments"},
|
||||
{Name: "orphan-disk", Description: "Orphan disk"},
|
||||
{Name: "networks", Description: "List networks"},
|
||||
{Name: "manifest", Description: "Show deployment manifest"},
|
||||
{Name: "tasks", Description: "List running or recent tasks"},
|
||||
{Name: "task", Description: "Show task status and start tracking its output"},
|
||||
{Name: "take-snapshot", Description: "Take snapshot"},
|
||||
{Name: "sync-blobs", Description: "Sync blobs"},
|
||||
{Name: "stop-env", Description: "Stop BOSH environment"},
|
||||
{Name: "stop", Description: "Stop instance(s)"},
|
||||
{Name: "stemcells", Description: "List stemcells"},
|
||||
{Name: "start-env", Description: "Start BOSH environment"},
|
||||
{Name: "start", Description: "Start instance(s)"},
|
||||
{Name: "ssh", Description: "SSH into instance(s)"},
|
||||
{Name: "snapshots", Description: "List snapshots"},
|
||||
{Name: "sha2ify-release", Description: "Convert release tarball to use SHA256"},
|
||||
{Name: "sha1ify-release", Description: "Convert release tarball to use SHA1"},
|
||||
{Name: "runtime-config", Description: "Show current runtime config"},
|
||||
{Name: "run-errand", Description: "Run errand"},
|
||||
{Name: "restart", Description: "Restart instance(s)"},
|
||||
{Name: "reset-release", Description: "Reset release"},
|
||||
{Name: "repack-stemcell", Description: "Repack stemcell"},
|
||||
{Name: "remove-blob", Description: "Remove blob"},
|
||||
{Name: "releases", Description: "List releases"},
|
||||
{Name: "recreate", Description: "Recreate instance(s)"},
|
||||
{Name: "orphaned-vms", Description: "List all the orphaned VMs in all deployments"},
|
||||
{Name: "scp", Description: "SCP to/from instance(s)"},
|
||||
{Name: "help", Description: "Show this help message"},
|
||||
{Name: "ignore", Description: "Ignore an instance"},
|
||||
{Name: "init-release", Description: "Initialize release"},
|
||||
{Name: "inspect-local-release", Description: "Display information from release metadata"},
|
||||
{Name: "inspect-local-stemcell", Description: "Display information from stemcell metadata"},
|
||||
{Name: "inspect-release", Description: "List release contents such as jobs"},
|
||||
{Name: "instances", Description: "List all instances in a deployment"},
|
||||
{Name: "interpolate", Description: "Interpolates variables into a manifest"},
|
||||
{Name: "locks", Description: "List current locks"},
|
||||
{Name: "log-in", Description: "Login"},
|
||||
{Name: "log-out", Description: "Log out"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--version", Description: "Show CLI version"},
|
||||
{Name: "--config", Description: "Config file path (default: ~/.bosh/config)"},
|
||||
{Name: "-e", Description: "Director environment name or URL"},
|
||||
{Name: "--ca-cert", Description: "Director CA certificate path or value"},
|
||||
{Name: "--sha2", Description: "Use SHA256 checksums"},
|
||||
{Name: "--parallel", Description: "The max number of parallel operations (default: 5)"},
|
||||
{Name: "--client", Description: "Override username or UAA client [$BOSH_CLIENT]"},
|
||||
{Name: "--client-secret", Description: "Override password or UAA client secret [$BOSH_CLIENT_SECRET]"},
|
||||
{Name: "--deployment", Description: "Deployment name [$BOSH_DEPLOYMENT]"},
|
||||
{Name: "--column", Description: "Filter to show only given column(s)"},
|
||||
{Name: "--json", Description: "Output as JSON"},
|
||||
{Name: "--tty", Description: "Force TTY-like output"},
|
||||
{Name: "--no-color", Description: "Toggle colorized output"},
|
||||
{Name: "-n", Description: "Don't ask for user input [$BOSH_NON_INTERACTIVE]"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "capacitor",
|
||||
Description: "Add a native platform project to your app",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "add", Description: "Add a native platform project to your app"},
|
||||
{Name: "ls", Description: "List all installed Cordova and Capacitor plugins"},
|
||||
{Name: "sync", Description: "This command runs copy and then update"},
|
||||
{Name: "update", Description: "Updates the native plugins and dependencies referenced in package.json"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--list", Description: "Print a list of target devices available to the given platform"},
|
||||
{Name: "--target", Description: "Run on a specific target device"},
|
||||
{Name: "--deployment", Description: "Podfile.lock won't be deleted and pod install will use --deployment option"},
|
||||
{Name: "--inline", Description: "Updates the native plugins and dependencies referenced in package.json"},
|
||||
{Name: "--help", Description: "Output usage information. Can be used with individual commands too"},
|
||||
{Name: "--version", Description: "Output the version number"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "cdk",
|
||||
Description: "AWS CDK CLI",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "init", Description: "Create a new, empty CDK project from a template"},
|
||||
{Name: "metadata", Description: "Returns all metadata associated with this stack"},
|
||||
{Name: "doctor", Description: "Check your set-up for potential problems"},
|
||||
{Name: "diff", Description: "Compares the specified stack with the deployed stack"},
|
||||
{Name: "destroy", Description: "Destroy the specified stack(s)"},
|
||||
{Name: "deploy", Description: "Deploy the specified stack(s) into your AWS account"},
|
||||
{Name: "bootstrap", Description: "Deploys the CDK toolkit stack into an AWS environment"},
|
||||
{Name: "synth", Description: "Synthesizes and prints the CloudFormation template for this stack"},
|
||||
{Name: "ls", Description: "List all stacks in the app"},
|
||||
{Name: "import", Description: "Import existing resource(s) into the given STACK"},
|
||||
{Name: "watch", Description: "Shortcut for 'deploy --watch'"},
|
||||
{Name: "ack", Description: "Acknowledge a notice so that it does not show up anymore"},
|
||||
{Name: "notices", Description: "Returns a list of relevant notices"},
|
||||
{Name: "context", Description: "Manage cached context values"},
|
||||
{Name: "doc", Description: "Opens the reference documentation in a browser"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--version", Description: "The current version"},
|
||||
{Name: "-h", Description: "Show help"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "cf",
|
||||
Description: "Cloudfoundry cli",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "app", Description: "Display health and status for app"},
|
||||
{Name: "APP_NAME", Description: "The app you want to get health and status for"},
|
||||
{Name: "ssh", Description: "Display health and status for app"},
|
||||
{Name: "env", Description: "Show all env variables for an app"},
|
||||
{Name: "orgs", Description: "List all orgs"},
|
||||
{Name: "version", Description: "Print the version of cf"},
|
||||
{Name: "login", Description: "Log user in"},
|
||||
{Name: "logout", Description: "Log user out"},
|
||||
{Name: "password", Description: "Change user password"},
|
||||
{Name: "target", Description: "Set or view the targeted org or space"},
|
||||
{Name: "api", Description: "Set or view target api url"},
|
||||
{Name: "url", Description: "API endpoint"},
|
||||
{Name: "auth", Description: "Auth user non-interactively"},
|
||||
{Name: "apps", Description: "List all apps in the target space"},
|
||||
{Name: "push", Description: "Push a new app or sync changes to an existing app"},
|
||||
{Name: "scale", Description: "Change or view the instance count, disk space limit, and memory limit for an app"},
|
||||
{Name: "delete", Description: "Delete an app"},
|
||||
{Name: "rename", Description: "Rename an app"},
|
||||
{Name: "start", Description: "Start an app"},
|
||||
{Name: "stop", Description: "Stop an app"},
|
||||
{Name: "restart", Description: "Stop all instances of the app, then start them again. This may cause downtime"},
|
||||
{Name: "run-task", Description: "Run a one-off task on an app"},
|
||||
{Name: "tasks", Description: "List tasks of an app"},
|
||||
{Name: "terminate-task", Description: "Terminate a running task of an app"},
|
||||
{Name: "events", Description: "Show recent app events"},
|
||||
{Name: "logs", Description: "Trail or show recent logs for an app"},
|
||||
{Name: "set-env", Description: "Set an environment variable for an app"},
|
||||
{Name: "unset-env", Description: "Remove an environment variable"},
|
||||
{Name: "create-app-manifest", Description: "Create an app manifest for an app that has been pushed successfully"},
|
||||
{Name: "get-health-check", Description: "Show the type of health check performed on an app"},
|
||||
{Name: "set-health-check", Description: "Change type of health check performed on an app"},
|
||||
{Name: "type of health check", Description: "Process, port or http"},
|
||||
{Name: "enable-ssh", Description: "Enable ssh for the application"},
|
||||
{Name: "disable-ssh", Description: "Disable ssh for the application"},
|
||||
{Name: "ssh-enabled", Description: "Reports whether SSH is enabled on an application container instance"},
|
||||
{Name: "marketplace", Description: "List available offerings in the marketplace"},
|
||||
{Name: "services", Description: "List all service instances in the target space"},
|
||||
{Name: "create-service", Description: "Create a service instance"},
|
||||
{Name: "update-service", Description: "Update a service instance"},
|
||||
{Name: "delete-service", Description: "Delete a service instance"},
|
||||
{Name: "rename-service", Description: "Rename a service instance"},
|
||||
{Name: "create-service-key", Description: "Create key for a service instance"},
|
||||
{Name: "service-keys", Description: "List keys for a service instance"},
|
||||
{Name: "service-key", Description: "Show service key info"},
|
||||
{Name: "delete-service-key", Description: "Delete a service key"},
|
||||
{Name: "bind-service", Description: "Bind a service instance to an app"},
|
||||
{Name: "unbind-service", Description: "Unbind a service instance from an app"},
|
||||
{Name: "bind-route-service", Description: "Bind a service instance to an HTTP route"},
|
||||
{Name: "unbind-route-service", Description: "Unbind a service instance from an HTTP route"},
|
||||
{Name: "create-user-provided-service", Description: "Make a user-provided service instance available to CF apps"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--guid", Description: "Display health and status for app"},
|
||||
{Name: "-v", Description: "Verbose output"},
|
||||
{Name: "-a", Description: "API endpoint (e.g. https://api.example.com)"},
|
||||
{Name: "-o", Description: "Org"},
|
||||
{Name: "-s", Description: "Space"},
|
||||
{Name: "-p", Description: "Password"},
|
||||
{Name: "-u", Description: "Username"},
|
||||
{Name: "--skip-ssl-validation", Description: "Skip verification of the API endpoint. Not recommended!"},
|
||||
{Name: "--unset", Description: "Remove all api endpoint targeting"},
|
||||
{Name: "-b", Description: "Custom buildpack by name or git url"},
|
||||
{Name: "-c", Description: "Startup command, set to null to reset to default start command"},
|
||||
{Name: "-d", Description: "Domain"},
|
||||
{Name: "-f", Description: "Path to manifest"},
|
||||
{Name: "-n", Description: "Hostname"},
|
||||
{Name: "-i", Description: "Number of instances"},
|
||||
{Name: "-k", Description: "Disk limit"},
|
||||
{Name: "-m", Description: "Memory limit"},
|
||||
{Name: "-r", Description: "Also delete any mapped routes"},
|
||||
{Name: "--name", Description: "Name for task"},
|
||||
{Name: "--recent", Description: "Dump recent logs instead of tailing"},
|
||||
{Name: "--no-restart", Description: "Create an app manifest for an app that has been pushed successfully"},
|
||||
{Name: "-t", Description: "User provided tags"},
|
||||
{Name: "--path", Description: "Path used in combination with HOSTNAME and DOMAIN to specify the route to bind"},
|
||||
{Name: "--router-group", Description: "Routes for this domain will be configured only on the specified router group"},
|
||||
{Name: "--orglevel", Description: "List all the routes for all spaces of current organization"},
|
||||
{Name: "--hostname", Description: "Hostname for the HTTP route (required for shared domains)"},
|
||||
{Name: "--port", Description: "Port for the TCP route"},
|
||||
{Name: "--random-port", Description: "Create a random port for the TCP route"},
|
||||
{Name: "--origin", Description: "Origin for mapping a user account to a user in an external identity provider"},
|
||||
{Name: "--reserved-route-ports", Description: "Maximum number of routes that may be created with reserved ports (Default: 0)"},
|
||||
{Name: "--allow-paid-service-plans", Description: "Can provision instances of paid service plans"},
|
||||
{Name: "--disallow-paid-service-plans", Description: "Cannot provision instances of paid service plans"},
|
||||
{Name: "-H", Description: "Custom headers to include in the request, flag can be specified multiple times"},
|
||||
{Name: "-X", Description: "HTTP method (GET,POST,PUT,DELETE,etc)"},
|
||||
{Name: "--checksum", Description: "Compute and show the sha1 value of the plugin binary file"},
|
||||
{Name: "--help", Description: "Show help for Cloud Foundry command line tool"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "checkov",
|
||||
Description: "Branch",
|
||||
Options: []core.Option{
|
||||
{Name: "--help", Description: "Show help for checkov"},
|
||||
{Name: "--version", Description: "Show the version of checkov"},
|
||||
{Name: "--quiet", Description: "CLI output, display only failed checks"},
|
||||
{Name: "--compact", Description: "CLI output, do not display code blocks"},
|
||||
{Name: "--list", Description: "List checks"},
|
||||
{Name: "--no-guide", Description: "IaC root directory (can not be used together with --file)"},
|
||||
{Name: "--output", Description: "IaC frameworks to include checks for"},
|
||||
{Name: "--skip-framework", Description: "IaC frameworks to exclude checks for"},
|
||||
{Name: "--add-check", Description: "Generate a new check via CLI prompt"},
|
||||
{Name: "--file", Description: "IaC file(can not be used together with --directory)"},
|
||||
{Name: "--skip-path", Description: "Directory for custom checks to be loaded. Can be repeated"},
|
||||
{Name: "--bc-api-key", Description: "Bridgecrew API key. You may also use the environment variable: BC_API_KEY"},
|
||||
{Name: "--docker-image", Description: "Scan docker images by name or ID. Only works with --bc-api-key flag"},
|
||||
{Name: "--dockerfile-path", Description: "Path to the Dockerfile of the scanned docker image"},
|
||||
{Name: "--repo-id", Description: "Identity string of the repository, with form <repo_owner>/<repo_name>"},
|
||||
{Name: "--branch", Description: "Evaluate the values of variables and locals"},
|
||||
{Name: "--ca-certificate", Description: "Path to the Checkov configuration YAML file"},
|
||||
{Name: "--create-config", Description: "Runs checks but suppresses the error code"},
|
||||
{Name: "--soft-fail-on", Description: "Set minimum severity to return a non-zero exit code"},
|
||||
{Name: "--skip-cve-package", Description: "Use the Enforcement rules configured in the platform for hard / soft fail logic"},
|
||||
{Name: "--support", Description: "Enable debug logs and upload the logs to the server"},
|
||||
{Name: "--summary-position", Description: "Chose whether the summary will be appended on top or on bottom"},
|
||||
{Name: "--skip-download", Description: "Do not download any data from Prisma Cloud"},
|
||||
{Name: "--secrets-history-timeout", Description: "Maximum time to run the history scan"},
|
||||
{Name: "--scan-secrets-history", Description: "Will scan the history of commits for secrets"},
|
||||
{Name: "--prisma-api-url", Description: "The Prisma Cloud API URL"},
|
||||
{Name: "--policy-metadata-filter", Description: "Name of the output folder to save the chosen output formats"},
|
||||
{Name: "--output-baseline-as-skipped", Description: "Output checks that are skipped due to baseline file presence"},
|
||||
{Name: "--openai-api-key", Description: "Return exit code 0 instead of 2"},
|
||||
{Name: "--mask", Description: "Each entry in the list will be used for masking the desired attribute"},
|
||||
{Name: "--deep-analysis", Description: "Enable combine TF graph and TF Plan graph"},
|
||||
{Name: "--block-list-secret-scan", Description: "List of files to filter out from the secret scanner"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "circleci",
|
||||
Description: "CircleCI CLI",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "completion", Description: "Generate shell completion scripts"},
|
||||
{Name: "bash", Description: "Generate bash completion scripts"},
|
||||
{Name: "zsh", Description: "Generate zsh completion scripts"},
|
||||
{Name: "config", Description: "Operate on build config files"},
|
||||
{Name: "pack", Description: "Pack CircleCI config files into a single file"},
|
||||
{Name: "process", Description: "Validate and display extended config"},
|
||||
{Name: "validate", Description: "Checks that config is valid"},
|
||||
{Name: "context", Description: "Secure and share environment variables across projects"},
|
||||
{Name: "create", Description: "Create a new context"},
|
||||
{Name: "vcs-type", Description: "Your VCS provider, can be either 'github' or 'bitbucket'"},
|
||||
{Name: "org-name", Description: "The name of your organization"},
|
||||
{Name: "delete", Description: "Delete the named context"},
|
||||
{Name: "context-name", Description: "The name for your context"},
|
||||
{Name: "list", Description: "List all contexts"},
|
||||
{Name: "remove-secret", Description: "Remove environment variable from a context"},
|
||||
{Name: "secret name", Description: "The name of the env variable to remove"},
|
||||
{Name: "show", Description: "Show a context"},
|
||||
{Name: "store-secret", Description: "Store environment variables"},
|
||||
{Name: "diagnostic", Description: "Check the status of your CircleCI CLI"},
|
||||
{Name: "follow", Description: "Attempt to follow the project for the current git repo"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
{Name: "local", Description: "Debug jobs on the local machine"},
|
||||
{Name: "execute", Description: "Run a job in a container on the local machine"},
|
||||
{Name: "namespace", Description: "Operate on namespaces"},
|
||||
{Name: "open", Description: "Open the current project in the browser"},
|
||||
{Name: "orb", Description: "Operate on orbs"},
|
||||
{Name: "add-to-category", Description: "Add an orb to a category"},
|
||||
{Name: "namespace/orb", Description: "The namespace and orb to add to a category"},
|
||||
{Name: "category name", Description: "The name of the category to add the orb to, in quotes"},
|
||||
{Name: "info", Description: "Show metadata of an orb"},
|
||||
{Name: "init", Description: "Initialize a new orb"},
|
||||
{Name: "path", Description: "The /path/to/myProject-orb"},
|
||||
{Name: "list-categories", Description: "List orb categories"},
|
||||
{Name: "publish", Description: "Publish an orb to the registry"},
|
||||
{Name: "remove-from-category", Description: "Remove an orb from a category"},
|
||||
{Name: "source", Description: "Show source code of an orb"},
|
||||
{Name: "unlist", Description: "Disable/enable an orb's listing in the registry"},
|
||||
{Name: "condition", Description: "Use either true|false"},
|
||||
{Name: "policy", Description: "Manage security policies"},
|
||||
{Name: "decide", Description: "Make a decision"},
|
||||
{Name: "diff", Description: "Get diff between local and remote policy bundles"},
|
||||
{Name: "policy_dir_path", Description: "Policy file or directory path"},
|
||||
{Name: "eval", Description: "Perform raw opa evaluation locally"},
|
||||
{Name: "fetch", Description: "Fetch policy bundle (or a single policy)"},
|
||||
{Name: "policy name", Description: "Name of policy to fetch"},
|
||||
{Name: "logs", Description: "Get policy decision logs / decision log (or policy bundle) by decision ID"},
|
||||
{Name: "decision ID", Description: "Decision ID to get logs for"},
|
||||
{Name: "push", Description: "Push policy bundle (or a single policy)"},
|
||||
{Name: "runner", Description: "Operate on runners"},
|
||||
{Name: "instance", Description: "Operate on runner instances"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--private", Description: "Show metadata of an orb"},
|
||||
{Name: "-u", Description: "Include uncertified orbs"},
|
||||
{Name: "--input", Description: "Path to input file, i.e. ./.circleci/config.yml"},
|
||||
{Name: "--metafile", Description: "Path to decision metadata file"},
|
||||
{Name: "--owner-id", Description: "The id of the policy's owner"},
|
||||
{Name: "--strict", Description: "Return non-zero status code for decision resulting in HARD_FAIL"},
|
||||
{Name: "--context", Description: "Policy context for decision, default is 'config'"},
|
||||
{Name: "--query", Description: "Policy decision query, default is 'data'"},
|
||||
{Name: "--after", Description: "Filter decision logs triggered AFTER this datetime"},
|
||||
{Name: "--before", Description: "Filter decision logs triggered BEFORE this datetime"},
|
||||
{Name: "--branch", Description: "Filter decision logs based on branch name"},
|
||||
{Name: "--out", Description: "Specify output file name"},
|
||||
{Name: "--policy-bundle", Description: "Get only the policy bundle for given decisionID"},
|
||||
{Name: "--project-id", Description: "Filter decision logs based on project-id"},
|
||||
{Name: "--status", Description: "Filter decision logs based on their status"},
|
||||
{Name: "--no-prompt", Description: "Removes the prompt"},
|
||||
{Name: "--enabled", Description: "Enable/disable policy decision evaluation in build pipeline"},
|
||||
{Name: "--help", Description: "Show help for CircleCI"},
|
||||
{Name: "--skip-update-check", Description: "Skip update check before every command"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "cloudflared",
|
||||
Description: "Specify the hostname of your application",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "install", Description: "Install cloudflared as an user launch agent"},
|
||||
{Name: "uninstall", Description: "Uninstall the cloudflared launch agent"},
|
||||
{Name: "help", Description: "Shows a list of commands or help for one command"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--hostname", Description: "Specify the hostname of your application"},
|
||||
{Name: "--destination", Description: "Specify the destination address of your SSH server"},
|
||||
{Name: "--url", Description: "Specify the host:port to forward data to Cloudflare edge"},
|
||||
{Name: "--service-token-id", Description: "Specify an Access service token ID you wish to use. [$TUNNEL_SERVICE_TOKEN_ID]"},
|
||||
{Name: "--service-token-secret", Description: "Access service token secret"},
|
||||
{Name: "--log-directory", Description: "Save application log to this directory for reporting issues"},
|
||||
{Name: "--log-level", Description: "Application logging level {debug, info, warn, error, fatal}"},
|
||||
{Name: "--beta", Description: "Specify if you wish to update to the latest beta version (default: false)"},
|
||||
{Name: "--version", Description: "Specify a version you wish to upgrade or downgrade to"},
|
||||
{Name: "--metrics", Description: "Manages the cloudflared launch agent"},
|
||||
{Name: "--allow-request", Description: "The token subcommand produces a JWT which can be used to authenticate requests"},
|
||||
{Name: "--app", Description: "Url of access application"},
|
||||
{Name: "--short-lived-cert", Description: "Specify if you wish to generate short lived certs. (default: false)"},
|
||||
{Name: "--config", Description: "Config file"},
|
||||
{Name: "--origincert", Description: "Certificate generated"},
|
||||
{Name: "--autoupdate-freq", Description: "Autoupdate frequency. Default is 24h0m0s. (default: 24h0m0s)"},
|
||||
{Name: "--no-autoupdate", Description: "Address"},
|
||||
{Name: "--pidfile", Description: "Application PID"},
|
||||
{Name: "--loglevel", Description: "Logging level"},
|
||||
{Name: "--transport-loglevel", Description: "Logging level"},
|
||||
{Name: "--logfile", Description: "Save application log to this file for reporting issues. [$TUNNEL_LOGFILE]"},
|
||||
{Name: "--trace-output", Description: "Output file"},
|
||||
{Name: "--output", Description: "Render output using given FORMAT. Valid options are 'json' or 'yaml'"},
|
||||
{Name: "--credentials-file", Description: "Filepath at which to read/write the tunnel credentials [$TUNNEL_CRED_FILE]"},
|
||||
{Name: "--secret", Description: "Base 64 encoded secret"},
|
||||
{Name: "--overwrite-dns", Description: "Tunnel"},
|
||||
{Name: "--vnet", Description: "The ID or name of the virtual network to which the route is associated to"},
|
||||
{Name: "--filter-tunnel-id", Description: "Show only routes with the given tunnel ID"},
|
||||
{Name: "--filter-network-is-subset-of", Description: "Show only routes whose network is a subset of the given network"},
|
||||
{Name: "--filter-comment-is", Description: "Show only routes with this comment"},
|
||||
{Name: "--filter-vnet-id", Description: "Show only routes that are attached to the given virtual network ID"},
|
||||
{Name: "--default", Description: "Lists the virtual networks based on the given filter flags"},
|
||||
{Name: "--id", Description: "List virtual networks with the given ID"},
|
||||
{Name: "--name", Description: "List virtual networks with the given NAME"},
|
||||
{Name: "--is-default", Description: "Render output using given FORMAT. Valid options are 'json' or 'yaml'"},
|
||||
{Name: "--comment", Description: "A new comment describing the purpose of the virtual network"},
|
||||
{Name: "--force", Description: "Filepath at which to read/write the tunnel credentials [$TUNNEL_CRED_FILE]"},
|
||||
{Name: "--credentials-contents", Description: "Contents of the tunnel credentials JSON"},
|
||||
{Name: "--features", Description: "Features"},
|
||||
{Name: "--token", Description: "Tunnel token"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "coda",
|
||||
Description: "Coda CLI - interact with Coda docs and tables",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "init", Description: "Initialize an empty project with the recommended settings and dependencies"},
|
||||
{Name: "execute", Description: "Execute the formula and print the output to the terminal"},
|
||||
{Name: "formula", Description: "Formula name to execute"},
|
||||
{Name: "params", Description: "Arguments to pass to the formula"},
|
||||
{Name: "url", Description: "The URL to sync from"},
|
||||
{Name: "apiToken", Description: "The API token to register"},
|
||||
{Name: "name", Description: "The desired Pack name"},
|
||||
{Name: "description", Description: "The Pack description"},
|
||||
{Name: "upload", Description: "Use this command to upload a new version of your Pack based on your latest code"},
|
||||
{Name: "release", Description: "Release a Pack version and make it live for your users"},
|
||||
{Name: "whoami", Description: "Looks up information about the API token that is registered in this environment"},
|
||||
{Name: "build", Description: "Generate a bundle for your Pack"},
|
||||
{Name: "validate", Description: "Validate your Pack definition"},
|
||||
{Name: "option", Description: "Currently the only supported option is 'timerStrategy'"},
|
||||
{Name: "value", Description: "Value to set for the option"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--dynamicUrl", Description: "The URL to sync from"},
|
||||
{Name: "--name", Description: "The desired Pack name"},
|
||||
{Name: "--description", Description: "The Pack description"},
|
||||
{Name: "--version", Description: "Show version number"},
|
||||
{Name: "--help", Description: "Show help"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "command",
|
||||
Description: "Run an external command",
|
||||
Options: []core.Option{
|
||||
{Name: "-v", Description: "Print the location of the command"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "copilot",
|
||||
Description: "Name of the application",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "init", Description: "Create a new ECS or App Runner application"},
|
||||
{Name: "docs", Description: "Open the copilot docs"},
|
||||
{Name: "ls", Description: "Lists all the applications in your account"},
|
||||
{Name: "show", Description: "Shows info about an application"},
|
||||
{Name: "delete", Description: "Delete all resources associated with the application"},
|
||||
{Name: "upgrade", Description: "Upgrades the template of an application to the latest version"},
|
||||
{Name: "svc", Description: "Commands for services. Services are long-running ECS or App Runner services"},
|
||||
{Name: "package", Description: "Prints the AWS CloudFormation template of a service"},
|
||||
{Name: "deploy", Description: "Deploys a service to an environment"},
|
||||
{Name: "status", Description: "Shows status of a deployed service"},
|
||||
{Name: "logs", Description: "Displays logs of a deployed service"},
|
||||
{Name: "exec", Description: "Execute a command in a running container part of a service"},
|
||||
{Name: "pause", Description: "Pause running App Runner service"},
|
||||
{Name: "resume", Description: "Resumes a paused service"},
|
||||
{Name: "job", Description: "Commands for jobs. Jobs are tasks that are triggered by events"},
|
||||
{Name: "run", Description: "Run a one-off task on Amazon ECS"},
|
||||
{Name: "storage", Description: "Commands for working with storage and databases"},
|
||||
{Name: "version", Description: "Print the version number"},
|
||||
{Name: "completion", Description: "Output shell completion code"},
|
||||
{Name: "pipeline", Description: "Commands for pipelines. Continuous delivery pipelines to release services"},
|
||||
{Name: "update", Description: "Deploys a pipeline for the services in your workspace"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--app", Description: "Name of the application"},
|
||||
{Name: "--name", Description: "Name of the environment"},
|
||||
{Name: "--help", Description: "Help for command"},
|
||||
{Name: "--json", Description: "Outputs in JSON format"},
|
||||
{Name: "--yes", Description: "Skips confirmation prompt"},
|
||||
{Name: "--deploy", Description: "Optional. Deploy your service or job to a test environment"},
|
||||
{Name: "--image", Description: "The location of an existing Docker image"},
|
||||
{Name: "--port", Description: "The port on which your service listens"},
|
||||
{Name: "--retries", Description: "Optional. The number of times to try restarting the job on a failure"},
|
||||
{Name: "--schedule", Description: "Optional. The schedule on which to run the job (cron expression or rate)"},
|
||||
{Name: "--timeout", Description: "Optional. The timeout duration for the execution of the task or job"},
|
||||
{Name: "--domain", Description: "Optional. Your existing custom domain name"},
|
||||
{Name: "--resource-tags", Description: "Optional. Labels with key and value separated by commas to add to your resources"},
|
||||
{Name: "--aws-access-key-id", Description: "Optional. An AWS access key"},
|
||||
{Name: "--aws-secret-access-key", Description: "Optional. An AWS secret access key"},
|
||||
{Name: "--aws-session-token", Description: "Optional. An AWS session token for temporary credentials"},
|
||||
{Name: "--default-config", Description: "Optional. Skip prompting and use default environment configuration"},
|
||||
{Name: "--import-private-subnets", Description: "Optional. Use existing private subnet IDs"},
|
||||
{Name: "--import-public-subnets", Description: "Optional. Use existing public subnet IDs"},
|
||||
{Name: "--import-vpc-id", Description: "Optional. Use an existing VPC ID"},
|
||||
{Name: "--override-az-names", Description: "Optional. Availability Zone names. (default 2 random AZs)"},
|
||||
{Name: "--override-private-cidrs", Description: "Optional. CIDR to use for private subnets. (default 10.0.2.0/24,10.0.3.0/24)"},
|
||||
{Name: "--override-public-cidrs", Description: "Optional. CIDR to use for public subnets. (default 10.0.0.0/24,10.0.1.0/24)"},
|
||||
{Name: "--override-vpc-cidr", Description: "Optional. Global CIDR to use for VPC. (default 10.0.0.0/16)"},
|
||||
{Name: "--prod", Description: "If the environment contains production services"},
|
||||
{Name: "--profile", Description: "Name of the profile"},
|
||||
{Name: "--region", Description: "Optional. An AWS region where the environment will be created"},
|
||||
{Name: "--resources", Description: "Optional. Show the resources in your environment"},
|
||||
{Name: "--dockerfile", Description: "Path to the Dockerfile"},
|
||||
{Name: "--no-subscribe", Description: "Optional. Turn off selection for adding subscriptions for worker services"},
|
||||
{Name: "--subscribe-topics", Description: "Type of service to create"},
|
||||
{Name: "--local", Description: "Only show services in the workspace"},
|
||||
{Name: "--output-dir", Description: "Optional. Writes the stack template and template configuration to a directory"},
|
||||
{Name: "--tag", Description: "Optional. The container image tag"},
|
||||
{Name: "--force", Description: "Optional. Force a new service deployment using the existing image"},
|
||||
{Name: "--end-time", Description: "Optional. Specifies if the logs should be streamed"},
|
||||
{Name: "--limit", Description: "Optional. Only return logs from specific log group"},
|
||||
{Name: "--since", Description: "Optional. Only return logs after a specific date (RFC3339). Defaults to all logs"},
|
||||
{Name: "--tasks", Description: "Optional. Only return logs from specific task IDs"},
|
||||
{Name: "--command", Description: "Optional. The command that is passed to a running container"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "cosign",
|
||||
Description: "Provides utilities for attaching artifacts to other artifacts in a registry",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "attach", Description: "Provides utilities for attaching artifacts to other artifacts in a registry"},
|
||||
{Name: "attestation", Description: "Attach attestation to the supplied container image"},
|
||||
{Name: "sbom", Description: "Attach sbom to the supplied container image"},
|
||||
{Name: "signature", Description: "Attach signatures to the supplied container image"},
|
||||
{Name: "attest", Description: "Attest the supplied container image"},
|
||||
{Name: "clean", Description: "Remove all signatures from an image"},
|
||||
{Name: "completion", Description: "Generate completion script"},
|
||||
{Name: "copy", Description: "Copy the supplied container image and signatures"},
|
||||
{Name: "verify", Description: "Verify a signature on the base image specified in the Dockerfile"},
|
||||
{Name: "generate", Description: "Generates (unsigned) signature payloads from the supplied container image"},
|
||||
{Name: "generate-key-pair", Description: "Generates a key-pair"},
|
||||
{Name: "import-key-pair", Description: "Imports a PEM-encoded RSA or EC private key"},
|
||||
{Name: "load", Description: "Load a signed image on disk to a remote registry"},
|
||||
{Name: "login", Description: "Log in to a registry"},
|
||||
{Name: "piv-tool", Description: "This cosign was not built with piv-tool support!"},
|
||||
{Name: "pkcs11-tool", Description: "This cosign was not built with pkcs11-tool support!"},
|
||||
{Name: "policy", Description: "Subcommand to manage a keyless policy"},
|
||||
{Name: "init", Description: "Generate a new keyless policy"},
|
||||
{Name: "sign", Description: "Sign a keyless policy"},
|
||||
{Name: "public-key", Description: "Gets a public key from the key-pair"},
|
||||
{Name: "sign-blob", Description: "Sign the supplied blob, outputting the base64-encoded signature to stdout"},
|
||||
{Name: "upload", Description: "Provides utilities for uploading artifacts to a registry"},
|
||||
{Name: "blob", Description: "Upload one or more blobs to the supplied container image address"},
|
||||
{Name: "wasm", Description: "Upload a wasm module to the supplied container image reference"},
|
||||
{Name: "verify-attestation", Description: "Verify an attestation on the supplied container image"},
|
||||
{Name: "verify-blob", Description: "Verify a signature on the supplied blob"},
|
||||
{Name: "version", Description: "Prints the version"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--output-file", Description: "Log output to a file"},
|
||||
{Name: "--timeout", Description: "Timeout for commands"},
|
||||
{Name: "--verbose", Description: "Log debug output"},
|
||||
{Name: "--allow-insecure-registry", Description: "Path to the attestation envelope"},
|
||||
{Name: "--k8s-keychain", Description: "Help for attestation"},
|
||||
{Name: "--type", Description: "Type of sbom (spdx|cyclonedx|syft)"},
|
||||
{Name: "--help", Description: "Help for sbom"},
|
||||
{Name: "--signature", Description: "The signature, path to the signature, or {-} for stdin"},
|
||||
{Name: "--force", Description: "Skip warnings and confirmations"},
|
||||
{Name: "--fulcio-url", Description: "[EXPERIMENTAL] address of sigstore PKI server"},
|
||||
{Name: "--identity-token", Description: "[EXPERIMENTAL] identity token to use for certificate from fulcio"},
|
||||
{Name: "--insecure-skip-verify", Description: "Path to the private key file, KMS URI or Kubernetes Secret"},
|
||||
{Name: "--no-upload", Description: "Do not upload the generated attestation"},
|
||||
{Name: "--oidc-client-id", Description: "[EXPERIMENTAL] OIDC client ID for application"},
|
||||
{Name: "--oidc-client-secret", Description: "[EXPERIMENTAL] OIDC client secret for application"},
|
||||
{Name: "--oidc-issuer", Description: "[EXPERIMENTAL] OIDC provider to be used to issue ID token"},
|
||||
{Name: "--predicate", Description: "Path to the predicate file"},
|
||||
{Name: "--recursive", Description: "If a multi-arch image is specified, additionally sign each discrete image"},
|
||||
{Name: "--rekor-url", Description: "[EXPERIMENTAL] address of rekor STL server"},
|
||||
{Name: "--replace", Description: "Whether to use a hardware security key"},
|
||||
{Name: "--slot", Description: "Specify a predicate type (slsaprovenance|link|spdx|vuln|custom) or an URI"},
|
||||
{Name: "--attachment", Description: "Related image attachment to sign (sbom), default none"},
|
||||
{Name: "--attachment-tag-prefix", Description: "Only verify the base image (the last FROM image in the Dockerfile)"},
|
||||
{Name: "--cert", Description: "Path to the public certificate"},
|
||||
{Name: "--cert-email", Description: "The email expected in a valid Fulcio certificate"},
|
||||
{Name: "--cert-oidc-issuer", Description: "Whether to check the claims found"},
|
||||
{Name: "--local-image", Description: "Output format for the signing image information (json|text)"},
|
||||
{Name: "--signature-digest-algorithm", Description: "Whether to use a hardware security key"},
|
||||
{Name: "--kms", Description: "Create key pair in KMS service to use for signing"},
|
||||
{Name: "--key", Description: "Import key pair to use for signing"},
|
||||
{Name: "--mirror", Description: "GCS bucket to a SigStore TUF repository or HTTP(S) base URL"},
|
||||
{Name: "--root", Description: "Path to trusted initial root. defaults to embedded root"},
|
||||
{Name: "--dir", Description: "Path to directory where the signed image is stored on disk"},
|
||||
{Name: "--password", Description: "Password"},
|
||||
{Name: "--password-stdin", Description: "Take the password from stdin"},
|
||||
{Name: "--username", Description: "Username"},
|
||||
{Name: "--issuer", Description: "Trusted issuer to use for identity tokens, e.g. https://accounts.google.com"},
|
||||
{Name: "--namespace", Description: "Registry namespace that the root policy belongs to"},
|
||||
{Name: "--out", Description: "Output policy locally"},
|
||||
{Name: "--threshold", Description: "Threshold for root policy signers"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "dapr",
|
||||
Description: "Distributed Application Runtime CLI",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "build-info", Description: "Print build info of Dapr CLI and runtime"},
|
||||
{Name: "completion", Description: "Generates shell completion scripts"},
|
||||
{Name: "bash", Description: "Generates bash completion scripts"},
|
||||
{Name: "fish", Description: "Generates fish completion scripts"},
|
||||
{Name: "powershell", Description: "Generates powershell completion scripts"},
|
||||
{Name: "zsh", Description: "Generates zsh completion scripts"},
|
||||
{Name: "components", Description: "List all Dapr components. Supported platforms: Kubernetes"},
|
||||
{Name: "configurations", Description: "List all Dapr configurations. Supported platforms: Kubernetes"},
|
||||
{Name: "dashboard", Description: "Start Dapr dashboard. Supported platforms: Kubernetes and self-hosted"},
|
||||
{Name: "invoke", Description: "Invoke a method on a given Dapr application. Supported platforms: Self-hosted"},
|
||||
{Name: "list", Description: "List all Dapr instances. Supported platforms: Kubernetes and self-hosted"},
|
||||
{Name: "logs", Description: "Get Dapr sidecar logs for an application. Supported platforms: Kubernetes"},
|
||||
{Name: "mtls", Description: "Check if mTLS is enabled. Supported platforms: Kubernetes"},
|
||||
{Name: "expiry", Description: "Checks the expiry of the root certificate"},
|
||||
{Name: "export", Description: "Export the root CA, issuer cert and key from Kubernetes to local files"},
|
||||
{Name: "renew-cert", Description: "Rotates the Dapr root certificate on your Kubernetes cluster"},
|
||||
{Name: "publish", Description: "Publish a pub-sub event. Supported platforms: Self-hosted"},
|
||||
{Name: "status", Description: "Show the health status of Dapr services. Supported platforms: Kubernetes"},
|
||||
{Name: "stop", Description: "Stop Dapr instances and their associated apps. Supported platforms: Self-hosted"},
|
||||
{Name: "uninstall", Description: "Uninstall Dapr runtime. Supported platforms: Kubernetes and self-hosted"},
|
||||
{Name: "version", Description: "Print the Dapr runtime and CLI version"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--api-token-secret", Description: "The secret to use for the API token"},
|
||||
{Name: "--app-id", Description: "The app id to annotate"},
|
||||
{Name: "--app-max-concurrency", Description: "The maximum number of concurrent requests to allow"},
|
||||
{Name: "--app-port", Description: "The port to expose the app on"},
|
||||
{Name: "--app-protocol", Description: "The protocol to use for the app. Allowed values http, https, h2c, grpc, grpcs"},
|
||||
{Name: "--app-ssl", Description: "Enable SSL for the app"},
|
||||
{Name: "--app-token-secret", Description: "The secret to use for the app token"},
|
||||
{Name: "--config", Description: "The config file to annotate"},
|
||||
{Name: "--cpu-limit", Description: "The CPU limit to set"},
|
||||
{Name: "--cpu-request", Description: "The CPU request to set"},
|
||||
{Name: "--dapr-image", Description: "The image to use for the dapr sidecar container"},
|
||||
{Name: "--enable-api-logging", Description: "Enable API logging for the Dapr sidecar"},
|
||||
{Name: "--enable-debug", Description: "Enable debug"},
|
||||
{Name: "--enable-metrics", Description: "Enable metrics"},
|
||||
{Name: "--enable-profile", Description: "Enable profiling"},
|
||||
{Name: "--env", Description: "Environment variables to set (key value pairs, comma separated)"},
|
||||
{Name: "--graceful-shutdown-seconds", Description: "The number of seconds to wait for the app to shutdown"},
|
||||
{Name: "--http-read-buffer-size", Description: "The maximum size of HTTP header read buffer in kilobytes"},
|
||||
{Name: "--http-stream-request-body", Description: "Enable streaming request body for HTTP"},
|
||||
{Name: "--kubernetes", Description: "Apply annotations to Kubernetes resources"},
|
||||
{Name: "--listen-addresses", Description: "The addresses to listen on"},
|
||||
{Name: "--liveness-probe-delay", Description: "The delay to use for the liveness probe"},
|
||||
{Name: "--liveness-probe-period", Description: "The period to use for the liveness probe"},
|
||||
{Name: "--liveness-probe-threshold", Description: "The threshold to use for the liveness probe"},
|
||||
{Name: "--liveness-probe-timeout", Description: "The timeout to use for the liveness probe"},
|
||||
{Name: "--log-as-json", Description: "Log as JSON"},
|
||||
{Name: "--log-level", Description: "The log level to use"},
|
||||
{Name: "--max-request-body-size", Description: "The maximum request body size to use"},
|
||||
{Name: "--memory-limit", Description: "The memory limit to set"},
|
||||
{Name: "--memory-request", Description: "The memory request to set"},
|
||||
{Name: "--metrics-port", Description: "The port to expose the metrics on"},
|
||||
{Name: "--namespace", Description: "Comma separated list of addresses for Dapr actor placement servers"},
|
||||
{Name: "--readiness-probe-delay", Description: "The delay to use for the readiness probe"},
|
||||
{Name: "--readiness-probe-period", Description: "The period to use for the readiness probe"},
|
||||
{Name: "--readiness-probe-threshold", Description: "The threshold to use for the readiness probe"},
|
||||
{Name: "--readiness-probe-timeout", Description: "The timeout to use for the readiness probe"},
|
||||
{Name: "--resource", Description: "The resource to target to annotate"},
|
||||
{Name: "--unix-domain-socket-path", Description: "Linux domain socket path to use for communicating with the Dapr sidecar"},
|
||||
{Name: "--volume-mounts", Description: "List of pod volumes to be mounted to the sidecar container in read-only mode"},
|
||||
{Name: "--volume-mounts-rw", Description: "List of pod volumes to be mounted to the sidecar container in read-write mode"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "datree",
|
||||
Description: "Help for",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "completion", Description: "Generate completion script for bash,zsh,fish,powershell"},
|
||||
{Name: "config", Description: "Internal configuration management for datree config file"},
|
||||
{Name: "get", Description: "Get configuration value"},
|
||||
{Name: "set", Description: "Set configuration value"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
{Name: "kustomize", Description: "Generate kustomization files from manifests"},
|
||||
{Name: "test", Description: "Test kustomization files"},
|
||||
{Name: "version", Description: "Print the version number"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--help", Description: "Help for 'test'"},
|
||||
{Name: "--ignore-missing-schemas", Description: "Ignore missing schemas when executing schema validation step"},
|
||||
{Name: "--no-record", Description: "Do not send policy checks metadata to the backend"},
|
||||
{Name: "--only-k8s-files", Description: "Define output format (simple, yaml, json, xml, JUnit)"},
|
||||
{Name: "-p", Description: "Policy name to run against"},
|
||||
{Name: "--policy-config", Description: "Path for local policies configuration file"},
|
||||
{Name: "--schema-location", Description: "Override schemas location search path (can be specified multiple times)"},
|
||||
{Name: "-s", Description: "Set kubernetes version to validate against. Defaults to 1.19.0"},
|
||||
{Name: "--verbose", Description: "Display 'How to Fix' link"},
|
||||
{Name: "-h", Description: "Set configuration value"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "deployctl",
|
||||
Description: "Command line tool for Deno Deploy",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "deploy", Description: "Deploy a script with static files to Deno Deploy"},
|
||||
{Name: "upgrade", Description: "Upgrade deployctl"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--exclude", Description: "Exclude files that match this pattern"},
|
||||
{Name: "--include", Description: "Only upload files that match this pattern"},
|
||||
{Name: "--no-static", Description: "Don't include the files in the CWD as static files"},
|
||||
{Name: "--prod", Description: "Create a production deployment (default is preview deployment)"},
|
||||
{Name: "-p", Description: "The project to deploy to"},
|
||||
{Name: "--token", Description: "The API token to use"},
|
||||
{Name: "--help", Description: "Show help"},
|
||||
{Name: "-V", Description: "Show the version"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "direnv",
|
||||
Description: "Help for direnv",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "allow", Description: "Grants direnv to load the given .envrc"},
|
||||
{Name: "deny", Description: "Revokes the authorization of a given .envrc"},
|
||||
{Name: "exec", Description: "Executes a command after loading the first .envrc found in DIR"},
|
||||
{Name: "fetchurl", Description: "Fetches a given URL into direnv's CAS"},
|
||||
{Name: "hook", Description: "Used to setup the shell hook"},
|
||||
{Name: "prune", Description: "Removes old allowed files"},
|
||||
{Name: "reload", Description: "Triggers an env reload"},
|
||||
{Name: "status", Description: "Prints some debug status information"},
|
||||
{Name: "stdlib", Description: "Displays the stdlib available in the .envrc execution context"},
|
||||
{Name: "show_dump", Description: "Show the data inside of a dump for debugging purposes"},
|
||||
{Name: "dotenv", Description: "Transforms a .env file to evaluatable `export KEY=PAIR` statements"},
|
||||
{Name: "dump", Description: "Used to export the inner bash state at the end of execution"},
|
||||
{Name: "FILE", Description: "Overwrites by dump data"},
|
||||
{Name: "export", Description: "Loads an .envrc and prints the diff in terms of exports"},
|
||||
{Name: "watch", Description: "Adds a path to the list that direnv watches for changes"},
|
||||
{Name: "watch-dir", Description: "Recursively adds a directory to the list that direnv watches for changes"},
|
||||
{Name: "watch-list", Description: "Pipe pairs of `mtime path` to stdin to build a list of files to watch"},
|
||||
{Name: "current", Description: "Reports whether direnv's view of a file is current (or stale)"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "doctl",
|
||||
Description: "The official DigitalOcean command line interface (CLI)",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "help", Description: "Display help about commands"},
|
||||
{Name: "get", Description: "Retrieve account profile details"},
|
||||
{Name: "ratelimit", Description: "Retrieve your API usage and the remaining quota"},
|
||||
{Name: "apps", Description: "Display commands for working with apps"},
|
||||
{Name: "create", Description: "Create an app"},
|
||||
{Name: "create-deployment", Description: "Create a deployment"},
|
||||
{Name: "delete", Description: "Deletes an app"},
|
||||
{Name: "get-deployment", Description: "Get a deployment"},
|
||||
{Name: "list", Description: "List all apps"},
|
||||
{Name: "list-alerts", Description: "List alerts on an app"},
|
||||
{Name: "list-deployments", Description: "List all deployments"},
|
||||
{Name: "list-regions", Description: "List App Platform regions"},
|
||||
{Name: "logs", Description: "Get logs"},
|
||||
{Name: "propose", Description: "Propose an app spec"},
|
||||
{Name: "spec", Description: "Display commands for working with app specs"},
|
||||
{Name: "tier", Description: "Display commands for working with app tiers"},
|
||||
{Name: "update", Description: "Update an app"},
|
||||
{Name: "update-alert-destinations", Description: "Update alert destinations"},
|
||||
{Name: "auth", Description: "Display commands for authenticating doctl with an account"},
|
||||
{Name: "init", Description: "Initialize doctl to use a specific account"},
|
||||
{Name: "remove", Description: "Remove authentication contexts"},
|
||||
{Name: "switch", Description: "Switches between authentication contexts"},
|
||||
{Name: "balance", Description: "Display commands for retrieving your account balance"},
|
||||
{Name: "billing-history", Description: "Display commands for retrieving your billing history"},
|
||||
{Name: "compute", Description: "Display commands that manage infrastructure"},
|
||||
{Name: "action", Description: "Display commands for retrieving resource action history"},
|
||||
{Name: "cdn", Description: "Display commands that manage CDNs"},
|
||||
{Name: "certificate", Description: "Display commands that manage SSL certificates and private keys"},
|
||||
{Name: "domain", Description: "Display commands that manage domains"},
|
||||
{Name: "droplet", Description: "Manage virtual machines (Droplets)"},
|
||||
{Name: "droplet-action", Description: "Display Droplet action commands"},
|
||||
{Name: "firewall", Description: "Display commands to manage cloud firewalls"},
|
||||
{Name: "floating-ip", Description: "Display commands to manage floating IP addresses"},
|
||||
{Name: "floating-ip-action", Description: "Display commands to associate floating IP addresses with Droplets"},
|
||||
{Name: "image", Description: "Display commands to manage images"},
|
||||
{Name: "image-action", Description: "Display commands to perform actions on images"},
|
||||
{Name: "load-balancer", Description: "Display commands to manage load balancers"},
|
||||
{Name: "region", Description: "Display commands to list datacenter regions"},
|
||||
{Name: "size", Description: "List available Droplet sizes"},
|
||||
{Name: "snapshot", Description: "Access and manage snapshots"},
|
||||
{Name: "ssh", Description: "Access a Droplet using SSH"},
|
||||
{Name: "ssh-key", Description: "Display commands to manage SSH keys on your account"},
|
||||
{Name: "tag", Description: "Display commands to manage tags"},
|
||||
{Name: "volume", Description: "Display commands to manage block storage volumes"},
|
||||
{Name: "volume-action", Description: "Display commands to perform actions on a volume"},
|
||||
{Name: "databases", Description: "Display commands that manage databases"},
|
||||
{Name: "backups", Description: "List database cluster backups"},
|
||||
{Name: "connection", Description: "Retrieve connection details for a database cluster"},
|
||||
{Name: "db", Description: "Display commands for managing individual databases within a cluster"},
|
||||
{Name: "maintenance-window", Description: "Display commands for scheduling automatic maintenance on your database cluster"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-h", Description: "Help for doctl"},
|
||||
{Name: "-v", Description: "Enable verbose output"},
|
||||
{Name: "-o", Description: "Desired output format"},
|
||||
{Name: "--trace", Description: "Show a log of network activity while performing a command"},
|
||||
{Name: "-c", Description: "Override default API endpoint"},
|
||||
{Name: "-t", Description: "API V2 access token"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "doppler",
|
||||
Description: "The official CLI for Doppler Secret Operations Platform",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "activity", Description: "Get workplace activity logs"},
|
||||
{Name: "get", Description: "Get workplace activity log"},
|
||||
{Name: "changelog", Description: "View the CLI's changelog"},
|
||||
{Name: "completion", Description: "Print shell completion script"},
|
||||
{Name: "install", Description: "Install completions for the current shell"},
|
||||
{Name: "configs", Description: "Manage configs"},
|
||||
{Name: "clone", Description: "Clone a config"},
|
||||
{Name: "create", Description: "Create a config"},
|
||||
{Name: "delete", Description: "Delete a config"},
|
||||
{Name: "lock", Description: "Lock a config"},
|
||||
{Name: "logs", Description: "List config audit logs"},
|
||||
{Name: "tokens", Description: "List a config's service tokens"},
|
||||
{Name: "revoke", Description: "Revoke a service token from a config"},
|
||||
{Name: "unlock", Description: "Unlock a config"},
|
||||
{Name: "update", Description: "Update a config"},
|
||||
{Name: "configure", Description: "View the config file"},
|
||||
{Name: "debug", Description: "View current configuration utilizing all config sources"},
|
||||
{Name: "options", Description: "List all supported config options"},
|
||||
{Name: "reset", Description: "Reset local CLI configuration to a clean initial state"},
|
||||
{Name: "set", Description: "Set the value of one or more options in the config file"},
|
||||
{Name: "unset", Description: "Unset the value of one or more options in the config file"},
|
||||
{Name: "environments", Description: "Manage environments"},
|
||||
{Name: "rename", Description: "Rename an environment"},
|
||||
{Name: "feedback", Description: "Provide feedback about the Doppler CLI"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
{Name: "import", Description: "Import projects into your Doppler workplace"},
|
||||
{Name: "login", Description: "Authenticate to Doppler"},
|
||||
{Name: "roll", Description: "Roll your auth token"},
|
||||
{Name: "logout", Description: "Log out of the CLI"},
|
||||
{Name: "open", Description: "Open the Doppler dashboard"},
|
||||
{Name: "dashboard", Description: "Open the Doppler dashboard"},
|
||||
{Name: "docs", Description: "Open the Doppler documentation home page"},
|
||||
{Name: "github", Description: "Open Doppler's GitHub to help contribute"},
|
||||
{Name: "status", Description: "Open the Doppler status page"},
|
||||
{Name: "projects", Description: "Manage projects"},
|
||||
{Name: "run", Description: "Run a command with secrets injected into the environment"},
|
||||
{Name: "clean", Description: "Delete old fallback files"},
|
||||
{Name: "secrets", Description: "Manage secrets"},
|
||||
{Name: "download", Description: "Download a config's secrets for later use"},
|
||||
{Name: "substitute", Description: "Substitute secrets into a template file"},
|
||||
{Name: "upload", Description: "Upload a secrets file"},
|
||||
{Name: "settings", Description: "Get workplace settings"},
|
||||
{Name: "setup", Description: "Setup the Doppler CLI for managing secrets"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-h", Description: "Config (e.g. dev)"},
|
||||
{Name: "--fallback-only", Description: "Disable modifying the fallback file. secrets can still be read from the file"},
|
||||
{Name: "--format", Description: "Do not exit if unable to write the fallback file"},
|
||||
{Name: "--no-fallback", Description: "Disable reading and writing the fallback file"},
|
||||
{Name: "--no-update-config", Description: "Do not modify the config file"},
|
||||
{Name: "--no-update-config-options", Description: "Do not remove configured options from the config file (i.e. project and config)"},
|
||||
{Name: "--passphrase", Description: "Project (e.g. backend)"},
|
||||
{Name: "--raw", Description: "Print the raw secret value without processing variables"},
|
||||
{Name: "--yes", Description: "Proceed without confirmation"},
|
||||
{Name: "--api-host", Description: "Output additional information"},
|
||||
{Name: "--dns-resolver-address", Description: "Max dns lookup duration (default 5s)"},
|
||||
{Name: "--enable-dns-resolver", Description: "Bypass the OS's default DNS resolver"},
|
||||
{Name: "--json", Description: "Output json"},
|
||||
{Name: "--no-check-version", Description: "Disable checking for Doppler CLI updates"},
|
||||
{Name: "--no-read-env", Description: "Do not read config from the environment"},
|
||||
{Name: "--no-timeout", Description: "Disable http timeout"},
|
||||
{Name: "--no-verify-tls", Description: "Output active configuration"},
|
||||
{Name: "--scope", Description: "Disable output of info messages"},
|
||||
{Name: "--timeout", Description: "Max http request duration (default 10s)"},
|
||||
{Name: "--token", Description: "Doppler token"},
|
||||
{Name: "--log", Description: "Activity log id"},
|
||||
{Name: "-n", Description: "Number of versions to show changes for (default 3)"},
|
||||
{Name: "--name", Description: "New config name"},
|
||||
{Name: "--environment", Description: "Config environment"},
|
||||
{Name: "--slug", Description: "Service token slug"},
|
||||
{Name: "--access", Description: "Print only the token without formatting"},
|
||||
{Name: "--copy", Description: "Copy the token to your clipboard"},
|
||||
{Name: "--max-age", Description: "Max age of the token (e.g. '3h', '15m')"},
|
||||
{Name: "--plain", Description: "Print only the token without formatting"},
|
||||
{Name: "--template", Description: "Path to template file (e.g. './path/to/file.yaml') (default \\"},
|
||||
{Name: "--no-copy", Description: "Do not copy the auth code to the clipboard"},
|
||||
{Name: "--overwrite", Description: "Overwrite existing token if one exists"},
|
||||
{Name: "--description", Description: "Project description"},
|
||||
{Name: "--command", Description: "Forward signals to the child process (defaults to false when STDOUT is a TTY)"},
|
||||
{Name: "--preserve-env", Description: "Delete old fallback files"},
|
||||
{Name: "--all", Description: "Delete all fallback files"},
|
||||
{Name: "--dry-run", Description: "Do not delete anything, print what would have happened"},
|
||||
{Name: "--only-names", Description: "Only print the secret names; omit all values"},
|
||||
{Name: "--no-file", Description: "Print the response to stdout"},
|
||||
{Name: "--no-exit-on-missing-secret", Description: "Do not exit if unable to find a requested secret"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "eas",
|
||||
Description: "Log in with your Expo account",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "account:login", Description: "Log in with your Expo account"},
|
||||
{Name: "account:logout", Description: "Log out"},
|
||||
{Name: "account:view", Description: "Show the username you are logged in as"},
|
||||
{Name: "analytics", Description: "Display or change analytics settings"},
|
||||
{Name: "autocomplete", Description: "Display autocomplete installation instructions"},
|
||||
{Name: "Shell", Description: "Select the shell you'd like to display autocomplete information for"},
|
||||
{Name: "branch:create", Description: "Create a branch"},
|
||||
{Name: "Name", Description: "Name of the branch to create"},
|
||||
{Name: "branch:delete", Description: "Delete a branch"},
|
||||
{Name: "branch:list", Description: "List all branches"},
|
||||
{Name: "branch:rename", Description: "Rename a branch"},
|
||||
{Name: "branch:view", Description: "View a branch"},
|
||||
{Name: "build", Description: "Start a build"},
|
||||
{Name: "build:cancel", Description: "Cancel a build"},
|
||||
{Name: "build:configure", Description: "Configure the project to support EAS build"},
|
||||
{Name: "build:list", Description: "List all builds for your project"},
|
||||
{Name: "build:submit", Description: "Submit app binary to App Store and/or Play Store"},
|
||||
{Name: "build:version:set", Description: "Update version of an app"},
|
||||
{Name: "build:version:sync", Description: "Update a version in native code with a value stored on EAS servers"},
|
||||
{Name: "build:view", Description: "View a build for your project"},
|
||||
{Name: "channel:create", Description: "Create a channel"},
|
||||
{Name: "channel:edit", Description: "Point a channel at a new branch"},
|
||||
{Name: "channel:list", Description: "List all channels"},
|
||||
{Name: "channel:view", Description: "View a channel"},
|
||||
{Name: "config", Description: "Display project configuration (app.json + eas.json)"},
|
||||
{Name: "credentials", Description: "Manage credentials"},
|
||||
{Name: "device:create", Description: "Register new Apple devices to use for internal distribution"},
|
||||
{Name: "device:delete", Description: "Remove a registered device from your account"},
|
||||
{Name: "device:list", Description: "List all registered devices for your account"},
|
||||
{Name: "device:view", Description: "View a device for your project"},
|
||||
{Name: "diagnostics", Description: "Display environment info"},
|
||||
{Name: "help", Description: "Display help for eas-cli"},
|
||||
{Name: "Command", Description: "Command to show help for"},
|
||||
{Name: "metadata:pull", Description: "Generate the local store configuration from the app stores"},
|
||||
{Name: "metadata:push", Description: "Sync the local store configuration to the app stores"},
|
||||
{Name: "open", Description: "Open the project page in a web browser"},
|
||||
{Name: "project:info", Description: "Information about the current project"},
|
||||
{Name: "project:init", Description: "Create or link an EAS project"},
|
||||
{Name: "secret:create", Description: "Create an environment secret on the current project or owner account"},
|
||||
{Name: "secret:delete", Description: "Delete an environment secret by ID"},
|
||||
{Name: "secret:list", Description: "List environment secrets available for your current app"},
|
||||
{Name: "update", Description: "Publish an update group"},
|
||||
{Name: "update:configure", Description: "Configure the project to support EAS update"},
|
||||
{Name: "update:delete", Description: "Delete all the updates in an update group"},
|
||||
{Name: "Group ID", Description: "The ID of an update group to delete"},
|
||||
{Name: "update:list", Description: "View the recent updates"},
|
||||
{Name: "update:view", Description: "Update group details"},
|
||||
{Name: "webhook:create", Description: "Create a webhook"},
|
||||
{Name: "webhook:delete", Description: "Delete a webhook"},
|
||||
{Name: "ID", Description: "ID of the webhook to delete"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-r", Description: "Refresh cache (ignores displaying instructions)"},
|
||||
{Name: "--json", Description: "Enable JSON output, non-JSON messages will be printed to stderr"},
|
||||
{Name: "--non-interactive", Description: "Run the command in non-interactive mode"},
|
||||
{Name: "--limit", Description: "The number of items to fetch each query. Defaults to 50 and is capped at 100"},
|
||||
{Name: "--offset", Description: "Start queries from specified index. Use for paginating results. Defaults to 0"},
|
||||
{Name: "--from", Description: "Current name of the branch"},
|
||||
{Name: "--to", Description: "New name of the branch"},
|
||||
{Name: "-e", Description: "A short message describing the build"},
|
||||
{Name: "-p", Description: "Submit on build complete using the submit profile with provided name"},
|
||||
{Name: "--clear-cache", Description: "Clear cache before the build"},
|
||||
{Name: "--local", Description: "Run build locally [experimental]"},
|
||||
{Name: "--output", Description: "Output path for local build"},
|
||||
{Name: "--no-wait", Description: "Don't wait for build(s) to complete"},
|
||||
{Name: "--wait", Description: "Wait for build(s) to complete"},
|
||||
{Name: "-s", Description: "Delete OUTPUT_DIRECTORY if it already exists"},
|
||||
{Name: "--appBuildVersion", Description: "Enable JSON output, non-JSON messages will be printed to stderr"},
|
||||
{Name: "--platform", Description: "Submit app binary to App Store and/or Play Store"},
|
||||
{Name: "--latest", Description: "Submit the latest build for specified platform"},
|
||||
{Name: "--path", Description: "Path to the .apk/.aab/.ipa file"},
|
||||
{Name: "--url", Description: "App archive url"},
|
||||
{Name: "--verbose", Description: "Always print logs from Submission Service"},
|
||||
{Name: "--branch", Description: "Name of the branch to point to"},
|
||||
{Name: "--apple-team-id", Description: "The Apple team ID on which to find the device"},
|
||||
{Name: "--udid", Description: "The Apple device ID to disable"},
|
||||
{Name: "-n", Description: "Include all nested commands in the output"},
|
||||
{Name: "--force", Description: "Whether to overwrite any existing project ID"},
|
||||
{Name: "--id", Description: "ID of the EAS project to link"},
|
||||
{Name: "--name", Description: "Name of the secret"},
|
||||
{Name: "--scope", Description: "[default: project] Scope for the secret"},
|
||||
{Name: "--type", Description: "The type of secret"},
|
||||
{Name: "--value", Description: "Text value or path to a file to store in the secret"},
|
||||
{Name: "--auto", Description: "Branch to publish the update group on"},
|
||||
{Name: "--group", Description: "Update group to republish"},
|
||||
{Name: "--input-dir", Description: "[default: dist] Location of the bundle"},
|
||||
{Name: "--message", Description: "A short message describing the update"},
|
||||
{Name: "--private-key-path", Description: "Republish an update group"},
|
||||
{Name: "--skip-bundler", Description: "Skip running Expo CLI to bundle the app before publishing"},
|
||||
{Name: "--all", Description: "List updates on all branches"},
|
||||
{Name: "--event", Description: "Event type that triggers the webhook"},
|
||||
{Name: "--secret", Description: "Webhook URL"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "fastly",
|
||||
Description: "A CLI for interacting with the Fastly platform",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "acl", Description: "Manipulate Fastly ACLs (Access Control Lists)"},
|
||||
{Name: "create", Description: "Create a new ACL attached to the specified service version"},
|
||||
{Name: "delete", Description: "Delete an ACL from the specified service version"},
|
||||
{Name: "describe", Description: "Retrieve a single ACL by name for the version and service"},
|
||||
{Name: "list", Description: "List ACLs"},
|
||||
{Name: "update", Description: "Update an ACL for a particular service and version"},
|
||||
{Name: "acl-entry", Description: "Manipulate Fastly ACL (Access Control List) entries"},
|
||||
{Name: "auth-token", Description: "Manage API tokens for Fastly service users"},
|
||||
{Name: "backend", Description: "Manipulate Fastly service version backends"},
|
||||
{Name: "compute", Description: "Manage Compute@Edge packages"},
|
||||
{Name: "build", Description: "Build a Compute@Edge package locally"},
|
||||
{Name: "deploy", Description: "Deploy a package to a Fastly Compute@Edge service"},
|
||||
{Name: "init", Description: "Initialize a new Compute@Edge package locally"},
|
||||
{Name: "pack", Description: "Package a pre-compiled Wasm binary for a Fastly Compute@Edge service"},
|
||||
{Name: "publish", Description: "Build and deploy a Compute@Edge package to a Fastly service"},
|
||||
{Name: "serve", Description: "Build and run a Compute@Edge package locally"},
|
||||
{Name: "validate", Description: "Validate a Compute@Edge package"},
|
||||
{Name: "config", Description: "Display the Fastly CLI configuration"},
|
||||
{Name: "dictionary", Description: "Manipulate Fastly edge dictionaries"},
|
||||
{Name: "dictionary-item", Description: "Manipulate Fastly edge dictionary items"},
|
||||
{Name: "domain", Description: "Manipulate Fastly service version domains"},
|
||||
{Name: "healthcheck", Description: "Manipulate Fastly service version healthchecks"},
|
||||
{Name: "ip-list", Description: "List Fastly's public IPs"},
|
||||
{Name: "log-tail", Description: "Tail Compute@Edge logs"},
|
||||
{Name: "logging", Description: "Manipulate Fastly service version logging endpoints"},
|
||||
{Name: "azureblob", Description: "Manipulate Fastly service version Azure Blob Storage logging endpoints"},
|
||||
{Name: "bigquery", Description: "Manipulate Fastly service version BigQuery logging endpoints"},
|
||||
{Name: "cloudfiles", Description: "Manipulate Fastly service version Cloudfiles logging endpoints"},
|
||||
{Name: "datadog", Description: "Manipulate Fastly service version Datadog logging endpoints"},
|
||||
{Name: "digitalocean", Description: "Manipulate Fastly service version DigitalOcean Spaces logging endpoints"},
|
||||
{Name: "elasticsearch", Description: "Manipulate Fastly service version Elasticsearch logging endpoints"},
|
||||
{Name: "ftp", Description: "Manipulate Fastly service version FTP logging endpoints"},
|
||||
{Name: "gcs", Description: "Manipulate Fastly service version GCS logging endpoints"},
|
||||
{Name: "googlepubsub", Description: "Manipulate Fastly service version Google Cloud Pub/Sub logging endpoints"},
|
||||
{Name: "heroku", Description: "Manipulate Fastly service version Heroku logging endpoints"},
|
||||
{Name: "honeycomb", Description: "Manipulate Fastly service version Honeycomb logging endpoints"},
|
||||
{Name: "https", Description: "Manipulate Fastly service version HTTPS logging endpoints"},
|
||||
{Name: "kafka", Description: "Manipulate Fastly service version Kafka logging endpoints"},
|
||||
{Name: "kinesis", Description: "Manipulate a Kinesis logging endpoint for a specific Fastly service version"},
|
||||
{Name: "logentries", Description: "Manipulate Fastly service version Logentries logging endpoints"},
|
||||
{Name: "loggly", Description: "Manipulate Fastly service version Loggly logging endpoints"},
|
||||
{Name: "logshuttle", Description: "Manipulate Fastly service version Logshuttle logging endpoints"},
|
||||
{Name: "newrelic", Description: "Manipulate a NewRelic logging endpoint for a specific Fastly service version"},
|
||||
{Name: "openstack", Description: "Manipulate Fastly service version OpenStack logging endpoints"},
|
||||
{Name: "papertrail", Description: "Manipulate Fastly service version Papertrail logging endpoints"},
|
||||
{Name: "s3", Description: "Manipulate Fastly service version S3 logging endpoints"},
|
||||
{Name: "scalyr", Description: "Manipulate Fastly service version Scalyr logging endpoints"},
|
||||
{Name: "sftp", Description: "Manipulate Fastly service version SFTP logging endpoints"},
|
||||
{Name: "splunk", Description: "Manipulate Fastly service version Splunk logging endpoints"},
|
||||
{Name: "sumologic", Description: "Manipulate Fastly service version Sumologic logging endpoints"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--name", Description: "'latest', 'active', or the number of a specific version"},
|
||||
{Name: "--autoclone", Description: "If the selected service version is not editable, clone it and use the clone"},
|
||||
{Name: "--service-id", Description: "Service ID (falls back to FASTLY_SERVICE_ID, then fastly.toml)"},
|
||||
{Name: "--service-name", Description: "The name of the service"},
|
||||
{Name: "--version", Description: "'latest', 'active', or the number of a specific version"},
|
||||
{Name: "--json", Description: "Render output as JSON"},
|
||||
{Name: "--new-name", Description: "The new name of the ACL"},
|
||||
{Name: "--acl-id", Description: "Alphanumeric string identifying a ACL"},
|
||||
{Name: "--ip", Description: "An IP address"},
|
||||
{Name: "--comment", Description: "A freeform descriptive note"},
|
||||
{Name: "--negated", Description: "Whether to negate the match"},
|
||||
{Name: "--subnet", Description: "Number of bits for the subnet mask applied to the IP address"},
|
||||
{Name: "--id", Description: "Alphanumeric string identifying an ACL Entry"},
|
||||
{Name: "--direction", Description: "Direction in which to sort results"},
|
||||
{Name: "--page", Description: "Page number of data set to fetch"},
|
||||
{Name: "--per-page", Description: "Number of records per page"},
|
||||
{Name: "--sort", Description: "Field on which to sort"},
|
||||
{Name: "--file", Description: "Batch update json passed as file path or content, e.g. $(< batch.json)"},
|
||||
{Name: "--password", Description: "User password corresponding with --token or $FASTLY_API_TOKEN"},
|
||||
{Name: "--expires", Description: "Time-stamp (UTC) of when the token will expire"},
|
||||
{Name: "--scope", Description: "Authorization scope (repeat flag per scope)"},
|
||||
{Name: "--services", Description: "Revoke an API token"},
|
||||
{Name: "--current", Description: "Revoke the token used to authenticate the request"},
|
||||
{Name: "--customer-id", Description: "Alphanumeric string identifying the customer (falls back to FASTLY_CUSTOMER_ID)"},
|
||||
{Name: "--address", Description: "A hostname, IPv4, or IPv6 address for the backend"},
|
||||
{Name: "--port", Description: "Port number of the address"},
|
||||
{Name: "--override-host", Description: "The hostname to override the Host header"},
|
||||
{Name: "--connect-timeout", Description: "How long to wait for a timeout in milliseconds"},
|
||||
{Name: "--max-conn", Description: "Maximum number of connections"},
|
||||
{Name: "--first-byte-timeout", Description: "How long to wait for the first bytes in milliseconds"},
|
||||
{Name: "--between-bytes-timeout", Description: "How long to wait between bytes in milliseconds"},
|
||||
{Name: "--auto-loadbalance", Description: "Whether or not this backend should be automatically load balanced"},
|
||||
{Name: "--weight", Description: "Weight used to load balance this backend against others"},
|
||||
{Name: "--request-condition", Description: "Condition, which if met, will select this backend during a request"},
|
||||
{Name: "--healthcheck", Description: "The name of the healthcheck to use with this backend"},
|
||||
{Name: "--shield", Description: "Whether or not to use SSL to reach the backend"},
|
||||
{Name: "--ssl-check-cert", Description: "Be strict on checking SSL certs"},
|
||||
{Name: "--ssl-ca-cert", Description: "CA certificate attached to origin"},
|
||||
{Name: "--ssl-client-cert", Description: "Client certificate attached to origin"},
|
||||
{Name: "--ssl-client-key", Description: "Client key attached to origin"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "firebase",
|
||||
Description: "ProjectAlias",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "appdistribution:distribute", Description: "Upload a distribution"},
|
||||
{Name: "apps:android:sha:create", Description: "Add a SHA certificate hash for a given app id"},
|
||||
{Name: "apps:android:sha:delete", Description: "Delete a SHA certificate hash for a given app id"},
|
||||
{Name: "apps:create", Description: "Create a new Firebase app"},
|
||||
{Name: "auth:export", Description: "Export accounts from your Firebase project into a data file"},
|
||||
{Name: "auth:import", Description: "Import users into your Firebase project from a data file(.csv or .json)"},
|
||||
{Name: "database:get", Description: "Fetch and print JSON data at the specified path"},
|
||||
{Name: "database:instances:create", Description: "Create a realtime database instance"},
|
||||
{Name: "database:instances:list", Description: "List realtime database instances, optionally filtered by a specified location"},
|
||||
{Name: "database:profile", Description: "Profile the Realtime Database and generate a usage report"},
|
||||
{Name: "database:push", Description: "Add a new JSON object to a list of data in your Firebase"},
|
||||
{Name: "database:remove", Description: "Remove data from your Firebase at the specified path"},
|
||||
{Name: "database:set", Description: "Store JSON data at the specified path via STDIN, arg, or file"},
|
||||
{Name: "database:settings:get", Description: "Store JSON data at the specified path via STDIN, arg, or file"},
|
||||
{Name: "database:settings:set", Description: "Set the realtime database setting at path"},
|
||||
{Name: "database:update", Description: "Update some of the keys for the defined path in your Firebase"},
|
||||
{Name: "deploy", Description: "Deploy code and assets to your Firebase project"},
|
||||
{Name: "emulators:export", Description: "Export data from running emulators"},
|
||||
{Name: "emulators:start", Description: "Start the local Firebase emulators"},
|
||||
{Name: "experimental:functions:shell", Description: "Launch full Node shell with emulated functions"},
|
||||
{Name: "ext:configure", Description: "Configure an existing extension instance"},
|
||||
{Name: "ext:info", Description: "List all the extensions that are installed in your Firebase project"},
|
||||
{Name: "ext:uninstall", Description: "Uninstall an extension that is installed in your Firebase project by instance ID"},
|
||||
{Name: "ext:update", Description: "Update an existing extension instance to the latest version"},
|
||||
{Name: "firestore:delete", Description: "Delete data from Cloud Firestore"},
|
||||
{Name: "firestore:indexes", Description: "List indexes in your project's Cloud Firestore database"},
|
||||
{Name: "functions:config:clone", Description: "Clone environment config from another project"},
|
||||
{Name: "functions:config:get", Description: "Fetch environment config stored at the given path"},
|
||||
{Name: "functions:config:set", Description: "Set environment config with key=value syntax"},
|
||||
{Name: "functions:log", Description: "Read logs from deployed functions"},
|
||||
{Name: "functions:shell", Description: "Launch full Node shell with emulated functions"},
|
||||
{Name: "help", Description: "Display help information"},
|
||||
{Name: "hosting:channel:create", Description: "Create a Firebase Hosting channel"},
|
||||
{Name: "hosting:channel:delete", Description: "Delete a Firebase Hosting channel"},
|
||||
{Name: "hosting:channel:deploy", Description: "Deploy to a specific Firebase Hosting channel"},
|
||||
{Name: "hosting:channel:list", Description: "List all Firebase Hosting channels for your project"},
|
||||
{Name: "hosting:channel:open", Description: "Opens the URL for a Firebase Hosting channel"},
|
||||
{Name: "hosting:clone", Description: "Clone a version from one site to another"},
|
||||
{Name: "hosting:disable", Description: "Stop serving web traffic to your Firebase Hosting site"},
|
||||
{Name: "hosting:sites:create", Description: "Create a Firebase Hosting site"},
|
||||
{Name: "hosting:sites:delete", Description: "Delete a Firebase Hosting site"},
|
||||
{Name: "hosting:sites:get", Description: "Print info about a Firebase Hosting site"},
|
||||
{Name: "hosting:sites:list", Description: "List Firebase Hosting sites"},
|
||||
{Name: "init", Description: "Setup a Firebase project in the current directory"},
|
||||
{Name: "login", Description: "Log the CLI into Firebase"},
|
||||
{Name: "login:add", Description: "Authorize the CLI for an additional account"},
|
||||
{Name: "login:ci", Description: "Generate an access token for use in non-interactive environments"},
|
||||
{Name: "login:list", Description: "List authorized CLI accounts"},
|
||||
{Name: "login:use", Description: "Set the default account to use for this project directory"},
|
||||
{Name: "logout", Description: "Log the CLI out of Firebase"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--app", Description: "The app id of your Firebase app"},
|
||||
{Name: "--release-notes", Description: "Release notes to include with this distribution"},
|
||||
{Name: "--release-notes-file", Description: "Path to file with release notes to include with this distribution"},
|
||||
{Name: "--testers", Description: "A comma separated list of tester emails to distribute to"},
|
||||
{Name: "--testers-file", Description: "Path to file with a comma separated list of tester emails to distribute to"},
|
||||
{Name: "--groups", Description: "A comma separated list of group aliases to distribute to"},
|
||||
{Name: "--groups-file", Description: "Path to file with a comma separated list of group aliases to distribute to"},
|
||||
{Name: "-h", Description: "Output usage information"},
|
||||
{Name: "-a", Description: "Required package name for the Android app"},
|
||||
{Name: "-b", Description: "Required bundle id for the iOS app"},
|
||||
{Name: "-s", Description: "(optional) app store id for the iOS app"},
|
||||
{Name: "--format", Description: "Format of exported data (csv, json). Ignored if [dataFile] has format extension"},
|
||||
{Name: "--hash-algo", Description: "Specify the hash algorithm used in password for these accounts"},
|
||||
{Name: "--hash-key", Description: "Specify the key used in hash algorithm"},
|
||||
{Name: "--salt-separator", Description: "Specify how many rounds for hash calculation"},
|
||||
{Name: "--mem-cost", Description: "Specify the parallelization for standard scrypt"},
|
||||
{Name: "--block-size", Description: "Specify the block size (normally is 8) for standard scrypt"},
|
||||
{Name: "--dk-len", Description: "Specify derived key length for standard scrypt"},
|
||||
{Name: "--hash-input-order", Description: "Output usage information"},
|
||||
{Name: "-l", Description: "(optional) location for the database instance, defaults to us-central1"},
|
||||
{Name: "-o", Description: "Save the output to the specified file"},
|
||||
{Name: "-d", Description: "Collect database usage information for the specified number of seconds"},
|
||||
{Name: "--raw", Description: "Output the raw stats collected as newline delimited json"},
|
||||
{Name: "--no-collapse", Description: "Prevent collapsing similar paths into $wildcard locations"},
|
||||
{Name: "-i", Description: "Output usage information"},
|
||||
{Name: "--instance", Description: "Output usage information"},
|
||||
{Name: "-y", Description: "Pass this option to bypass confirmation prompt"},
|
||||
{Name: "-p", Description: "Override the Hosting public directory specified in firebase.json"},
|
||||
{Name: "-m", Description: "An optional message describing this deploy"},
|
||||
{Name: "-f", Description: "Output usage information"},
|
||||
{Name: "--only", Description: "Import emulator data from a previous export (see emulators:export)"},
|
||||
{Name: "--export-on-exit", Description: "Run the Emulator UI"},
|
||||
{Name: "--params", Description: "Path of params file with .env format"},
|
||||
{Name: "--markdown", Description: "Output info in Markdown suitable for constructing a README file"},
|
||||
{Name: "-r", Description: "No confirmation. Otherwise, a confirmation prompt will appear"},
|
||||
{Name: "--pretty", Description: "Output usage information"},
|
||||
{Name: "--from", Description: "The project from which to clone configuration"},
|
||||
{Name: "--except", Description: "A comma-separated list of keys to not clone"},
|
||||
{Name: "--open", Description: "Open logs page in web browser"},
|
||||
{Name: "--inspect-functions", Description: "Output usage information"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "flyctl",
|
||||
Description: "Command line tool for Fly.io services",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "ping", Description: "Ping the Fly agent"},
|
||||
{Name: "restart", Description: "Restart the Fly agent"},
|
||||
{Name: "daemon-start", Description: "Run the Fly agent in the foreground"},
|
||||
{Name: "start", Description: "Start the Fly agent"},
|
||||
{Name: "stop", Description: "Stop the Fly agent"},
|
||||
{Name: "apps", Description: "Manage apps"},
|
||||
{Name: "create", Description: "Create a new application"},
|
||||
{Name: "destroy", Description: "Permanently destroys an app"},
|
||||
{Name: "list", Description: "List applications"},
|
||||
{Name: "move", Description: "Move an app to another organization"},
|
||||
{Name: "open", Description: "Open browser to current deployed application"},
|
||||
{Name: "releases", Description: "List app releases"},
|
||||
{Name: "auth", Description: "Manage authentication"},
|
||||
{Name: "docker", Description: "Authenticate docker"},
|
||||
{Name: "login", Description: "Log in a user"},
|
||||
{Name: "logout", Description: "Logs out the currently logged in user"},
|
||||
{Name: "signup", Description: "Create a new fly account"},
|
||||
{Name: "token", Description: "Show the current auth token"},
|
||||
{Name: "autoscale", Description: "Autoscaling app resources"},
|
||||
{Name: "balanced", Description: "Configure a traffic balanced app with params (min=int max=int)"},
|
||||
{Name: "disable", Description: "Disable autoscaling"},
|
||||
{Name: "set", Description: "Set current models autoscaling parameters"},
|
||||
{Name: "show", Description: "Show current autoscaling configuration"},
|
||||
{Name: "standard", Description: "Configure a standard balanced app with params (min=int max=int)"},
|
||||
{Name: "builds", Description: "Manage application builds"},
|
||||
{Name: "certs", Description: "Manage certificates"},
|
||||
{Name: "check", Description: "Checks DNS configuration"},
|
||||
{Name: "delete", Description: "Removes a certificate from an app"},
|
||||
{Name: "checks", Description: "Manage health checks"},
|
||||
{Name: "handlers", Description: "Manage health check handlers"},
|
||||
{Name: "completion", Description: "Generate the autocompletion script for the specified shell"},
|
||||
{Name: "bash", Description: "Generate the autocompletion script for bash"},
|
||||
{Name: "fish", Description: "Generate the autocompletion script for fish"},
|
||||
{Name: "powershell", Description: "Generate the autocompletion script for powershell"},
|
||||
{Name: "zsh", Description: "Generate the autocompletion script for zsh"},
|
||||
{Name: "config", Description: "Manage an app's configuration"},
|
||||
{Name: "display", Description: "Display an app's configuration"},
|
||||
{Name: "env", Description: "Display an app's runtime environment variables"},
|
||||
{Name: "save", Description: "Save an app's config file"},
|
||||
{Name: "validate", Description: "Validate an app's config file"},
|
||||
{Name: "curl", Description: "Run a performance test against a URL"},
|
||||
{Name: "dash", Description: "Open web browser on Fly Web UI for this app"},
|
||||
{Name: "metrics", Description: "Open web browser on Fly Web UI for this app's metrics"},
|
||||
{Name: "deploy", Description: "Deploy Fly applications"},
|
||||
{Name: "dig", Description: "Make DNS requests against Fly.io's internal DNS server"},
|
||||
{Name: "dns-records", Description: "Manage DNS records"},
|
||||
{Name: "export", Description: "Export DNS records"},
|
||||
{Name: "import", Description: "Import DNS records"},
|
||||
{Name: "docs", Description: "View Fly documentation"},
|
||||
{Name: "doctor", Description: "The DOCTOR command allows you to debug your Fly environment"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--generate-name", Description: "Generate a name for the app"},
|
||||
{Name: "--name", Description: "The app name to use"},
|
||||
{Name: "--network", Description: "Specify custom network id"},
|
||||
{Name: "--org", Description: "The organization to operate on"},
|
||||
{Name: "--yes", Description: "Accept all confirmations"},
|
||||
{Name: "--app", Description: "Application name"},
|
||||
{Name: "--config", Description: "Path to application configuration file"},
|
||||
{Name: "--image", Description: "Display the Docker image reference of the release"},
|
||||
{Name: "-f", Description: "Restarts app without waiting for health checks. ( Machines only )"},
|
||||
{Name: "--email", Description: "Login email"},
|
||||
{Name: "--interactive", Description: "Log in with an email and password interactively"},
|
||||
{Name: "--otp", Description: "One time password"},
|
||||
{Name: "--password", Description: "Login password"},
|
||||
{Name: "--organization", Description: "The organization to add the handler to"},
|
||||
{Name: "--type", Description: "The type of handler to create, can be slack or pagerduty"},
|
||||
{Name: "--check-name", Description: "Filter checks by name"},
|
||||
{Name: "--no-descriptions", Description: "Disable completion descriptions"},
|
||||
{Name: "--build-arg", Description: "Build but do not deploy"},
|
||||
{Name: "--build-target", Description: "Set the target build stage to build if the Dockerfile has more than one stage"},
|
||||
{Name: "--detach", Description: "Return immediately instead of monitoring deployment progress"},
|
||||
{Name: "--dockerfile", Description: "Path to a Dockerfile. Defaults to the Dockerfile in the working directory"},
|
||||
{Name: "--env", Description: "The image tag or ID to deploy"},
|
||||
{Name: "--image-label", Description: "Only perform builds locally using the local docker daemon"},
|
||||
{Name: "--nix", Description: "Build with Nix"},
|
||||
{Name: "--no-cache", Description: "Do not use the build cache when building the image"},
|
||||
{Name: "--now", Description: "Deploy now without confirmation"},
|
||||
{Name: "--push", Description: "Push image to registry after build is complete"},
|
||||
{Name: "--region", Description: "The region to operate on"},
|
||||
{Name: "--remote-only", Description: "Permanently destroys an app"},
|
||||
{Name: "--short", Description: "Just print the answers, not DNS record details"},
|
||||
{Name: "--overwrite", Description: "Import DNS records"},
|
||||
{Name: "--force", Description: "Send diagnostics even if we can't find your local Fly.io app"},
|
||||
{Name: "--host", Description: "Returns just the hostname"},
|
||||
{Name: "--copy-config", Description: "Use the configuration file if present without prompting"},
|
||||
{Name: "--no-deploy", Description: "Do not prompt for deployment"},
|
||||
{Name: "--path", Description: "Path to app code and where a fly.toml file will be saved"},
|
||||
{Name: "--instance", Description: "Filter by instance ID"},
|
||||
{Name: "--quiet", Description: "Only list machine ids"},
|
||||
{Name: "--build-only", Description: "Perform builds remotely without using the local docker daemon"},
|
||||
{Name: "--cpu-kind", Description: "Kind of CPU to use (shared, dedicated)"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "fnm",
|
||||
Description: "Fast and simple Node.js version manager",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "install", Description: "Install a new Node.js version"},
|
||||
{Name: "uninstall", Description: "Uninstall a Node.js version"},
|
||||
{Name: "use", Description: "Change Node.js version"},
|
||||
{Name: "exec", Description: "Run a command within fnm context"},
|
||||
{Name: "current", Description: "Print the current Node.js version"},
|
||||
{Name: "list", Description: "List all locally installed Node.js versions"},
|
||||
{Name: "list-remote", Description: "List all remote Node.js versions"},
|
||||
{Name: "alias", Description: "Alias a version to a common name"},
|
||||
{Name: "name", Description: "Alias name"},
|
||||
{Name: "unalias", Description: "Deletes the alias named <name>"},
|
||||
{Name: "requested-alias", Description: "Alias name"},
|
||||
{Name: "completions", Description: "Print shell completions to stdout"},
|
||||
{Name: "env", Description: "Print and set up required environment variables for fnm"},
|
||||
{Name: "help", Description: "Prints the help page or the help of the given subcommand(s)"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--lts", Description: "Install latest LTS"},
|
||||
{Name: "--install-if-missing", Description: "Install the version if it isn't installed yet"},
|
||||
{Name: "--help", Description: "Prints help information"},
|
||||
{Name: "--version", Description: "Prints version information"},
|
||||
{Name: "--arch", Description: "The root directory of fnm installations"},
|
||||
{Name: "--log-level", Description: "The log level of fnm commands"},
|
||||
{Name: "--node-dist-mirror", Description: "Mirror of https://nodejs.org/dist"},
|
||||
{Name: "--version-file-strategy", Description: "Strategy for how to resolve the Node version"},
|
||||
{Name: "--using", Description: "Either an explicit version, or a filename with the version written in it"},
|
||||
{Name: "--use-on-cd", Description: "Print the script to change Node versions every directory change"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "gcloud",
|
||||
Description: "Manage Google Cloud Platform resources and developer workflow",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "access-context-manager", Description: "Manage Access Context Manager resources"},
|
||||
{Name: "active-directory", Description: "Manage Managed Microsoft AD resources"},
|
||||
{Name: "ai-platform", Description: "Manage AI Platform jobs and models"},
|
||||
{Name: "alpha", Description: "*(ALPHA)* Alpha versions of gcloud commands"},
|
||||
{Name: "anthos", Description: "Anthos command Group"},
|
||||
{Name: "apigee", Description: "Manage Apigee resources"},
|
||||
{Name: "app", Description: "Manage your App Engine deployments"},
|
||||
{Name: "artifacts", Description: "Manage Artifact Registry resources"},
|
||||
{Name: "asset", Description: "Manage the Cloud Asset Inventory"},
|
||||
{Name: "auth", Description: "Manage oauth2 credentials for the Google Cloud SDK"},
|
||||
{Name: "beta", Description: "*(BETA)* Beta versions of gcloud commands"},
|
||||
{Name: "bigtable", Description: "Manage your Cloud Bigtable storage"},
|
||||
{Name: "builds", Description: "Create and manage builds for Google Cloud Build"},
|
||||
{Name: "cheat-sheet", Description: "Display gcloud cheat sheet"},
|
||||
{Name: "cloud-shell", Description: "Manage Google Cloud Shell"},
|
||||
{Name: "components", Description: "List, install, update, or remove Google Cloud SDK components"},
|
||||
{Name: "composer", Description: "Create and manage Cloud Composer Environments"},
|
||||
{Name: "compute", Description: "Create and manipulate Compute Engine resources"},
|
||||
{Name: "config", Description: "View and edit Cloud SDK properties"},
|
||||
{Name: "container", Description: "Deploy and manage clusters of machines for running containers"},
|
||||
{Name: "data-catalog", Description: "Manage Cloud Data Catalog resources"},
|
||||
{Name: "dataflow", Description: "Manage Google Cloud Dataflow resources"},
|
||||
{Name: "dataproc", Description: "Create and manage Google Cloud Dataproc clusters and jobs"},
|
||||
{Name: "datastore", Description: "Manage your Cloud Datastore resources"},
|
||||
{Name: "debug", Description: "Commands for interacting with the Cloud Debugger"},
|
||||
{Name: "deployment-manager", Description: "Manage deployments of cloud resources"},
|
||||
{Name: "dns", Description: "Manage your Cloud DNS managed-zones and record-sets"},
|
||||
{Name: "docker", Description: "*(DEPRECATED)* Enable Docker CLI access to Google Container Registry"},
|
||||
{Name: "domains", Description: "Manage domains for your Google Cloud projects"},
|
||||
{Name: "endpoints", Description: "Create, enable and manage API services"},
|
||||
{Name: "feedback", Description: "Provide feedback to the Google Cloud SDK team"},
|
||||
{Name: "filestore", Description: "Create and manipulate Cloud Filestore resources"},
|
||||
{Name: "firebase", Description: "Work with Google Firebase"},
|
||||
{Name: "firestore", Description: "Manage your Cloud Firestore resources"},
|
||||
{Name: "functions", Description: "Manage Google Cloud Functions"},
|
||||
{Name: "game", Description: "Managed Cloud Game Services"},
|
||||
{Name: "healthcare", Description: "Manage Cloud Healthcare resources"},
|
||||
{Name: "help", Description: "Search gcloud help text"},
|
||||
{Name: "iam", Description: "Manage IAM service accounts and keys"},
|
||||
{Name: "iap", Description: "Manage IAP policies"},
|
||||
{Name: "identity", Description: "Manage Cloud Identity Groups and Memberships resources"},
|
||||
{Name: "info", Description: "Display information about the current gcloud environment"},
|
||||
{Name: "init", Description: "Initialize or reinitialize gcloud"},
|
||||
{Name: "iot", Description: "Manage Cloud IoT resources"},
|
||||
{Name: "kms", Description: "Manage cryptographic keys in the cloud"},
|
||||
{Name: "logging", Description: "Manage Cloud Logging"},
|
||||
{Name: "meta", Description: "Cloud meta introspection commands"},
|
||||
{Name: "ml", Description: "Use Google Cloud machine learning capabilities"},
|
||||
{Name: "ml-engine", Description: "Manage AI Platform jobs and models"},
|
||||
{Name: "monitoring", Description: "Manage Cloud Monitoring dashboards"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "gh",
|
||||
Description: "Current branch",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "alias", Description: "Create command shortcuts"},
|
||||
{Name: "delete", Description: "Delete an alias"},
|
||||
{Name: "list", Description: "List available aliases"},
|
||||
{Name: "set", Description: "Set an alias for a gh command"},
|
||||
{Name: "expansion", Description: "The gh command to be invoked, more info with --help"},
|
||||
{Name: "api", Description: "Make an authenticated GitHub API request"},
|
||||
{Name: "auth", Description: "Login, logout, and refresh your authentication"},
|
||||
{Name: "login", Description: "Authenticate with a GitHub host"},
|
||||
{Name: "logout", Description: "Log out of a GitHub host"},
|
||||
{Name: "refresh", Description: "Refresh stored authentication credentials"},
|
||||
{Name: "setup-git", Description: "Configure git to use GitHub CLI as a credential helper"},
|
||||
{Name: "status", Description: "View authentication status"},
|
||||
{Name: "gpg-key", Description: "Manage GPG keys registered with your GitHub account"},
|
||||
{Name: "add", Description: "Add a GPG key to your GitHub account"},
|
||||
{Name: "browse", Description: "Open the repository in the browser"},
|
||||
{Name: "completion", Description: "Generate shell completion scripts"},
|
||||
{Name: "config", Description: "Manage configuration for gh"},
|
||||
{Name: "get", Description: "Print the value of a given configuration key"},
|
||||
{Name: "git_protocol", Description: "The protocol to use for git clone and push operations"},
|
||||
{Name: "editor", Description: "The text editor program to use for authoring text"},
|
||||
{Name: "prompt", Description: "Toggle interactive prompting in the terminal"},
|
||||
{Name: "http_unix_socket", Description: "The path to a unix socket through which to make HTTP connection"},
|
||||
{Name: "extensions", Description: "Manage gh extensions"},
|
||||
{Name: "create", Description: "Create a new extension"},
|
||||
{Name: "install", Description: "Install a gh extension from a repository"},
|
||||
{Name: "remove", Description: "Remove an installed extension"},
|
||||
{Name: "upgrade", Description: "Upgrade installed extensions"},
|
||||
{Name: "gist", Description: "Manage gists"},
|
||||
{Name: "clone", Description: "Clone a gist locally"},
|
||||
{Name: "edit", Description: "Edit one of your gists"},
|
||||
{Name: "view", Description: "View a gist"},
|
||||
{Name: "issue", Description: "Manage issues"},
|
||||
{Name: "close", Description: "Close issue"},
|
||||
{Name: "comment", Description: "Create a new issue comment"},
|
||||
{Name: "number", Description: "Number or Title"},
|
||||
{Name: "reopen", Description: "Reopen issue"},
|
||||
{Name: "transfer", Description: "Transfer issue to another repository"},
|
||||
{Name: "pr", Description: "Manage pull requests"},
|
||||
{Name: "checkout", Description: "Check out a pull request in git"},
|
||||
{Name: "checks", Description: "Show CI status for a single pull request"},
|
||||
{Name: "diff", Description: "View changes in a pull request"},
|
||||
{Name: "merge", Description: "Merge a pull request"},
|
||||
{Name: "ready", Description: "Mark a pull request as ready for review"},
|
||||
{Name: "review", Description: "Add a review to a pull request"},
|
||||
{Name: "release", Description: "Manage GitHub releases"},
|
||||
{Name: "repo", Description: "Work with GitHub repositories"},
|
||||
{Name: "archive", Description: "Archive a GitHub repository. With no argument, archives the current repository"},
|
||||
{Name: "deploy-key", Description: "Manage deploy keys in a repository"},
|
||||
{Name: "key-file", Description: "Path to the public key file"},
|
||||
{Name: "key-id", Description: "ID of the key to delete"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-c", Description: "Name of the codespace"},
|
||||
{Name: "--clone", Description: "Clone the fork {true|false}"},
|
||||
{Name: "-y", Description: "Skip the confirmation prompt"},
|
||||
{Name: "--repo", Description: "Select another repository"},
|
||||
{Name: "-e", Description: "List secrets for an environment"},
|
||||
{Name: "-o", Description: "List secrets for an environment"},
|
||||
{Name: "-s", Description: "Declare an alias to be passed through a shell interpreter"},
|
||||
{Name: "-h", Description: "The hostname of the GitHub instance to authenticate with"},
|
||||
{Name: "-w", Description: "Open a browser to authenticate"},
|
||||
{Name: "--with-token", Description: "Read token from standard input"},
|
||||
{Name: "-b", Description: "Select another branch by passing in the branch name"},
|
||||
{Name: "-n", Description: "Print destination URL instead of opening the browser"},
|
||||
{Name: "-p", Description: "Open repository projects"},
|
||||
{Name: "-R", Description: "Select another repository using the [HOST/]OWNER/REPO format"},
|
||||
{Name: "--all", Description: "Upgrade all extensions"},
|
||||
{Name: "--force", Description: "Force upgrade extensions"},
|
||||
{Name: "-d", Description: "A description for this gist"},
|
||||
{Name: "-f", Description: "Provide a filename to be used when reading from STDIN"},
|
||||
{Name: "-a", Description: "Add a new file to the gist"},
|
||||
{Name: "-L", Description: "Maximum number of gists to fetch (default 10)"},
|
||||
{Name: "--public", Description: "Show only public gists"},
|
||||
{Name: "--secret", Description: "Show only secret gists"},
|
||||
{Name: "--files", Description: "List file names from the gist"},
|
||||
{Name: "-r", Description: "Print raw instead of rendered gist contents"},
|
||||
{Name: "-F", Description: "Read body text from file"},
|
||||
{Name: "-l", Description: "Add labels by name"},
|
||||
{Name: "-m", Description: "Add the issue to a milestone by name"},
|
||||
{Name: "--recover", Description: "Recover input from a failed run of create"},
|
||||
{Name: "-t", Description: "Supply a title. Will prompt for one otherwise"},
|
||||
{Name: "--add-assignee", Description: "Add labels by name"},
|
||||
{Name: "--remove-assignee", Description: "Remove labels by name"},
|
||||
{Name: "--remove-project", Description: "Remove the issue from projects by name"},
|
||||
{Name: "-A", Description: "Filter by author"},
|
||||
{Name: "-q", Description: "Filter JSON output using a jq expression"},
|
||||
{Name: "--json", Description: "Output JSON with the specified fields"},
|
||||
{Name: "--mention", Description: "Filter by mention"},
|
||||
{Name: "-S", Description: "Search issues with query"},
|
||||
{Name: "--recurse-submodules", Description: "Update all active submodules (recursively)"},
|
||||
{Name: "--add-project", Description: "Add the pull request to projects by name"},
|
||||
{Name: "--add-reviewer", Description: "Add reviewers by their login"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "gpg",
|
||||
Description: "Encryption and signing tool",
|
||||
Options: []core.Option{
|
||||
{Name: "--homedir", Description: "Set the name of the home directory"},
|
||||
{Name: "--options", Description: "Read options from file"},
|
||||
{Name: "-a", Description: "Create ASCII armored output"},
|
||||
{Name: "-o", Description: "Write output to file"},
|
||||
{Name: "-u", Description: "Use name as the user ID to sign"},
|
||||
{Name: "--default-key", Description: "Use name as default user ID for signatures"},
|
||||
{Name: "-r", Description: "Encrypt for user id name"},
|
||||
{Name: "--default-recipient", Description: "Use name as default recipient"},
|
||||
{Name: "--default-recipient-self", Description: "Use the default key as default recipient"},
|
||||
{Name: "--no-default-recipient", Description: "Reset --default-recipient and --default-recipient-self"},
|
||||
{Name: "--encrypt-to", Description: "Same as --recipient but this one is intended for in the options file"},
|
||||
{Name: "--no-encrypt-to", Description: "Disable the use of all --encrypt-to keys"},
|
||||
{Name: "-v", Description: "Give more information during processing"},
|
||||
{Name: "-q", Description: "Try to be as quiet as possible"},
|
||||
{Name: "-Z", Description: "Set compression level to n"},
|
||||
{Name: "-t", Description: "Use canonical text mode"},
|
||||
{Name: "-n", Description: "Don't make any changes"},
|
||||
{Name: "-i", Description: "Prompt before overwriting any files"},
|
||||
{Name: "--batch", Description: "Use batch mode"},
|
||||
{Name: "--no-tty", Description: "Make sure that the TTY is never used for any output"},
|
||||
{Name: "--no-batch", Description: "Disable batch mode"},
|
||||
{Name: "--yes", Description: "Skip key validation"},
|
||||
{Name: "--keyserver", Description: "Use name to lookup keys which are not yet in your keyring"},
|
||||
{Name: "--no-auto-key-retrieve", Description: "Disables the automatic retrieving of keys"},
|
||||
{Name: "--honor-http-proxy", Description: "Try to access the keyserver over the proxy"},
|
||||
{Name: "--keyring", Description: "Add file to the list of keyrings"},
|
||||
{Name: "--secret-keyring", Description: "Same as --keyring but for the secret keyrings"},
|
||||
{Name: "--charset", Description: "Set the name of the native character set"},
|
||||
{Name: "--utf8-strings", Description: "Assume that the arguments are already given as UTF8"},
|
||||
{Name: "--no-utf8-strings", Description: "Load an extension module"},
|
||||
{Name: "--debug", Description: "Set debugging flags"},
|
||||
{Name: "--debug-all", Description: "Set all useful debugging flags"},
|
||||
{Name: "--status-fd", Description: "Write special status strings to the file descriptor n"},
|
||||
{Name: "--logger-fd", Description: "Write log output to file descriptor n and not to stderr"},
|
||||
{Name: "--no-comment", Description: "Do not write comment packets"},
|
||||
{Name: "--comment", Description: "Use string as comment string in clear text signatures"},
|
||||
{Name: "--default-comment", Description: "Force to write the standard comment string"},
|
||||
{Name: "--no-version", Description: "Omit the version string in clear text signatures"},
|
||||
{Name: "--emit-version", Description: "Force to write the version string"},
|
||||
{Name: "-N", Description: "Put the name value pair into the signature as notation data"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "hasura",
|
||||
Description: ".env filename to load ENV vars from",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "actions", Description: "Manage Hasura actions"},
|
||||
{Name: "codegen", Description: "Generate code for actions"},
|
||||
{Name: "create", Description: "Create a Hasura action"},
|
||||
{Name: "use-codegen", Description: "Use the codegen to generate code for Hasura actions"},
|
||||
{Name: "completions", Description: "Generate auto completion code"},
|
||||
{Name: "console", Description: "Open the console to manage the database and try out APIs"},
|
||||
{Name: "init", Description: "Initialize a directory for Hasura GraphQL engine migrations"},
|
||||
{Name: "apply", Description: "Apply Hasura metadata on a database"},
|
||||
{Name: "clear", Description: "Clear Hasura GraphQL engine metadata on the database"},
|
||||
{Name: "diff", Description: "Show a highlighted diff of Hasura metadata"},
|
||||
{Name: "export", Description: "Export Hasura GraphQL engine metadata from the database"},
|
||||
{Name: "ic", Description: "Manage inconsistent objects in Hasura metadata"},
|
||||
{Name: "drop", Description: "Drop inconsistent objects from the metadata"},
|
||||
{Name: "ls", Description: "List all inconsistent objects from the metadata"},
|
||||
{Name: "status", Description: "Check if the metadata is inconsistent or not"},
|
||||
{Name: "reload", Description: "Reload Hasura GraphQL engine metadata on the database"},
|
||||
{Name: "migrate", Description: "Manage migrations on the database"},
|
||||
{Name: "goto", Description: "Apply migration chain up to to the version specified"},
|
||||
{Name: "delete", Description: "Clear migrations from local project and server"},
|
||||
{Name: "squash", Description: "Squash multiple migrations into a single one"},
|
||||
{Name: "plugin", Description: "Manage plugins for the CLI"},
|
||||
{Name: "install", Description: "Install a plugin from the index"},
|
||||
{Name: "list", Description: "List all available plugins from index, versions and installation status"},
|
||||
{Name: "uninstall", Description: "Uninstall a plugin"},
|
||||
{Name: "upgrade", Description: "Upgrade a plugin to a newer version"},
|
||||
{Name: "scripts", Description: "Execute helper scripts to manage Hasura projects"},
|
||||
{Name: "update-project-v2", Description: "Update the Hasura project from config v1 to v2"},
|
||||
{Name: "update-project-v3", Description: "Update the Hasura project from config v2 to v3"},
|
||||
{Name: "sd", Description: "Manage seed data"},
|
||||
{Name: "update-cli", Description: "Update the CLI to latest or a specific version"},
|
||||
{Name: "version", Description: "Print the CLI version"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--envfile", Description: ".env filename to load ENV vars from"},
|
||||
{Name: "-h", Description: "Help for hasura"},
|
||||
{Name: "--log-level", Description: "Log level"},
|
||||
{Name: "--no-color", Description: "Do not colorize output"},
|
||||
{Name: "--project", Description: "Directory where commands are executed"},
|
||||
{Name: "--skip-update-check", Description: "Skip automatic update check on command execution"},
|
||||
{Name: "--admin-secret", Description: "Admin secret for Hasura GraphQL engine"},
|
||||
{Name: "--certificate-authority", Description: "Path to a cert file for the certificate authority"},
|
||||
{Name: "--endpoint", Description: "Http(s) endpoint for Hasura GraphQL engine (env `HASURA_GRAPHQL_ENDPOINT`)"},
|
||||
{Name: "--insecure-skip-tls-verify", Description: "Skip TLS verification and disable cert checking"},
|
||||
{Name: "--derive-from", Description: "Derive action from a hasura operation"},
|
||||
{Name: "--kind", Description: "Kind to use in action"},
|
||||
{Name: "--webhook", Description: "Webhook to use in action"},
|
||||
{Name: "--with-codegen", Description: "Create action along with codegen"},
|
||||
{Name: "--framework", Description: "Framework to be used by codegen"},
|
||||
{Name: "--output-dir", Description: "Directory to create the codegen files"},
|
||||
{Name: "--with-starter-kit", Description: "Clone starter kit for a framework"},
|
||||
{Name: "--file", Description: "File to which output has to be written"},
|
||||
{Name: "--address", Description: "Address to serve console and migration API from"},
|
||||
{Name: "--api-port", Description: "Port for serving migrate api"},
|
||||
{Name: "--browser", Description: "Open console in a specific browser"},
|
||||
{Name: "--console-port", Description: "Port for serving console"},
|
||||
{Name: "--no-browser", Description: "Do not automatically open console in browser"},
|
||||
{Name: "--static-dir", Description: "When rendering console, use assets provided by HGE server"},
|
||||
{Name: "--install-manifest", Description: "Install manifest to be cloned"},
|
||||
{Name: "--version", Description: "Config version to be used"},
|
||||
{Name: "--dry-run", Description: "Show metadata generated from project directory without applying to server"},
|
||||
{Name: "-o", Description: "Specify an output format to show applied metadata"},
|
||||
{Name: "--up", Description: "Apply all or N up migration steps"},
|
||||
{Name: "--down", Description: "Apply all or N up migration steps"},
|
||||
{Name: "--skip-execution", Description: "Skip executing the migration action, but mark them as applied"},
|
||||
{Name: "--type", Description: "Type of migration to be used with version flag"},
|
||||
{Name: "--all-databases", Description: "Set this flag to attempt to apply migrations on all databases present on server"},
|
||||
{Name: "--down-sql", Description: "Sql string/query that is to be used to create a down migration"},
|
||||
{Name: "--from-server", Description: "Take pg_dump of schema and Hasura metadata from the server"},
|
||||
{Name: "--metadata-from-file", Description: "Path to a hasura metadata file to be used for up actions"},
|
||||
{Name: "--metadata-from-server", Description: "Take metadata from the server and write it as an up migration file"},
|
||||
{Name: "--schema", Description: "Name of Postgres schema to export as a migration"},
|
||||
{Name: "--sql-from-file", Description: "Path to an SQL file which contains the SQL statements"},
|
||||
{Name: "--sql-from-server", Description: "Take pg_dump from the server and save it as a migration"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "helm",
|
||||
Description: "The Helm package manager for Kubernetes",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "completion", Description: "Generate autocompletion scripts for the specified shell"},
|
||||
{Name: "bash", Description: "Generate autocompletion script for bash"},
|
||||
{Name: "fish", Description: "Generate autocompletion script for fish"},
|
||||
{Name: "powershell", Description: "Generate autocompletion script for powershell"},
|
||||
{Name: "zsh", Description: "Generate autocompletion script for zsh"},
|
||||
{Name: "create", Description: "Create a new chart with the given name"},
|
||||
{Name: "dep", Description: "Manage a chart's dependencies"},
|
||||
{Name: "build", Description: "Rebuild the charts/ directory based on the Chart.lock file"},
|
||||
{Name: "ls", Description: "List the dependencies for the given chart"},
|
||||
{Name: "up", Description: "Update charts/ based on the contents of Chart.yaml"},
|
||||
{Name: "env", Description: "Helm client environment information"},
|
||||
{Name: "get", Description: "Download extended information of a named release"},
|
||||
{Name: "all", Description: "Download all information for a named release"},
|
||||
{Name: "hooks", Description: "Download all hooks for a named release"},
|
||||
{Name: "manifest", Description: "Download the manifest for a named release"},
|
||||
{Name: "notes", Description: "Download the notes for a named release"},
|
||||
{Name: "values", Description: "Download the values file for a named release"},
|
||||
{Name: "hist", Description: "Fetch release history"},
|
||||
{Name: "install", Description: "Install a chart"},
|
||||
{Name: "lint", Description: "Examine a chart for possible issues"},
|
||||
{Name: "package", Description: "Package a chart directory into a chart archive"},
|
||||
{Name: "plugin", Description: "Install, list, or uninstall Helm plugins"},
|
||||
{Name: "add", Description: "Install one or more Helm plugins"},
|
||||
{Name: "rm", Description: "Uninstall one or more Helm plugins"},
|
||||
{Name: "fetch", Description: "Download a chart from a repository and (optionally) unpack it in local directory"},
|
||||
{Name: "push", Description: "Push a chart to remote"},
|
||||
{Name: "registry", Description: "Login to or logout from a registry"},
|
||||
{Name: "login", Description: "Login to a registry"},
|
||||
{Name: "logout", Description: "Logout from a registry"},
|
||||
{Name: "repo", Description: "Add, list, remove, update, and index chart repositories"},
|
||||
{Name: "index", Description: "Generate an index file given a directory containing packaged charts"},
|
||||
{Name: "rollback", Description: "Roll back a release to a previous revision"},
|
||||
{Name: "s3", Description: "Manage chart repositories on Amazon S3"},
|
||||
{Name: "search", Description: "Search for a keyword in charts"},
|
||||
{Name: "hub", Description: "Search for charts in the Artifact Hub or your own hub instance"},
|
||||
{Name: "inspect", Description: "Show information of a chart"},
|
||||
{Name: "chart", Description: "Show the chart's definition"},
|
||||
{Name: "crds", Description: "Show the chart's CRDs"},
|
||||
{Name: "readme", Description: "Show the chart's README"},
|
||||
{Name: "status", Description: "Display the status of the named release"},
|
||||
{Name: "template", Description: "Locally render templates"},
|
||||
{Name: "test", Description: "Run tests for a release"},
|
||||
{Name: "del", Description: "Uninstall a release"},
|
||||
{Name: "unittest", Description: "Unittest for helm charts"},
|
||||
{Name: "upgrade", Description: "Upgrade a release"},
|
||||
{Name: "verify", Description: "Verify that a chart at the given path has been signed and is valid"},
|
||||
{Name: "version", Description: "Print the client version information"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--no-descriptions", Description: "Disable completion descriptions"},
|
||||
{Name: "--starter", Description: "The name or absolute path to Helm starter scaffold"},
|
||||
{Name: "--keyring", Description: "Keyring containing public keys"},
|
||||
{Name: "--skip-refresh", Description: "Do not refresh the local repository cache"},
|
||||
{Name: "--verify", Description: "Verify the packages against signatures"},
|
||||
{Name: "--max-col-width", Description: "Maximum column width for output table"},
|
||||
{Name: "--revision", Description: "Get the named release with revision"},
|
||||
{Name: "--template", Description: "Go template for formatting the output, eg: {{.Release.Name}}"},
|
||||
{Name: "--all", Description: "Dump all (computed) values"},
|
||||
{Name: "--output", Description: "Prints the output in the specified format. Allowed values: table, json, yaml"},
|
||||
{Name: "--max", Description: "Maximum number of revision to include in history"},
|
||||
{Name: "--atomic", Description: "Verify certificates of HTTPS-enabled servers using this CA bundle"},
|
||||
{Name: "--cert-file", Description: "Identify HTTPS client using this SSL certificate file"},
|
||||
{Name: "--create-namespace", Description: "Create the release namespace if not present"},
|
||||
{Name: "--dependency-update", Description: "Update dependencies if they are missing before installing the chart"},
|
||||
{Name: "--description", Description: "Add a custom description"},
|
||||
{Name: "--devel", Description: "Simulate an install"},
|
||||
{Name: "--generate-name", Description: "Generate the name (and omit the NAME parameter)"},
|
||||
{Name: "--insecure-skip-tls-verify", Description: "Skip tls certificate checks for the chart download"},
|
||||
{Name: "--key-file", Description: "Identify HTTPS client using this SSL key file"},
|
||||
{Name: "--name-template", Description: "Specify template used to name the release"},
|
||||
{Name: "--no-hooks", Description: "Prevent hooks from running during install"},
|
||||
{Name: "--pass-credentials", Description: "Pass credentials to all domains"},
|
||||
{Name: "--password", Description: "Chart repository password where to locate the requested chart"},
|
||||
{Name: "--post-renderer", Description: "An argument to the post-renderer (can specify multiple)"},
|
||||
{Name: "--render-subchart-notes", Description: "If set, render subchart notes along with the parent"},
|
||||
{Name: "--replace", Description: "Chart repository url where to locate the requested chart"},
|
||||
{Name: "--set", Description: "Time to wait for any individual Kubernetes operation (like Jobs for hooks)"},
|
||||
{Name: "--username", Description: "Chart repository username where to locate the requested chart"},
|
||||
{Name: "--values", Description: "Specify values in a YAML file or a URL (can specify multiple)"},
|
||||
{Name: "--version", Description: "Examine a chart for possible issues"},
|
||||
{Name: "--quiet", Description: "Print only warnings and errors"},
|
||||
{Name: "--with-subcharts", Description: "Lint dependent charts"},
|
||||
{Name: "--all-namespaces", Description: "List releases across all namespaces"},
|
||||
{Name: "--date", Description: "Sort by release date"},
|
||||
{Name: "--deployed", Description: "Show failed releases"},
|
||||
{Name: "--filter", Description: "Maximum number of releases to fetch"},
|
||||
{Name: "--no-headers", Description: "Don't print headers when using the default output format"},
|
||||
{Name: "--offset", Description: "Next release index in the list, used to offset from start value"},
|
||||
{Name: "--pending", Description: "Show pending releases"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "helmfile",
|
||||
Description: "Deploy helm charts",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "apply", Description: "Apply all resources from state file only when there are changes"},
|
||||
{Name: "build", Description: "Build all resources from state file"},
|
||||
{Name: "cache", Description: "Cache management"},
|
||||
{Name: "completion", Description: "Generate the autocompletion script for the specified shell"},
|
||||
{Name: "destroy", Description: "Destroys and then purges releases"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
{Name: "lint", Description: "Lint charts from state file (helm lint)"},
|
||||
{Name: "list", Description: "List releases defined in state file"},
|
||||
{Name: "repos", Description: "Repos releases defined in state file"},
|
||||
{Name: "secrets", Description: "Causes the helm-secrets plugin to be executed to decrypt the file"},
|
||||
{Name: "status", Description: "Retrieve status of releases in state file"},
|
||||
{Name: "sync", Description: "Sync releases defined in state file"},
|
||||
{Name: "template", Description: "Template releases defined in state file"},
|
||||
{Name: "test", Description: "Test charts from state file (helm test)"},
|
||||
{Name: "version", Description: "Print the CLI version"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--help", Description: "Do not exit with an error code if the provided selector has no matching releases"},
|
||||
{Name: "--allow-no-matching-release", Description: "Show help for helmfile"},
|
||||
{Name: "--chart", Description: "Output with color"},
|
||||
{Name: "--debug", Description: "Specify the environment name. defaults to default"},
|
||||
{Name: "--file", Description: "Request confirmation before attempting to modify clusters"},
|
||||
{Name: "--kube-context", Description: "Set kubectl context. Uses current context by default"},
|
||||
{Name: "--log-level", Description: "Set log level, default info (default info)"},
|
||||
{Name: "--namespace", Description: "Output without color"},
|
||||
{Name: "--quiet", Description: "Silence output. Equivalent to log-level warn"},
|
||||
{Name: "--selector", Description: "Specify state values in a YAML file"},
|
||||
{Name: "--state-values-set", Description: "Version for helmfile"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "hugo",
|
||||
Description: "The world's fastest framework for building websites",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "check", Description: "Contains some verification checks"},
|
||||
{Name: "ulimit", Description: "Check system ulimit settings"},
|
||||
{Name: "config", Description: "Print the site configuration"},
|
||||
{Name: "mounts", Description: "Print the configured file mounts"},
|
||||
{Name: "convert", Description: "Convert your content to different formats"},
|
||||
{Name: "toJSON", Description: "Convert front matter to JSON"},
|
||||
{Name: "toTOML", Description: "Convert front matter to TOML"},
|
||||
{Name: "toYAML", Description: "Convert front matter to YAML"},
|
||||
{Name: "deploy", Description: "Deploy your site to a Cloud provider"},
|
||||
{Name: "env", Description: "Print Hugo version and environment info"},
|
||||
{Name: "gen", Description: "A collection of several useful generators"},
|
||||
{Name: "autocomplete", Description: "Generate shell autocompletion script for Hugo (default outputs to stdout)"},
|
||||
{Name: "bash", Description: "Default"},
|
||||
{Name: "friendly", Description: "Default"},
|
||||
{Name: "doc", Description: "Generate Markdown documentation for the Hugo CLI (default '/tmp/hugodoc/')"},
|
||||
{Name: "man", Description: "Generate man pages for the Hugo CLI (default 'man/')"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
{Name: "import", Description: "Import your site from others"},
|
||||
{Name: "list", Description: "Listing out various types of content"},
|
||||
{Name: "drafts", Description: "List all drafts"},
|
||||
{Name: "future", Description: "List all posts dated in the future"},
|
||||
{Name: "expired", Description: "List all posts already expired"},
|
||||
{Name: "all", Description: "List all posts"},
|
||||
{Name: "mod", Description: "Various Hugo Modules helpers"},
|
||||
{Name: "clean", Description: "Delete the Hugo Module cache for the current project"},
|
||||
{Name: "get", Description: "Resolves dependencies in your current Hugo Project"},
|
||||
{Name: "init", Description: "Initialize this project as a Hugo Module"},
|
||||
{Name: "npm", Description: "Various npm helpers"},
|
||||
{Name: "pack", Description: "Experimental: Prepares and writes a composite package.json file for your project"},
|
||||
{Name: "tidy", Description: "Remove unused entries in go.mod and go.sum"},
|
||||
{Name: "vendor", Description: "Vendor all module dependencies into the _vendor directory"},
|
||||
{Name: "verify", Description: "Verify dependencies"},
|
||||
{Name: "new", Description: "Create new content for your site"},
|
||||
{Name: "site", Description: "Create a new site (skeleton)"},
|
||||
{Name: "toml", Description: "Default"},
|
||||
{Name: "theme", Description: "Create a new theme"},
|
||||
{Name: "server", Description: "A high performance webserver"},
|
||||
{Name: "version", Description: "Print the version number of Hugo"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-h", Description: "Config file (default is path/config.yaml|json|toml)"},
|
||||
{Name: "--configDir", Description: "Config dir (default 'config')"},
|
||||
{Name: "--debug", Description: "Debug output (default false)"},
|
||||
{Name: "-e", Description: "Build environment"},
|
||||
{Name: "--ignoreVendor", Description: "Ignores any _vendor directory (default false)"},
|
||||
{Name: "--ignoreVendorPaths", Description: "Ignores any _vendor for module paths matching the given Glob pattern"},
|
||||
{Name: "--log", Description: "Enable Logging (default false)"},
|
||||
{Name: "--logFile", Description: "Log File path (if set, logging enabled automatically)"},
|
||||
{Name: "--quiet", Description: "Build in quiet mode (default false)"},
|
||||
{Name: "-s", Description: "Filesystem path to read files relative from"},
|
||||
{Name: "--themesDir", Description: "Filesystem path to themes directory"},
|
||||
{Name: "-v", Description: "Verbose output (default false)"},
|
||||
{Name: "--verboseLog", Description: "Verbose logging (default false)"},
|
||||
{Name: "-b", Description: "Hostname (and path) to the root, e.g. http://spf13.com/"},
|
||||
{Name: "-D", Description: "Include content marked as draft (default false)"},
|
||||
{Name: "-E", Description: "Include expired content (default false)"},
|
||||
{Name: "-F", Description: "Include content with publishdate in the future (default false)"},
|
||||
{Name: "--cacheDir", Description: "Filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/"},
|
||||
{Name: "--cleanDestinationDir", Description: "Remove files from destination not found in static directories (default false)"},
|
||||
{Name: "-c", Description: "Filesystem path to content directory"},
|
||||
{Name: "-d", Description: "Filesystem path to write files to"},
|
||||
{Name: "--disableKinds", Description: "Disable different kind of pages (home, RSS etc.)"},
|
||||
{Name: "--enableGitInfo", Description: "Add Git revision, date and author info to the pages (default false)"},
|
||||
{Name: "--forceSyncStatic", Description: "Copy all files when static is changed (default false)"},
|
||||
{Name: "--gc", Description: "Print missing translations (default false)"},
|
||||
{Name: "--ignoreCache", Description: "Ignores the cache directory (default false)"},
|
||||
{Name: "-l", Description: "Filesystem path to layout directory"},
|
||||
{Name: "--minify", Description: "Minify any supported output format (HTML, XML etc.) (default false)"},
|
||||
{Name: "--noChmod", Description: "Don't sync permission mode of files (default false)"},
|
||||
{Name: "--noTimes", Description: "Don't sync modification time of files (default false)"},
|
||||
{Name: "--path-warnings", Description: "Print warnings on duplicate target paths etc (default false)"},
|
||||
{Name: "--poll", Description: "Print memory usage to screen at intervals (default false)"},
|
||||
{Name: "--templateMetrics", Description: "Display metrics about template executions (default false)"},
|
||||
{Name: "--templateMetricsHints", Description: "Themes to use (located in /themes/THEMENAME/)"},
|
||||
{Name: "--trace", Description: "Write trace to file (not useful in general)"},
|
||||
{Name: "-w", Description: "Watch filesystem for changes and recreate as needed (default true)"},
|
||||
{Name: "-o", Description: "Filesystem path to write files to"},
|
||||
{Name: "--unsafe", Description: "Enable less safe operations, please backup first"},
|
||||
{Name: "--confirm", Description: "Ask for confirmation before making changes to the target"},
|
||||
{Name: "--dryRun", Description: "Dry run"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "k3d",
|
||||
Description: "Little helper to run k3s in Docker",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "cluster", Description: "Manage k3s clusters"},
|
||||
{Name: "create", Description: "Create a new k3s cluster"},
|
||||
{Name: "cluster name", Description: "Name of the cluster to create"},
|
||||
{Name: "number of agents", Description: "Number of agents to create"},
|
||||
{Name: "memory limit", Description: "Memory limit imposed on the agents nodes"},
|
||||
{Name: "port", Description: "Specify the Kubernetes API server port exposed on the LoadBalancer"},
|
||||
{Name: "path", Description: "Path of a config file to use"},
|
||||
{Name: "environment variables", Description: "Add environment variables to nodes"},
|
||||
{Name: "devices", Description: "GPU devices to add to the cluster node containers"},
|
||||
{Name: "ip:host[,host,...]", Description: "Add ip:host[,host,...] mappings"},
|
||||
{Name: "image", Description: "Specify k3s image that you want to use for the nodes"},
|
||||
{Name: "ARG@NODEFILTER[;@NODEFILTER]", Description: "Additional args passed to k3s command"},
|
||||
{Name: "network", Description: "Specify the docker network to use"},
|
||||
{Name: "int", Description: "Specify how many servers you want to create"},
|
||||
{Name: "string", Description: "Memory limit imposed on the server nodes [From docker]"},
|
||||
{Name: "duration", Description: "Rollback changes if cluster couldn't be created in specified duration"},
|
||||
{Name: "delete", Description: "Delete a cluster"},
|
||||
{Name: "edit", Description: "Edit a cluster"},
|
||||
{Name: "list", Description: "List clusters"},
|
||||
{Name: "start", Description: "Start a cluster"},
|
||||
{Name: "a", Description: "Start all clusters"},
|
||||
{Name: "stop", Description: "Stop a cluster"},
|
||||
{Name: "completion", Description: "Generate shell completion scripts"},
|
||||
{Name: "shell", Description: "Shell to generate completion script for"},
|
||||
{Name: "config", Description: "Manage k3d config"},
|
||||
{Name: "init", Description: "Create a new config file"},
|
||||
{Name: "migrate", Description: "Migrate a config file to the latest version"},
|
||||
{Name: "import", Description: "Import image(s) from docker into k3d cluster(s)"},
|
||||
{Name: "mode", Description: "Import mode"},
|
||||
{Name: "kubeconfig", Description: "Manage k3d kubeconfig"},
|
||||
{Name: "merge", Description: "Write/Merge kubeconfig(s) from cluster(s) into new or existing kubeconfig/file"},
|
||||
{Name: "node", Description: "Manage k3d nodes"},
|
||||
{Name: "Node Name", Description: "Name of the node"},
|
||||
{Name: "k3s-arg", Description: "Additional k3s arguments"},
|
||||
{Name: "memory", Description: "Memory limit for the node container"},
|
||||
{Name: "replicas", Description: "Number of replicas to create"},
|
||||
{Name: "role", Description: "Node role"},
|
||||
{Name: "timeout", Description: "Maximum waiting time for '--wait' before canceling/returning"},
|
||||
{Name: "port-add", Description: "Map ports from the node container to the host"},
|
||||
{Name: "output", Description: "Output format"},
|
||||
{Name: "registry", Description: "Manage registry/registries"},
|
||||
{Name: "Registry Name", Description: "Name of the registry"},
|
||||
{Name: "version", Description: "Show k3d and default k3s version"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-a", Description: "Number of agents to create"},
|
||||
{Name: "--agents-memory", Description: "Memory limit imposed on the agents nodes"},
|
||||
{Name: "--api-port", Description: "Specify the Kubernetes API server port exposed on the LoadBalancer"},
|
||||
{Name: "-c", Description: "Path of a config file to use"},
|
||||
{Name: "-e", Description: "Add environment variables to nodes"},
|
||||
{Name: "--gpus", Description: "GPU devices to add to the cluster node containers"},
|
||||
{Name: "-h", Description: "Help for create"},
|
||||
{Name: "--host-alias", Description: "Add ip:host[,host,...] mappings"},
|
||||
{Name: "--host-pid-mode", Description: "Enable host pid mode of server(s) and agent(s)"},
|
||||
{Name: "-i", Description: "Specify k3s image that you want to use for the nodes"},
|
||||
{Name: "--k3s-arg", Description: "Additional args passed to k3s command"},
|
||||
{Name: "--k3s-node-label", Description: "Add label to k3s node"},
|
||||
{Name: "--kubeconfig-switch-context", Description: "Use dotted YAML path syntax to override nginx loadbalancer settings"},
|
||||
{Name: "--network", Description: "Specify the docker network to use"},
|
||||
{Name: "--no-image-volume", Description: "Don't create a volume for the container's root filesystem"},
|
||||
{Name: "--no-lb", Description: "Don't create a loadbalancer for the cluster"},
|
||||
{Name: "--no-rollback", Description: "Don't rollback changes if cluster creation failed"},
|
||||
{Name: "-p", Description: "Map ports from the node containers (via the serverlb) to the host"},
|
||||
{Name: "--registry-config", Description: "Specify path to an extra registries.yaml file"},
|
||||
{Name: "--registry-create", Description: "Connect to one or more k3d-managed registries running locally"},
|
||||
{Name: "--runtime-label", Description: "Specify how many servers you want to create"},
|
||||
{Name: "--servers-memory", Description: "Memory limit imposed on the server nodes [From docker]"},
|
||||
{Name: "--subnet", Description: "[Experimental: IPAM] Define a subnet for the newly created container network"},
|
||||
{Name: "--timeout", Description: "Rollback changes if cluster couldn't be created in specified duration"},
|
||||
{Name: "--token", Description: "Specify a cluster token. By default, we generate one"},
|
||||
{Name: "-v", Description: "Mount volumes into the nodes"},
|
||||
{Name: "--wait", Description: "Wait for the server(s) to be ready before returning"},
|
||||
{Name: "--port-add", Description: "Map ports from the node containers"},
|
||||
{Name: "--no-headers", Description: "Don't print headers"},
|
||||
{Name: "-o", Description: "Output format"},
|
||||
{Name: "-f", Description: "Force overwrite of target file"},
|
||||
{Name: "-k", Description: "Do not delete the tarball containing the saved images from the shared volume"},
|
||||
{Name: "-t", Description: "Do not delete the tools node after import"},
|
||||
{Name: "-m", Description: "Import mode"},
|
||||
{Name: "-s", Description: "Switch to new context (default true)"},
|
||||
{Name: "-u", Description: "Update conflicting fields in existing kubeconfig (default true)"},
|
||||
{Name: "--memory", Description: "Memory limit for the node container"},
|
||||
{Name: "-n", Description: "Add node to (another) runtime network"},
|
||||
{Name: "--replicas", Description: "Number of replicas to create"},
|
||||
{Name: "--role", Description: "Node role"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "k6",
|
||||
Description: "Create an archive",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "archive", Description: "Create an archive"},
|
||||
{Name: "cloud", Description: "Run a test on the cloud"},
|
||||
{Name: "completion", Description: "Generate the autocompletion script for the specified shell"},
|
||||
{Name: "bash", Description: "Generate the autocompletion script for bash"},
|
||||
{Name: "fish", Description: "Generate the autocompletion script for fish"},
|
||||
{Name: "powershell", Description: "Generate the autocompletion script for powershell"},
|
||||
{Name: "zsh", Description: "Generate the autocompletion script for zsh"},
|
||||
{Name: "convert", Description: "Convert a HAR file to a k6 script"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
{Name: "inspect", Description: "Inspect a script or archive"},
|
||||
{Name: "login", Description: "Inspect a script or archive"},
|
||||
{Name: "influxdb", Description: "Authenticate with InfluxDB"},
|
||||
{Name: "pause", Description: "Pause a running test"},
|
||||
{Name: "resume", Description: "Resume a running test"},
|
||||
{Name: "run", Description: "Start a load test"},
|
||||
{Name: "address", Description: "Address of the API server"},
|
||||
{Name: "batch", Description: "Max parallel batch reqs (default 20)"},
|
||||
{Name: "batch-per-host", Description: "Max parallel batch reqs per host (default 6)"},
|
||||
{Name: "vus", Description: "Number of virtual users (default 1)"},
|
||||
{Name: "duration", Description: "Test duration limit"},
|
||||
{Name: "iterations", Description: "Script total iteration limit (among all VUs)"},
|
||||
{Name: "stage", Description: "Add a stage, as `[duration]:[target]`"},
|
||||
{Name: "execution-segment", Description: "Limit execution to the specified segment, e.g. 10%, 1/3, 0.2:2/3"},
|
||||
{Name: "execution-segment-sequence", Description: "The execution segment sequence"},
|
||||
{Name: "paused", Description: "Start the test in a paused state"},
|
||||
{Name: "no-setup", Description: "Don't run setup()"},
|
||||
{Name: "no-teardown", Description: "Don't run teardown()"},
|
||||
{Name: "max-redirects", Description: "Follow at most n redirects (default 10)"},
|
||||
{Name: "rps", Description: "Limit requests per second"},
|
||||
{Name: "insecure-skip-tls-verify", Description: "Skip verification of TLS certificates"},
|
||||
{Name: "no-connection-reuse", Description: "Disable keep-alive connections"},
|
||||
{Name: "no-vu-connection-reuse", Description: "Don't reuse connections between iterations"},
|
||||
{Name: "min-iteration-duration", Description: "Minimum amount of time k6 will take executing a single iteration"},
|
||||
{Name: "throw", Description: "Throw warnings (like failed http requests) as errors"},
|
||||
{Name: "blacklist-ip", Description: "Blacklist an ip range from being calledd"},
|
||||
{Name: "tag", Description: "Add a tag to be applied to all samples, as `[name]=[value]`"},
|
||||
{Name: "console-output", Description: "Redirects the console logging to the provided output file"},
|
||||
{Name: "discard-response-bodies", Description: "Read but don't process or save HTTP response bodies"},
|
||||
{Name: "dns", Description: "DNS resolver configuration"},
|
||||
{Name: "include-system-env-vars", Description: "Pass the real system environment variables to the runtime (default true)"},
|
||||
{Name: "env", Description: "Add/override environment variable with VAR=value"},
|
||||
{Name: "no-thresholds", Description: "Don't run thresholds"},
|
||||
{Name: "no-summary", Description: "Don't show the summary at the end of the test"},
|
||||
{Name: "summary-export", Description: "Output the end-of-test summary report to JSON file"},
|
||||
{Name: "out", Description: "Uri for an external metrics database"},
|
||||
{Name: "linger", Description: "Keep the API server alive past test end"},
|
||||
{Name: "no-usage-report", Description: "Don't send anonymous stats to the developers"},
|
||||
{Name: "scale", Description: "Scale a running test"},
|
||||
{Name: "max", Description: "Max available virtual users"},
|
||||
{Name: "stats", Description: "Show test metrics"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--address", Description: "Address of the API server"},
|
||||
{Name: "--batch", Description: "Max parallel batch reqs (default 20)"},
|
||||
{Name: "--batch-per-host", Description: "Max parallel batch reqs per host (default 6)"},
|
||||
{Name: "--vus", Description: "Number of virtual users (default 1)"},
|
||||
{Name: "--duration", Description: "Test duration limit"},
|
||||
{Name: "--iterations", Description: "Script total iteration limit (among all VUs)"},
|
||||
{Name: "--stage", Description: "Add a stage, as `[duration]:[target]`"},
|
||||
{Name: "--execution-segment", Description: "Add a stage, as `[duration]:[target]`"},
|
||||
{Name: "--execution-segment-sequence", Description: "The execution segment sequence"},
|
||||
{Name: "--paused", Description: "Start the test in a paused state"},
|
||||
{Name: "--no-setup", Description: "Don't run setup()"},
|
||||
{Name: "--no-teardown", Description: "Don't run teardown()"},
|
||||
{Name: "--max-redirects", Description: "Follow at most n redirects (default 10)"},
|
||||
{Name: "--rps", Description: "Limit requests per second"},
|
||||
{Name: "--user-agent", Description: "Skip verification of TLS certificates"},
|
||||
{Name: "--no-connection-reuse", Description: "Disable keep-alive connections"},
|
||||
{Name: "--no-vu-connection-reuse", Description: "Don't reuse connections between iterations"},
|
||||
{Name: "--min-iteration-duration", Description: "Minimum amount of time k6 will take executing a single iteration"},
|
||||
{Name: "--throw", Description: "Throw warnings (like failed http requests) as errors"},
|
||||
{Name: "--blacklist-ip", Description: "Blacklist an ip range from being called"},
|
||||
{Name: "--block-hostnames", Description: "Add a tag to be applied to all samples, as `[name]=[value]`"},
|
||||
{Name: "--console-output", Description: "Redirects the console logging to the provided output file"},
|
||||
{Name: "--discard-response-bodies", Description: "Read but don't process or save HTTP response bodies"},
|
||||
{Name: "--local-ips", Description: "DNS resolver configuration"},
|
||||
{Name: "--include-system-env-vars", Description: "Pass the real system environment variables to the runtime (default true)"},
|
||||
{Name: "--compatibility-mode", Description: "Add/override environment variable with VAR=value"},
|
||||
{Name: "--no-thresholds", Description: "Don't run thresholds"},
|
||||
{Name: "--no-summary", Description: "Don't show the summary at the end of the test"},
|
||||
{Name: "--summary-export", Description: "Output the end-of-test summary report to JSON file"},
|
||||
{Name: "--out", Description: "Uri for an external metrics database"},
|
||||
{Name: "--linger", Description: "Keep the API server alive past test end"},
|
||||
{Name: "--no-usage-report", Description: "Don't send anonymous stats to the developers"},
|
||||
{Name: "-h", Description: "Help for scale"},
|
||||
{Name: "-m", Description: "Max available virtual users"},
|
||||
{Name: "-u", Description: "Number of virtual users (default 1)"},
|
||||
{Name: "-v", Description: "Enable verbose logging"},
|
||||
{Name: "-q", Description: "Disable progress updates"},
|
||||
{Name: "-a", Description: "JSON config file"},
|
||||
{Name: "--log-format", Description: "Log output format"},
|
||||
{Name: "--log-output", Description: "Change the output for k6 logs"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "k9s",
|
||||
Description: "Kubernetes namespace",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
{Name: "info", Description: "Print configuration info"},
|
||||
{Name: "version", Description: "Print version/build info"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-h", Description: "Help for info"},
|
||||
{Name: "-s", Description: "Prints K9s version info in short format"},
|
||||
{Name: "-A", Description: "Launch K9s in all namespaces"},
|
||||
{Name: "--as", Description: "Username to impersonate for the operation"},
|
||||
{Name: "--as-group", Description: "Group to impersonate for the operation"},
|
||||
{Name: "--certificate-authority", Description: "Path to a cert file for the certificate authority"},
|
||||
{Name: "--client-key", Description: "Path to a client key file for TLS"},
|
||||
{Name: "-c", Description: "Overrides the default resource to load when the application launches"},
|
||||
{Name: "--context", Description: "The name of the kubeconfig context to use"},
|
||||
{Name: "--crumbsless", Description: "Turn K9s crumbs off"},
|
||||
{Name: "--headless", Description: "Turn K9s header off"},
|
||||
{Name: "--insecure-skip-tls-verify", Description: "If true, the server's caCertFile will not be checked for validity"},
|
||||
{Name: "--kubeconfig", Description: "Path to the kubeconfig file to use for CLI requests"},
|
||||
{Name: "--logFile", Description: "Specify the log file"},
|
||||
{Name: "-l", Description: "Specify a log level (info, warn, debug, trace, error) (default 'info')"},
|
||||
{Name: "--logoless", Description: "Turn K9s logo off"},
|
||||
{Name: "-n", Description: "If present, the namespace scope for this CLI request"},
|
||||
{Name: "--readonly", Description: "Sets readOnly mode by overriding readOnly configuration setting"},
|
||||
{Name: "-r", Description: "Specify the default refresh rate as an integer (sec) (default 2)"},
|
||||
{Name: "--request-timeout", Description: "The length of time to wait before giving up on a single server request"},
|
||||
{Name: "--screen-dump-dir", Description: "Sets a path to a dir for a screen dumps"},
|
||||
{Name: "--token", Description: "Bearer token for authentication to the API server"},
|
||||
{Name: "--user", Description: "The name of the kubeconfig user to use"},
|
||||
{Name: "--write", Description: "Sets write mode by overriding the readOnly configuration setting"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "kind",
|
||||
Description: "Cluster",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "Build", Description: "Build one of [node-image]"},
|
||||
{Name: "node-image", Description: "Builds a node image"},
|
||||
{Name: "architecture", Description: "Architecture to build for, defaults to the host architecture"},
|
||||
{Name: "base image", Description: "Name:tag of the base image to use for the build"},
|
||||
{Name: "name:tag", Description: "Name:tag of the resulting image to be built"},
|
||||
{Name: "path", Description: "Path to the Kubernetes source directory"},
|
||||
{Name: "type", Description: "Build type, default is docker"},
|
||||
{Name: "create", Description: "Creates a cluster"},
|
||||
{Name: "cluster", Description: "Creates a cluster"},
|
||||
{Name: "completion", Description: "Generates shell completion scripts"},
|
||||
{Name: "bash", Description: "Output shell completions for bash"},
|
||||
{Name: "fish", Description: "Output shell completions for fish"},
|
||||
{Name: "zsh", Description: "Output shell completions for zsh"},
|
||||
{Name: "delete", Description: "Deletes one or more clusters"},
|
||||
{Name: "clusters", Description: "Delete Clusters"},
|
||||
{Name: "export", Description: "Exports a cluster's kubeconfig"},
|
||||
{Name: "kubeconfig", Description: "Exports a cluster's kubeconfig"},
|
||||
{Name: "logs", Description: "Exports logs to a tempdir or [output-dir] if specified"},
|
||||
{Name: "get", Description: "Gets one of [clusters, nodes, kubeconfig]"},
|
||||
{Name: "nodes", Description: "Lists existing kind nodes by their name"},
|
||||
{Name: "load", Description: "Loads images into node from an archive or image on host"},
|
||||
{Name: "docker-image", Description: "Loads docker images from host into all or specified nodes by name"},
|
||||
{Name: "image-archive", Description: "Loads docker images from archive into all or specified nodes by name"},
|
||||
{Name: "version", Description: "Prints the kind CLI version"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--arch", Description: "Architecture to build for, defaults to the host architecture"},
|
||||
{Name: "--base-image", Description: "Base image to use for the node image"},
|
||||
{Name: "--image", Description: "Name:tag of the resulting image to be built"},
|
||||
{Name: "--kube-root", Description: "Path to the Kubernetes source directory"},
|
||||
{Name: "--type", Description: "Type of node image to build"},
|
||||
{Name: "--config", Description: "Path to a kind config file"},
|
||||
{Name: "--kubeconfig", Description: "Sets kubeconfig path instead of $KUBECONFIG or $HOME/.kube/config"},
|
||||
{Name: "--name", Description: "Cluster name"},
|
||||
{Name: "--retain", Description: "Retain nodes for debugging when cluster creation fails"},
|
||||
{Name: "--wait", Description: "Wait for control-plane node to be ready"},
|
||||
{Name: "-A", Description: "Delete all clusters"},
|
||||
{Name: "--internal", Description: "Use internal address instead of externalt"},
|
||||
{Name: "--nodes", Description: "Comma separated list of nodes to load images into"},
|
||||
{Name: "-h", Description: "Help for kind"},
|
||||
{Name: "-q", Description: "Silence all stderr output"},
|
||||
{Name: "-v", Description: "Info log verbosity, higher value produces more output"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "knex",
|
||||
Description: "SQL query builder for JavaScript",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "init", Description: "Create a fresh knexfile"},
|
||||
{Name: "migrate:make", Description: "Create a named migration file"},
|
||||
{Name: "migrate:latest", Description: "Run all migrations that have not yet been run"},
|
||||
{Name: "migrate:up", Description: "Run the next or the specified migration that has not yet been run"},
|
||||
{Name: "migrate:rollback", Description: "Rollback the last batch of migrations performed"},
|
||||
{Name: "migrate:down", Description: "Undo the last or the specified migration that was already run"},
|
||||
{Name: "migrate:currentVersion", Description: "View the current version for the migration"},
|
||||
{Name: "migrate:list|migrate:status", Description: "List all migrations files with status"},
|
||||
{Name: "migrate:unlock", Description: "Forcibly unlocks the migrations lock table"},
|
||||
{Name: "seed:make", Description: "Create a named seed file"},
|
||||
{Name: "seed:run", Description: "Run seed files"},
|
||||
{Name: "help", Description: "Display help for command"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--version", Description: "Output the version number"},
|
||||
{Name: "--debug", Description: "Run with debugging"},
|
||||
{Name: "--knexfile", Description: "Specify the knexfile path"},
|
||||
{Name: "--knexpath", Description: "Specify the path to knex instance"},
|
||||
{Name: "--cwd", Description: "Specify the working directory"},
|
||||
{Name: "--client", Description: "Set DB client without a knexfile"},
|
||||
{Name: "--connection", Description: "Set DB connection without a knexfile"},
|
||||
{Name: "--migrations-directory", Description: "Set migrations directory without a knexfile"},
|
||||
{Name: "--migrations-table-name", Description: "Set migrations table name without a knexfile"},
|
||||
{Name: "--env", Description: "Environment, default: process.env.NODE_ENV || development"},
|
||||
{Name: "--esm", Description: "Enable ESM interop"},
|
||||
{Name: "--specific", Description: "Specify one seed file to execute"},
|
||||
{Name: "--timestamp-filename-prefix", Description: "Enable a timestamp prefix on name of generated seed files"},
|
||||
{Name: "--help", Description: "Display help for command"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "kubectx",
|
||||
Description: "Switch between Kubernetes-contexts",
|
||||
Options: []core.Option{
|
||||
{Name: "--help", Description: "Show help for kubectx"},
|
||||
{Name: "--current", Description: "Show current context"},
|
||||
{Name: "--unset", Description: "Unset the current context"},
|
||||
{Name: "-d", Description: "Delete context"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "kubens",
|
||||
Description: "Switch between Kubernetes-namespaces",
|
||||
Options: []core.Option{
|
||||
{Name: "--help", Description: "Show help for kubens"},
|
||||
{Name: "--current", Description: "Show current namespace"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "limactl",
|
||||
Description: "Lima: Linux virtual machines, with a focus on running containers",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "completion", Description: "Generate the autocompletion script for the specified shell"},
|
||||
{Name: "copy", Description: "Copy files between host and guest"},
|
||||
{Name: "delete", Description: "Delete an instance of Lima"},
|
||||
{Name: "info", Description: "Show diagnostic information"},
|
||||
{Name: "list", Description: "List instances of Lima"},
|
||||
{Name: "prune", Description: "Prune garbage objects"},
|
||||
{Name: "show-ssh", Description: "Show the ssh command line"},
|
||||
{Name: "cmd", Description: "Full ssh command line"},
|
||||
{Name: "options", Description: "Ssh option key value pairs"},
|
||||
{Name: "config", Description: "~/.ssh/config format"},
|
||||
{Name: "stop", Description: "Stop an instance"},
|
||||
{Name: "validate", Description: "Validate YAML files"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-h", Description: "Debug mode"},
|
||||
{Name: "--no-descriptions", Description: "Disable completion descriptions"},
|
||||
{Name: "-r", Description: "Copy directories recursively"},
|
||||
{Name: "-f", Description: "Forcibly kill the processes"},
|
||||
{Name: "--json", Description: "JSONify output"},
|
||||
{Name: "-q", Description: "Only show names"},
|
||||
{Name: "--workdir", Description: "Working directory"},
|
||||
{Name: "--tty", Description: "Stop an instance"},
|
||||
{Name: "--check", Description: "Validate YAML files"},
|
||||
{Name: "-v", Description: "Version for limactl"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "locust",
|
||||
Description: "Show program",
|
||||
Options: []core.Option{
|
||||
{Name: "-v", Description: "Show program's version number and exit"},
|
||||
{Name: "-h", Description: "Show this help message and exit"},
|
||||
{Name: "-f", Description: "Show program's version number and exit"},
|
||||
{Name: "--config", Description: "Config file path"},
|
||||
{Name: "-H", Description: "Host to load test in the following format: http://10.21.32.33"},
|
||||
{Name: "-u", Description: "Stop after the specified amount of time, e.g. (300s, 20m, 3h, 1h30m, etc.)"},
|
||||
{Name: "-l", Description: "Show list of possible User classes and exit"},
|
||||
{Name: "--web-host", Description: "Host to bind the web interface to. Defaults to '*' (all interfaces)"},
|
||||
{Name: "-P", Description: "Port on which to run web host"},
|
||||
{Name: "--headless", Description: "Disable the web interface, and start the test immediately"},
|
||||
{Name: "--autostart", Description: "Starts the test immediately (without disabling the web UI)"},
|
||||
{Name: "--autoquit", Description: "Quits Locust entirely, X seconds after the run is finished"},
|
||||
{Name: "--web-auth", Description: "Turn on Basic Auth for the web interface. e.g. username:password"},
|
||||
{Name: "--tls-cert", Description: "Optional path to TLS certificate to use to serve over HTTPS"},
|
||||
{Name: "--tls-key", Description: "Optional path to TLS private key to use to serve over HTTPS"},
|
||||
{Name: "--class-picker", Description: "Set locust to run in distributed mode with this process as master"},
|
||||
{Name: "--master-bind-host", Description: "Interfaces (hostname, ip) that locust master should bind to"},
|
||||
{Name: "--master-bind-port", Description: "Port that locust master should bind to"},
|
||||
{Name: "--expect-workers", Description: "Set locust to run in distributed mode with this process as worker"},
|
||||
{Name: "--master-host", Description: "Show list of possible User classes and exit"},
|
||||
{Name: "--csv", Description: "Store current request stats to files in CSV format"},
|
||||
{Name: "--csv-full-history", Description: "Print stats in the console"},
|
||||
{Name: "--only-summary", Description: "Only print the summary stats"},
|
||||
{Name: "--reset-stats", Description: "Store HTML report to file path specified"},
|
||||
{Name: "--skip-log-setup", Description: "Choose between DEBUG/INFO/WARNING/ERROR/CRITICAL. Default is INFO"},
|
||||
{Name: "--logfile", Description: "Path to log file. If not set, log will go to stderr"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "lpass",
|
||||
Description: "Command line interface for LastPass",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "login", Description: "Log in to LastPass"},
|
||||
{Name: "USERNAME", Description: "LastPass account username (email address)"},
|
||||
{Name: "logout", Description: "Log out of LastPass"},
|
||||
{Name: "ls", Description: "List names in groups in a tree structure"},
|
||||
{Name: "GROUP", Description: "Group of entries to list"},
|
||||
{Name: "passwd", Description: "Change LastPass password and reencrypt all entries"},
|
||||
{Name: "show", Description: "Show password or selected field"},
|
||||
{Name: "FIELD", Description: "Show only this field"},
|
||||
{Name: "ATTACHID", Description: "Attachment ID"},
|
||||
{Name: "UNIQENAME|UNIQUEID", Description: "Shows entry with this unique name or ID"},
|
||||
{Name: "mv", Description: "Move LastPass entry to a different group"},
|
||||
{Name: "UNIQUENAME|UNIQUEID", Description: "Unique name or ID to move"},
|
||||
{Name: "add", Description: "Add a new entry"},
|
||||
{Name: "NOTETYPE", Description: "Type of note to add"},
|
||||
{Name: "NAME|UNIQUEID", Description: "Name or unique ID of the entry to add"},
|
||||
{Name: "edit", Description: "Edit existing entry"},
|
||||
{Name: "generate", Description: "Create randomly generated password"},
|
||||
{Name: "URL", Description: "URL to generate the password for"},
|
||||
{Name: "LENGTH", Description: "Length of the password to create"},
|
||||
{Name: "duplicate", Description: "Duplicate existing entry"},
|
||||
{Name: "rm", Description: "Removes existing entry"},
|
||||
{Name: "status", Description: "Show the LastPass login status"},
|
||||
{Name: "sync", Description: "Sync the local cache against the LastPass server"},
|
||||
{Name: "import", Description: "Import account information from an unencrypted CSV"},
|
||||
{Name: "FILENAME", Description: "CSV filename to import from"},
|
||||
{Name: "export", Description: "Export account information to an unencrypted CSV"},
|
||||
{Name: "share", Description: "LastPass Sharing Center functionality"},
|
||||
{Name: "userls", Description: "List the LastPass users which have access to the Shared Folders"},
|
||||
{Name: "useradd", Description: "Add user to Shared Folders"},
|
||||
{Name: "true", Description: "Grant read only access"},
|
||||
{Name: "false", Description: "Grant write access"},
|
||||
{Name: "SHARE", Description: "Entry to share"},
|
||||
{Name: "usermod", Description: "Modify user on Shared Folders"},
|
||||
{Name: "userdel", Description: "Remove user from Shared Folders"},
|
||||
{Name: "create", Description: "Create new LastPass Shared Folder"},
|
||||
{Name: "limit", Description: "Manipulate LastPass Shared Folder access"},
|
||||
{Name: "sites", Description: "LastPass sites to manipulate"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--trust", Description: "Subsequent logins will not require multifactor authentication"},
|
||||
{Name: "--plaintext-key", Description: "Save decryption key to the hard disk in plaintext"},
|
||||
{Name: "--force", Description: "Skip user confirmation"},
|
||||
{Name: "--color", Description: "Control colored output to the terminal"},
|
||||
{Name: "--long", Description: "Show the last modification time"},
|
||||
{Name: "-m", Description: "Show the last modified time"},
|
||||
{Name: "-u", Description: "Show the last used time"},
|
||||
{Name: "--sync", Description: "When the current operation syncs to server"},
|
||||
{Name: "--clip", Description: "Copy to the clipboard"},
|
||||
{Name: "--quiet", Description: "Display no output and only sets return code"},
|
||||
{Name: "--expand-multi", Description: "Show information from all matching sites"},
|
||||
{Name: "--json", Description: "Generate json output instead of human-readable text"},
|
||||
{Name: "--all", Description: "Show all fields"},
|
||||
{Name: "--username", Description: "Show only the username"},
|
||||
{Name: "--password", Description: "Show only the password"},
|
||||
{Name: "--url", Description: "Show only the URL"},
|
||||
{Name: "--notes", Description: "Show only the notes"},
|
||||
{Name: "--field", Description: "Show only the field"},
|
||||
{Name: "--id", Description: "Show only the ID"},
|
||||
{Name: "--name", Description: "Show only the name"},
|
||||
{Name: "--attach", Description: "Show only the attachment"},
|
||||
{Name: "--basic-regexp", Description: "Show sites matching case-insensitive regular expression"},
|
||||
{Name: "--fixed-strings", Description: "Show sites matching this exact substring"},
|
||||
{Name: "--non-interactive", Description: "Control colored output to the terminal"},
|
||||
{Name: "--note-type", Description: "Add only the note"},
|
||||
{Name: "--no-symbols", Description: "Generate password without symbols"},
|
||||
{Name: "--background", Description: "Synchronization occurs in a daemonized process"},
|
||||
{Name: "--keep-dupes", Description: "Keeps any duplicate entries"},
|
||||
{Name: "--fields", Description: "CSV filename to export to"},
|
||||
{Name: "--read-only", Description: "Control read or write access"},
|
||||
{Name: "--hidden", Description: "Share user view permission"},
|
||||
{Name: "--admin", Description: "Share user administer permission"},
|
||||
{Name: "--deny", Description: "Deny or allow access"},
|
||||
{Name: "--add", Description: "Add, remove, or clear access"},
|
||||
{Name: "--help", Description: "Display the help for lpass"},
|
||||
{Name: "--version", Description: "Display the version of lpass"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "minikube",
|
||||
Description: "Format to print stdout in",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "start", Description: "Starts a local Kubernetes cluster"},
|
||||
{Name: "status", Description: "Gets the status of a local Kubernetes cluster"},
|
||||
{Name: "stop", Description: "Stops a running local Kubernetes cluster"},
|
||||
{Name: "delete", Description: "Deletes a local Kubernetes cluster"},
|
||||
{Name: "unpause", Description: "Unpause Kubernetes"},
|
||||
{Name: "docker-env", Description: "Configure environment to use minikube's Docker daemon"},
|
||||
{Name: "podman-env", Description: "Configure environment to use minikube's Podman service"},
|
||||
{Name: "cache", Description: "Add, delete, or push a local image into minikube"},
|
||||
{Name: "add", Description: "Add an image to local cache"},
|
||||
{Name: "list", Description: "List all available images from the local cache"},
|
||||
{Name: "reload", Description: "Reload cached images"},
|
||||
{Name: "image", Description: "Manage images"},
|
||||
{Name: "build", Description: "Build a container image in minikube"},
|
||||
{Name: "load", Description: "Load a image into minikube"},
|
||||
{Name: "ls", Description: "List images"},
|
||||
{Name: "pull", Description: "Pull images"},
|
||||
{Name: "push", Description: "Push images"},
|
||||
{Name: "rm", Description: "Remove one or more images"},
|
||||
{Name: "save", Description: "Save a image from minikube"},
|
||||
{Name: "tag", Description: "Tag images"},
|
||||
{Name: "addons", Description: "Enable or disable a minikube addon"},
|
||||
{Name: "configure", Description: "Configures the addon w/ADDON_NAME within minikube"},
|
||||
{Name: "disable", Description: "Disables the addon w/ADDON_NAME within minikube"},
|
||||
{Name: "enable", Description: "Enables the addon w/ADDON_NAME within minikube"},
|
||||
{Name: "images", Description: "List image names the addon w/ADDON_NAME used"},
|
||||
{Name: "open", Description: "Opens the addon w/ADDON_NAME within minikube"},
|
||||
{Name: "config", Description: "Modify persistent configuration values"},
|
||||
{Name: "defaults", Description: "Lists all valid default values for PROPERTY_NAME"},
|
||||
{Name: "get", Description: "Gets the value of PROPERTY_NAME from the minikube config file"},
|
||||
{Name: "set", Description: "Sets an individual value in a minikube config file"},
|
||||
{Name: "unset", Description: "Unsets an individual value in a minikube config file"},
|
||||
{Name: "view", Description: "Display values currently set in the minikube config file"},
|
||||
{Name: "profile", Description: "Get or list the current profiles (clusters)"},
|
||||
{Name: "update-context", Description: "Update kubeconfig in case of an IP or port change"},
|
||||
{Name: "service", Description: "Returns a URL to connect to a service"},
|
||||
{Name: "tunnel", Description: "Connect to LoadBalancer services"},
|
||||
{Name: "mount", Description: "Mounts the specified directory into minikube"},
|
||||
{Name: "ssh", Description: "Log into the minikube environment (for debugging)"},
|
||||
{Name: "kubectl", Description: "Run a kubectl binary matching the cluster version"},
|
||||
{Name: "node", Description: "Add, remove, or list additional nodes"},
|
||||
{Name: "cp", Description: "Copy the specified file into minikube"},
|
||||
{Name: "ssh-key", Description: "Retrieve the ssh identity key path of the specified node"},
|
||||
{Name: "ssh-host", Description: "Retrieve the ssh host key of the specified node"},
|
||||
{Name: "ip", Description: "Retrieves the IP address of the specified node"},
|
||||
{Name: "logs", Description: "Returns logs to debug a local Kubernetes cluster"},
|
||||
{Name: "update-check", Description: "Print current and latest version number"},
|
||||
{Name: "version", Description: "Print the version of minikube"},
|
||||
{Name: "options", Description: "Add, remove, or list additional nodes"},
|
||||
{Name: "completion", Description: "Generate command completion for a shell"},
|
||||
{Name: "bash", Description: "Bash completion"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--output", Description: "Format to print stdout in"},
|
||||
{Name: "--shell", Description: "Force environment to be configured for a specified shell"},
|
||||
{Name: "--unset", Description: "Unset variables instead of setting them"},
|
||||
{Name: "--addons", Description: "Enable addons. see `minikube addons list` for a list of valid addon names"},
|
||||
{Name: "--apiserver-ips", Description: "The authoritative apiserver hostname for apiserver certificates and connectivity"},
|
||||
{Name: "--apiserver-names", Description: "The apiserver listening port"},
|
||||
{Name: "--auto-update-drivers", Description: "If set, automatically updates drivers to the latest version"},
|
||||
{Name: "--base-image", Description: "The base image to use for docker/podman drivers. Intended for local development"},
|
||||
{Name: "--cache-images", Description: "Duration until minikube certificate expiration"},
|
||||
{Name: "--cni", Description: "CNI plug-in to use"},
|
||||
{Name: "--container-runtime", Description: "The container runtime to be used"},
|
||||
{Name: "--cpus", Description: "Number of CPUs allocated to Kubernetes"},
|
||||
{Name: "--cri-socket", Description: "The cri socket path to be used"},
|
||||
{Name: "--delete-on-failure", Description: "If set, delete the current cluster if start fails and try again"},
|
||||
{Name: "--disable-driver-mounts", Description: "Disables the filesystem mounts provided by the hypervisors"},
|
||||
{Name: "--disk-size", Description: "Disk size allocated to the minikube VM"},
|
||||
{Name: "--dns-domain", Description: "The cluster dns domain name used in the Kubernetes cluster"},
|
||||
{Name: "--dns-proxy", Description: "Enable proxy for NAT DNS requests"},
|
||||
{Name: "--docker-env", Description: "Environment variables to pass to the Docker daemon. (format: key=value)"},
|
||||
{Name: "--docker-opt", Description: "Specify arbitrary flags to pass to the Docker daemon. (format: key=value)"},
|
||||
{Name: "--download-only", Description: "Choose driver"},
|
||||
{Name: "--dry-run", Description: "Dry-run mode. Validates configuration, but does not mutate system state"},
|
||||
{Name: "--embed-certs", Description: "If true, will embed the certs in kubeconfig"},
|
||||
{Name: "--extra-config", Description: "Number of extra disks created and attached to the minikube VM"},
|
||||
{Name: "--feature-gates", Description: "Force minikube to perform possibly dangerous operations"},
|
||||
{Name: "--force-systemd", Description: "If set, force the container runtime to use systemd as cgroup manager"},
|
||||
{Name: "--host-dns-resolver", Description: "Enable host resolver for NAT DNS requests"},
|
||||
{Name: "--host-only-cidr", Description: "The CIDR to be used for the minikube VM"},
|
||||
{Name: "--host-only-nic-type", Description: "NIC Type used for host only network"},
|
||||
{Name: "--hyperkit-vpnkit-sock", Description: "Location of the VPNKit socket used for networking"},
|
||||
{Name: "--hyperkit-vsock-ports", Description: "List of guest VSock ports that should be exposed as sockets on the host"},
|
||||
{Name: "--hyperv-external-adapter", Description: "The hyperv virtual switch name. Defaults to first found"},
|
||||
{Name: "--image-mirror-country", Description: "Country code of the image mirror to be used"},
|
||||
{Name: "--image-repository", Description: "Alternative image repository to pull docker images from"},
|
||||
{Name: "--insecure-registry", Description: "Insecure Docker registries to pass to the Docker daemon"},
|
||||
{Name: "--install-addons", Description: "If set, install addons. Defaults to true"},
|
||||
{Name: "--interactive", Description: "Allow user prompts for more information"},
|
||||
{Name: "--iso-url", Description: "Locations to fetch the minikube ISO from"},
|
||||
{Name: "--keep-context", Description: "This will keep the existing kubectl context and will create a minikube context"},
|
||||
{Name: "--kubernetes-version", Description: "The Kubernetes version that the minikube VM will use"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "mongocli",
|
||||
Description: "CLI tool to manage your MongoDB Cloud",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "config", Description: "Configure a profile to store access settings for your MongoDB deployment"},
|
||||
{Name: "set", Description: "Configure specific properties of a profile"},
|
||||
{Name: "ls", Description: "List available profiles"},
|
||||
{Name: "get", Description: "Return a specific profile"},
|
||||
{Name: "mv", Description: "Rename a profile"},
|
||||
{Name: "rm", Description: "Delete a profile"},
|
||||
{Name: "atlas", Description: "MongoDB Atlas operations"},
|
||||
{Name: "quickstart", Description: "Create and access an Atlas Cluster"},
|
||||
{Name: "cluster", Description: "Manage clusters for your project"},
|
||||
{Name: "create", Description: "Create one cluster in the specified project"},
|
||||
{Name: "watch", Description: "Watch for a cluster to be available"},
|
||||
{Name: "update", Description: "Update a MongoDB cluster"},
|
||||
{Name: "pause", Description: "Pause a running MongoDB cluster in Atlas"},
|
||||
{Name: "start", Description: "Start a paused MongoDB cluster in Atlas"},
|
||||
{Name: "loadSampleData", Description: "Load sample data into a MongoDB cluster in Atlas"},
|
||||
{Name: "index", Description: "Manage cluster rolling indexes for your project"},
|
||||
{Name: "fts", Description: "Manage Atlas Search for your cluster"},
|
||||
{Name: "describe", Description: "Describe a search index for a cluster"},
|
||||
{Name: "onlinearchives", Description: "Manage online archives for your cluster"},
|
||||
{Name: "connectionstrings", Description: "Manage MongoDB cluster connection string"},
|
||||
{Name: "availableregions", Description: "Manage available regions for your project"},
|
||||
{Name: "dbuser", Description: "Manage database users for your project"},
|
||||
{Name: "cert", Description: "Manage Atlas x509 certificates for your database users"},
|
||||
{Name: "customdbroles", Description: "Manage custom database roles for your project"},
|
||||
{Name: "accesslists", Description: "Manage the access IP access list for your project"},
|
||||
{Name: "datalakes", Description: "Manage Atlas Data Lakes for your project"},
|
||||
{Name: "alert", Description: "Manage alerts for your project"},
|
||||
{Name: "field", Description: "Manages alert configuration fields for your project"},
|
||||
{Name: "types", Description: "Lists available field types for your alert configurations"},
|
||||
{Name: "ack", Description: "Acknowledges one alert for the specified project"},
|
||||
{Name: "unack", Description: "Unacknowledges one alert for the specified project"},
|
||||
{Name: "global", Description: "Retrieves all the global alerts for the specified Ops Manager project"},
|
||||
{Name: "backup", Description: "Manage cloud backups for your project"},
|
||||
{Name: "snapshot", Description: "Manage cloud backup snapshots for your project"},
|
||||
{Name: "take", Description: "Create a backup snapshot for your project and cluster"},
|
||||
{Name: "restore", Description: "Manage cloud backup restore jobs for your project"},
|
||||
{Name: "event", Description: "Manage events for your organization or project"},
|
||||
{Name: "organization", Description: "Organization operations"},
|
||||
{Name: "project", Description: "Project operations"},
|
||||
{Name: "metric", Description: "Get metrics on the MongoDB process"},
|
||||
{Name: "process", Description: "Get MongoDB process metrics for a given host"},
|
||||
{Name: "disk", Description: "List available disks or disk metrics for a given host"},
|
||||
{Name: "database", Description: "List available databases or database metrics for a given host"},
|
||||
{Name: "performanceadvisor", Description: "Performance Advisor operations"},
|
||||
{Name: "namespace", Description: "Retrieve namespaces for collections experiencing slow queries"},
|
||||
{Name: "slowquerylogs", Description: "Get log lines for slow queries for a specified host"},
|
||||
{Name: "suggestedindexes", Description: "Get suggested indexes for collections experiencing slow queries"},
|
||||
{Name: "slowOT", Description: "Enable or disable management of the slow operation threshold for your cluster"},
|
||||
{Name: "disable", Description: "Disable the application-managed slow operation threshold for your project"},
|
||||
{Name: "log", Description: "Download host logs for your project"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--output", Description: "Return a specific profile"},
|
||||
{Name: "--force", Description: "MongoDB Atlas operations"},
|
||||
{Name: "--accessListIp", Description: "IP address to be allowed to access the deployment"},
|
||||
{Name: "--clusterName", Description: "Name of the cluster"},
|
||||
{Name: "--default", Description: "User's password"},
|
||||
{Name: "--projectId", Description: "Name of your cloud service provider. Valid values are AWS, AZURE, or GCP"},
|
||||
{Name: "--region", Description: "Indicates whether to skip accessing your deployment with MongoDB Shell"},
|
||||
{Name: "--skipSampleData", Description: "Indicates whether to skip loading sample data into your Atlas Cluster"},
|
||||
{Name: "--tier", Description: "Tier for each data-bearing server in the cluster"},
|
||||
{Name: "--username", Description: "Username for authenticating to MongoDB"},
|
||||
{Name: "--limit", Description: "Number of items per page"},
|
||||
{Name: "--backup", Description: "If true, enables Continuous Cloud Backup for your deployment"},
|
||||
{Name: "--biConnector", Description: "If true, enables BI Connector for Atlas on the deployment"},
|
||||
{Name: "--diskSizeGB", Description: "Capacity, in gigabytes, of the host's root volume"},
|
||||
{Name: "--file", Description: "File name to use, optional file with a json cluster configuration"},
|
||||
{Name: "--mdbVersion", Description: "MongoDB version of the cluster to deploy"},
|
||||
{Name: "--members", Description: "Number of members in the replica set"},
|
||||
{Name: "--type", Description: "Watch for a cluster to be available"},
|
||||
{Name: "--collection", Description: "Collection name"},
|
||||
{Name: "--db", Description: "Database name"},
|
||||
{Name: "--key", Description: "Field to be indexed and the type of index in the following format: field:type"},
|
||||
{Name: "--analyzer", Description: "Analyzer to use when creating the index"},
|
||||
{Name: "--dynamic", Description: "Indicates whether the index uses dynamic or static mappings"},
|
||||
{Name: "--field", Description: "Static field specifications"},
|
||||
{Name: "--indexName", Description: "Name of the index"},
|
||||
{Name: "--archiveAfter", Description: "Name of the cluster"},
|
||||
{Name: "--dateField", Description: "Name of an already indexed date field from the documents"},
|
||||
{Name: "--dateFormat", Description: "Database name"},
|
||||
{Name: "--authDB", Description: "Authentication database name"},
|
||||
{Name: "--awsIAMType", Description: "Timestamp in ISO 8601 in UTC after which Atlas deletes the user"},
|
||||
{Name: "--ldapType", Description: "User's password"},
|
||||
{Name: "--scope", Description: "Array of clusters and Atlas Data Lakes that this user has access to"},
|
||||
{Name: "--x509Type", Description: "Delete a database user for your project"},
|
||||
{Name: "--monthsUntilExpiration", Description: "Number of months that the certificate is valid for"},
|
||||
{Name: "--inheritedRole", Description: "List of inherited roles and the database on which the role is granted"},
|
||||
{Name: "--append", Description: "The input action and inheritedRoles that will be appended to the existing role"},
|
||||
{Name: "--comment", Description: "Optional description or comment for the entry"},
|
||||
{Name: "--currentIp", Description: "ISO-8601-formatted UTC date after which Atlas removes the value from the entry"},
|
||||
{Name: "--apiKey", Description: "Datadog API Key, Opsgenie API Key, VictorOps API key"},
|
||||
{Name: "--enabled", Description: "If set to true, the alert configuration is enabled"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "mongoimport",
|
||||
Description: "Import data from a JSON, CSV, or TSV file into a MongoDB instance",
|
||||
Options: []core.Option{
|
||||
{Name: "--help", Description: "Returns information on the options and use of mongoimport"},
|
||||
{Name: "--verbose", Description: "Runs mongoimport in a quiet mode that attempts to limit the amount of output"},
|
||||
{Name: "--version", Description: "Returns the mongoimport release number"},
|
||||
{Name: "--config", Description: "Specifies the resolvable URI connection string of the MongoDB deployment"},
|
||||
{Name: "--host", Description: "Specifies the resolvable hostname of the MongoDB deployment"},
|
||||
{Name: "--port", Description: "Default port"},
|
||||
{Name: "--ssl", Description: "Enables connection to a mongod or mongos that has TLS/SSL support enabled"},
|
||||
{Name: "--sslCAFile", Description: "Specifies the .pem file that contains both the TLS/SSL certificate and key"},
|
||||
{Name: "--sslPEMKeyPassword", Description: "Password"},
|
||||
{Name: "--sslCRLFile", Description: "Specifies the .pem file that contains the Certificate Revocation List"},
|
||||
{Name: "--sslAllowInvalidCertificates", Description: "Disables the validation of the hostnames in TLS/SSL certificates"},
|
||||
{Name: "--username", Description: "Specifies the session token for MONGODB-AWS authentication mechanism"},
|
||||
{Name: "--authenticationDatabase", Description: "Database name"},
|
||||
{Name: "--authenticationMechanism", Description: "Default"},
|
||||
{Name: "--gssapiServiceName", Description: "Specifies the name of the database on which to run the mongoimport"},
|
||||
{Name: "--collection", Description: "Specifies the name of the collection to import"},
|
||||
{Name: "--fields", Description: "Comma separated list of fields"},
|
||||
{Name: "--fieldFile", Description: "Ignores empty fields in CSV and TSV exports"},
|
||||
{Name: "--type", Description: "Specifies the file type to import"},
|
||||
{Name: "--file", Description: "Specifies the location and name of a file containing the data to import"},
|
||||
{Name: "--drop", Description: "Treats the first line of the input file as a header line"},
|
||||
{Name: "--useArrayIndexFields", Description: "Insert the documents in the import file"},
|
||||
{Name: "--upsertFields", Description: "Specifies a list of fields for the query portion of the import process"},
|
||||
{Name: "--stopOnError", Description: "Indicates that the import data is in Extended JSON v1 format"},
|
||||
{Name: "--maintainInsertionOrder", Description: "Specifies the number of insertion workers to run concurrently"},
|
||||
{Name: "--writeConcern", Description: "Specifies the write concern for each write operation that mongoimport performs"},
|
||||
{Name: "--bypassDocumentValidation", Description: "Enables mongoimport to bypass document validation during the operation"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "mongosh",
|
||||
Description: "Default Connection String; Equivalent to running mongosh without any commands",
|
||||
Options: []core.Option{
|
||||
{Name: "-v", Description: "View your current mongosh version"},
|
||||
{Name: "--shell", Description: "Returns information on the options and use of the MongoDB Shell"},
|
||||
{Name: "--authenticationDatabase", Description: "This option is available only in MongoDB Enterprise"},
|
||||
{Name: "--gssapiServiceName", Description: "Enables retryable writes as the default for sessions in the MongoDB Shell"},
|
||||
{Name: "--authenticationMechanism", Description: "MongoDB TLS SSL certificate authentication"},
|
||||
{Name: "--nodb", Description: "Prevents the shell from connecting to any database instances"},
|
||||
{Name: "--norc", Description: "Prevents the shell from sourcing and evaluating ~/.mongoshrc.js on startup"},
|
||||
{Name: "--quiet", Description: "Default-port"},
|
||||
{Name: "--tls", Description: "Enables connection to a mongod or mongos that has TLS SSL support enabled"},
|
||||
{Name: "--tlsAllowInvalidHostnames", Description: "Disables the specified TLS protocols"},
|
||||
{Name: "--tlsCAFile", Description: "Enables connection to a mongod or mongos that has TLS SSL support enabled"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "multipass",
|
||||
Description: "Displays help on commandline options",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "alias", Description: "Create an alias"},
|
||||
{Name: "definition", Description: "Alias definition in the form <instance>:<command>"},
|
||||
{Name: "aliases", Description: "List available aliases"},
|
||||
{Name: "delete", Description: "Delete instances"},
|
||||
{Name: "exec", Description: "Run a command on an instance"},
|
||||
{Name: "name", Description: "Name of the instance to run the command on"},
|
||||
{Name: "command", Description: "Command to execute on the instance"},
|
||||
{Name: "find", Description: "Display available images to create instances from"},
|
||||
{Name: "get", Description: "Get a configuration setting"},
|
||||
{Name: "key", Description: "Path to the setting whose configured value should be obtained"},
|
||||
{Name: "help", Description: "Display help about a command"},
|
||||
{Name: "info", Description: "Display information about instances"},
|
||||
{Name: "launch", Description: "Create and start an Ubuntu instance"},
|
||||
{Name: "list", Description: "List all available instances"},
|
||||
{Name: "mount", Description: "Mount a local directory in the instance"},
|
||||
{Name: "source", Description: "Path to the local directory to mount"},
|
||||
{Name: "networks", Description: "List all available networks interfaces"},
|
||||
{Name: "purge", Description: "Purge all deleted instances permanently"},
|
||||
{Name: "recover", Description: "Recover deleted instances"},
|
||||
{Name: "restart", Description: "Restart instances"},
|
||||
{Name: "set", Description: "Set a configuration setting"},
|
||||
{Name: "key=value", Description: "A key-value pair. The key specifies a path to"},
|
||||
{Name: "shell", Description: "Open a shell on a running instance"},
|
||||
{Name: "start", Description: "Start instances"},
|
||||
{Name: "stop", Description: "Stop running instances"},
|
||||
{Name: "suspend", Description: "Suspend running instances"},
|
||||
{Name: "transfer", Description: "Transfer files between the host and instances"},
|
||||
{Name: "destination", Description: "The destination path, prefixed with <name:> for paths inside"},
|
||||
{Name: "umount", Description: "Unmount a directory from an instance"},
|
||||
{Name: "unalias", Description: "Remove an alias"},
|
||||
{Name: "version", Description: "Show version details"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-h", Description: "Displays help on commandline options"},
|
||||
{Name: "--help-all", Description: "Displays help including Qt specific options"},
|
||||
{Name: "-v", Description: "Increase logging verbosity. Repeat the 'v' in the short"},
|
||||
{Name: "--format", Description: "Output list in the requested format."},
|
||||
{Name: "--timeout", Description: "Maximum time, in seconds, to wait for the command to"},
|
||||
{Name: "--all", Description: "Delete all instances"},
|
||||
{Name: "-p", Description: "Purge instances immediately"},
|
||||
{Name: "--show-unsupported", Description: "Show unsupported cloud images as well"},
|
||||
{Name: "--raw", Description: "Output in raw format. For now, this affects only the"},
|
||||
{Name: "-c", Description: "Number of CPUs to allocate. Minimum: 1, default: 1"},
|
||||
{Name: "-d", Description: "Disk space to allocate. Positive integers, in bytes, or"},
|
||||
{Name: "-m", Description: "Amount of memory to allocate. Positive integers, in"},
|
||||
{Name: "-n", Description: "Name for the instance. If it is 'primary' (the"},
|
||||
{Name: "--cloud-init", Description: "Path to a user-data cloud-init configuration, or '-' for"},
|
||||
{Name: "--network", Description: "Add a network interface to the instance, where <spec> is"},
|
||||
{Name: "--bridged", Description: "Adds one `--network bridged` network"},
|
||||
{Name: "-g", Description: "A mapping of group IDs for use in the mount."},
|
||||
{Name: "-u", Description: "A mapping of user IDs for use in the mount."},
|
||||
{Name: "-t", Description: "Time from now, in minutes, to delay shutdown of the instance"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "mysql",
|
||||
Description: "Mysql is a terminal-based front-end to MySQL",
|
||||
Options: []core.Option{
|
||||
{Name: "--auto-rehash", Description: "Enable automatic rehashing"},
|
||||
{Name: "--auto-vertical-output", Description: "Enable automatic vertical result set display"},
|
||||
{Name: "--batch", Description: "Do not use history file"},
|
||||
{Name: "--binary-as-hex", Description: "Display binary values in hexadecimal notation"},
|
||||
{Name: "--binary-mode", Description: "Disable \\\\r\\\\n - to - \\\\n translation and treatment of \\\\0 as end-of-query"},
|
||||
{Name: "--bind-address", Description: "Use specified network interface to connect to MySQL Server"},
|
||||
{Name: "--character-sets-dir", Description: "Directory where character sets are installed"},
|
||||
{Name: "--column-names", Description: "Write column names in results"},
|
||||
{Name: "--column-type-info", Description: "Display result set metadata"},
|
||||
{Name: "--comments", Description: "Whether to retain or strip comments in statements sent to the server"},
|
||||
{Name: "--compress", Description: "Compress all information sent between client and server"},
|
||||
{Name: "--compression-algorithms", Description: "Permitted compression algorithms for connections to server"},
|
||||
{Name: "--connect-expired-password", Description: "Indicate to server that client can handle expired-password sandbox mode"},
|
||||
{Name: "--connect-timeout", Description: "Number of seconds before connection timeout"},
|
||||
{Name: "-D", Description: "The database to use"},
|
||||
{Name: "--debug", Description: "Write debugging log; supported only if MySQL was built with debugging support"},
|
||||
{Name: "--debug-check", Description: "Print debugging information when program exits"},
|
||||
{Name: "-T", Description: "Print debugging information, memory, and CPU statistics when program exits"},
|
||||
{Name: "--default-auth", Description: "Authentication plugin to use"},
|
||||
{Name: "--default-character-set", Description: "Specify default character set"},
|
||||
{Name: "--defaults-extra-file", Description: "Read named option file in addition to usual option files"},
|
||||
{Name: "--defaults-file", Description: "Read only named option file"},
|
||||
{Name: "--defaults-group-suffix", Description: "Option group suffix value"},
|
||||
{Name: "--delimiter", Description: "Set the statement delimiter"},
|
||||
{Name: "--disable-named-commands", Description: "Use DNS SRV lookup for host information"},
|
||||
{Name: "--enable-cleartext-plugin", Description: "Enable cleartext authentication plugin"},
|
||||
{Name: "-e", Description: "Execute the statement and quit"},
|
||||
{Name: "-f", Description: "Continue even if an SQL error occurs"},
|
||||
{Name: "--get-server-public-key", Description: "Request RSA public key from server"},
|
||||
{Name: "--help", Description: "Display help message and exit"},
|
||||
{Name: "--histignore", Description: "Patterns specifying which statements to ignore for logging"},
|
||||
{Name: "-h", Description: "Host on which MySQL server is located"},
|
||||
{Name: "-H", Description: "Produce HTML output"},
|
||||
{Name: "-i", Description: "Ignore spaces after function names"},
|
||||
{Name: "--init-command", Description: "SQL statement to execute after connecting"},
|
||||
{Name: "--line-numbers", Description: "Write line numbers for errors"},
|
||||
{Name: "--load-data-local-dir", Description: "Directory for files named in LOAD DATA LOCAL statements"},
|
||||
{Name: "--local-infile", Description: "Enable or disable for LOCAL capability for LOAD DATA"},
|
||||
{Name: "--login-path", Description: "Read login path options from .mylogin.cnf"},
|
||||
{Name: "--max-allowed-packet", Description: "Maximum packet length to send to or receive from server"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "netlify",
|
||||
Description: "Print debugging information",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "help", Description: "List available sub-commands"},
|
||||
{Name: "subcommand", Description: "The command to display help for"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--debug", Description: "Print debugging information"},
|
||||
{Name: "--httpProxy", Description: "Proxy server address to route requests through"},
|
||||
{Name: "-f", Description: "Delete without prompting (useful for CI)"},
|
||||
{Name: "--json", Description: "Output return values as JSON"},
|
||||
{Name: "-d", Description: "Data to use"},
|
||||
{Name: "--list", Description: "List out available API methods"},
|
||||
{Name: "-o", Description: "Disables any features that require network access"},
|
||||
{Name: "--context", Description: "Build context"},
|
||||
{Name: "--dry", Description: "Dry run: show instructions without running them"},
|
||||
{Name: "-s", Description: "Name of shell (bash|fish|zsh)"},
|
||||
{Name: "-a", Description: "Netlify auth token to deploy with"},
|
||||
{Name: "-b", Description: "Specify a folder to deploy"},
|
||||
{Name: "-m", Description: "A short message to include in the deploy log"},
|
||||
{Name: "-p", Description: "Deploy to production"},
|
||||
{Name: "--alias", Description: "Run build command before deploying"},
|
||||
{Name: "--prodIfUnlocked", Description: "Deploy to production if unlocked, create a draft otherwise"},
|
||||
{Name: "--skip-functions-cache", Description: "Timeout to wait for deployment to finish"},
|
||||
{Name: "-c", Description: "Command to run"},
|
||||
{Name: "-l", Description: "Start a public live session"},
|
||||
{Name: "--framework", Description: "Framework to use. Defaults to #auto which automatically detects a framework"},
|
||||
{Name: "--targetPort", Description: "Port of target app server"},
|
||||
{Name: "-H", Description: "Specifies a custom request method [default: GET]"},
|
||||
{Name: "-B", Description: "Path to the publish directory"},
|
||||
{Name: "-r", Description: "Replace all existing variables instead of merging them with the current ones"},
|
||||
{Name: "-n", Description: "Function name"},
|
||||
{Name: "-u", Description: "Pull template from URL"},
|
||||
{Name: "-q", Description: "Querystring to add to your function invocation"},
|
||||
{Name: "--identity", Description: "Simulate Netlify Identity authentication JWT"},
|
||||
{Name: "--no-identity", Description: "Affirm unauthenticated request"},
|
||||
{Name: "--force", Description: "Reinitialize CI hooks if the linked site is already configured to use CI"},
|
||||
{Name: "--gitRemoteName", Description: "Link a local repo or project folder to an existing site on Netlify"},
|
||||
{Name: "--name", Description: "Name of site to link to"},
|
||||
{Name: "--auth", Description: "Netlify auth token"},
|
||||
{Name: "--new", Description: "Login to new Netlify account"},
|
||||
{Name: "--silent", Description: "Silence CLI output"},
|
||||
{Name: "--admin", Description: "Open Netlify site"},
|
||||
{Name: "--site", Description: "Open site"},
|
||||
{Name: "--telemetry-disable", Description: "Opt out of sharing usage data"},
|
||||
{Name: "--telemetry-enable", Description: "Allow your usage to help shape development"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "newman",
|
||||
Description: "Newman is a command-line collection runner for Postman",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "run", Description: "Initiate a Postman Collection run from a given URL or path"},
|
||||
{Name: "help", Description: "Display help for command"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-e", Description: "Specify a URL or path to a Postman Environment"},
|
||||
{Name: "-g", Description: "Specify a URL or path to a file containing Postman Globals"},
|
||||
{Name: "-r", Description: "Specify the reporters to use for this run"},
|
||||
{Name: "-n", Description: "Define the number of iterations to run"},
|
||||
{Name: "-d", Description: "Specify a data file to use for iterations (either JSON or CSV)"},
|
||||
{Name: "--folder", Description: "Exports the final environment to a file after completing the run"},
|
||||
{Name: "--export-globals", Description: "Exports the final globals to a file after completing the run"},
|
||||
{Name: "--export-collection", Description: "Exports the executed collection to a file after completing the run"},
|
||||
{Name: "--postman-api-key", Description: "API Key used to load the resources from the Postman API"},
|
||||
{Name: "--bail", Description: "Prevents Newman from automatically following 3XX redirect responses"},
|
||||
{Name: "-x", Description: "Specify whether or not to override the default exit code for the current run"},
|
||||
{Name: "--silent", Description: "Prevents Newman from showing output to CLI"},
|
||||
{Name: "--disable-unicode", Description: "Forces Unicode compliant symbols to be replaced by their plain text equivalents"},
|
||||
{Name: "--color", Description: "Enable/Disable colored output (auto|on|off)"},
|
||||
{Name: "--delay-request", Description: "Specify the extent of delay between requests (milliseconds)"},
|
||||
{Name: "--timeout", Description: "Specify a timeout for collection run (milliseconds)"},
|
||||
{Name: "--timeout-request", Description: "Specify a timeout for requests (milliseconds)"},
|
||||
{Name: "--timeout-script", Description: "Specify a timeout for scripts (milliseconds)"},
|
||||
{Name: "--working-dir", Description: "Specify the path to the working directory"},
|
||||
{Name: "--no-insecure-file-read", Description: "Prevents reading the files situated outside of the working directory"},
|
||||
{Name: "-k", Description: "Disables SSL validations"},
|
||||
{Name: "--ssl-client-cert-list", Description: "Specify the path to a client certificates configurations (JSON)"},
|
||||
{Name: "--ssl-client-cert", Description: "Specify the path to a client certificate (PEM)"},
|
||||
{Name: "--ssl-client-key", Description: "Specify the path to a client certificate private key"},
|
||||
{Name: "--ssl-client-passphrase", Description: "Specify the client certificate passphrase (for protected key)"},
|
||||
{Name: "--ssl-extra-ca-certs", Description: "Specify additionally trusted CA certificates (PEM)"},
|
||||
{Name: "--cookie-jar", Description: "Specify the path to a custom cookie jar (serialized tough-cookie JSON)"},
|
||||
{Name: "--export-cookie-jar", Description: "Exports the cookie jar to a file after completing the run"},
|
||||
{Name: "--verbose", Description: "Show detailed information of collection run and each request sent"},
|
||||
{Name: "-h", Description: "Display help for command"},
|
||||
{Name: "-v", Description: "Output the version number"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "nginx",
|
||||
Description: "Nginx (pronounced",
|
||||
Options: []core.Option{
|
||||
{Name: "-c", Description: "Use an alternative configuration file"},
|
||||
{Name: "-e", Description: "Set global configuration directives"},
|
||||
{Name: "-p", Description: "Set the prefix path. The default value is %%PREFIX%%"},
|
||||
{Name: "-q", Description: "Suppress non-error messages during configuration testing"},
|
||||
{Name: "-T", Description: "Same as -t, but additionally dump configuration files to standard output"},
|
||||
{Name: "-t", Description: "Print the nginx version, compiler version, and configure script parameters"},
|
||||
{Name: "-v", Description: "Print the nginx version"},
|
||||
{Name: "-?", Description: "Print help"},
|
||||
{Name: "-s", Description: "Sends SIGTERM"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "ngrok",
|
||||
Description: "Path to log file,",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "help", Description: "Shows a list of commands or help for one command"},
|
||||
{Name: "authtoken", Description: "Save authtoken to configuration file"},
|
||||
{Name: "credits", Description: "Prints author and licensing information"},
|
||||
{Name: "http", Description: "Start an HTTP tunnel"},
|
||||
{Name: "start", Description: "Start tunnels by name from the configuration file"},
|
||||
{Name: "tcp", Description: "Start a TCP tunnel"},
|
||||
{Name: "tls", Description: "Start a TLS tunnel"},
|
||||
{Name: "update", Description: "Update ngrok to the latest version"},
|
||||
{Name: "version", Description: "Print the version string"},
|
||||
{Name: "8080", Description: "Port"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--all", Description: "Start all tunnels in the configuration file"},
|
||||
{Name: "--none", Description: "Start running no tunnels"},
|
||||
{Name: "--remote-addr", Description: "Bind remote address (requires you reserve an address)"},
|
||||
{Name: "--client-cas", Description: "Update ngrok to the latest version"},
|
||||
{Name: "--channel", Description: "Update channel (stable, beta)"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "nvm",
|
||||
Description: "Node version",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "uninstall", Description: "Uninstall a version"},
|
||||
{Name: "use", Description: "Modify PATH to use <version>. Uses .nvmrc if available and version is omitted"},
|
||||
{Name: "exec", Description: "Run <command> on <version>. Uses .nvmrc if available and version is omitted"},
|
||||
{Name: "current", Description: "Display currently activated version of Node"},
|
||||
{Name: "ls", Description: "List installed versions, matching a given <version> if provided"},
|
||||
{Name: "version", Description: "Resolve the given description to a single local version"},
|
||||
{Name: "version-remote", Description: "Resolve the given description to a single remote version"},
|
||||
{Name: "deactivate", Description: "Undo effects of `nvm` on current shell"},
|
||||
{Name: "pattern or name", Description: "Pattern or name"},
|
||||
{Name: "unalias", Description: "Deletes the alias named <name>"},
|
||||
{Name: "install-latest-npm", Description: "Attempt to upgrade to the latest working `npm` on the current node version"},
|
||||
{Name: "reinstall-packages", Description: "Reinstall global `npm` packages contained in <version> to current version"},
|
||||
{Name: "unload", Description: "Unload `nvm` from shell"},
|
||||
{Name: "dir", Description: "Display path to the cache directory for nvm"},
|
||||
{Name: "clear", Description: "Empty cache directory for nvm"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--no-colors", Description: "Suppress colored output"},
|
||||
{Name: "--no-alias", Description: "Suppress `nvm alias` output"},
|
||||
{Name: "--silent", Description: "Silences stdout/stderr output"},
|
||||
{Name: "--lts", Description: "Uses automatic LTS (long-term support) alias `lts/*`, if available"},
|
||||
{Name: "-s", Description: "Skip binary download, install from source only"},
|
||||
{Name: "--reinstall-packages-from", Description: "When installing, reinstall packages installed in <version>"},
|
||||
{Name: "--skip-default-packages", Description: "When installing, skip the default-packages file if it exists"},
|
||||
{Name: "--latest-npm", Description: "Disable the progress bar on any downloads"},
|
||||
{Name: "--alias", Description: "Uninstall a version"},
|
||||
{Name: "--help", Description: "Show help page"},
|
||||
{Name: "--version", Description: "Print out the installed version of nvm"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "oci",
|
||||
Description: "Oracle Cloud Infrastructure CLI",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "compute", Description: "Manage Compute resources like instances and images"},
|
||||
{Name: "instance", Description: "Manage Compute instances"},
|
||||
{Name: "launch", Description: "Launch a new compute instance"},
|
||||
{Name: "terminate", Description: "Terminate a compute instance"},
|
||||
{Name: "start", Description: "Start a stopped instance"},
|
||||
{Name: "stop", Description: "Stop a running instance"},
|
||||
{Name: "image", Description: "Manage Custom Images"},
|
||||
{Name: "list", Description: "List available compute images"},
|
||||
{Name: "network", Description: "Manage Virtual Cloud Network resources"},
|
||||
{Name: "vcn", Description: "Manage Virtual Cloud Networks"},
|
||||
{Name: "create", Description: "Create a new VCN"},
|
||||
{Name: "db", Description: "Manage Database resources"},
|
||||
{Name: "autonomous-database", Description: "Manage Autonomous Databases"},
|
||||
{Name: "os", Description: "Object Storage commands"},
|
||||
{Name: "bucket", Description: "Manage buckets"},
|
||||
{Name: "iam", Description: "Manage Identity and Access Management resources"},
|
||||
{Name: "user", Description: "Manage users"},
|
||||
{Name: "policy", Description: "Manage IAM policies"},
|
||||
{Name: "group", Description: "Manage IAM groups"},
|
||||
{Name: "compartment", Description: "Manage compartments"},
|
||||
{Name: "kms", Description: "Manage Key Management resources"},
|
||||
{Name: "key", Description: "Manage encryption keys"},
|
||||
{Name: "monitoring", Description: "Manage Monitoring and Alerts"},
|
||||
{Name: "alarm", Description: "Manage monitoring alarms"},
|
||||
{Name: "budget", Description: "Manage Budgets and Cost Controls"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--availability-domain", Description: "The availability domain of the instance"},
|
||||
{Name: "--compartment-id", Description: "The OCID of the compartment"},
|
||||
{Name: "--shape", Description: "The shape of the instance"},
|
||||
{Name: "--instance-id", Description: "The OCID of the instance"},
|
||||
{Name: "--cidr-block", Description: "The CIDR block of the VCN"},
|
||||
{Name: "--db-name", Description: "The database name"},
|
||||
{Name: "--cpu-core-count", Description: "Number of CPU cores"},
|
||||
{Name: "--name", Description: "The name of the bucket"},
|
||||
{Name: "--description", Description: "Description for the user"},
|
||||
{Name: "--statements", Description: "Policy statements"},
|
||||
{Name: "--display-name", Description: "Display name of the key"},
|
||||
{Name: "--key-shape", Description: "Shape of the key"},
|
||||
{Name: "--metric-compartment-id", Description: "Compartment OCID containing the metric"},
|
||||
{Name: "--amount", Description: "The amount for the budget"},
|
||||
{Name: "--reset-period", Description: "The reset period for the budget"},
|
||||
{Name: "--help", Description: "Show help for oci"},
|
||||
{Name: "--profile", Description: "The profile to load from the config file"},
|
||||
{Name: "--config-file", Description: "The path to the config file"},
|
||||
{Name: "--region", Description: "The region to make calls against"},
|
||||
{Name: "--output", Description: "The output format"},
|
||||
{Name: "--debug", Description: "Turn on debug logging"},
|
||||
{Name: "--auth", Description: "The type of auth to use"},
|
||||
{Name: "--key-file", Description: "The path to the private key file"},
|
||||
{Name: "--wait-for-state", Description: "Wait until resource reaches a given state"},
|
||||
{Name: "--wait-interval-seconds", Description: "Check interval seconds for --wait-for-state"},
|
||||
{Name: "--max-wait-seconds", Description: "Maximum time to wait"},
|
||||
{Name: "--raw-output", Description: "Output raw response from OCI API"},
|
||||
{Name: "--output-format", Description: "The output format for commands"},
|
||||
{Name: "--query", Description: "JMESPath query to filter the output"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "okteto",
|
||||
Description: "Context",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "analytics", Description: "Enable / Disable analytics"},
|
||||
{Name: "build", Description: "Build (and optionally push) a Docker image"},
|
||||
{Name: "completion", Description: "Generate the autocompletion script for the specified shell"},
|
||||
{Name: "bash", Description: "Generate the autocompletion script for bash"},
|
||||
{Name: "fish", Description: "Generate the autocompletion script for fish"},
|
||||
{Name: "powershell", Description: "Generate the autocompletion script for powershell"},
|
||||
{Name: "zsh", Description: "Generate the autocompletion script for zsh"},
|
||||
{Name: "ctx", Description: "Set the default context"},
|
||||
{Name: "delete", Description: "Delete a context"},
|
||||
{Name: "ls", Description: "List available contexts"},
|
||||
{Name: "show", Description: "Print the current context"},
|
||||
{Name: "use", Description: "Set the default context"},
|
||||
{Name: "doctor", Description: "Generate a zip file with the okteto logs"},
|
||||
{Name: "down", Description: "Deactivate your development container"},
|
||||
{Name: "exec", Description: "Execute a command in your development container"},
|
||||
{Name: "init", Description: "Automatically generate your okteto manifest file"},
|
||||
{Name: "kubeconfig", Description: "Download credentials for the Kubernetes cluster selected via 'okteto context'"},
|
||||
{Name: "ns", Description: "Configure the current namespace of the okteto context"},
|
||||
{Name: "create", Description: "Create a namespace"},
|
||||
{Name: "pipeline", Description: "Pipeline management commands"},
|
||||
{Name: "deploy", Description: "Deploy an okteto pipeline"},
|
||||
{Name: "destroy", Description: "Destroy an okteto pipeline"},
|
||||
{Name: "preview", Description: "Preview environment management commands"},
|
||||
{Name: "endpoints", Description: "Show endpoints for a preview environment"},
|
||||
{Name: "list", Description: "List all preview environments"},
|
||||
{Name: "push", Description: "Build, push and redeploy source code to the target app"},
|
||||
{Name: "restart", Description: "Restart the deployments listed in the services field of the okteto manifest"},
|
||||
{Name: "stack", Description: "Stack management commands"},
|
||||
{Name: "status", Description: "Status of the synchronization process"},
|
||||
{Name: "up", Description: "Activate your development container"},
|
||||
{Name: "update", Description: "Update okteto version"},
|
||||
{Name: "version", Description: "View the version of the okteto binary"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--loglevel", Description: "Amount of information outputted (debug, info, warn, error)"},
|
||||
{Name: "--output", Description: "Output format (tty, plain, json)"},
|
||||
{Name: "--disable", Description: "Disable analytics"},
|
||||
{Name: "--help", Description: "Help for analytics"},
|
||||
{Name: "--build-arg", Description: "Set build-time variables"},
|
||||
{Name: "--cache-from", Description: "Cache source images"},
|
||||
{Name: "--file", Description: "Name of the Dockerfile (Default is 'PATH/Dockerfile')"},
|
||||
{Name: "--namespace", Description: "Do not use cache when building the image"},
|
||||
{Name: "--progress", Description: "Show plain/tty build output"},
|
||||
{Name: "--secret", Description: "Secret files exposed to the build. Format: id=mysecret,src=/local/secret"},
|
||||
{Name: "--tag", Description: "Name and optionally a tag in the 'name:tag' format (it is automatically pushed)"},
|
||||
{Name: "--target", Description: "Set the target build stage to build"},
|
||||
{Name: "--no-descriptions", Description: "Disable completion descriptions"},
|
||||
{Name: "--builder", Description: "Url of the builder service"},
|
||||
{Name: "--okteto", Description: "Only shows okteto cluster options"},
|
||||
{Name: "--token", Description: "API token for authentication"},
|
||||
{Name: "--context", Description: "Context where the up command was executing"},
|
||||
{Name: "--volumes", Description: "Remove persistent volume"},
|
||||
{Name: "--overwrite", Description: "Overwrite existing manifest file"},
|
||||
{Name: "--members", Description: "Members of the namespace, it can the username or email"},
|
||||
{Name: "--personal", Description: "Load personal account"},
|
||||
{Name: "--branch", Description: "The branch to deploy (defaults to the current branch)"},
|
||||
{Name: "--repository", Description: "The repository to deploy (defaults to the current repository)"},
|
||||
{Name: "--skip-if-exists", Description: "Set a pipeline variable (can be set more than once)"},
|
||||
{Name: "--wait", Description: "Wait until the pipeline finishes (defaults to false)"},
|
||||
{Name: "--name", Description: "Name of the pipeline (defaults to the git config name)"},
|
||||
{Name: "--timeout", Description: "Destroy persistent volumes created by the pipeline (defaults to false)"},
|
||||
{Name: "--scope", Description: "The URL of the original pull/merge request"},
|
||||
{Name: "--deploy", Description: "Create deployment when the app doesn't exist in a namespace"},
|
||||
{Name: "--no-cache", Description: "Do not use cache when building the image"},
|
||||
{Name: "--build", Description: "Build images before starting any Stack service"},
|
||||
{Name: "--info", Description: "Show syncthing links for troubleshooting the synchronization service"},
|
||||
{Name: "--watch", Description: "Watch for changes"},
|
||||
{Name: "--pull", Description: "Force dev image pull"},
|
||||
{Name: "--remote", Description: "Configures remote execution on the specified port"},
|
||||
{Name: "--reset", Description: "Reset the file synchronization database"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "op",
|
||||
Description: "Official 1Password CLI",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "account", Description: "Manage your locally configured 1Password accounts"},
|
||||
{Name: "add", Description: "Add an account to sign in to for the first time"},
|
||||
{Name: "get", Description: "Get details about your account"},
|
||||
{Name: "list", Description: "List users and accounts set up on this device"},
|
||||
{Name: "forget", Description: "Remove a 1Password account from this device"},
|
||||
{Name: "connect", Description: "Manage Connect instances and Connect tokens in your 1Password account"},
|
||||
{Name: "group", Description: "Manage group access to Secrets Automation"},
|
||||
{Name: "revoke", Description: "Revoke a group's access to manage Secrets Automation"},
|
||||
{Name: "server", Description: "Manage Connect servers"},
|
||||
{Name: "create", Description: "Set up a Connect server"},
|
||||
{Name: "token", Description: "Manage Connect tokens"},
|
||||
{Name: "vault", Description: "Manage connect server vault access"},
|
||||
{Name: "document", Description: "Perform CRUD operations on Document items in your vaults"},
|
||||
{Name: "edit", Description: "Edit a document item"},
|
||||
{Name: "delete", Description: "Delete or archive a document item"},
|
||||
{Name: "events-api", Description: "Manage Events API integrations in your 1Password account"},
|
||||
{Name: "user", Description: "Manage users in groups"},
|
||||
{Name: "item", Description: "Perform CRUD operations on the 1Password items in your vaults"},
|
||||
{Name: "share", Description: "Share an item"},
|
||||
{Name: "provision", Description: "Provision a user in the authenticated account"},
|
||||
{Name: "confirm", Description: "Confirm a user"},
|
||||
{Name: "suspend", Description: "Suspend a user"},
|
||||
{Name: "reactivate", Description: "Reactivate a suspended user"},
|
||||
{Name: "grant", Description: "Grant a group permissions to a vault"},
|
||||
{Name: "completion", Description: "Generate shell completion information"},
|
||||
{Name: "inject", Description: "Inject secrets into a config file"},
|
||||
{Name: "read", Description: "Read a secret using the secrets reference syntax"},
|
||||
{Name: "run", Description: "Pass secrets as environment variables to a process"},
|
||||
{Name: "signin", Description: "Sign in to a 1Password account"},
|
||||
{Name: "signout", Description: "Sign out of a 1Password account"},
|
||||
{Name: "update", Description: "Check for and download updates"},
|
||||
{Name: "whoami", Description: "Get information about a signed-in account"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--address", Description: "The sign-in address for your account"},
|
||||
{Name: "--email", Description: "The email address associated with your account"},
|
||||
{Name: "--raw", Description: "Only return the session token"},
|
||||
{Name: "--shorthand", Description: "Set the short account name"},
|
||||
{Name: "--all", Description: "Forget all authenticated accounts"},
|
||||
{Name: "--all-servers", Description: "Grant access to all current and future servers in the authenticated account"},
|
||||
{Name: "--group", Description: "The group to receive access"},
|
||||
{Name: "--expires-in", Description: "Set how long the Connect token is valid for in (s)econds, (m)inutes, or (h)ours"},
|
||||
{Name: "--server", Description: "Issue a token for this server"},
|
||||
{Name: "--name", Description: "Change the token's name"},
|
||||
{Name: "--file-name", Description: "Set the file's name"},
|
||||
{Name: "--tags", Description: "Set the tags to the specified (comma-separated) values"},
|
||||
{Name: "--title", Description: "Set the document item's title"},
|
||||
{Name: "--include-archive", Description: "Save the document to the file path instead of stdout"},
|
||||
{Name: "--archive", Description: "Move the document to the Archive"},
|
||||
{Name: "--role", Description: "Specify the user's role as a member or manager. Default: member"},
|
||||
{Name: "--description", Description: "Set the group's description"},
|
||||
{Name: "--user", Description: "List groups that a user belongs to"},
|
||||
{Name: "-f", Description: "Do not prompt for confirmation"},
|
||||
{Name: "--category", Description: "Set the item's category"},
|
||||
{Name: "--dry-run", Description: "Perform a dry run of the command and output a preview of the resulting item"},
|
||||
{Name: "--generate-password", Description: "Give the item a randomly generated password"},
|
||||
{Name: "--template", Description: "Specify the filepath to read an item template from"},
|
||||
{Name: "--url", Description: "Set the URL associated with the item"},
|
||||
{Name: "--fields", Description: "Output the primary one-time password for this item"},
|
||||
{Name: "--share-link", Description: "Get a shareable link for the item"},
|
||||
{Name: "--categories", Description: "Only list items in these categories (comma-separated)"},
|
||||
{Name: "--emails", Description: "Email addresses to share with"},
|
||||
{Name: "--expiry", Description: "Look for the item in this vault"},
|
||||
{Name: "--language", Description: "Confirm a user"},
|
||||
{Name: "--fingerprint", Description: "Get the user's public key fingerprint"},
|
||||
{Name: "--me", Description: "Get the authenticated user's details"},
|
||||
{Name: "--deauthorize-devices-after", Description: "Deauthorize the user's devices after a time (rounded down to seconds)"},
|
||||
{Name: "--no-input", Description: "Do not prompt for input on interactive terminal"},
|
||||
{Name: "--permissions", Description: "The permissions to grant to the group"},
|
||||
{Name: "--allow-admins-to-manage", Description: "Set whether admins can manage the vault. Default: false"},
|
||||
{Name: "--icon", Description: "Change the vault's icon"},
|
||||
{Name: "--travel-mode", Description: "Read from stdin"},
|
||||
{Name: "--file-mode", Description: "Do not prompt for confirmation"},
|
||||
{Name: "-n", Description: "Do not print a new line after the secret"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "opa",
|
||||
Description: "Open Policy Agent (OPA)",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "bench", Description: "Benchmark a Rego query"},
|
||||
{Name: "build", Description: "Build an OPA bundle"},
|
||||
{Name: "check", Description: "Check Rego source files"},
|
||||
{Name: "completion", Description: "Generate the autocompletion script for the specified shell"},
|
||||
{Name: "bash", Description: "Generate the autocompletion script for bash"},
|
||||
{Name: "fish", Description: "Generate the autocompletion script for fish"},
|
||||
{Name: "powershell", Description: "Generate the autocompletion script for powershell"},
|
||||
{Name: "zsh", Description: "Generate the autocompletion script for zsh"},
|
||||
{Name: "deps", Description: "Analyze Rego query dependencies"},
|
||||
{Name: "eval", Description: "Evaluate a Rego query"},
|
||||
{Name: "exec", Description: "Execute against input files"},
|
||||
{Name: "fmt", Description: "Format Rego source files"},
|
||||
{Name: "inspect", Description: "Inspect OPA bundle(s)"},
|
||||
{Name: "parse", Description: "Parse Rego source file"},
|
||||
{Name: "run", Description: "Start OPA in interactive or server mode"},
|
||||
{Name: "sign", Description: "Generate an OPA bundle signature"},
|
||||
{Name: "test", Description: "Execute Rego test cases"},
|
||||
{Name: "version", Description: "Print the version of OPA"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--benchmem", Description: "Report memory allocations with benchmark results"},
|
||||
{Name: "--bundle", Description: "Set bundle file(s) or directory path(s). This flag can be repeated"},
|
||||
{Name: "--count", Description: "Number of times to repeat each benchmark"},
|
||||
{Name: "--data", Description: "Set policy or data file(s). This flag can be repeated"},
|
||||
{Name: "--fail", Description: "Exits with non-zero exit code on undefined/empty result and errors"},
|
||||
{Name: "--format", Description: "Set output format"},
|
||||
{Name: "--ignore", Description: "Set query import(s). This flag can be repeated"},
|
||||
{Name: "--input", Description: "Set input file path"},
|
||||
{Name: "--metrics", Description: "Report query performance metrics"},
|
||||
{Name: "--package", Description: "Set query package"},
|
||||
{Name: "--partial", Description: "Perform partial evaluation"},
|
||||
{Name: "--schema", Description: "Set schema file path or directory path"},
|
||||
{Name: "--stdin", Description: "Read query from stdin"},
|
||||
{Name: "--stdin-input", Description: "Read input document from stdin"},
|
||||
{Name: "--target", Description: "Set the runtime to exercise"},
|
||||
{Name: "--unknowns", Description: "Set paths to treat as unknown during partial evaluation"},
|
||||
{Name: "--help", Description: "Help for bench"},
|
||||
{Name: "--capabilities", Description: "Set capabilities.json file path"},
|
||||
{Name: "--claims-file", Description: "Enable debug output"},
|
||||
{Name: "--entrypoint", Description: "Set slash separated entrypoint path"},
|
||||
{Name: "--exclude-files-verify", Description: "Set file names to exclude during bundle verification"},
|
||||
{Name: "--output", Description: "Set the output filename"},
|
||||
{Name: "--revision", Description: "Set output bundle revision"},
|
||||
{Name: "--scope", Description: "Scope to use for bundle signature verification"},
|
||||
{Name: "--signing-alg", Description: "Name of the signing algorithm"},
|
||||
{Name: "--signing-key", Description: "Set the output bundle target type"},
|
||||
{Name: "--verification-key", Description: "Name assigned to the verification key used for bundle verification"},
|
||||
{Name: "--strict", Description: "Enable compiler strict mode"},
|
||||
{Name: "--no-descriptions", Description: "Disable completion descriptions"},
|
||||
{Name: "--coverage", Description: "Report coverage"},
|
||||
{Name: "--disable-early-exit", Description: "Disable 'early exit' optimizations"},
|
||||
{Name: "--disable-indexing", Description: "Disable indexing optimizations"},
|
||||
{Name: "--disable-inlining", Description: "Set paths of documents to exclude from inlining"},
|
||||
{Name: "--explain", Description: "Enable query explanations"},
|
||||
{Name: "--fail-defined", Description: "Exits with non-zero exit code on defined/non-empty result and errors"},
|
||||
{Name: "--instrument", Description: "Enable query instrumentation metrics (implies --metrics)"},
|
||||
{Name: "--pretty-limit", Description: "Set limit after which pretty output gets truncated"},
|
||||
{Name: "--profile", Description: "Perform expression profiling"},
|
||||
{Name: "--profile-limit", Description: "Set number of profiling results to show"},
|
||||
{Name: "--profile-sort", Description: "Set sort order of expression profiler results"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "osqueryi",
|
||||
Description: "Your OS as a high-performance relational database",
|
||||
Options: []core.Option{
|
||||
{Name: "--flagfile", Description: "Line-delimited file of additional flags"},
|
||||
{Name: "--D", Description: "Run as a daemon process"},
|
||||
{Name: "--S", Description: "Run as a shell process"},
|
||||
{Name: "--alarm_timeout", Description: "Seconds to allow for shutdown. Minimum is 10"},
|
||||
{Name: "--carver_block_size", Description: "Size of blocks used for POSTing data back to remote endpoints"},
|
||||
{Name: "--carver_compression", Description: "Compress archives using zstd prior to upload (default false)"},
|
||||
{Name: "--carver_continue_endpoint", Description: "TLS/HTTPS endpoint that receives carved content after session creation"},
|
||||
{Name: "--carver_disable_function", Description: "Disable the osquery file carver function (default true)"},
|
||||
{Name: "--carver_expiry", Description: "Seconds to store successful carve result metadata (in carves table)"},
|
||||
{Name: "--carver_start_endpoint", Description: "TLS/HTTPS init endpoint for forensic carver"},
|
||||
{Name: "--config_accelerated_refresh", Description: "Interval to wait if reading a configuration fails"},
|
||||
{Name: "--config_check", Description: "Check the format of an osquery config and exit"},
|
||||
{Name: "--config_dump", Description: "Dump the contents of the configuration, then exit"},
|
||||
{Name: "--config_enable_backup", Description: "Backup config and use it when refresh fails"},
|
||||
{Name: "--config_path", Description: "Path to JSON config file"},
|
||||
{Name: "--config_plugin", Description: "Config plugin name"},
|
||||
{Name: "--config_refresh", Description: "Optional interval in seconds to re-read configuration"},
|
||||
{Name: "--config_tls_endpoint", Description: "TLS/HTTPS endpoint for config retrieval"},
|
||||
{Name: "--config_tls_max_attempts", Description: "Number of attempts to retry a TLS config request"},
|
||||
{Name: "--daemonize", Description: "Attempt to daemonize (POSIX only)"},
|
||||
{Name: "--database_dump", Description: "Dump the contents of the backing store"},
|
||||
{Name: "--database_path", Description: "If using a disk-based backing store, specify a path"},
|
||||
{Name: "--disable_carver", Description: "Disable the osquery file carver (default true)"},
|
||||
{Name: "--disable_enrollment", Description: "Disable enrollment functions on related config/logger plugins"},
|
||||
{Name: "--disable_extensions", Description: "Disable extension API"},
|
||||
{Name: "--disable_reenrollment", Description: "Disable re-enrollment attempts if related plugins return invalid"},
|
||||
{Name: "--disable_tables", Description: "Comma-delimited list of table names to be disabled"},
|
||||
{Name: "--disable_watchdog", Description: "Disable userland watchdog process"},
|
||||
{Name: "--enable_extensions_watchdog", Description: "Enable userland watchdog for extensions processes"},
|
||||
{Name: "--enable_tables", Description: "Comma-delimited list of table names to be enabled"},
|
||||
{Name: "--enroll_always", Description: "On startup, send a new enrollment request"},
|
||||
{Name: "--enroll_secret_env", Description: "Name of environment variable holding enrollment-auth secret"},
|
||||
{Name: "--enroll_secret_path", Description: "Path to an optional client enrollment-auth secret"},
|
||||
{Name: "--enroll_tls_endpoint", Description: "TLS/HTTPS endpoint for client enrollment"},
|
||||
{Name: "--extensions_autoload", Description: "Optional path to a list of autoloaded & managed extensions"},
|
||||
{Name: "--extensions_interval", Description: "Seconds delay between connectivity checks"},
|
||||
{Name: "--extensions_require", Description: "Comma-separated list of required extensions"},
|
||||
{Name: "--extensions_socket", Description: "Path to the extensions UNIX domain socket"},
|
||||
{Name: "--extensions_timeout", Description: "Seconds to wait for autoloaded extensions"},
|
||||
{Name: "--force", Description: "Force osqueryd to kill previously-running daemons"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "pass",
|
||||
Description: "Pass - stores, retrieves, generates, and synchronizes passwords securely",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "init", Description: "Initialize new password storage and use gpg-id for encryption"},
|
||||
{Name: "gpg-id", Description: "The gpg-id you want to use to encrypt your password store"},
|
||||
{Name: "insert", Description: "Insert a new password into the password store called pass-name"},
|
||||
{Name: "pass-name", Description: "The password name"},
|
||||
{Name: "git", Description: "Password store git functions"},
|
||||
{Name: "version", Description: "Show version information"},
|
||||
{Name: "help", Description: "Show usage message"},
|
||||
{Name: "cp", Description: "Copies the password or directory named old-path to new-path"},
|
||||
{Name: "old-path", Description: "The old password name or directory"},
|
||||
{Name: "new-path", Description: "The new password name or directory"},
|
||||
{Name: "mv", Description: "Renames the password or directory named old-path to new-path"},
|
||||
{Name: "rm", Description: "Remove the password named pass-name from the password store"},
|
||||
{Name: "generate", Description: "Generate a new password of length pass-length and insert into pass-name"},
|
||||
{Name: "pass-length", Description: "The length of the password"},
|
||||
{Name: "ls", Description: "List names of passwords inside the tree at subfolder by using the tree"},
|
||||
{Name: "password sub-directory", Description: "The password sub directory you want to list"},
|
||||
{Name: "find", Description: "List names of passwords inside the tree that match pass-names"},
|
||||
{Name: "show", Description: "Decrypt and print a password"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--clip", Description: "Copy the password to the clipboard"},
|
||||
{Name: "--qrcode", Description: "Display a QRcode of the password"},
|
||||
{Name: "--help", Description: "Show help for pass"},
|
||||
{Name: "--path", Description: "Insert a new password into the password store called pass-name"},
|
||||
{Name: "--echo", Description: "Don't prompt before overwriting an existing password"},
|
||||
{Name: "--force", Description: "Do not interactively prompt before moving"},
|
||||
{Name: "--recursive", Description: "Delete pass-name recursively if it is a directory"},
|
||||
{Name: "--no-symbols", Description: "Do not use any non-alphanumeric characters in the generated password"},
|
||||
{Name: "--in-place", Description: "Overwrite the existing password"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "pg_dump",
|
||||
Description: "Dumps a database as a text file or to other formats",
|
||||
Options: []core.Option{
|
||||
{Name: "--help", Description: "Show help for pg_dump"},
|
||||
{Name: "--file", Description: "Output file or directory name"},
|
||||
{Name: "--format", Description: "Output file format"},
|
||||
{Name: "--jobs", Description: "Number of parallel job to dump"},
|
||||
{Name: "--verbose", Description: "Verbose mode"},
|
||||
{Name: "--version", Description: "Output version information"},
|
||||
{Name: "--compress", Description: "Compression level for compressed formats"},
|
||||
{Name: "--lock-wait-timeout", Description: "Fail after waiting <timeout> for a table lock"},
|
||||
{Name: "--no-sync", Description: "Do not wait for changes to be written safely to disk"},
|
||||
{Name: "--data-only", Description: "Dump only the data, not the schema"},
|
||||
{Name: "--blobs", Description: "Include large objects in dump"},
|
||||
{Name: "--no-blobs", Description: "Exclude large objects in dump"},
|
||||
{Name: "--clean", Description: "Clean (drop) database objects before recreating"},
|
||||
{Name: "--create", Description: "Include commands to create database in dump"},
|
||||
{Name: "--extension", Description: "Dump the specified extension(s) only"},
|
||||
{Name: "--encoding", Description: "Dump the data in encoding <encoding>"},
|
||||
{Name: "--schema", Description: "Dump the specified schema(s) only"},
|
||||
{Name: "--exclude-schema", Description: "Do NOT dump the specified schema(s)"},
|
||||
{Name: "--no-owner", Description: "Skip restoration of object ownership in plain-text format"},
|
||||
{Name: "--schema-only", Description: "Dump only the schema, no data"},
|
||||
{Name: "--superuser", Description: "Superuser user name to use in plain-text format"},
|
||||
{Name: "--table", Description: "Dump the specified table(s) only"},
|
||||
{Name: "--exclude-table", Description: "Do NOT dump the specified table(s)"},
|
||||
{Name: "--no-privileges", Description: "Do not dump privileges (grant/revoke)"},
|
||||
{Name: "--binary-upgrade", Description: "For use by upgrade utilities only"},
|
||||
{Name: "--column-inserts", Description: "Dump data as INSERT commands with column names"},
|
||||
{Name: "--disable-dollar-quoting", Description: "Disable dollar quoting, use SQL standard quoting"},
|
||||
{Name: "--disable-triggers", Description: "Disable triggers during data-only restore"},
|
||||
{Name: "--enable-row-security", Description: "Enable row security (dump only content user has access to)"},
|
||||
{Name: "--exclude-table-data", Description: "Do NOT dump data for the specified table(s)"},
|
||||
{Name: "--extra-float-digits", Description: "Override default setting for extra_float_digits"},
|
||||
{Name: "--if-exists", Description: "Use IF EXISTS when dropping objects"},
|
||||
{Name: "--include-foreign-data", Description: "Include data of foreign tables on foreign servers matching PATTERN"},
|
||||
{Name: "--inserts", Description: "Dump data as INSERT commands, rather than COPY"},
|
||||
{Name: "--load-via-partition-root", Description: "Load partitions via the root table"},
|
||||
{Name: "--no-comments", Description: "Do not dump comments"},
|
||||
{Name: "--no-publications", Description: "Do not dump publications"},
|
||||
{Name: "--no-security-labels", Description: "Do not dump security label assignments"},
|
||||
{Name: "--no-subscriptions", Description: "Do not dump subscriptions"},
|
||||
{Name: "--no-synchronized-snapshots", Description: "Do not use synchronized snapshots in parallel jobs"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "pgcli",
|
||||
Description: "Host address of the postgres database",
|
||||
Options: []core.Option{
|
||||
{Name: "-h", Description: "Host address of the postgres database"},
|
||||
{Name: "-p", Description: "Port number at which the postgres instance is listening"},
|
||||
{Name: "-U", Description: "Username to connect to the postgres database"},
|
||||
{Name: "-u", Description: "Username to connect to the postgres database"},
|
||||
{Name: "-W", Description: "Force password prompt"},
|
||||
{Name: "-w", Description: "Never prompt for password"},
|
||||
{Name: "--single-connection", Description: "Do not use a separate connection for completions"},
|
||||
{Name: "-v", Description: "Version of pgcli"},
|
||||
{Name: "-d", Description: "Database name to connect to"},
|
||||
{Name: "--pgclirc", Description: "Location of pgclirc file"},
|
||||
{Name: "-D", Description: "Use DSN configured into the [alias_dsn] section of pgclirc file"},
|
||||
{Name: "--list-dsn", Description: "List of DSN configured into the [alias_dsn] section of pgclirc file"},
|
||||
{Name: "--row-limit", Description: "Set threshold for row limit prompt. Use 0 to disable prompt"},
|
||||
{Name: "--less-chatty", Description: "Skip intro on startup and goodbye on exit"},
|
||||
{Name: "--prompt", Description: "List available databases, then exit"},
|
||||
{Name: "--auto-vertical-output", Description: "Warn before running a destructive query"},
|
||||
{Name: "--ssh-tunnel", Description: "Open an SSH tunnel to the given address and connect to the database from it"},
|
||||
{Name: "--help", Description: "Show this message and exit"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "pm2",
|
||||
Description: "Outputs the version number",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "start", Description: "Starts and daemonizes an app"},
|
||||
{Name: "trigger", Description: "Deploy your json"},
|
||||
{Name: "deploy", Description: "Deploy your json"},
|
||||
{Name: "startOrRestart", Description: "Start or restart JSON file"},
|
||||
{Name: "startOrReload", Description: "Start or gracefully reload JSON file"},
|
||||
{Name: "pid", Description: "Return pid of the specified app or all"},
|
||||
{Name: "startOrGracefulReload", Description: "Start or gracefully reolad JSON file"},
|
||||
{Name: "stop", Description: "Stop a process"},
|
||||
{Name: "restart", Description: "Restart a process"},
|
||||
{Name: "scale", Description: "Scale up/down a process in cluster mode depending on the `number` param"},
|
||||
{Name: "snapshot", Description: "Snapshot PM2 memory"},
|
||||
{Name: "profile", Description: "Profile CPU"},
|
||||
{Name: "reload", Description: "Reload processes (for apps using HTTP/HTTPS)"},
|
||||
{Name: "gracefulReload", Description: "Gracefully reload a process. Send a “shutdown” message to close all connections"},
|
||||
{Name: "id", Description: "Get process id by name"},
|
||||
{Name: "delete", Description: "Stops and deletes a process from pm2 process list"},
|
||||
{Name: "sendSignal", Description: "Send a system signal to the target process"},
|
||||
{Name: "ping", Description: "Ping pm2 daemon - if not it will launch up"},
|
||||
{Name: "updatePM2", Description: "Update in-memory PM2 with local PM2"},
|
||||
{Name: "update", Description: "(alias) update in-memory PM2 with local PM2"},
|
||||
{Name: "install", Description: "Install or update a module and run it forever"},
|
||||
{Name: "module:generate", Description: "Generate a sample module in current folder"},
|
||||
{Name: "uninstall", Description: "Stop and uninstall a module"},
|
||||
{Name: "publish", Description: "Publish the module you are currently on"},
|
||||
{Name: "set", Description: "Sets the specified config"},
|
||||
{Name: "multiset", Description: "Multiset eg `key1 val1 key2 val2`"},
|
||||
{Name: "get", Description: "Get value for the specified key"},
|
||||
{Name: "conf", Description: "Get / set module config values"},
|
||||
{Name: "config", Description: "Get / set module config values"},
|
||||
{Name: "unset", Description: "Clears the specified config key"},
|
||||
{Name: "report", Description: "Give a full pm2 report for https://github.com/Unitech/pm2/issues"},
|
||||
{Name: "link", Description: "Linking action to keymetrics.io"},
|
||||
{Name: "unlink", Description: "Linking action to keymetrics.io"},
|
||||
{Name: "unmonitor", Description: "Unmonitor target process"},
|
||||
{Name: "monitor", Description: "<Unm>onitor target process"},
|
||||
{Name: "open", Description: "Open dashboard in browser"},
|
||||
{Name: "register", Description: "Create an account on keymetrics"},
|
||||
{Name: "login", Description: "Login to keymetrics and link current PM2"},
|
||||
{Name: "web", Description: "Launch a health API on 0.0.0.0:9615"},
|
||||
{Name: "dump", Description: "Dump all processes for resurrecting them later"},
|
||||
{Name: "send", Description: "Send stdin to pm id"},
|
||||
{Name: "attach", Description: "Attach stdin/stdout to application identified by pm id"},
|
||||
{Name: "resurrect", Description: "Resurrect previously dumped processes"},
|
||||
{Name: "unstartup", Description: "Disable and clear auto startup"},
|
||||
{Name: "startup", Description: "Setup script for pm2 at boot"},
|
||||
{Name: "logrotate", Description: "Copy default logrotate configuration"},
|
||||
{Name: "ecosystem", Description: "Generate a process conf file"},
|
||||
{Name: "reset", Description: "Reset counters for process"},
|
||||
{Name: "describe", Description: "Describe all parameters of a process id"},
|
||||
{Name: "desc", Description: "(alias) Describe all parameters of a process id"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-V", Description: "Outputs the version number"},
|
||||
{Name: "-v", Description: "Gets version"},
|
||||
{Name: "-s", Description: "Hides all messages"},
|
||||
{Name: "-m", Description: "Displays a compacted list without formatting"},
|
||||
{Name: "-f", Description: "Forces actions"},
|
||||
{Name: "--disable-logs", Description: "Do not write logs"},
|
||||
{Name: "-n", Description: "Sets a name for script"},
|
||||
{Name: "-i", Description: "Launches [number] instances (for networked app)(load balanced)"},
|
||||
{Name: "--parallel", Description: "Number of parallel actions (for restart/reload)"},
|
||||
{Name: "-l", Description: "Specifies entire log file (error and out are both included)"},
|
||||
{Name: "-o", Description: "Specifies out log file"},
|
||||
{Name: "-e", Description: "Specifies error log file"},
|
||||
{Name: "-p", Description: "Specify pid file"},
|
||||
{Name: "-k", Description: "Delays before sending final SIGKILL signal to process"},
|
||||
{Name: "--listen-timeout", Description: "Listen timeout on application reload"},
|
||||
{Name: "--max-memory-restart", Description: "Specify max memory amount used to autorestart (in octet or use syntax like 100M)"},
|
||||
{Name: "--restart-delay", Description: "Specify a delay between restarts (in milliseconds)"},
|
||||
{Name: "--env", Description: "Specify environment to get specific env variables"},
|
||||
{Name: "--log-type", Description: "Specify log output style (raw by default, json optional)"},
|
||||
{Name: "-x", Description: "Execute a program using fork system"},
|
||||
{Name: "--max-restarts", Description: "Only Restart the script COUNT times"},
|
||||
{Name: "-u", Description: "Defines user when generating startup script"},
|
||||
{Name: "--uid", Description: "Runs target script with <uid> rights"},
|
||||
{Name: "--gid", Description: "Runs target script with <gid> rights"},
|
||||
{Name: "--cwd", Description: "Runs target script as <username>"},
|
||||
{Name: "--hp", Description: "Defines home path when generating startup script"},
|
||||
{Name: "--wait-ip", Description: "Overrides systemd script to wait for full internet connectivity to launch pm2"},
|
||||
{Name: "--service-name", Description: "Defines service name when generating startup script"},
|
||||
{Name: "-c", Description: "Restarts a running process based on a cron pattern"},
|
||||
{Name: "-w", Description: "Writes configuration in local folder"},
|
||||
{Name: "--interpreter", Description: "The interpreter pm2 should use for executing app (bash, python…)"},
|
||||
{Name: "--interpreter-args", Description: "Interprets options (alias of --node-args)"},
|
||||
{Name: "--log-date-format", Description: "Adds custom prefix timestamp to logs"},
|
||||
{Name: "--no-daemon", Description: "Runs pm2 daemon in the foreground if it doesn't exist already"},
|
||||
{Name: "-a", Description: "Updates environment on restart/reload (-a <=> apply)"},
|
||||
{Name: "-h", Description: "Outputs usage information"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "pod",
|
||||
Description: "CocoaPods, the Cocoa library package manager",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "name", Description: "The name of the podspec file within the Git Repository"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--project-directory", Description: "The path to the root of the project directory"},
|
||||
{Name: "--allow-root", Description: "Allows CocoaPods to run as root"},
|
||||
{Name: "--all", Description: "Remove all the cached pods without asking"},
|
||||
{Name: "--short", Description: "Only print the path relative to the cache root"},
|
||||
{Name: "--update", Description: "Run `pod repo update` before listing"},
|
||||
{Name: "--stats", Description: "Show additional stats (like GitHub watchers and forks)"},
|
||||
{Name: "--regex", Description: "Interpret the `QUERY` as a regular expression"},
|
||||
{Name: "--show-all", Description: "Pick from all versions of the given podspec"},
|
||||
{Name: "--quick", Description: "Lint skips checks that would require to download and build the spec"},
|
||||
{Name: "--allow-warnings", Description: "Lint validates even if warnings are present"},
|
||||
{Name: "--subspec", Description: "Lint validates only the given subspec"},
|
||||
{Name: "--no-subspecs", Description: "Lint skips validation of subspecs"},
|
||||
{Name: "--no-clean", Description: "Lint leaves the build directory intact for inspection"},
|
||||
{Name: "--fail-fast", Description: "Lint stops on the first failing platform or subspec"},
|
||||
{Name: "--use-libraries", Description: "Lint uses static libraries to install the spec"},
|
||||
{Name: "--use-modular-headers", Description: "Lint uses modular headers during installation"},
|
||||
{Name: "--use-static-frameworks", Description: "Lint uses static frameworks during installation"},
|
||||
{Name: "--sources", Description: "Lint skips checks that apply only to public specs"},
|
||||
{Name: "--swift-version", Description: "Lint skips validating that the pod can be imported"},
|
||||
{Name: "--skip-tests", Description: "Lint skips building and running tests during validation"},
|
||||
{Name: "--test-specs", Description: "List of test specs to run"},
|
||||
{Name: "--analyze", Description: "Validate with the Xcode Static Analysis tool"},
|
||||
{Name: "--configuration", Description: "Build using the given configuration (defaults to Release)"},
|
||||
{Name: "--repo-update", Description: "Force running `pod repo update` before install"},
|
||||
{Name: "--deployment", Description: "Disallow any changes to the Podfile or the Podfile.lock during installation"},
|
||||
{Name: "--clean-install", Description: "The path to the root of the project directory"},
|
||||
{Name: "--no-repo-update", Description: "Skip running `pod repo update` before install"},
|
||||
{Name: "--full", Description: "Search by name author, and description"},
|
||||
{Name: "--template-url", Description: "The URL of the git repo containing a compatible template"},
|
||||
{Name: "--external-podspecs", Description: "Lint skips validating that the pod can be imported"},
|
||||
{Name: "--simple", Description: "Search only by name"},
|
||||
{Name: "--web", Description: "Searches on cocoapods.org"},
|
||||
{Name: "--ios", Description: "Restricts the search to Pods supported on iOS"},
|
||||
{Name: "--osx", Description: "Restricts the search to Pods supported on macOS"},
|
||||
{Name: "--watchos", Description: "Restricts the search to Pods supported on watchOS"},
|
||||
{Name: "--tvos", Description: "Restricts the search to Pods supported on tvOS"},
|
||||
{Name: "--no-pager", Description: "Do not pipe search results into a pager"},
|
||||
{Name: "--no-private", Description: "Lint includes checks that apply only to public repos"},
|
||||
{Name: "--skip-import-validation", Description: "Lint skips validating that the pod can be imported"},
|
||||
{Name: "--commit-message", Description: "Convert the podspec to JSON before pushing it to the repo"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "podman",
|
||||
Description: "Build an image using instructions from Containerfiles",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "events", Description: "Show podman system events"},
|
||||
{Name: "info", Description: "Display podman system information"},
|
||||
{Name: "inspect", Description: "Display the configuration of object denoted by ID"},
|
||||
{Name: "login", Description: "Log in to a container registry"},
|
||||
{Name: "logout", Description: "Log out of a container registry"},
|
||||
{Name: "search", Description: "Search registry for image"},
|
||||
{Name: "TERM", Description: "Search term"},
|
||||
{Name: "version", Description: "Display the Podman version information"},
|
||||
{Name: "container", Description: "Manage containers"},
|
||||
{Name: "prune", Description: "Remove all stopped containers"},
|
||||
{Name: "image", Description: "Manage images"},
|
||||
{Name: "network", Description: "Manage networks"},
|
||||
{Name: "connect", Description: "Connect a container to a network"},
|
||||
{Name: "create", Description: "Create a network"},
|
||||
{Name: "disconnect", Description: "Disconnect a container from a network"},
|
||||
{Name: "ls", Description: "List networks"},
|
||||
{Name: "rm", Description: "Remove one or more networks"},
|
||||
{Name: "secret", Description: "Manage secrets"},
|
||||
{Name: "system", Description: "Manage podman"},
|
||||
{Name: "df", Description: "Show podman disk usage"},
|
||||
{Name: "volume", Description: "Manage volumes"},
|
||||
{Name: "generate", Description: "Generate structured data based on containers, pods or volumes"},
|
||||
{Name: "healthcheck", Description: "Manage health checks on containers"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
{Name: "init", Description: "Initialize one or more containers"},
|
||||
{Name: "kube", Description: "Play containers, pods or volumes from a structured file"},
|
||||
{Name: "machine", Description: "Manage a virtual machine"},
|
||||
{Name: "list", Description: "List machines"},
|
||||
{Name: "os", Description: "Manage a Podman virtual machine's OS"},
|
||||
{Name: "set", Description: "Set a virtual machine setting"},
|
||||
{Name: "ssh", Description: "SSH into an existing machine"},
|
||||
{Name: "start", Description: "Start an existing machine"},
|
||||
{Name: "stop", Description: "Stop an existing machine"},
|
||||
{Name: "manifest", Description: "Manipulate manifest lists and image indexes"},
|
||||
{Name: "pod", Description: "Manage pods"},
|
||||
{Name: "untag", Description: "Remove a name from a local image"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--add-host", Description: "Add a custom host-to-IP mapping (host:ip)"},
|
||||
{Name: "--build-arg", Description: "Set build-time variables"},
|
||||
{Name: "--cache-from", Description: "Images to consider as cache sources"},
|
||||
{Name: "--disable-content-trust", Description: "Skip image verification (default true)"},
|
||||
{Name: "-f", Description: "Name of the Dockerfile (Default is 'PATH/Dockerfile')"},
|
||||
{Name: "--iidfile", Description: "Write the image ID to the file"},
|
||||
{Name: "--isolation", Description: "Container isolation technology"},
|
||||
{Name: "--label", Description: "Set metadata for an image"},
|
||||
{Name: "--network", Description: "Do not use cache when building the image"},
|
||||
{Name: "-o", Description: "Output destination (format: type=local,dest=path)"},
|
||||
{Name: "--platform", Description: "Set platform if server is multi-platform capable"},
|
||||
{Name: "--progress", Description: "Always attempt to pull a newer version of the image"},
|
||||
{Name: "-q", Description: "Suppress the build output and print image ID on success"},
|
||||
{Name: "--secret", Description: "Squash newly built layers into a single new layer"},
|
||||
{Name: "--ssh", Description: "Name and optionally a tag in the 'name:tag' format"},
|
||||
{Name: "--target", Description: "Set the target build stage to build"},
|
||||
{Name: "--detach-keys", Description: "Override the key sequence for detaching a container"},
|
||||
{Name: "--no-stdin", Description: "Do not attach STDIN"},
|
||||
{Name: "--sig-proxy", Description: "Proxy all received signals to the process (default true)"},
|
||||
{Name: "-it", Description: "Launch an interactive session"},
|
||||
{Name: "-l", Description: "Remove the specified link"},
|
||||
{Name: "-v", Description: "Remove the anonymous volumes associated with the container"},
|
||||
{Name: "-a", Description: "Attach to STDIN, STDOUT or STDERR"},
|
||||
{Name: "--blkio-weight", Description: "Block IO (relative weight), between 10 and 1000, or 0 to disable (default 0)"},
|
||||
{Name: "--blkio-weight-device", Description: "Block IO weight (relative device weight) (default [])"},
|
||||
{Name: "--cap-add", Description: "Add Linux capabilities"},
|
||||
{Name: "--cap-drop", Description: "Drop Linux capabilities"},
|
||||
{Name: "--cgroup-parent", Description: "Optional parent cgroup for the container"},
|
||||
{Name: "--cgroupns", Description: "Write the container ID to the file"},
|
||||
{Name: "--cpu-period", Description: "Limit CPU CFS (Completely Fair Scheduler) period"},
|
||||
{Name: "--cpu-quota", Description: "Limit CPU CFS (Completely Fair Scheduler) quota"},
|
||||
{Name: "--cpu-rt-period", Description: "Limit CPU real-time period in microseconds"},
|
||||
{Name: "--cpu-rt-runtime", Description: "Limit CPU real-time runtime in microseconds"},
|
||||
{Name: "-c", Description: "CPU shares (relative weight)"},
|
||||
{Name: "--cpus", Description: "Number of CPUs"},
|
||||
{Name: "--cpuset-cpus", Description: "CPUs in which to allow execution (0-3, 0,1)"},
|
||||
{Name: "--cpuset-mems", Description: "MEMs in which to allow execution (0-3, 0,1)"},
|
||||
{Name: "-d", Description: "Run container in background and print container ID"},
|
||||
{Name: "--device", Description: "Add a host device to the container"},
|
||||
{Name: "--device-cgroup-rule", Description: "Add a rule to the cgroup allowed devices list"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "pscale",
|
||||
Description: "The client ID for the PlanetScale CLI application",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "audit-log", Description: "List audit logs"},
|
||||
{Name: "list", Description: "List all audit logs of an organization"},
|
||||
{Name: "auth", Description: "Login and logout via the PlanetScale API"},
|
||||
{Name: "login", Description: "Authenticate with the PlanetScale API"},
|
||||
{Name: "logout", Description: "Log out of the PlanetScale API"},
|
||||
{Name: "backup", Description: "Create, list, show, and delete branch backups"},
|
||||
{Name: "create", Description: "Backup a branch's data and schema"},
|
||||
{Name: "delete", Description: "Delete a branch backup"},
|
||||
{Name: "restore", Description: "Restore a backup to a new branch"},
|
||||
{Name: "show", Description: "Show a specific backup of a branch"},
|
||||
{Name: "branch", Description: "Create, delete, diff, and manage branches"},
|
||||
{Name: "diff", Description: "Show the diff of a branch"},
|
||||
{Name: "promote", Description: "Promote a new branch from a database"},
|
||||
{Name: "refresh-schema", Description: "Refresh the schema for a database branch"},
|
||||
{Name: "schema", Description: "Show the schema of a branch"},
|
||||
{Name: "switch", Description: "Switches the current project to use the specified branch"},
|
||||
{Name: "completion", Description: "Generate completion script for your shell"},
|
||||
{Name: "connect", Description: "Create a secure connection to a database and branch for a local client"},
|
||||
{Name: "database", Description: "Create, read, delete, and dump/restore databases"},
|
||||
{Name: "dump", Description: "Backup and dump your database"},
|
||||
{Name: "restore-dump", Description: "Restore your database from a local dump directory"},
|
||||
{Name: "deploy-request", Description: "Create, review, diff, and manage deploy requests"},
|
||||
{Name: "close", Description: "Close a deploy request"},
|
||||
{Name: "deploy", Description: "Deploy a specific deploy request"},
|
||||
{Name: "review", Description: "Review a deploy request (approve, comment, etc...)"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
{Name: "org", Description: "List, show, and switch organizations"},
|
||||
{Name: "password", Description: "Create, list, and delete branch passwords"},
|
||||
{Name: "region", Description: "List regions"},
|
||||
{Name: "service-token", Description: "Create, list, and manage access for service tokens"},
|
||||
{Name: "add-access", Description: "Ddd access to a service token in the organization"},
|
||||
{Name: "delete-access", Description: "Delete access granted to a service token in the organization"},
|
||||
{Name: "show-access", Description: "Fetch a service token and it's accesses"},
|
||||
{Name: "shell", Description: "Open a MySQL shell instance to a database and branch"},
|
||||
{Name: "signup", Description: "Signup for a new PlanetScale account"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--client-id", Description: "The client ID for the PlanetScale CLI application"},
|
||||
{Name: "--client-secret", Description: "The client ID for the PlanetScale CLI application"},
|
||||
{Name: "--database", Description: "The database this project is using"},
|
||||
{Name: "--force", Description: "Show help"},
|
||||
{Name: "--local-addr", Description: "The organization for the current user"},
|
||||
{Name: "--port", Description: "Region for the database"},
|
||||
{Name: "--remote-addr", Description: "Open in web browser"},
|
||||
{Name: "--api-token", Description: "The API token to use for authenticating against the PlanetScale API"},
|
||||
{Name: "--api-url", Description: "Config file (default is $HOME/.config/planetscale/pscale.yml)"},
|
||||
{Name: "--debug", Description: "Enable debug mode"},
|
||||
{Name: "--format", Description: "Disable color output"},
|
||||
{Name: "--service-token", Description: "Service Token for authenticating"},
|
||||
{Name: "--service-token-name", Description: "The Service Token name for authenticating"},
|
||||
{Name: "--from", Description: "Branch to be created from"},
|
||||
{Name: "--restore", Description: "Backup to restore into the branch"},
|
||||
{Name: "--web", Description: "Create a branch in your web browser"},
|
||||
{Name: "--create", Description: "If enabled, will automatically create the branch if it does not exist"},
|
||||
{Name: "--parent-branch", Description: "Generate completion script for your shell"},
|
||||
{Name: "--execute", Description: "Run this command after successfully connecting to the database"},
|
||||
{Name: "--execute-env-url", Description: "Create, read, delete, and dump/restore databases"},
|
||||
{Name: "--notes", Description: "Notes for the database"},
|
||||
{Name: "--output", Description: "Comma separated string of tables to dump. By default all tables are dumped"},
|
||||
{Name: "--dir", Description: "Directory that contains the files to be used for restoration (required)"},
|
||||
{Name: "--deploy-to", Description: "Branch to deploy the branch. By default it's set to 'main'"},
|
||||
{Name: "--approve", Description: "Approve a deploy request"},
|
||||
{Name: "--comment", Description: "Comment on a deploy request"},
|
||||
{Name: "--save-config", Description: "Create, list, and delete branch passwords"},
|
||||
{Name: "--version", Description: "Show pscale version"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "psql",
|
||||
Description: "Psql is a terminal-based front-end to PostgreSQL",
|
||||
Options: []core.Option{
|
||||
{Name: "-a", Description: "Put all query output into file filename. This is equivalent to the command \\\\o"},
|
||||
{Name: "-p", Description: "Print the psql version and exit"},
|
||||
{Name: "-w", Description: "Show help about psql and exit"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "pulumi",
|
||||
Description: "The name of the stack to operate on. Defaults to the current stack",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "about", Description: "Print information about the Pulumi environment"},
|
||||
{Name: "cancel", Description: "Cancel a stack’s currently running update, if any"},
|
||||
{Name: "config", Description: "Manage configuration"},
|
||||
{Name: "cp", Description: "Copy config to another stack"},
|
||||
{Name: "get", Description: "Get a single configuration value"},
|
||||
{Name: "refresh", Description: "Update the local configuration based on the most recent deployment of the stack"},
|
||||
{Name: "rm", Description: "Remove configuration value"},
|
||||
{Name: "rm-all", Description: "Remove multiple configuration values"},
|
||||
{Name: "set", Description: "Set configuration value"},
|
||||
{Name: "set-all", Description: "Set multiple configuration values"},
|
||||
{Name: "console", Description: "Opens the current stack in the Pulumi Console"},
|
||||
{Name: "destroy", Description: "Destroy an existing stack and its resources"},
|
||||
{Name: "import", Description: "Import resources into an existing stack"},
|
||||
{Name: "login", Description: "Log in to the Pulumi service"},
|
||||
{Name: "logout", Description: "Log out of the Pulumi service"},
|
||||
{Name: "logs", Description: "[PREVIEW] Show aggregated resource logs for a stack"},
|
||||
{Name: "new", Description: "Create a new Pulumi project"},
|
||||
{Name: "org", Description: "Manage Organization configuration"},
|
||||
{Name: "get-default", Description: "Get the default org for the current backend"},
|
||||
{Name: "set-default", Description: "Set the default organization for the current backend"},
|
||||
{Name: "plugin", Description: "Manage language and resource provider plugins"},
|
||||
{Name: "install", Description: "Install one or more plugins"},
|
||||
{Name: "ls", Description: "List plugins"},
|
||||
{Name: "policy", Description: "Manage resource policies"},
|
||||
{Name: "disable", Description: "Disable a Policy Pack for a Pulumi organization"},
|
||||
{Name: "enable", Description: "Enable a Policy Pack for a Pulumi organization"},
|
||||
{Name: "group", Description: "Manage policy groups"},
|
||||
{Name: "publish", Description: "Publish a Policy Pack to the Pulumi service"},
|
||||
{Name: "validate-config", Description: "Validate a Policy Pack configuration"},
|
||||
{Name: "preview", Description: "Show a preview of updates to a stack’s resources"},
|
||||
{Name: "schema", Description: "Analyze package schemas"},
|
||||
{Name: "check", Description: "Check a Pulumi package schema for errors"},
|
||||
{Name: "stack", Description: "Manage stacks"},
|
||||
{Name: "change-secrets-provider", Description: "Change the secrets provider for the current stack"},
|
||||
{Name: "export", Description: "Export a stack’s deployment to standard out"},
|
||||
{Name: "graph", Description: "Export a stack’s dependency graph to a file"},
|
||||
{Name: "history", Description: "[PREVIEW] Display history for a stack"},
|
||||
{Name: "init", Description: "Create an empty stack with the given name, ready for updates"},
|
||||
{Name: "output", Description: "Show a stack’s output properties"},
|
||||
{Name: "rename", Description: "Rename an existing stack"},
|
||||
{Name: "select", Description: "Switch the current workspace to the given stack"},
|
||||
{Name: "tag", Description: "Manage stack tags"},
|
||||
{Name: "state", Description: "Edit the current stack’s state"},
|
||||
{Name: "delete", Description: "Deletes a resource from a stack’s state"},
|
||||
{Name: "unprotect", Description: "Unprotect resources in a stack’s state"},
|
||||
{Name: "up", Description: "Deploy code and/or resource changes"},
|
||||
{Name: "version", Description: "Print Pulumi’s version number"},
|
||||
{Name: "watch", Description: "[PREVIEW] Continuously update the resources in a stack"},
|
||||
{Name: "whoami", Description: "Displays the username of the currently logged in user"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-s", Description: "The name of the stack to operate on. Defaults to the current stack"},
|
||||
{Name: "-y", Description: "Skip confirmation prompts, and proceed with cancellation anyway"},
|
||||
{Name: "-j", Description: "Emit output as JSON"},
|
||||
{Name: "--config-file", Description: "Optional message to associate with the destroy operation"},
|
||||
{Name: "-p", Description: "Display operation as a rich diff showing the overall change"},
|
||||
{Name: "-d", Description: "Print detailed debugging output during resource operations"},
|
||||
{Name: "-l", Description: "Use Pulumi in local-only mode"},
|
||||
{Name: "-f", Description: "Do not perform a preview before performing the destroy"},
|
||||
{Name: "-t", Description: "The key contains a path to a property in a map or list to set"},
|
||||
{Name: "--path", Description: "Parse the keys as paths in a map or list rather than raw strings"},
|
||||
{Name: "--suppress-permalink", Description: "Suppress display of the state permalink"},
|
||||
{Name: "--secrets-provider", Description: "Run pulumi as if it had been started in another directory"},
|
||||
{Name: "--disable-integrity-checking", Description: "Disable integrity checking of checkpoint files"},
|
||||
{Name: "-e", Description: "Enable emojis in the output"},
|
||||
{Name: "--logflow", Description: "Flow log settings to child processes (like plugins)"},
|
||||
{Name: "--logtostderr", Description: "Log to stderr instead of to files"},
|
||||
{Name: "--non-interactive", Description: "Disable interactive mode for all commands"},
|
||||
{Name: "--profiling", Description: "Enable verbose logging (e.g., v=3); anything >3 is very verbose"},
|
||||
{Name: "-r", Description: "Refresh the state of the stack's resources before this update"},
|
||||
{Name: "--show-config", Description: "Show configuration keys and variables"},
|
||||
{Name: "--show-replacement-steps", Description: "Show detailed resource replacement creates and deletes instead of a single step"},
|
||||
{Name: "--show-sames", Description: "Suppress display of stack outputs (in case they contain sensitive values)"},
|
||||
{Name: "--target-dependents", Description: "Print information about the Pulumi environment"},
|
||||
{Name: "--plaintext", Description: "Save the value as plaintext (unencrypted)"},
|
||||
{Name: "--secret", Description: "Encrypt the value instead of storing it in plaintext"},
|
||||
{Name: "--show-secrets", Description: "Show secret values when listing config instead of displaying blinded values"},
|
||||
{Name: "--exclude-protected", Description: "Do not destroy protected resources. Destroy all other resources"},
|
||||
{Name: "-o", Description: "The path to the file that will contain the generated resource declarations"},
|
||||
{Name: "--parent", Description: "Suppress display of stack outputs (in case they contain sensitive values)"},
|
||||
{Name: "-c", Description: "A cloud URL to log in to"},
|
||||
{Name: "--default-org", Description: "Log out of the Pulumi service"},
|
||||
{Name: "--all", Description: "Logout of all backends"},
|
||||
{Name: "--config-path", Description: "Config keys contain a path to a property in a map or list to set"},
|
||||
{Name: "--dir", Description: "Forces content to be generated even if it would change existing files"},
|
||||
{Name: "-g", Description: "The project name; if not specified, a prompt will request it"},
|
||||
{Name: "--exact", Description: "Force installation of an exact version match (usually >= is accepted)"},
|
||||
{Name: "--reinstall", Description: "Reinstall a plugin even if it already exists"},
|
||||
{Name: "--server", Description: "A URL to download plugins from"},
|
||||
{Name: "-a", Description: "Remove all plugins"},
|
||||
{Name: "--policy-group", Description: "Enable a Policy Pack for a Pulumi organization"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "qodana",
|
||||
Description: "Run Qodana as fast as possible, with minimum effort required",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "init", Description: "Configure project for Qodana"},
|
||||
{Name: "scan", Description: "Scan a project with Qodana"},
|
||||
{Name: "show", Description: "Show Qodana report"},
|
||||
{Name: "view", Description: "View SARIF files in CLI"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-h", Description: "Show help page for command"},
|
||||
{Name: "-v", Description: "Version for Qodana"},
|
||||
{Name: "-i", Description: "Scan a project with Qodana"},
|
||||
{Name: "-a", Description: "Unique report identifier (GUID) to be used by Qodana Cloud"},
|
||||
{Name: "-b", Description: "Override cache directory (default <userCacheDir>/JetBrains/<linter>/cache)"},
|
||||
{Name: "-c", Description: "Override the docker image to be used for the analysis"},
|
||||
{Name: "--clear-cache", Description: "Clear the local Qodana cache before running the analysis"},
|
||||
{Name: "--disable-sanity", Description: "Skip running the inspections configured by the sanity profile"},
|
||||
{Name: "-e", Description: "Override linter to use"},
|
||||
{Name: "--port", Description: "Port to serve the report on (default 8080)"},
|
||||
{Name: "--print-problems", Description: "Print all found problems by Qodana in the CLI output"},
|
||||
{Name: "-n", Description: "Profile name defined in the project"},
|
||||
{Name: "-p", Description: "Path to the profile file"},
|
||||
{Name: "--script", Description: "Serve HTML report on port"},
|
||||
{Name: "--skip-pull", Description: "Skip pulling the latest Qodana container"},
|
||||
{Name: "-d", Description: "Show Qodana report"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "railway",
|
||||
Description: "CLI for managing Railway Apps",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "add", Description: "Add a plugin to your project"},
|
||||
{Name: "completion", Description: "Generate shell-completions"},
|
||||
{Name: "shell", Description: "The shell to generate completions for"},
|
||||
{Name: "connect", Description: "Connect to a plugin"},
|
||||
{Name: "plugin", Description: "The plugin to connect to"},
|
||||
{Name: "delete", Description: "Delete a project"},
|
||||
{Name: "project-id", Description: "The project to delete"},
|
||||
{Name: "docs", Description: "Open Railway Documentation in default browser"},
|
||||
{Name: "down", Description: "Remove the most recent deployment"},
|
||||
{Name: "environment", Description: "Change your environment"},
|
||||
{Name: "help", Description: "Get help about any command"},
|
||||
{Name: "command", Description: "The command to get help about"},
|
||||
{Name: "init", Description: "Create a new railway project"},
|
||||
{Name: "link", Description: "Connect to an existing railway project"},
|
||||
{Name: "list", Description: "List all railway projects"},
|
||||
{Name: "login", Description: "Login to railway"},
|
||||
{Name: "logout", Description: "Logout of railway"},
|
||||
{Name: "logs", Description: "Show logs for the most-recent deployment"},
|
||||
{Name: "Number of lines", Description: "The number of lines to output"},
|
||||
{Name: "open", Description: "Open the project"},
|
||||
{Name: "live", Description: "Open the live project"},
|
||||
{Name: "metrics", Description: "Open project metrics"},
|
||||
{Name: "settings", Description: "Open project settings"},
|
||||
{Name: "run", Description: "Run a local command using variables from the active environment"},
|
||||
{Name: "status", Description: "View the status of railway project"},
|
||||
{Name: "unlink", Description: "Disconnects the current directory from a Railway project"},
|
||||
{Name: "up", Description: "Deploy to railway"},
|
||||
{Name: "path", Description: "Path to deploy to"},
|
||||
{Name: "variables", Description: "Work with environment variables"},
|
||||
{Name: "variable", Description: "The name of the variable you want to delete"},
|
||||
{Name: "get", Description: "Get variable value"},
|
||||
{Name: "set", Description: "Set variable value"},
|
||||
{Name: "value", Description: "Value of the variable"},
|
||||
{Name: "version", Description: "Get the version of railway's CLI"},
|
||||
{Name: "whoami", Description: "Get the logged in user"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-e", Description: "Environment to delete from"},
|
||||
{Name: "--browserless", Description: "Login without opening a browser"},
|
||||
{Name: "-n", Description: "Output a specific number of lines"},
|
||||
{Name: "-s", Description: "Define specific service"},
|
||||
{Name: "-d", Description: "Detach from build logs"},
|
||||
{Name: "--help", Description: "Show help for railway"},
|
||||
{Name: "--version", Description: "Show railway version"},
|
||||
{Name: "--verbose", Description: "Enable verbose output"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "rbenv",
|
||||
Description: "List all available rbenv commands",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "commands", Description: "List all available rbenv commands"},
|
||||
{Name: "global", Description: "Set or show the global Ruby version"},
|
||||
{Name: "install", Description: "Install a Ruby version using ruby-build"},
|
||||
{Name: "local", Description: "Set or show the local application-specific Ruby version"},
|
||||
{Name: "rehash", Description: "Rehash rbenv shims (run this after installing executables)"},
|
||||
{Name: "shell", Description: "Set or show the shell-specific Ruby version"},
|
||||
{Name: "uninstall", Description: "Uninstall a specific Ruby version"},
|
||||
{Name: "versions", Description: "List installed Ruby versions"},
|
||||
{Name: "whence", Description: "List all Ruby versions that contain the given executable"},
|
||||
{Name: "which", Description: "Display the full path to an executable"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--unset", Description: "List all available rbenv commands"},
|
||||
{Name: "--sh", Description: "Set or show the global Ruby version"},
|
||||
{Name: "--version", Description: "Show version of ruby-build"},
|
||||
{Name: "-f", Description: "If the version does not exist, do not display an error message"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "robot",
|
||||
Description: "Tag",
|
||||
Options: []core.Option{
|
||||
{Name: "-h", Description: "Print usage instructions"},
|
||||
{Name: "--rpa", Description: "Parse only files with this extension when executing a directory"},
|
||||
{Name: "-N", Description: "Set a name of the top level suite"},
|
||||
{Name: "-D", Description: "Set a documentation of the top level suite"},
|
||||
{Name: "-M", Description: "Set metadata of the top level suite"},
|
||||
{Name: "-G", Description: "Sets given tag to all executed tests"},
|
||||
{Name: "-t", Description: "Alias to --test. Especially applicable with --rpa"},
|
||||
{Name: "-s", Description: "Select suites by name"},
|
||||
{Name: "-i", Description: "Select test cases by tag"},
|
||||
{Name: "-e", Description: "Select test cases not to run by tag"},
|
||||
{Name: "-R", Description: "Select failed tests from an earlier output file to be re-executed"},
|
||||
{Name: "-S", Description: "Select failed suites from an earlier output file to be re-executed"},
|
||||
{Name: "--runemptysuite", Description: "Executes suite even if it contains no tests"},
|
||||
{Name: "--skip", Description: "Tests having given tag will be skipped"},
|
||||
{Name: "--skiponfailure", Description: "Tests having given tag will be skipped if they fail"},
|
||||
{Name: "-v", Description: "Set variables in the test data"},
|
||||
{Name: "-V", Description: "Python or YAML file file to read variables from"},
|
||||
{Name: "-d", Description: "XUnit compatible result file. Not created unless this option is specified"},
|
||||
{Name: "-b", Description: "Debug file written during execution. Not created unless this option is specified"},
|
||||
{Name: "-T", Description: "Split the log file into smaller pieces that open in browsers transparently"},
|
||||
{Name: "--logtitle", Description: "Title for the generated log file. The default title is `<SuiteName> Log.`"},
|
||||
{Name: "--reporttitle", Description: "Title for the generated report file. The default title is `<SuiteName> Report`"},
|
||||
{Name: "--reportbackground", Description: "Default number of lines"},
|
||||
{Name: "--maxassignlength", Description: "Default number of characters"},
|
||||
{Name: "-L", Description: "Threshold level for logging"},
|
||||
{Name: "--suitestatlevel", Description: "How many levels to show in `Statistics by Suite` in log and report"},
|
||||
{Name: "--tagstatinclude", Description: "Include only matching tags in `Statistics by Tag` in log and report"},
|
||||
{Name: "--tagstatexclude", Description: "Exclude matching tags from `Statistics by Tag`"},
|
||||
{Name: "--tagstatcombine", Description: "Add documentation to tags matching the given pattern"},
|
||||
{Name: "--tagstatlink", Description: "Matching keywords will be automatically expanded in the log file"},
|
||||
{Name: "--removekeywords", Description: "Remove keyword data from the generated log file"},
|
||||
{Name: "--flattenkeywords", Description: "Flattens matching keywords in the generated log file"},
|
||||
{Name: "--listener", Description: "Stops test execution if any test fails"},
|
||||
{Name: "--exitonerror", Description: "Causes teardowns to be skipped if test execution is stopped prematurely"},
|
||||
{Name: "--randomize", Description: "Randomizes the test execution order"},
|
||||
{Name: "--prerunmodifier", Description: "Class to programmatically modify the suite structure before execution"},
|
||||
{Name: "--prerebotmodifier", Description: "How to report execution on the console"},
|
||||
{Name: "-.", Description: "Shortcut for `--console dotted`"},
|
||||
{Name: "--quiet", Description: "Shortcut for `--console quiet`"},
|
||||
{Name: "-W", Description: "Width of the console output. Default is 78"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "serverless",
|
||||
Description: "AWS profile to use with the command",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "deploy", Description: "Deploy a Serverless service"},
|
||||
{Name: "info", Description: "Display information about the service"},
|
||||
{Name: "invoke", Description: "Invoke a deployed function"},
|
||||
{Name: "logs", Description: "Output the logs of a deployed function"},
|
||||
{Name: "metrics", Description: "Show metrics for a specific function"},
|
||||
{Name: "remove", Description: "Remove Serverless service and all resources"},
|
||||
{Name: "rollback", Description: "Rollback the Serverless service to a specific deployment"},
|
||||
{Name: "studio", Description: "Develop a Serverless application in the cloud"},
|
||||
{Name: "test", Description: "Run HTTP tests"},
|
||||
{Name: "package", Description: "Package a Serverless service"},
|
||||
{Name: "plugin", Description: "Handle plugins"},
|
||||
{Name: "print", Description: "Print your compiled and resolved config file"},
|
||||
{Name: "create", Description: "Create new Serverless service"},
|
||||
{Name: "dashboard", Description: "Open the Serverless dashboard"},
|
||||
{Name: "generate-event", Description: "Generate event"},
|
||||
{Name: "login", Description: "Login or sign up for Serverless"},
|
||||
{Name: "logout", Description: "Logout from Serverless"},
|
||||
{Name: "output", Description: "Get/list value of dashboard deployment profile parameter"},
|
||||
{Name: "param", Description: "Get/list value of dashboard service output"},
|
||||
{Name: "slstats", Description: "Enable or disable stats"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--aws-profile", Description: "AWS profile to use with the command"},
|
||||
{Name: "--function", Description: "Name of the function"},
|
||||
{Name: "--region", Description: "Region of the service"},
|
||||
{Name: "--use-local-credentials", Description: "Path to serverless config file"},
|
||||
{Name: "--app", Description: "Dashboard app"},
|
||||
{Name: "--org", Description: "Dashboard org"},
|
||||
{Name: "--help", Description: "Show help"},
|
||||
{Name: "--version", Description: "Show version info"},
|
||||
{Name: "--stage", Description: "Stage of the service"},
|
||||
{Name: "--verbose", Description: "Show all stack events during deployment"},
|
||||
{Name: "--package", Description: "Path of the deployment package"},
|
||||
{Name: "--conceal", Description: "Hide secrets from the output (e.g. API Gateway key values)"},
|
||||
{Name: "--qualifier", Description: "Version number or alias to invoke"},
|
||||
{Name: "--path", Description: "Path to JSON or YAML file holding input data"},
|
||||
{Name: "--type", Description: "Type of invocation"},
|
||||
{Name: "--log", Description: "Trigger logging data output"},
|
||||
{Name: "--data", Description: "Input data"},
|
||||
{Name: "--raw", Description: "Flag to pass input data as a raw string"},
|
||||
{Name: "--context", Description: "Context of the service"},
|
||||
{Name: "--contextPath", Description: "Path to JSON or YAML file holding context data"},
|
||||
{Name: "--env", Description: "Override environment variables. e.g. --env VAR1=val1 --env VAR2=val2"},
|
||||
{Name: "--force", Description: "Forces a deployment to take place"},
|
||||
{Name: "--update-config", Description: "Forces a deployment to take place"},
|
||||
{Name: "--aws-s3-accelerate", Description: "Enables S3 Transfer Acceleration making uploading artifacts much faster"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "sfdx",
|
||||
Description: "Analyze (lint) Aura component code",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "force:lightning:lint", Description: "Analyze (lint) Aura component code"},
|
||||
{Name: "fig-completion", Description: "Generate a Fig completion spec"},
|
||||
{Name: "commands", Description: "List all the commands"},
|
||||
{Name: "plugins", Description: "List installed plugins"},
|
||||
{Name: "plugins:inspect", Description: "Displays installation properties of a plugin"},
|
||||
{Name: "plugin", Description: "Plugin to inspect"},
|
||||
{Name: "plugins:install", Description: "Installs a plugin into the CLI"},
|
||||
{Name: "plugins:link", Description: "Links a plugin into the CLI for development"},
|
||||
{Name: "path", Description: "Path to plugin"},
|
||||
{Name: "plugins:uninstall", Description: "Removes a plugin from the CLI"},
|
||||
{Name: "plugins:update", Description: "Update installed plugins"},
|
||||
{Name: "autocomplete", Description: "Display autocomplete installation instructions"},
|
||||
{Name: "shell", Description: "Shell type"},
|
||||
{Name: "update", Description: "Update the sfdx CLI"},
|
||||
{Name: "which", Description: "Show which plugin a command is in"},
|
||||
{Name: "force:cmdt:create", Description: "Creates a new custom metadata type in the current project"},
|
||||
{Name: "force:cmdt:field:create", Description: "Generate a custom metadata field based on the field type provided"},
|
||||
{Name: "force:cmdt:generate", Description: "Generates a custom metadata type and all its records for the provided sObject"},
|
||||
{Name: "force:cmdt:record:create", Description: "Create a new record for a given custom metadata type in the current project"},
|
||||
{Name: "force:cmdt:record:insert", Description: "Create new custom metadata type records from a CSV file"},
|
||||
{Name: "alias:list", Description: "List username aliases for the Salesforce CLI"},
|
||||
{Name: "alias:set", Description: "Set username aliases for the Salesforce CLI"},
|
||||
{Name: "alias:unset", Description: "Unsets aliases for the Salesforce CLI"},
|
||||
{Name: "force:apex:execute", Description: "Executes anonymous Apex code"},
|
||||
{Name: "force:apex:log:get", Description: "Fetch debug logs"},
|
||||
{Name: "force:apex:log:list", Description: "Display a list of IDs and general information about debug logs"},
|
||||
{Name: "force:apex:test:report", Description: "Display test results for a specific asynchronous test run"},
|
||||
{Name: "force:apex:test:run", Description: "Invoke Apex tests"},
|
||||
{Name: "config:get", Description: "Get config var values for given names"},
|
||||
{Name: "config:unset", Description: "Unsets the local and global configuration variables for the Salesforce CLI"},
|
||||
{Name: "force:data:bulk:delete", Description: "Bulk delete records from a csv file"},
|
||||
{Name: "force:data:bulk:status", Description: "View the status of a bulk data load job or batch"},
|
||||
{Name: "force:data:bulk:upsert", Description: "Bulk upsert records from a CSV file"},
|
||||
{Name: "force:data:record:create", Description: "Creates and inserts a record"},
|
||||
{Name: "force:data:record:delete", Description: "Deletes a single record"},
|
||||
{Name: "force:data:record:get", Description: "Displays a single record"},
|
||||
{Name: "force:data:record:update", Description: "Updates a single record"},
|
||||
{Name: "force:data:soql:query", Description: "Execute a SOQL query"},
|
||||
{Name: "force:data:tree:export", Description: "Export data from an org"},
|
||||
{Name: "force:data:tree:import", Description: "Import data into an org"},
|
||||
{Name: "auth:accesstoken:store", Description: "Authorize an org using an existing Salesforce access token"},
|
||||
{Name: "auth:device:login", Description: "Authorize an org using a device code"},
|
||||
{Name: "auth:jwt:grant", Description: "Authorize an org using the JWT flow"},
|
||||
{Name: "auth:list", Description: "List auth connection information"},
|
||||
{Name: "auth:logout", Description: "Log out from authorized orgs"},
|
||||
{Name: "auth:sfdxurl:store", Description: "Authorize an org using an SFDX auth URL"},
|
||||
{Name: "auth:web:login", Description: "Authorize an org using the web login flow"},
|
||||
{Name: "force:limits:api:display", Description: "Display current org’s limits"},
|
||||
{Name: "force:limits:recordcounts:display", Description: "Display record counts for the specified standard and custom objects"},
|
||||
{Name: "force:org:display", Description: "Get the description for the current or target org"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--json", Description: "Format output as json"},
|
||||
{Name: "--loglevel", Description: "Logging level for this command invocation"},
|
||||
{Name: "-i", Description: "Pattern used to ignore some folders"},
|
||||
{Name: "--files", Description: "Pattern used to include specific files"},
|
||||
{Name: "--config", Description: "Path to a custom ESLint configuration file"},
|
||||
{Name: "--verbose", Description: "Report warnings in addition to errors"},
|
||||
{Name: "--exit", Description: "Exit with error code 1 if there are lint issues"},
|
||||
{Name: "-h", Description: "Show CLI help"},
|
||||
{Name: "-o", Description: "Filepath to export completion spec (do not specify file extension)"},
|
||||
{Name: "-l", Description: "List all the commands"},
|
||||
{Name: "-j", Description: "Display unfiltered api data in json format"},
|
||||
{Name: "--hidden", Description: "Show hidden commands"},
|
||||
{Name: "--columns", Description: "Only show provided columns (comma-separated)"},
|
||||
{Name: "--sort", Description: "Property to sort by (prepend '-' for descending)"},
|
||||
{Name: "--filter", Description: "Filter property by partial string matching, ex: name=foo"},
|
||||
{Name: "--csv", Description: "Output is csv format [alias: --output=csv]"},
|
||||
{Name: "--output", Description: "Output in a more machine friendly format"},
|
||||
{Name: "-x", Description: "Show extra columns"},
|
||||
{Name: "--no-truncate", Description: "Do not truncate output to fit screen"},
|
||||
{Name: "--no-header", Description: "Hide table header from output"},
|
||||
{Name: "--core", Description: "Show core plugins"},
|
||||
{Name: "-v", Description: "Plugin to inspect"},
|
||||
{Name: "-r", Description: "Refresh cache (ignores displaying instructions)"},
|
||||
{Name: "--from-local", Description: "Interactively choose an already installed version"},
|
||||
{Name: "-n", Description: "Unique object name for the custom metadata type"},
|
||||
{Name: "-p", Description: "Plural version of the label value; if blank, uses label"},
|
||||
{Name: "-d", Description: "Directory to store the newly-created custom metadata type files"},
|
||||
{Name: "-f", Description: "Type of field"},
|
||||
{Name: "-s", Description: "Number of decimal places to use for Number or Percent fields"},
|
||||
{Name: "-u", Description: "Username or alias for the target org; overrides default target org"},
|
||||
{Name: "--apiversion", Description: "Override the api version used for api requests made by this command"},
|
||||
{Name: "-t", Description: "API name of the custom metadata type to create a record for"},
|
||||
{Name: "-c", Description: "Retrieves code coverage results"},
|
||||
{Name: "-w", Description: "Invoke Apex tests"},
|
||||
{Name: "-g", Description: "Set config var globally (to be used from any directory)"},
|
||||
{Name: "-b", Description: "The ID of the batch whose status you want to view"},
|
||||
{Name: "--perflog", Description: "Get API performance data"},
|
||||
{Name: "-q", Description: "SOQL query to execute"},
|
||||
{Name: "--confighelp", Description: "Authorize an org using an existing Salesforce access token"},
|
||||
{Name: "-a", Description: "Set an alias for the authenticated org"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "sftp",
|
||||
Description: "OpenSSH secure file transfer",
|
||||
Options: []core.Option{
|
||||
{Name: "--help", Description: "Show help for sftp"},
|
||||
{Name: "-4", Description: "Forces scp to use IPv4 addresses only"},
|
||||
{Name: "-6", Description: "Forces scp to use IPv6 addresses only"},
|
||||
{Name: "-A", Description: "The buffer size"},
|
||||
{Name: "-b", Description: "The batch file"},
|
||||
{Name: "-C", Description: "Compression enable. Passes the -C flag to ssh(1) to enable compression"},
|
||||
{Name: "-c", Description: "The selected cipher specification"},
|
||||
{Name: "-D", Description: "Path to the SFTP server"},
|
||||
{Name: "-F", Description: "The selected ssh config"},
|
||||
{Name: "-f", Description: "Requests that files be flushed to disk immediately after transfer"},
|
||||
{Name: "-i", Description: "Specified identity file"},
|
||||
{Name: "-J", Description: "Scp destination"},
|
||||
{Name: "-l", Description: "Limits the used bandwidth, specified in Kbit/s"},
|
||||
{Name: "-N", Description: "Disables quiet mode, e.g. to override the implicit quiet mode set by the -b flag"},
|
||||
{Name: "-o", Description: "Preserves modification times, access times, and modes from the original file"},
|
||||
{Name: "-q", Description: "The number of requests"},
|
||||
{Name: "-r", Description: "Path to the SFTP server"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "space",
|
||||
Description: "Deta Space CLI for mananging Deta Space projects",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "completion", Description: "Generate the autocompletion script for the specified shell"},
|
||||
{Name: "bash", Description: "Generate the autocompletion script for bash"},
|
||||
{Name: "fish", Description: "Generate the autocompletion script for fish"},
|
||||
{Name: "powershell", Description: "Generate the autocompletion script for powershell"},
|
||||
{Name: "zsh", Description: "Generate the autocompletion script for zsh"},
|
||||
{Name: "link", Description: "Link code to project"},
|
||||
{Name: "login", Description: "Login to space"},
|
||||
{Name: "new", Description: "Create new project"},
|
||||
{Name: "open", Description: "Open current project in browser"},
|
||||
{Name: "push", Description: "Push code for project"},
|
||||
{Name: "release", Description: "Create release for a project"},
|
||||
{Name: "validate", Description: "Validate spacefile in dir"},
|
||||
{Name: "version", Description: "Space CLI version"},
|
||||
{Name: "upgrade", Description: "Upgrade Space CLI version"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--no-descriptions", Description: "Disable completion descriptions"},
|
||||
{Name: "--dir", Description: "Src of project to link"},
|
||||
{Name: "--id", Description: "Project id of project to link"},
|
||||
{Name: "--blank", Description: "Create blank project"},
|
||||
{Name: "--name", Description: "Project name"},
|
||||
{Name: "--open", Description: "Open builder instance/project in browser after push"},
|
||||
{Name: "--skip-logs", Description: "Skip following logs after push"},
|
||||
{Name: "--tag", Description: "Tag to identify this push"},
|
||||
{Name: "--confirm", Description: "Release latest revision"},
|
||||
{Name: "--listed", Description: "Listed on discovery"},
|
||||
{Name: "--notes", Description: "Release notes"},
|
||||
{Name: "--rid", Description: "Revision id for release"},
|
||||
{Name: "--version", Description: "Version for the release"},
|
||||
{Name: "--help", Description: "Display help"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "sqlite3",
|
||||
Description: "A command line interface for SQLite version 3",
|
||||
Options: []core.Option{
|
||||
{Name: "-append", Description: "Append the database to the end of the file"},
|
||||
{Name: "-ascii", Description: "Set output mode to 'ascii'"},
|
||||
{Name: "-bail", Description: "Stop after hitting an error"},
|
||||
{Name: "-batch", Description: "Force batch I/O"},
|
||||
{Name: "-column", Description: "Set output mode to 'column'"},
|
||||
{Name: "-cmd", Description: "Set output mode to 'csv'"},
|
||||
{Name: "-echo", Description: "Print commands before execution"},
|
||||
{Name: "-init", Description: "Read/process named file"},
|
||||
{Name: "-header", Description: "Turn headers on"},
|
||||
{Name: "-noheader", Description: "Turn headers off"},
|
||||
{Name: "-help", Description: "Show help message"},
|
||||
{Name: "-html", Description: "Set output mode to HTML"},
|
||||
{Name: "-interactive", Description: "Force interactive I/O"},
|
||||
{Name: "-line", Description: "Set output mode to 'line'"},
|
||||
{Name: "-list", Description: "Set output mode to 'list'"},
|
||||
{Name: "-lookaside", Description: "Use N entries of SZ bytes for lookaside memory"},
|
||||
{Name: "-memtrace", Description: "Trace all memory allocations and deallocations"},
|
||||
{Name: "-mmap", Description: "Default mmap size set to N"},
|
||||
{Name: "-newline", Description: "Set output row separator"},
|
||||
{Name: "-nofollow", Description: "Refuse to open symbolic links to database files"},
|
||||
{Name: "-nullvalue", Description: "Set text string for NULL values"},
|
||||
{Name: "-pagecache", Description: "Use N slots of SZ bytes each for page cache memory"},
|
||||
{Name: "-quote", Description: "Set output mode to 'quote'"},
|
||||
{Name: "-readonly", Description: "Open the database read-only"},
|
||||
{Name: "-separator", Description: "Set output column separator"},
|
||||
{Name: "-stats", Description: "Print memory stats before each finalize"},
|
||||
{Name: "-version", Description: "Show SQLite version"},
|
||||
{Name: "-vfs", Description: "Use NAME as the default VFS"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "src",
|
||||
Description: "Interact with Sourcegraph from the command line",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "apply", Description: "Apply batch"},
|
||||
{Name: "exec", Description: "Execute batch"},
|
||||
{Name: "new", Description: "New batch"},
|
||||
{Name: "preview", Description: "Preview batch"},
|
||||
{Name: "repositories", Description: "Repositories to batch"},
|
||||
{Name: "validate", Description: "Validate batch"},
|
||||
{Name: "edit", Description: "Edit config"},
|
||||
{Name: "get", Description: "Get configs"},
|
||||
{Name: "list", Description: "List configs"},
|
||||
{Name: "upload", Description: "Upload LSIF dump"},
|
||||
{Name: "create", Description: "Create an organization"},
|
||||
{Name: "delete", Description: "Delete an organization"},
|
||||
{Name: "members", Description: "List organization members"},
|
||||
{Name: "tag", Description: "Tag user"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-display", Description: "Log GraphQL requests and responses to stdout"},
|
||||
{Name: "-explain-json", Description: "Explain the JSON output schema and exit"},
|
||||
{Name: "-get-curl", Description: "Skip validation of TLD certificates against trusted chains"},
|
||||
{Name: "-json", Description: "Whether or not to output results as JSON"},
|
||||
{Name: "-less", Description: "Pipe output to `less -R` (only if stdout is terminal, and not json flag)"},
|
||||
{Name: "-stream", Description: "Log the trace ID for requests"},
|
||||
{Name: "-user-agent-telemetry", Description: "Sourcegraph API Access"},
|
||||
{Name: "-insecure-skip-verify", Description: "Skip validation of TLS certificates against trusted chains"},
|
||||
{Name: "-query", Description: "Log the trace ID for requests"},
|
||||
{Name: "-trace", Description: "Log the trace ID for requests"},
|
||||
{Name: "-addr", Description: "Address on which to server (end with : for unused port)"},
|
||||
{Name: "-list", Description: "List found repository names"},
|
||||
{Name: "-context", Description: "Comma-separated list of key=value pairs to add to the script execution context"},
|
||||
{Name: "-dump-requests", Description: "Log GraphQL requests and responses to stdout"},
|
||||
{Name: "-secrets", Description: "Log the trace ID for requests"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "ssh-keygen",
|
||||
Description: "Generates, manages and converts authentication keys for ssh",
|
||||
Options: []core.Option{
|
||||
{Name: "-A", Description: "When saving a private key, this option specifies the number of KDF"},
|
||||
{Name: "-B", Description: "Show the bubblebabble digest of specified private or public key file"},
|
||||
{Name: "-b", Description: "Specifies the number of bits in the key to create"},
|
||||
{Name: "-C", Description: "Provides a new comment"},
|
||||
{Name: "-c", Description: "Requests changing the comment in the private and public key files"},
|
||||
{Name: "-D", Description: "Download the public keys provided by the PKCS#11"},
|
||||
{Name: "-E", Description: "Specifies the hash algorithm used"},
|
||||
{Name: "-e", Description: "Read a OpenSSH key file and print to stdout"},
|
||||
{Name: "-F", Description: "Search for the specified hostname (with optional port number)"},
|
||||
{Name: "-f", Description: "Specifies the filename of the key file"},
|
||||
{Name: "-g", Description: "Use generic DNS format when printing fingerprint resource records"},
|
||||
{Name: "-H", Description: "Hash a known_hosts file"},
|
||||
{Name: "-h", Description: "Create a host certificate instead of a user"},
|
||||
{Name: "-I", Description: "Specify the key identity when signing a public key"},
|
||||
{Name: "-i", Description: "Read an unencrypted private (or public) key file"},
|
||||
{Name: "-K", Description: "Download resident keys from a FIDO authenticator"},
|
||||
{Name: "-k", Description: "Generate a KRL file"},
|
||||
{Name: "-L", Description: "Generate a KRL file"},
|
||||
{Name: "-l", Description: "Show fingerprint of specified public key file"},
|
||||
{Name: "-M", Description: "Use for Moduli generation"},
|
||||
{Name: "-m", Description: "Specify a key format for key generation"},
|
||||
{Name: "-N", Description: "Provides the new passphrase"},
|
||||
{Name: "-n", Description: "Principals to be included in a certificate when signing a key"},
|
||||
{Name: "-O", Description: "Specify a key/value option"},
|
||||
{Name: "-P", Description: "Provides the (old) passphrase"},
|
||||
{Name: "-p", Description: "Test whether keys have been revoked in a KRL"},
|
||||
{Name: "-q", Description: "Silence ssh-keygen"},
|
||||
{Name: "-R", Description: "Removes all keys belonging to hostname"},
|
||||
{Name: "-r", Description: "Hostname for the specified public key file"},
|
||||
{Name: "-s", Description: "Certify (sign) a public key using the specified CA key"},
|
||||
{Name: "-t", Description: "Specifies the type of key to create"},
|
||||
{Name: "-U", Description: "Update a KRL"},
|
||||
{Name: "-V", Description: "Specify a validity interval when signing a certificate"},
|
||||
{Name: "-v", Description: "Verbose mode"},
|
||||
{Name: "-w", Description: "Path to library to be used when creating FIDO authenticator-hosted keys"},
|
||||
{Name: "-Y", Description: "Find the principal(s) associated with the public key of a signature"},
|
||||
{Name: "-y", Description: "Read a private OpenSSH format file and print an OpenSSH public key to stdout"},
|
||||
{Name: "-Z", Description: "Cipher to use for encryption"},
|
||||
{Name: "-z", Description: "Serial number to distinguish this certificate"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "stripe",
|
||||
Description: "Stripe CLI - build, test, and manage your Stripe integrations right from your terminal",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "login", Description: "Connects to your Stripe account"},
|
||||
{Name: "logout", Description: "Disconnects your Stripe account"},
|
||||
{Name: "config", Description: "Manage Stripe CLI configuration", Subcommands: []core.Subcommand{
|
||||
{Name: "list", Description: "List all configured options"},
|
||||
{Name: "set", Description: "Set a value for the specified configuration option"},
|
||||
{Name: "unset", Description: "Remove a key-value pair from the config file"},
|
||||
}},
|
||||
{Name: "completion", Description: "Generates shell autocompletions"},
|
||||
{Name: "status", Description: "Displays Stripe's system status and service availability"},
|
||||
{Name: "open", Description: "Opens Stripe dashboard pages in your web browser", Subcommands: []core.Subcommand{
|
||||
{Name: "login", Description: "Open the login page"},
|
||||
{Name: "dashboard", Description: "Open the dashboard"},
|
||||
{Name: "api", Description: "Open API reference docs"},
|
||||
{Name: "webhooks", Description: "Open webhooks dashboard"},
|
||||
{Name: "logs", Description: "Open logs dashboard"},
|
||||
{Name: "settings", Description: "Open account settings"},
|
||||
}},
|
||||
{Name: "listen", Description: "Receives webhook events from Stripe locally"},
|
||||
{Name: "trigger", Description: "Trigger webhook events", Subcommands: []core.Subcommand{
|
||||
{Name: "account.updated", Description: "Occurs whenever an account status or property has changed"},
|
||||
{Name: "account.external_account.created", Description: "Occurs whenever an external account is created"},
|
||||
{Name: "account.external_account.deleted", Description: "Occurs whenever an external account is deleted"},
|
||||
{Name: "account.external_account.updated", Description: "Occurs whenever an external account is updated"},
|
||||
{Name: "application_fee.created", Description: "Occurs whenever an application fee is created on a charge"},
|
||||
{Name: "application_fee.refund.updated", Description: "Occurs whenever an application fee refund is updated"},
|
||||
{Name: "billing_portal.configuration.created", Description: "Occurs whenever a portal configuration is created"},
|
||||
{Name: "billing_portal.configuration.updated", Description: "Occurs whenever a portal configuration is updated"},
|
||||
{Name: "capability.updated", Description: "Occurs whenever a capability has new requirements or a new status"},
|
||||
{Name: "charge.expired", Description: "Occurs whenever an uncaptured charge expires"},
|
||||
{Name: "charge.pending", Description: "Occurs whenever a pending charge is created"},
|
||||
{Name: "charge.updated", Description: "Occurs whenever a charge description or metadata is updated"},
|
||||
{Name: "charge.dispute.funds_withdrawn", Description: "Occurs when funds are removed from your account due to a dispute"},
|
||||
{Name: "charge.dispute.updated", Description: "Occurs when the dispute is updated (usually with evidence)"},
|
||||
{Name: "charge.refund.updated", Description: "Occurs whenever a refund is updated, on selected payment methods"},
|
||||
{Name: "checkout.session.async_payment_failed", Description: "Occurs when a payment intent using a delayed payment method fails"},
|
||||
{Name: "coupon.created", Description: "Occurs whenever a coupon is created"},
|
||||
{Name: "coupon.deleted", Description: "Occurs whenever a coupon is deleted"},
|
||||
{Name: "coupon.updated", Description: "Occurs whenever a coupon is updated"},
|
||||
{Name: "credit_note.created", Description: "Occurs whenever a credit note is created"},
|
||||
{Name: "credit_note.updated", Description: "Occurs whenever a credit note is updated"},
|
||||
{Name: "credit_note.voided", Description: "Occurs whenever a credit note is voided"},
|
||||
{Name: "customer.discount.created", Description: "Occurs whenever a coupon is attached to a customer"},
|
||||
{Name: "customer.discount.deleted", Description: "Occurs whenever a coupon is removed from a customer"},
|
||||
}},
|
||||
{Name: "logs", Description: "Interact with Stripe request logs", Subcommands: []core.Subcommand{
|
||||
{Name: "tail", Description: "Stream request logs from Stripe"},
|
||||
}},
|
||||
{Name: "get", Description: "Make a GET request to the Stripe API"},
|
||||
{Name: "post", Description: "Make a POST request to the Stripe API"},
|
||||
{Name: "delete", Description: "Make a DELETE request to the Stripe API"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--api-key", Description: "Sets your API key to use for the command"},
|
||||
{Name: "--color", Description: "Enables or disables color output"},
|
||||
{Name: "--config", Description: "Sets your config file"},
|
||||
{Name: "--device-name", Description: "Runs command on behalf of another device"},
|
||||
{Name: "-h", Description: "Provides the help documentation for commands, flags, and arguments"},
|
||||
{Name: "--log-level", Description: "Set the level of detail for log messages"},
|
||||
{Name: "-v", Description: "Prints the version of the Stripe CLI"},
|
||||
{Name: "-s", Description: "Shows response HTTP headers"},
|
||||
{Name: "-c", Description: "Skips the warning prompt and automatically confirms the command being entered"},
|
||||
{Name: "--dark-style", Description: "Uses a darker color scheme"},
|
||||
{Name: "-d", Description: "Additional data to send with an API request"},
|
||||
{Name: "-e", Description: "Response attributes to expand inline"},
|
||||
{Name: "-i", Description: "Makes a live request"},
|
||||
{Name: "--stripe-account", Description: "Specify the Stripe account to use for this request"},
|
||||
{Name: "--filter-account", Description: "Filters request logs by the source and destination account"},
|
||||
{Name: "--filter-http-method", Description: "Filters request logs by HTTP method"},
|
||||
{Name: "--filter-ip-address", Description: "Filters request logs by IP address"},
|
||||
{Name: "--filter-request-path", Description: "Filters request logs that directly match any Stripe path"},
|
||||
{Name: "--filter-request-status", Description: "Filters request logs by the response status"},
|
||||
{Name: "--filter-source", Description: "Filters request logs by the source of each request"},
|
||||
{Name: "--filter-status-code", Description: "Filters request logs by HTTP status code"},
|
||||
{Name: "--filter-status-code-type", Description: "Filters request logs by the type of HTTP status code"},
|
||||
{Name: "--format", Description: "Specify the output format for request logs"},
|
||||
{Name: "--hide-spinner", Description: "Hides the loading spinner when polling"},
|
||||
{Name: "--poll", Description: "Keeps polling for status updates"},
|
||||
{Name: "--poll-rate", Description: "The number of seconds (min 5) to wait between status updates"},
|
||||
{Name: "--verbose", Description: "Shows the status of all Stripe systems"},
|
||||
{Name: "--live", Description: "Opens the Dashboard for your live integrations"},
|
||||
{Name: "--connect-headers", Description: "A comma-separated list of custom HTTP headers to any connected accounts"},
|
||||
{Name: "-f", Description: "The URL that webhook events will be forwarded to"},
|
||||
{Name: "-H", Description: "A comma-separated list of custom HTTP headers to forward"},
|
||||
{Name: "-l", Description: "Receive events used in the latest API version"},
|
||||
{Name: "-a", Description: "Listen for all webhook events based on existing webhook endpoints"},
|
||||
{Name: "-j", Description: "Print JSON objects to stdout"},
|
||||
{Name: "--skip-verify", Description: "Skip certificate verification when forwarding to HTTPS endpoints"},
|
||||
{Name: "--account", Description: "Resend the event to the given Stripe account"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "supabase",
|
||||
Description: "Supabase CLI",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "completion", Description: "Generate the autocompletion script for the specified shell"},
|
||||
{Name: "bash", Description: "Generate the autocompletion script for bash"},
|
||||
{Name: "fish", Description: "Generate the autocompletion script for fish"},
|
||||
{Name: "powershell", Description: "Generate the autocompletion script for powershell"},
|
||||
{Name: "zsh", Description: "Generate the autocompletion script for zsh"},
|
||||
{Name: "db", Description: "Manage local Postgres databases"},
|
||||
{Name: "branch", Description: "Manage local database branches"},
|
||||
{Name: "create", Description: "Create a branch"},
|
||||
{Name: "delete", Description: "Delete a branch"},
|
||||
{Name: "list", Description: "List branches"},
|
||||
{Name: "switch", Description: "Switch the active branch"},
|
||||
{Name: "diff", Description: "Diffs the local database for schema changes"},
|
||||
{Name: "dump", Description: "Dumps data or schemas from the remote database"},
|
||||
{Name: "lint", Description: "Checks local database for typing error"},
|
||||
{Name: "pull", Description: "Pull schema from the remote database"},
|
||||
{Name: "push", Description: "Push new migrations to the remote database"},
|
||||
{Name: "remote", Description: "Manage remote databases"},
|
||||
{Name: "changes", Description: "Show changes on the remote database"},
|
||||
{Name: "commit", Description: "Commit remote changes as a new migration"},
|
||||
{Name: "reset", Description: "Resets the local database to current migrations"},
|
||||
{Name: "functions", Description: "Manage Supabase Edge functions"},
|
||||
{Name: "deploy", Description: "Deploy a Function to Supabase"},
|
||||
{Name: "new", Description: "Create a new Function locally"},
|
||||
{Name: "serve", Description: "Serve a Function locally"},
|
||||
{Name: "gen", Description: "Run code generation tools"},
|
||||
{Name: "types", Description: "Generate types from Postgres schema"},
|
||||
{Name: "typescript", Description: "Generate types for TypeScript"},
|
||||
{Name: "init", Description: "Initialize a local project"},
|
||||
{Name: "link", Description: "Link to a Supabase project"},
|
||||
{Name: "login", Description: "Authenticate using an access token"},
|
||||
{Name: "migration", Description: "Manage database migration scripts"},
|
||||
{Name: "repair", Description: "Repair the migration history table"},
|
||||
{Name: "squash", Description: "Squash migrations to a single file"},
|
||||
{Name: "up", Description: "Apply pending migrations to local database"},
|
||||
{Name: "orgs", Description: "Manage Supabase organizations"},
|
||||
{Name: "projects", Description: "Manage Supabase projects"},
|
||||
{Name: "secrets", Description: "Manage Supabase secrets"},
|
||||
{Name: "set", Description: "Set a secret(s) on Supabase"},
|
||||
{Name: "unset", Description: "Unset a secret(s) on Supabase"},
|
||||
{Name: "start", Description: "Start containers for Supabase local development"},
|
||||
{Name: "status", Description: "Show status of local Supabase containers"},
|
||||
{Name: "stop", Description: "Stop all local Supabase containers"},
|
||||
{Name: "help", Description: "Help about any command"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--no-descriptions", Description: "Disable completion descriptions"},
|
||||
{Name: "--file", Description: "Saves schema diff to a file"},
|
||||
{Name: "--schema", Description: "List of schema to include"},
|
||||
{Name: "--use-migra", Description: "Use migra to generate schema diff"},
|
||||
{Name: "--data-only", Description: "Dumps only data records"},
|
||||
{Name: "--db-url", Description: "Prints the pg_dump script that would be executed"},
|
||||
{Name: "-h", Description: "Help for dump"},
|
||||
{Name: "--keep-comments", Description: "Keeps commented lines from pg_dump output"},
|
||||
{Name: "--linked", Description: "Dumps from the linked project. (default true)"},
|
||||
{Name: "--local", Description: "Dumps from the local database"},
|
||||
{Name: "--password", Description: "Password to your remote Postgres database"},
|
||||
{Name: "--role-only", Description: "Dumps only cluster roles"},
|
||||
{Name: "--use-copy", Description: "Uses copy statements in place of inserts"},
|
||||
{Name: "--level", Description: "Error level to emit"},
|
||||
{Name: "--dry-run", Description: "Print the migrations that would be applied, but don't actually apply them"},
|
||||
{Name: "--project-ref", Description: "Project ref of the Supabase project"},
|
||||
{Name: "--no-verify-jwt", Description: "Disable JWT verification for the Function"},
|
||||
{Name: "--env-file", Description: "Path to an env file to be populated to the Function environment"},
|
||||
{Name: "--status", Description: "Version status to update"},
|
||||
{Name: "--version", Description: "Squash up to the specified version"},
|
||||
{Name: "--db-password", Description: "Database password of the project"},
|
||||
{Name: "--interactive", Description: "Enables interactive mode"},
|
||||
{Name: "--org-id", Description: "Organization ID to create the project in"},
|
||||
{Name: "--plan", Description: "Select a plan that suits your needs"},
|
||||
{Name: "--region", Description: "Select a region close to you for the best performance"},
|
||||
{Name: "--debug", Description: "Output debug logs to stderr"},
|
||||
{Name: "--help", Description: "Display help"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "surreal",
|
||||
Description: "Database authentication password to use when connecting [default: root]",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "help", Description: "Print this message or the help of the given subcommand(s)"},
|
||||
{Name: "start", Description: "Start the database server"},
|
||||
{Name: "path", Description: "Database path used for storing data [env: DB_PATH=] [default: memory]"},
|
||||
{Name: "key", Description: "Encryption key to use for on-disk encryption [env: KEY=]"},
|
||||
{Name: "kvs-ca", Description: "Path to the CA file used when connecting to the remote KV store [env: KVS_CA=]"},
|
||||
{Name: "pass", Description: "The master password for the database [env: PASS=]"},
|
||||
{Name: "strict", Description: "Whether strict mode is enabled on this database instance [env: STRICT=]"},
|
||||
{Name: "user", Description: "The master username for the database [env: USER=] [default: root]"},
|
||||
{Name: "web-crt", Description: "Path to the certificate file for encrypted client connections [env: WEB_CRT=]"},
|
||||
{Name: "web-key", Description: "Path to the private key file for encrypted client connections [env: WEB_KEY=]"},
|
||||
{Name: "backup", Description: "Backup data to or from an existing database"},
|
||||
{Name: "from", Description: "Path to the remote database or file from which to export"},
|
||||
{Name: "into", Description: "Path to the remote database or file into which to import"},
|
||||
{Name: "import", Description: "Import a SurrealQL script into an existing database"},
|
||||
{Name: "export", Description: "Export an existing database as a SurrealQL script"},
|
||||
{Name: "version", Description: "Output the command-line tool version information"},
|
||||
{Name: "sql", Description: "Start an SQL REPL in your terminal with pipe support"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--pass", Description: "Database authentication password to use when connecting [default: root]"},
|
||||
{Name: "--user", Description: "Database authentication username to use when connecting [default: root]"},
|
||||
{Name: "--conn", Description: "Remote database server url to connect to [default: https://cloud.surrealdb.com]"},
|
||||
{Name: "--ns", Description: "Print this message or the help of the given subcommand(s)"},
|
||||
{Name: "--addr", Description: "Encryption key to use for on-disk encryption [env: KEY=]"},
|
||||
{Name: "--kvs-ca", Description: "Path to the CA file used when connecting to the remote KV store [env: KVS_CA=]"},
|
||||
{Name: "--kvs-crt", Description: "The master password for the database [env: PASS=]"},
|
||||
{Name: "--strict", Description: "Whether strict mode is enabled on this database instance [env: STRICT=]"},
|
||||
{Name: "--web-crt", Description: "Path to the certificate file for encrypted client connections [env: WEB_CRT=]"},
|
||||
{Name: "--web-key", Description: "Path to the private key file for encrypted client connections [env: WEB_KEY=]"},
|
||||
{Name: "--pretty", Description: "Whether database responses should be pretty printed"},
|
||||
{Name: "--help", Description: "Print help information"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "tailscale",
|
||||
Description: "Connect to Tailscale, logging in if needed",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "up", Description: "Connect to Tailscale, logging in if needed"},
|
||||
{Name: "down", Description: "Disconnect from Tailscale"},
|
||||
{Name: "logout", Description: "Disconnect from Tailscale and expire current node key"},
|
||||
{Name: "netcheck", Description: "Print an analysis of local network conditions"},
|
||||
{Name: "ip", Description: "Show Tailscale IP addresses"},
|
||||
{Name: "status", Description: "Show state of tailscaled and its connections"},
|
||||
{Name: "ping", Description: "Ping a host at the Tailscale layer, see how it routed"},
|
||||
{Name: "nc", Description: "Connect to a port on a host, connected to stdin/stdout"},
|
||||
{Name: "ssh", Description: "SSH to a Tailscale machine"},
|
||||
{Name: "version", Description: "Print Tailscale version"},
|
||||
{Name: "web", Description: "Run a web server for controlling Tailscale"},
|
||||
{Name: "file", Description: "Send or receive files"},
|
||||
{Name: "cp", Description: "Copy file(s) to a host"},
|
||||
{Name: "get", Description: "Move files out of the Tailscale file inbox"},
|
||||
{Name: "bugreport", Description: "Print a shareable identifier to help diagnose issues"},
|
||||
{Name: "cert", Description: "Get TLS certs"},
|
||||
{Name: "help", Description: "Print help message"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "--accept-dns", Description: "Accept DNS configuration from the admin panel"},
|
||||
{Name: "--accept-routes", Description: "Accept routes advertised by other Tailscale nodes"},
|
||||
{Name: "--advertise-exit-node", Description: "Offer to be an exit node for internet traffic for the tailnet"},
|
||||
{Name: "--advertise-routes", Description: "Allow direct access to the local network when routing traffic via an exit node"},
|
||||
{Name: "--force-reauth", Description: "Force reauthentication"},
|
||||
{Name: "--host-routes", Description: "Install host routes to other Tailscale nodes"},
|
||||
{Name: "--hostname", Description: "Hostname to use instead of the one provided by the OS"},
|
||||
{Name: "--json", Description: "Output in JSON format"},
|
||||
{Name: "--login-server", Description: "Login server to use"},
|
||||
{Name: "--operator", Description: "Unix username to allow to operate on tailscaled without sudo"},
|
||||
{Name: "--qr", Description: "Show QR code for login URLs"},
|
||||
{Name: "--reset", Description: "Reset unspecified settings to their default values"},
|
||||
{Name: "--shields-up", Description: "Don't allow incoming connections"},
|
||||
{Name: "--ssh", Description: "Run an SSH server, permitting access per tailnet admin's declared policy"},
|
||||
{Name: "--help", Description: "Show help message"},
|
||||
{Name: "--every", Description: "If non-zero, do an incremental report with the given frequency"},
|
||||
{Name: "--format", Description: "Output format"},
|
||||
{Name: "--verbose", Description: "Verbose logs"},
|
||||
{Name: "--1", Description: "Only print one IP address"},
|
||||
{Name: "--4", Description: "Only print IPv4 address"},
|
||||
{Name: "--6", Description: "Only print IPv6 address"},
|
||||
{Name: "--active", Description: "Filter output to only peers with active sessions"},
|
||||
{Name: "--browser", Description: "Open a browser in web mode"},
|
||||
{Name: "--listen", Description: "Listen address for web mode; use port 0 for automatic (default 127.0.0.1:8384)"},
|
||||
{Name: "--peers", Description: "Show status of peers"},
|
||||
{Name: "--self", Description: "Show status of local machine"},
|
||||
{Name: "--web", Description: "Run webserver with HTML showing status"},
|
||||
{Name: "--c", Description: "Max number of pings to send"},
|
||||
{Name: "--timeout", Description: "Timeout before giving up on a ping"},
|
||||
{Name: "--tsmp", Description: "Do a TSMP-level ping (through IP + wireguard, but not involving host OS stack)"},
|
||||
{Name: "--until-direct", Description: "Stop once a direct path is established"},
|
||||
{Name: "--daemon", Description: "Also print local node's daemon version"},
|
||||
{Name: "--cgi", Description: "Run as CGI script"},
|
||||
{Name: "--cert-file", Description: "Stdout"},
|
||||
{Name: "--key-file", Description: "Stdout"},
|
||||
{Name: "--serve-demo", Description: "Show help message"},
|
||||
{Name: "--socket", Description: "Path to tailscaled's unix socket"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "terraform",
|
||||
Description: "Workspace",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "show", Description: "Display the current workspace"},
|
||||
{Name: "list", Description: "List the workspace"},
|
||||
{Name: "delete", Description: "Delete the specified workspace"},
|
||||
{Name: "select", Description: "Change the current working workspace"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-lock", Description: "Lock the state file when locking is supported. Defaults to true"},
|
||||
{Name: "-force", Description: "Delete the workspace even if its state is not empty. Defaults to false"},
|
||||
{Name: "-lock-timeout", Description: "Duration to retry a state lock. Default 0s"},
|
||||
{Name: "-input", Description: "Ask for input for variables if not directly set"},
|
||||
{Name: "-no-color", Description: "Disables output with coloring"},
|
||||
{Name: "-help", Description: "Show this help output, or the help for a specified subcommand"},
|
||||
{Name: "-chdir", Description: "Switch to a different working directory before executing the given subcommand"},
|
||||
{Name: "-version", Description: "Show the current Terraform version"},
|
||||
{Name: "-upgrade", Description: "Check whether the configuration is valid"},
|
||||
{Name: "-compact-warnings", Description: "If set, generates a plan to destroy all the known resources"},
|
||||
{Name: "-detailed-exitcode", Description: "Return a detailed exit code when the command exits"},
|
||||
{Name: "-out", Description: "The path to save the generated execution plan"},
|
||||
{Name: "-parallelism", Description: "Update the state prior to checking for differences"},
|
||||
{Name: "-state", Description: "A Resource Address to target. This flag can be used multiple times"},
|
||||
{Name: "-var", Description: "Set variables in the Terraform configuration from a variable file"},
|
||||
{Name: "-update", Description: "Generate a Graphviz graph of the steps in an operation"},
|
||||
{Name: "-allow-missing", Description: "Remove the 'tainted' state from a resource instance"},
|
||||
{Name: "-install-autocomplete", Description: "Install bash/zsh tab completion"},
|
||||
{Name: "-uninstall-autocomplete", Description: "Uninstall bash/zsh tab completion"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "terragrunt",
|
||||
Description: "Workspace",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "show", Description: "Display the current workspace"},
|
||||
{Name: "list", Description: "List the workspace"},
|
||||
{Name: "delete", Description: "Delete the specified workspace"},
|
||||
{Name: "select", Description: "Change the current working workspace"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-lock", Description: "Lock the state file when locking is supported. Defaults to true"},
|
||||
{Name: "-force", Description: "Delete the workspace even if its state is not empty. Defaults to false"},
|
||||
{Name: "-lock-timeout", Description: "Duration to retry a state lock. Default 0s"},
|
||||
{Name: "-input", Description: "Ask for input for variables if not directly set"},
|
||||
{Name: "-no-color", Description: "Disables output with coloring"},
|
||||
{Name: "-h", Description: "Show this help output, or the help for a specified subcommand"},
|
||||
{Name: "-v", Description: "Show the current Terragrunt version"},
|
||||
{Name: "--terragrunt-config", Description: "Path to the Terragrunt config file. Default is terragrunt.hcl"},
|
||||
{Name: "--terragrunt-tfpath", Description: "Path to the Terraform binary. Default is terraform (on PATH)"},
|
||||
{Name: "--terragrunt-no-auto-init", Description: "Don't automatically re-run command in case of transient errors"},
|
||||
{Name: "--terragrunt-non-interactive", Description: "Assume 'yes' for all prompts"},
|
||||
{Name: "--terragrunt-working-dir", Description: "The path to the Terraform templates. Default is current directory"},
|
||||
{Name: "--terragrunt-download-dir", Description: "*-all commands continue processing components even if a dependency fails"},
|
||||
{Name: "--terragrunt-iam-role", Description: "Unix-style glob of directories to exclude when running *-all commands"},
|
||||
{Name: "--terragrunt-include-dir", Description: "Unix-style glob of directories to include when running *-all commands"},
|
||||
{Name: "--terragrunt-strict-include", Description: "*-all commands will be run disregarding the dependencies"},
|
||||
{Name: "--terragrunt-parallelism", Description: "*-all commands parallelism set to at most N modules"},
|
||||
{Name: "--terragrunt-debug", Description: "Write terragrunt-debug.tfvars to working folder to help root-cause issues"},
|
||||
{Name: "--terragrunt-log-level", Description: "Enable check mode in the hclfmt command"},
|
||||
{Name: "--terragrunt-hclfmt-file", Description: "The path to a single hcl file that the hclfmt command should run on"},
|
||||
{Name: "--terragrunt-override-attr", Description: "Prepare your working directory for other commands"},
|
||||
{Name: "-upgrade", Description: "Check whether the configuration is valid"},
|
||||
{Name: "-compact-warnings", Description: "If set, generates a plan to destroy all the known resources"},
|
||||
{Name: "-detailed-exitcode", Description: "Return a detailed exit code when the command exits"},
|
||||
{Name: "-out", Description: "The path to save the generated execution plan"},
|
||||
{Name: "-parallelism", Description: "Update the state prior to checking for differences"},
|
||||
{Name: "-state", Description: "A Resource Address to target. This flag can be used multiple times"},
|
||||
{Name: "-var", Description: "Set variables in the Terraform configuration from a variable file"},
|
||||
{Name: "-update", Description: "Generate a Graphviz graph of the steps in an operation"},
|
||||
{Name: "-allow-missing", Description: "Remove the 'tainted' state from a resource instance"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "tfenv",
|
||||
Description: "Version",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "install", Description: "Install a specific version of Terraform"},
|
||||
{Name: "version", Description: "Possible Terraform Version"},
|
||||
{Name: "use", Description: "Switch to a version to use"},
|
||||
{Name: "uninstall", Description: "Uninstall a specific version of Terraform"},
|
||||
{Name: "list", Description: "List all installed versions"},
|
||||
{Name: "list-remote", Description: "List all installable versions"},
|
||||
{Name: "version-name", Description: "Print current version"},
|
||||
{Name: "init", Description: "Update environment to use tfenv correctly"},
|
||||
},
|
||||
Options: []core.Option{
|
||||
{Name: "-v", Description: "View your current tfenv version"},
|
||||
{Name: "--help", Description: "View commands"},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package ops
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "tfsec",
|
||||
Description: "Terraform workspaces",
|
||||
Options: []core.Option{
|
||||
{Name: "--concise-output", Description: "Reduce the amount of output and no statistics"},
|
||||
{Name: "--config-file", Description: "Config file to use during run"},
|
||||
{Name: "--custom-check-dir", Description: "Explicitly the custom checks dir location"},
|
||||
{Name: "--debug", Description: "Enable debug logging (same as verbose)"},
|
||||
{Name: "-G", Description: "Disable grouping of similar results"},
|
||||
{Name: "-e", Description: "Provide comma-separated list of rule IDs to exclude from run"},
|
||||
{Name: "--exclude-downloaded-modules", Description: "Remove results for downloaded modules in .terraform folder"},
|
||||
{Name: "--exclude-path", Description: "Filter results to return specific checks only (supports comma-delimited input)"},
|
||||
{Name: "--force-all-dirs", Description: "Don't search for tf files, include everything below provided directory"},
|
||||
{Name: "-f", Description: "Help for tfsec"},
|
||||
{Name: "--ignore-hcl-errors", Description: "Stop and report an error if an HCL parse error is encountered"},
|
||||
{Name: "--include-ignored", Description: "Include ignored checks in the result output"},
|
||||
{Name: "--include-passed", Description: "Include passed checks in the result output"},
|
||||
{Name: "--migrate-ignores", Description: "Migrate ignore codes to the new ID structure"},
|
||||
{Name: "-m", Description: "The minimum severity to report. One of CRITICAL, HIGH, MEDIUM, LOW"},
|
||||
{Name: "--no-color", Description: "Disable colored output (American style!)"},
|
||||
{Name: "--no-colour", Description: "Disable coloured output"},
|
||||
{Name: "--no-ignores", Description: "Do not apply any ignore rules - normally ignored checks will fail"},
|
||||
{Name: "--no-module-downloads", Description: "Do not download remote modules"},
|
||||
{Name: "-O", Description: "Print a JSON representation of the input supplied to rego policies"},
|
||||
{Name: "--rego-policy-dir", Description: "Directory to load rego policies from (recursively)"},
|
||||
{Name: "--run-statistics", Description: "View statistics table of current findings"},
|
||||
{Name: "--single-thread", Description: "Run checks using a single thread"},
|
||||
{Name: "-s", Description: "Runs checks but suppresses error code"},
|
||||
{Name: "--tfvars-file", Description: "Update to latest version"},
|
||||
{Name: "--verbose", Description: "Enable verbose logging (same as debug)"},
|
||||
{Name: "-v", Description: "Show version information and exit"},
|
||||
},
|
||||
})
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user