feat(commands): more commands (#30)

- I wrote a scripts to copy and generate all commands missing in iris
from fig repo: https://github.com/withfig/autocomplete
- Add a new script to generate commands docs about which commands
currently are inside commands folder
377d4aac663590e504fe39a92eb4dac4cbd333b2
- Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
This commit is contained in:
VERSE
2026-07-04 22:08:36 +07:00
committed by GitHub
parent ffa336196a
commit 2ef3c90819
482 changed files with 22971 additions and 5 deletions
+26
View File
@@ -0,0 +1,26 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "asar",
Description: "A simple extensive tar-like archive format with indexing",
Subcommands: []core.Subcommand{
{Name: "pack", Description: "Create asar archive"},
{Name: "directory", Description: "The directory you want to archive"},
{Name: "output", Description: "The name of the output file"},
{Name: "list", Description: "List files of asar archive"},
{Name: "archive", Description: "The archive file"},
{Name: "extract-file", Description: "Extract one file from archive"},
{Name: "filename", Description: "The name of the file you want to extract"},
{Name: "extract", Description: "Extract archive"},
},
Options: []core.Option{
{Name: "--help", Description: "Show help for asar"},
{Name: "--V", Description: "Output the version number"},
},
})
}
+41
View File
@@ -0,0 +1,41 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "astro",
Description: "Add an integration",
Subcommands: []core.Subcommand{
{Name: "add", Description: "Add an integration"},
{Name: "build", Description: "Build your project and write it to disk"},
{Name: "check", Description: "Check your project for errors"},
{Name: "dev", Description: "Starts the development server"},
{Name: "docs", Description: "Open documentation in your web browser"},
{Name: "preview", Description: "Preview your build locally"},
{Name: "sync", Description: "Generate content collection types"},
{Name: "telemetry", Description: "Configure telemetry settings"},
{Name: "enable", Description: "Enable anonymous data collection"},
{Name: "disable", Description: "Disable anonymous data collection"},
{Name: "reset", Description: "Reset anonymous data collection settings"},
},
Options: []core.Option{
{Name: "--yes", Description: "Accept all prompts"},
{Name: "--drafts", Description: "Include Markdown draft pages in the build"},
{Name: "--watch", Description: "Watch Astro files for changes and re-run checks"},
{Name: "--port", Description: "Specify a port to listen on"},
{Name: "--host", Description: "Listen on all addresses, including LAN and public addresses"},
{Name: "--open", Description: "Automatically open the app in the browser on server start"},
{Name: "--config", Description: "Specify your config file"},
{Name: "--root", Description: "Specify your project root folder"},
{Name: "--site", Description: "Specify your project site"},
{Name: "--base", Description: "Specify your project base"},
{Name: "--verbose", Description: "Enable verbose logging"},
{Name: "--silent", Description: "Disable all logging"},
{Name: "--version", Description: "Show the version number and exit"},
{Name: "--help", Description: "Show help for astro"},
},
})
}
+46
View File
@@ -0,0 +1,46 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "babel",
Description: "A comma-separated list of preset names",
Options: []core.Option{
{Name: "-f", Description: "A comma-separated list of preset names"},
{Name: "--plugins", Description: "A comma-separated list of plugin names"},
{Name: "--config-file", Description: "Path to a .babelrc file to use"},
{Name: "--env-name", Description: "The project-root resolution mode"},
{Name: "--source-type", Description: "Whether or not to look up .babelrc and .babelignore files"},
{Name: "--ignore", Description: "List of glob paths to **not** compile"},
{Name: "--only", Description: "List of glob paths to **only** compile"},
{Name: "--no-highlight-code", Description: "Enable or disable ANSI syntax highlighting of code frames"},
{Name: "--no-comments", Description: "Write comments to generated output"},
{Name: "--retain-lines", Description: "Retain line numbers. This will result in really ugly code"},
{Name: "--compact", Description: "Do not include superfluous whitespace characters and line terminators"},
{Name: "--minified", Description: "Save as many bytes when printing. (false by default)"},
{Name: "--auxiliary-comment-before", Description: "Print a comment before any injected non-user code"},
{Name: "--auxiliary-comment-after", Description: "Print a comment after any injected non-user code"},
{Name: "-s", Description: "Set `file` on returned source map"},
{Name: "--source-file-name", Description: "Set `sources[0]` on returned source map"},
{Name: "--source-root", Description: "The root from which all sources are relative"},
{Name: "-x", Description: "Preserve the file extensions of the input files"},
{Name: "-w", Description: "Recompile files on changes"},
{Name: "--skip-initial-build", Description: "Do not compile files before watching"},
{Name: "-o", Description: "Compile all input files into a single file"},
{Name: "-d", Description: "Compile an input directory of modules into an output directory"},
{Name: "--relative", Description: "Compile into an output directory relative to input directory or file"},
{Name: "-D", Description: "When compiling a directory copy over non-compilable files"},
{Name: "--include-dotfiles", Description: "Include dotfiles when compiling and copying non-compilable files"},
{Name: "--no-copy-ignored", Description: "Exclude ignored files when copying non-compilable files"},
{Name: "--verbose", Description: "Log everything. This option conflicts with --quiet"},
{Name: "--quiet", Description: "Don't log anything. This option conflicts with --verbose"},
{Name: "--delete-dir-on-start", Description: "Delete the out directory before compilation"},
{Name: "--out-file-extension", Description: "Use a specific extension for the output files"},
{Name: "-V", Description: "Output the version number"},
{Name: "-h", Description: "Output usage information"},
},
})
}
+49
View File
@@ -0,0 +1,49 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "blitz",
Description: "Show help for command",
Subcommands: []core.Subcommand{
{Name: "build", Description: "Creates a production build"},
{Name: "codegen", Description: "Generates Routes Manifest"},
{Name: "console", Description: "Run the Blitz console REPL"},
{Name: "db", Description: "Run database commands"},
{Name: "command", Description: "Run specific db command"},
{Name: "dev", Description: "Start a development server"},
{Name: "export", Description: "Exports a static page"},
{Name: "generate", Description: "Generate new files for your Blitz project"},
{Name: "type", Description: "What files to generate"},
{Name: "help", Description: "Display help for blitz"},
{Name: "install", Description: "Install a Recipe into your Blitz app"},
{Name: "new", Description: "Create a new Blitz project"},
{Name: "name", Description: "Name of your new project"},
{Name: "prisma", Description: "Loads env variables then proxies all args to Prisma CLI"},
{Name: "routes", Description: "Display all Blitz URL Routes"},
{Name: "start", Description: "Start the production server"},
{Name: "autocomplete", Description: "Display autocomplete installation instructions"},
{Name: "shell", Description: "Shell type"},
},
Options: []core.Option{
{Name: "--help", Description: "Show help for command"},
{Name: "-p", Description: "Set port number"},
{Name: "-H", Description: "Set server hostname"},
{Name: "--inspect", Description: "Enable the Node.js inspector"},
{Name: "--no-incremental-build", Description: "Disable incremental build and start from a fresh cache"},
{Name: "-o", Description: "Set the output dir (defaults to 'out')"},
{Name: "-c", Description: "Show what files will be created without writing them to disk"},
{Name: "--all", Description: "See all commands in CLI"},
{Name: "--npm", Description: "Use npm as the package manager"},
{Name: "--yarn", Description: "Use yarn as the package manager"},
{Name: "--form", Description: "A form library"},
{Name: "-d", Description: "Show what files will be created without writing them to disk"},
{Name: "--no-git", Description: "Skip git repository creation"},
{Name: "--skip-upgrade", Description: "Skip blitz upgrade if outdated"},
{Name: "-r", Description: "Refresh cache (ignores displaying instructions)"},
},
})
}
+61
View File
@@ -0,0 +1,61 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "browser-sync",
Description: "Keep multiple browsers & devices in sync when building websites",
Subcommands: []core.Subcommand{
{Name: "start", Description: "Start Browsersync"},
{Name: "init", Description: "Create a configuration file"},
{Name: "reload", Description: "Send a reload event over HTTP protocol"},
{Name: "recipe", Description: "Generate the files for a recipe"},
{Name: "ls", Description: "List recipes"},
},
Options: []core.Option{
{Name: "--version", Description: "Show version number"},
{Name: "--help", Description: "Show help"},
{Name: "-s", Description: "Run a Local server (uses your cwd as the web root)"},
{Name: "--cwd", Description: "Working directory"},
{Name: "--json", Description: "If true, certain logs will output as json only"},
{Name: "--serveStatic", Description: "Directories to serve static files from"},
{Name: "--port", Description: "Specify a port to use"},
{Name: "-p", Description: "Proxy an existing server"},
{Name: "--ws", Description: "Proxy mode only - enable websocket proxying"},
{Name: "-b", Description: "Choose which browser should be auto-opened"},
{Name: "-w", Description: "Watch files"},
{Name: "--ignore", Description: "Ignore patterns for file watchers"},
{Name: "-f", Description: "File paths to watch"},
{Name: "--index", Description: "Specify which file should be used as the index page"},
{Name: "--plugins", Description: "Load Browsersync plugins"},
{Name: "--extensions", Description: "Specify file extension fallbacks"},
{Name: "--startPath", Description: "Specify the start path for the opened browser"},
{Name: "--single", Description: "If true, the connect-history-api-fallback middleware will be added"},
{Name: "--https", Description: "Enable SSL for local development"},
{Name: "--directory", Description: "Show a directory listing for the server"},
{Name: "--xip", Description: "Use xip.io domain routing"},
{Name: "--tunnel", Description: "Use a public URL"},
{Name: "--open", Description: "Choose which URL is auto-opened (local, external or tunnel), or provide a url"},
{Name: "--cors", Description: "Add Access Control headers to every request"},
{Name: "-c", Description: "Specify a path to a configuration file"},
{Name: "--host", Description: "Specify a hostname to use"},
{Name: "--listen", Description: "Specify a hostname bind to (this will prevent binding to all interfaces)"},
{Name: "--logLevel", Description: "Set the logger output level (silent, info or debug)"},
{Name: "--reload-delay", Description: "Time in milliseconds to delay the reload event following file changes"},
{Name: "--reload-debounce", Description: "Specify a port for the UI to use"},
{Name: "--watchEvents", Description: "Specify which file events to respond to"},
{Name: "--no-notify", Description: "Disable the notify element in browsers"},
{Name: "--no-open", Description: "Don't open a new browser window"},
{Name: "--no-snippet", Description: "Disable the snippet injection"},
{Name: "--no-online", Description: "Force offline usage"},
{Name: "--no-ui", Description: "Don't start the user interface"},
{Name: "--no-ghost-mode", Description: "Disable Ghost Mode"},
{Name: "--no-inject-changes", Description: "Reload on every file change"},
{Name: "--no-reload-on-restart", Description: "Don't auto-reload all browsers following a restart"},
{Name: "-u", Description: "Provide the full URL to the running browsersync instance"},
},
})
}
+17
View File
@@ -0,0 +1,17 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "build-storybook",
Description: "Storybook build CLI tools",
Options: []core.Option{
{Name: "-o", Description: "Directory where to store built files"},
{Name: "-w", Description: "Enables watch mode"},
{Name: "--loglevel", Description: "Controls level of logging during build"},
},
})
}
+58
View File
@@ -0,0 +1,58 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "cordova",
Description: "Print out the version of your cordova-cli install",
Subcommands: []core.Subcommand{
{Name: "create", Description: "Create a project"},
{Name: "help", Description: "Get help for a command"},
{Name: "telemetry", Description: "Turn telemetry collection on or off"},
{Name: "on", Description: "Turn telemetry collection on"},
{Name: "off", Description: "Turn telemetry collection off"},
{Name: "config", Description: "Set, get, delete, edit, and list global cordova options"},
{Name: "ls", Description: "Lists contents of config file"},
{Name: "edit", Description: "Opens the config file in an editor"},
{Name: "get", Description: "Echo the config value to stdout"},
{Name: "delete", Description: "Deletes the key from all configuration files"},
{Name: "info", Description: "Generate project information"},
{Name: "requirements", Description: "Checks and print out all the installation requirements for platforms specified"},
{Name: "platform", Description: "Platform name(s) to build. If not specified, all platforms are built"},
{Name: "add", Description: "Add specified platforms"},
{Name: "remove", Description: "Remove specified platforms"},
{Name: "update", Description: "Update specified platforms"},
{Name: "list", Description: "List all installed and available platforms"},
{Name: "plugin", Description: "Manage project plugins"},
{Name: "prepare", Description: "Copy files into platform(s) for building"},
{Name: "compile", Description: "Compile project for platform(s)"},
{Name: "build", Description: "Build project for platform(s) (prepare + compile)"},
{Name: "clean", Description: "Cleanup project from build artifacts"},
{Name: "run", Description: "Run project (including prepare && compile)"},
{Name: "serve", Description: "Run project with a local webserver (including prepare)"},
{Name: "port", Description: "Port to use for local web server"},
},
Options: []core.Option{
{Name: "-d", Description: "Print out the version of your cordova-cli install"},
{Name: "--no-update-notifier", Description: "Will disable updates check"},
{Name: "--nohooks", Description: "Suppress executing hooks (taking RegExp hook patterns as parameters)"},
{Name: "--no-telemetry", Description: "Disable telemetry collection for the current command"},
{Name: "--template", Description: "Use a custom template located locally, in NPM, or GitHub"},
{Name: "--nosave", Description: "Do not save"},
{Name: "--link", Description: "Remove specified platforms"},
{Name: "--save", Description: "Updates the version specified in **config.xml**"},
{Name: "--searchpath", Description: "Don't search the registry for plugins"},
{Name: "--debug", Description: "Build it for a device"},
{Name: "--emulator", Description: "Platform name(s) to build. If not specified, all platforms are built"},
{Name: "--list", Description: "Deploy a debug build. This is the default behavior unless --release is specified"},
{Name: "--release", Description: "Deploy a release build"},
{Name: "--noprepare", Description: "Skip preparing (available in Cordova v6.2 or later)"},
{Name: "--nobuild", Description: "Skip building"},
{Name: "--device", Description: "Deploy to a device"},
{Name: "--target", Description: "Run project with a local webserver (including prepare)"},
},
})
}
+19
View File
@@ -0,0 +1,19 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "create-completion-spec",
Description: "Setup fig folder and create spec with the given name",
Subcommands: []core.Subcommand{
{Name: "help", Description: "Display help for command"},
},
Options: []core.Option{
{Name: "--here", Description: "Set if the spec should be created in the current folder"},
{Name: "-h", Description: "Display help for command"},
},
})
}
+19
View File
@@ -0,0 +1,19 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "create-next-app",
Description: "Output the version number",
Options: []core.Option{
{Name: "-V", Description: "Output the version number"},
{Name: "--ts", Description: "Initialize as a TypeScript project"},
{Name: "--use-npm", Description: "Explicitly tell the CLI to bootstrap the app using npm"},
{Name: "--use-pnpm", Description: "Explicitly tell the CLI to bootstrap the app using pnpm"},
{Name: "-e", Description: "Display help for command"},
},
})
}
+22
View File
@@ -0,0 +1,22 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "create-nx-workspace",
Description: "The name of the workspace",
Options: []core.Option{
{Name: "--name", Description: "Workspace name (e.g., org name)"},
{Name: "--preset", Description: "Empty [an empty workspace with a layout that works best for building apps]"},
{Name: "--appName", Description: "The name of the application created by some presets"},
{Name: "--cli", Description: "CSS"},
{Name: "--interactive", Description: "Enable interactive mode when using presets (boolean)"},
{Name: "--packageManager", Description: "Package manager to use (npm, yarn, pnpm)"},
{Name: "--nx-cloud", Description: "Use Nx Cloud (boolean)"},
{Name: "--help", Description: "Show help for create-nx-workspace"},
},
})
}
+19
View File
@@ -0,0 +1,19 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "create-react-app",
Description: "Creates a new React project",
Options: []core.Option{
{Name: "--template", Description: "Use npm to install dependencies (default when Yarn is not installed)"},
{Name: "--use-pnp", Description: "Use Yarn Plug'n'Play to create the app"},
{Name: "--scripts-version", Description: "Print additional logs"},
{Name: "-h", Description: "Output usage information"},
{Name: "-V", Description: "Output the version number"},
},
})
}
+20
View File
@@ -0,0 +1,20 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "create-react-native-app",
Description: "Creates a new React Native project",
Options: []core.Option{
{Name: "--template", Description: "The path inside of a GitHub repo where the example lives"},
{Name: "--yes", Description: "Use the default options for creating a project"},
{Name: "--no-install", Description: "Skip installing npm packages or CocoaPods"},
{Name: "--use-npm", Description: "Use npm to install dependencies. (default when Yarn is not installed)"},
{Name: "-h", Description: "Output usage information"},
{Name: "-V", Description: "Output the version number"},
},
})
}
+23
View File
@@ -0,0 +1,23 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "create-redwood-app",
Description: "Name of your Redwood project",
Options: []core.Option{
{Name: "--help", Description: "Show help"},
{Name: "--typescript", Description: "Generate a TypeScript project"},
{Name: "--overwrite", Description: "Create even if target directory isn't empty"},
{Name: "--telemetry", Description: "Enables sending telemetry events for this create"},
{Name: "--git-init", Description: "Initialize a git repository"},
{Name: "--commit-message", Description: "Commit message for the initial commit"},
{Name: "--yes", Description: "Skip prompts and use defaults"},
{Name: "--version", Description: "Show version number"},
{Name: "--yarn-install", Description: "Install node modules. Skip via --no-yarn-install"},
},
})
}
+16
View File
@@ -0,0 +1,16 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "create-remix",
Description: "Display help for command",
Options: []core.Option{
{Name: "-h", Description: "Display help for command"},
{Name: "-v", Description: "Display version for command"},
},
})
}
+22
View File
@@ -0,0 +1,22 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "create-t3-app",
Description: "The name of the application, as well as the name of the directory to create",
Options: []core.Option{
{Name: "--noGit", Description: "Boolean value if we're running in CI (default: false)"},
{Name: "--tailwind", Description: "Install Tailwind CSS"},
{Name: "--nextAuth", Description: "Install NextAuth.js"},
{Name: "--prisma", Description: "Install Prisma"},
{Name: "--trpc", Description: "Install tRPC"},
{Name: "-i", Description: "Explicitly tell the CLI to use a custom import alias"},
{Name: "-v", Description: "Display the version number"},
{Name: "--help", Description: "Display help for command"},
},
})
}
+12
View File
@@ -0,0 +1,12 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "create-video",
Description: "CLI used to create remotion video project",
})
}
+12
View File
@@ -0,0 +1,12 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "create-vite",
Description: "Create a new project powered by Vite",
})
}
+18
View File
@@ -0,0 +1,18 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "create-web3-frontend",
Description: "Quickly create a Next.js project with wagmi and TailwindCSS ready to go",
Options: []core.Option{
{Name: "--ts", Description: "Initialize as a TypeScript project"},
{Name: "--use-npm", Description: "Explicitly tell the CLI to bootstrap the app using npm"},
{Name: "--use-pnpm", Description: "Explicitly tell the CLI to bootstrap the app using pnpm"},
{Name: "-h", Description: "Display help for command"},
},
})
}
+80
View File
@@ -0,0 +1,80 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "deno",
Description: "A modern JavaScript and TypeScript runtime",
Subcommands: []core.Subcommand{
{Name: "bench", Description: "Run benchmarks"},
{Name: "bundle", Description: "Bundle module and dependencies into single file"},
{Name: "cache", Description: "Cache the dependencies"},
{Name: "check", Description: "Type-check the dependencies"},
{Name: "compile", Description: "UNSTABLE: Compile the script into a self contained executable"},
{Name: "completions", Description: "Generate shell completions"},
{Name: "coverage", Description: "Print coverage reports"},
{Name: "doc", Description: "Show documentation for a module"},
{Name: "eval", Description: "Eval script"},
{Name: "fmt", Description: "Format source files"},
{Name: "init", Description: "Initialize a new project"},
{Name: "info", Description: "Show info about cache or info related to source file"},
{Name: "install", Description: "Install script as an executable"},
{Name: "uninstall", Description: "Uninstall a script previously installed with deno install"},
{Name: "lsp", Description: "Start the language server"},
{Name: "lint", Description: "Lint source files"},
{Name: "repl", Description: "Read Eval Print Loop"},
{Name: "run", Description: "Run a JavaScript or TypeScript program"},
{Name: "task", Description: "Run a task defined in the configuration file"},
{Name: "test", Description: "Run tests"},
{Name: "types", Description: "Print runtime TypeScript declarations"},
{Name: "upgrade", Description: "Upgrade deno executable to given version"},
{Name: "vendor", Description: "Vendor remote modules into a local directory"},
{Name: "help", Description: "Print this message or the help of the given subcommand(s)"},
},
Options: []core.Option{
{Name: "--import-map", Description: "Load import map file"},
{Name: "-c", Description: "Specify the configuration file"},
{Name: "--no-check", Description: "Skip type-checking modules"},
{Name: "--check", Description: "Type-check modules"},
{Name: "-r", Description: "Reload source code cache (recompile TypeScript)"},
{Name: "--lock", Description: "Check the specified lock file"},
{Name: "--cert", Description: "Load certificate authority from PEM encoded file"},
{Name: "--allow-read", Description: "Allow file system read access"},
{Name: "--allow-write", Description: "Allow file system write access"},
{Name: "--allow-net", Description: "Allow network access"},
{Name: "--allow-env", Description: "Allow environment access"},
{Name: "--allow-run", Description: "Allow running subprocesses"},
{Name: "--allow-ffi", Description: "Allow loading dynamic libraries"},
{Name: "--location", Description: "Value of 'globalThis.location' used by some web APIs"},
{Name: "--v8-flags", Description: "Set V8 command line options"},
{Name: "--seed", Description: "Set the random number generator seed"},
{Name: "--ignore", Description: "Ignore files"},
{Name: "--filter", Description: "Run benchmarks with this string or pattern in the bench name"},
{Name: "-L", Description: "Set log level"},
{Name: "--no-remote", Description: "Do not resolve remote modules"},
{Name: "--no-config", Description: "Disable automatic loading of the configuration file"},
{Name: "--lock-write", Description: "Write lock file (use with --lock)"},
{Name: "--allow-hrtime", Description: "Allow high resolution time measurement"},
{Name: "-A", Description: "Allow all permissions"},
{Name: "--prompt", Description: "Deprecated: Fallback to prompt if required permission wasn't passed"},
{Name: "--no-prompt", Description: "Always throw if required permission wasn't passed"},
{Name: "--cached-only", Description: "Require that remote dependencies are already cached"},
{Name: "--compat", Description: "UNSTABLE: Node compatibility mode"},
{Name: "--watch", Description: "Watch for file changes and restart automatically"},
{Name: "--no-clear-screen", Description: "Do not clear terminal screen when under watch mode"},
{Name: "-h", Description: "Print help information"},
{Name: "--unstable", Description: "Enable unstable features and APIs"},
{Name: "-q", Description: "Suppress diagnostic output"},
{Name: "--remote", Description: "Type-check all modules, including remote"},
{Name: "-o", Description: "Output file (defaults to $PWD/<inferred-name>)"},
{Name: "--target", Description: "Target OS architecture"},
{Name: "--include", Description: "Include source files in the report"},
{Name: "--exclude", Description: "Exclude source files from the report"},
{Name: "--output", Description: "Output file (defaults to stdout) for lcov"},
{Name: "--lcov", Description: "Output coverage report in lcov format"},
},
})
}
+18
View File
@@ -0,0 +1,18 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "dotenv",
Description: "Loads environment variables from .env",
Options: []core.Option{
{Name: "-f", Description: "List of env files to parse"},
{Name: "-h", Description: "Display help"},
{Name: "-v", Description: "Show version"},
{Name: "-t", Description: "Create a template env file"},
},
})
}
+18
View File
@@ -0,0 +1,18 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "electron",
Description: "Build cross platform desktop apps with JavaScript, HTML and CSS",
Options: []core.Option{
{Name: "-i", Description: "Open a REPL to the main process"},
{Name: "-r", Description: "Module to preload"},
{Name: "-v", Description: "Print the version"},
{Name: "-a", Description: "Print the Node ABI version"},
},
})
}
+32
View File
@@ -0,0 +1,32 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "elm",
Description: "Fig spec for the Elm language cli",
Subcommands: []core.Subcommand{
{Name: "reactor", Description: "Start an Elm development server"},
{Name: "port", Description: "The port number"},
{Name: "package", Description: "The name of the package to install"},
{Name: "make", Description: "Build your Elm code"},
{Name: "output file", Description: "Name and location of output"},
{Name: "output json", Description: "Name and location of output"},
{Name: "bump", Description: "Bump the version of your package"},
{Name: "diff", Description: "See what changed between versions of a package"},
},
Options: []core.Option{
{Name: "--help", Description: "Show help for elm init"},
{Name: "--no-colors", Description: "Turn off colors in the repl"},
{Name: "--interpreter", Description: "Path to an alternate JS interpreter, such as Node or Deno"},
{Name: "--port", Description: "The port to access the development server on"},
{Name: "--debug", Description: "Compile in debug mode"},
{Name: "--optimize", Description: "Compile in production mode"},
{Name: "--output", Description: "Where to output the compiled code"},
{Name: "--docs", Description: "Generate a JSON file of documentation"},
},
})
}
+20
View File
@@ -0,0 +1,20 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "elm-format",
Description: "Format your code in the Elm idiomatic way",
Options: []core.Option{
{Name: "--help", Description: "Show help for elm-format"},
{Name: "--output", Description: "Write output to FILE instead of overwriting the given source file"},
{Name: "--yes", Description: "Reply 'yes' to all automated prompts"},
{Name: "--validate", Description: "Check if files are formatted without changing them"},
{Name: "--stdin", Description: "Read from stdin, output to stdout"},
{Name: "--elm-version", Description: "The Elm version of the source files being formatted"},
},
})
}
+31
View File
@@ -0,0 +1,31 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "elm-json",
Description: "Deal with your elm.json",
Subcommands: []core.Subcommand{
{Name: "help", Description: "Prints help information or the help of the given subcommand(s)"},
{Name: "install", Description: "Install a package"},
{Name: "PACKAGE", Description: "Package to install, e.g. elm/core or elm/core@1.0.2 or elm/core@1"},
{Name: "new", Description: "Create a new elm.json file"},
{Name: "tree", Description: "List entire dependency graph as a tree"},
{Name: "uninstall", Description: "Uninstall a package"},
{Name: "upgrade", Description: "Bring your dependencies up to date"},
{Name: "INPUT", Description: "The elm.json file to upgrade [default: elm.json]"},
},
Options: []core.Option{
{Name: "--help", Description: "Prints help information"},
{Name: "--test", Description: "Install as a test-dependency"},
{Name: "--version", Description: "Prints version information"},
{Name: "--yes", Description: "Package to install, e.g. elm/core or elm/core@1.0.2 or elm/core@1"},
{Name: "--unsafe", Description: "Allow major versions bumps"},
{Name: "--offline", Description: "Enable offline mode, which means no HTTP traffic will happen"},
{Name: "--verbose", Description: "Sets the level of verbosity"},
},
})
}
+40
View File
@@ -0,0 +1,40 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "elm-review",
Description: "Prints a single JSON object",
Subcommands: []core.Subcommand{
{Name: "init", Description: "Initialize Elm Review in this directory"},
{Name: "suppress", Description: "Generate suppression files for rules that report many errors"},
{Name: "new-package", Description: "Creates an new project aimed to contain rules and to be published later"},
{Name: "new-rule", Description: "Adds a new rule to your review configuration or review package"},
},
Options: []core.Option{
{Name: "--help", Description: "Show help for elm-review init"},
{Name: "--config", Description: "Specify the path to the elm compiler"},
{Name: "--check-after-tests", Description: "Checks whether there are uncommitted suppression files"},
{Name: "--unsuppress", Description: "Include suppressed errors in the error report for all rules"},
{Name: "--unsuppress-rules", Description: "Include suppressed errors in the error report for all rules"},
{Name: "--compiler", Description: "Specify the path to the elm compiler"},
{Name: "--rules", Description: "Run with a subsection of the rules in the configuration"},
{Name: "--watch", Description: "Re-run elm-review automatically when your project or configuration changes"},
{Name: "--watch-code", Description: "Re-run elm-review automatically when your project changes"},
{Name: "--elmjson", Description: "Specify the path to the elm.json file of the project"},
{Name: "--template", Description: "Use the review configuration from a GitHub repository"},
{Name: "--version", Description: "Print the version of the elm-review CLI"},
{Name: "--debug", Description: "Add helpful information to debug your configuration or rules"},
{Name: "--report", Description: "Error reports will be in JSON format"},
{Name: "--no-details", Description: "Hide the details from error reports for a more compact view"},
{Name: "--ignore-dirs", Description: "Ignore the reports of all rules for the specified directories"},
{Name: "--ignore-files", Description: "Ignore the reports of all rules for the specified files"},
{Name: "--fix", Description: "Specify the path to elm-format"},
{Name: "--fix-limit", Description: "Limit the number of fixes applied in a single batch to N"},
{Name: "--extract", Description: "Disable colors in the output"},
},
})
}
+54
View File
@@ -0,0 +1,54 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "esbuild",
Description: "An extremely fast JavaScript bundler",
Options: []core.Option{
{Name: "--bundle", Description: "Bundle all dependencies into the output files"},
{Name: "--define", Description: "Replace variable names with a literal value, eg. --define:DEBUG=true"},
{Name: "--external", Description: "Exclude modules from the build"},
{Name: "--format", Description: "The output format"},
{Name: "--loader", Description: "For a given file extension, specify a loader"},
{Name: "--minify", Description: "Minify the output (sets all the --minify-* options)"},
{Name: "--outdir", Description: "The output directory for multiple entrypoints"},
{Name: "--outfile", Description: "The output file for one entrypoint"},
{Name: "--platform", Description: "The platform target"},
{Name: "--serve", Description: "Start a local HTTP server on this host:port"},
{Name: "--splitting", Description: "Enable code splitting"},
{Name: "--target", Description: "Rebuild on file system changes"},
{Name: "--allow-overwrite", Description: "Allow output files to overwrite input files"},
{Name: "--analyze", Description: "Print a report about the contents of the bundle"},
{Name: "--asset-names", Description: "Path template for 'file' loader files"},
{Name: "--banner", Description: "Text to be prepended to each output file type"},
{Name: "--charset", Description: "Use UTF-8 instead of escaped codepoints in ASCII"},
{Name: "--chunk-names", Description: "Path template to use for code splitting chunks"},
{Name: "--color", Description: "Force use of terminal colors"},
{Name: "--drop", Description: "Remove certain constructs"},
{Name: "--entry-names", Description: "Path template to use for entry point output paths"},
{Name: "--footer", Description: "Text to be appended to each file type"},
{Name: "--global-name", Description: "The name of the global if using --format=iife"},
{Name: "--ignore-annotations", Description: "Enable this to work with packages that have incorrect tree-shaking annotations"},
{Name: "--inject", Description: "Import the file into all input files, automatically replace matching globals"},
{Name: "--jsx-factory", Description: "What to use for the JSX factory"},
{Name: "--jsx-fragment", Description: "What to use for the JS Fragment factory"},
{Name: "--jsx", Description: "Preserve JSX instead of transforming"},
{Name: "--jsx-dev", Description: "Toggles development mode for the automatic runtime"},
{Name: "--jsx-import-source", Description: "Overrides the root import for runtime functions (default: react)"},
{Name: "--keep-names", Description: "Preserve 'name' on functions and classes"},
{Name: "--legal-comments", Description: "Where to place legal comments"},
{Name: "--log-level", Description: "Set the log level"},
{Name: "--log-limit", Description: "Maximum message count, 0 to disable"},
{Name: "--log-override", Description: "For a particular identifier, set the log level"},
{Name: "--main-fields", Description: "Override the main file order in package.json"},
{Name: "--mangle-cache", Description: "Save 'mangle props' decisions to a JSON file"},
{Name: "--mangle-props", Description: "Rename all properties matching a regular expression"},
{Name: "--mangle-quoted", Description: "Enable mangling (renaming) quoted properties"},
{Name: "--metafile", Description: "Write metadata about the build to a JSON file"},
},
})
}
+49
View File
@@ -0,0 +1,49 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "eslint",
Description: "Pluggable JavaScript linter",
Options: []core.Option{
{Name: "--no-eslintrc", Description: "Disable use of configuration from .eslintrc.*"},
{Name: "-c", Description: "Use this configuration, overriding .eslintrc.* config options if present"},
{Name: "--env", Description: "Specify environments"},
{Name: "--ext", Description: "Specify JavaScript file extensions"},
{Name: "--global", Description: "Define global variables"},
{Name: "--parser", Description: "Specify the parser to be used"},
{Name: "--parser-options", Description: "Specify parser options"},
{Name: "--resolve-plugins-relative-to", Description: "A folder where plugins should be resolved from"},
{Name: "--rulesdir", Description: "Use additional rules from this directory"},
{Name: "--plugin", Description: "Specify plugins"},
{Name: "--rule", Description: "Specify rules"},
{Name: "--fix", Description: "Automatically fix problems"},
{Name: "--fix-dry-run", Description: "Automatically fix problems without saving the changes to the file system"},
{Name: "--fix-type", Description: "Specify the types of fixes to apply"},
{Name: "--ignore-path", Description: "Specify path of ignore file"},
{Name: "--no-ignore", Description: "Disable use of ignore files and patterns"},
{Name: "--ignore-pattern", Description: "Pattern of files to ignore (in addition to those in .eslintignore)"},
{Name: "--stdin", Description: "Lint code provided on <STDIN>"},
{Name: "--stdin-filename", Description: "Specify filename to process STDIN as"},
{Name: "--quiet", Description: "Report errors only"},
{Name: "--max-warnings", Description: "Number of warnings to trigger nonzero exit code"},
{Name: "-o", Description: "Specify file to write report to"},
{Name: "-f", Description: "Use a specific output format"},
{Name: "--color", Description: "Force enabling of color"},
{Name: "--no-color", Description: "Force disabling of color"},
{Name: "--no-inline-config", Description: "Prevent comments from changing config or rules"},
{Name: "--cache", Description: "Only check changed files"},
{Name: "--cache-location", Description: "Path to the cache file or directory"},
{Name: "--cache-strategy", Description: "Strategy to use for detecting changed files"},
{Name: "--init", Description: "Run config initialization wizard"},
{Name: "--env-info", Description: "Output execution environment information"},
{Name: "--debug", Description: "Output debugging information"},
{Name: "-h", Description: "Show help"},
{Name: "-v", Description: "Output the version number"},
{Name: "--print-config", Description: "Print the configuration for the give file"},
},
})
}
+54
View File
@@ -0,0 +1,54 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "expo",
Description: "Tools for creating, running, and deploying Universal Expo and React Native apps",
Options: []core.Option{
{Name: "-h", Description: "Output usage information"},
{Name: "-V", Description: "Output the version number"},
{Name: "-u", Description: "Username"},
{Name: "-p", Description: "Password"},
{Name: "--otp", Description: "One-time password from your 2FA device"},
{Name: "-c", Description: "Clear all credentials stored on Expo servers"},
{Name: "--clear-dist-cert", Description: "Remove Distribution Certificate stored on Expo servers"},
{Name: "--clear-push-key", Description: "Remove Push Notifications Key stored on Expo servers"},
{Name: "--clear-push-cert", Description: "Remove Provisioning Profile stored on Expo servers"},
{Name: "-r", Description: "Type of build: [archive|simulator]"},
{Name: "--release-channel", Description: "Pull from specified release channel"},
{Name: "--no-publish", Description: "Disable automatic publishing before building"},
{Name: "--no-wait", Description: "Exit immediately after scheduling build"},
{Name: "--team-id", Description: "Apple Team ID"},
{Name: "--dist-p12-path", Description: "Push Key ID (ex: 123AB4C56D)"},
{Name: "--push-p8-path", Description: "Path to your Push Key .p8 file"},
{Name: "--provisioning-profile-path", Description: "Path to your Provisioning Profile"},
{Name: "--public-url", Description: "The URL of an externally hosted manifest (for self-hosted apps)"},
{Name: "--skip-credentials-check", Description: "Skip checking credentials"},
{Name: "--skip-workflow-check", Description: "Skip warning about build service bare workflow limitations"},
{Name: "--config", Description: "Deprecated: Use app.config.js to switch config files instead"},
{Name: "--keystore-path", Description: "Path to your Keystore: *.jks"},
{Name: "--keystore-alias", Description: "Keystore Alias"},
{Name: "--generate-keystore", Description: "[deprecated] Generate Keystore if one does not exist"},
{Name: "-t", Description: "Type of build: [app-bundle|apk]"},
{Name: "--no-pwa", Description: "Turns dev flag on before bundling"},
{Name: "--apple-id", Description: "Deprecated: Use app.config.js to switch config files instead"},
{Name: "--latest", Description: "Install the latest version of Expo Go, ignoring the current project version"},
{Name: "-d", Description: "Device name to install the client on"},
{Name: "-f", Description: "Allows replacing existing files"},
{Name: "--offline", Description: "Allows this command to run while offline"},
{Name: "--no-install", Description: "Skip installing npm packages and CocoaPods"},
{Name: "--npm", Description: "Use npm to install dependencies. (default when Yarn is not installed)"},
{Name: "--clean", Description: "Delete the native folders and regenerate them before applying changes"},
{Name: "--template", Description: "Platforms to sync: ios, android, all. Default: all"},
{Name: "--skip-dependency-update", Description: "Preserves versions of listed packages in package.json (comma separated list)"},
{Name: "--dest", Description: "Destination directory for assets"},
{Name: "--platform", Description: "Detached project platform"},
{Name: "--skipXcodeConfig", Description: "[iOS only] if true, do not configure Xcode project"},
{Name: "--output-dir", Description: "The directory to export the static files to"},
},
})
}
+54
View File
@@ -0,0 +1,54 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "expo-cli",
Description: "Tools for creating, running, and deploying Universal Expo and React Native apps",
Options: []core.Option{
{Name: "-h", Description: "Output usage information"},
{Name: "-V", Description: "Output the version number"},
{Name: "-u", Description: "Username"},
{Name: "-p", Description: "Password"},
{Name: "--otp", Description: "One-time password from your 2FA device"},
{Name: "-c", Description: "Clear all credentials stored on Expo servers"},
{Name: "--clear-dist-cert", Description: "Remove Distribution Certificate stored on Expo servers"},
{Name: "--clear-push-key", Description: "Remove Push Notifications Key stored on Expo servers"},
{Name: "--clear-push-cert", Description: "Remove Provisioning Profile stored on Expo servers"},
{Name: "-r", Description: "Type of build: [archive|simulator]"},
{Name: "--release-channel", Description: "Pull from specified release channel"},
{Name: "--no-publish", Description: "Disable automatic publishing before building"},
{Name: "--no-wait", Description: "Exit immediately after scheduling build"},
{Name: "--team-id", Description: "Apple Team ID"},
{Name: "--dist-p12-path", Description: "Push Key ID (ex: 123AB4C56D)"},
{Name: "--push-p8-path", Description: "Path to your Push Key .p8 file"},
{Name: "--provisioning-profile-path", Description: "Path to your Provisioning Profile"},
{Name: "--public-url", Description: "The URL of an externally hosted manifest (for self-hosted apps)"},
{Name: "--skip-credentials-check", Description: "Skip checking credentials"},
{Name: "--skip-workflow-check", Description: "Skip warning about build service bare workflow limitations"},
{Name: "--config", Description: "Deprecated: Use app.config.js to switch config files instead"},
{Name: "--keystore-path", Description: "Path to your Keystore: *.jks"},
{Name: "--keystore-alias", Description: "Keystore Alias"},
{Name: "--generate-keystore", Description: "[deprecated] Generate Keystore if one does not exist"},
{Name: "-t", Description: "Type of build: [app-bundle|apk]"},
{Name: "--no-pwa", Description: "Turns dev flag on before bundling"},
{Name: "--apple-id", Description: "Deprecated: Use app.config.js to switch config files instead"},
{Name: "--latest", Description: "Install the latest version of Expo Go, ignoring the current project version"},
{Name: "-d", Description: "Device name to install the client on"},
{Name: "-f", Description: "Allows replacing existing files"},
{Name: "--offline", Description: "Allows this command to run while offline"},
{Name: "--no-install", Description: "Skip installing npm packages and CocoaPods"},
{Name: "--npm", Description: "Use npm to install dependencies. (default when Yarn is not installed)"},
{Name: "--clean", Description: "Delete the native folders and regenerate them before applying changes"},
{Name: "--template", Description: "Platforms to sync: ios, android, all. Default: all"},
{Name: "--skip-dependency-update", Description: "Preserves versions of listed packages in package.json (comma separated list)"},
{Name: "--dest", Description: "Destination directory for assets"},
{Name: "--platform", Description: "Detached project platform"},
{Name: "--skipXcodeConfig", Description: "[iOS only] if true, do not configure Xcode project"},
{Name: "--output-dir", Description: "The directory to export the static files to"},
},
})
}
+34
View File
@@ -0,0 +1,34 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ganache-cli",
Description: "Fast Ethereum RPC client",
Options: []core.Option{
{Name: "-a", Description: "Specify the number of accounts to generate at startup"},
{Name: "-e", Description: "Amount of ether to assign each test account. Default is 100"},
{Name: "-b", Description: "Generate deterministic addresses based on a pre-defined mnemonic"},
{Name: "-n", Description: "Lock available accounts by default (good for third party transaction signing)"},
{Name: "-m", Description: "Port number to listen on. Defaults to 8545"},
{Name: "-h", Description: "Use arbitrary data to generate the HD wallet mnemonic to be used"},
{Name: "-g", Description: "The price of gas in wei (defaults to 20000000000)"},
{Name: "-l", Description: "The block gas limit (defaults to 0x6691b7)"},
{Name: "--callGasLimit", Description: "Sets the transaction gas limit for eth_call and eth_estimateGas calls"},
{Name: "-k", Description: "Allows users to specify which hardfork should be used"},
{Name: "-f", Description: "Output VM opcodes for debugging"},
{Name: "--mem", Description: "Output ganache-cli memory usage statistics. This replaces normal output"},
{Name: "-q", Description: "Run ganache-cli without any logs"},
{Name: "-?", Description: "Display help information"},
{Name: "--version", Description: "Display the version of ganache-cli"},
{Name: "--account_keys_path", Description: "Specifies a file to save accounts and private keys to, for testing"},
{Name: "--noVMErrorsOnRPCResponse", Description: "Do not transmit transaction failures as RPC errors"},
{Name: "--allowUnlimitedContractSize", Description: "Allows unlimited contract sizes while debugging"},
{Name: "--keepAliveTimeout", Description: "Sets the HTTP server's keepAliveTimeout in milliseconds"},
{Name: "-t", Description: "Date (ISO 8601) that the first block should start"},
},
})
}
+37
View File
@@ -0,0 +1,37 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "gatsby",
Description: "Set host. Defaults to localhost",
Subcommands: []core.Subcommand{
{Name: "develop", Description: "Start the Gatsby development server"},
{Name: "build", Description: "Compile your application and make it ready for deployment"},
{Name: "serve", Description: "Serve the production build of your site for testing"},
{Name: "clean", Description: "Wipe out the cache (.cache folder) and public directories"},
{Name: "info", Description: "Get helpful environment information"},
{Name: "plugin", Description: "Run commands pertaining to gatsby plugins"},
{Name: "docs", Description: "Documentation about using and creating plugins"},
{Name: "repl", Description: "Gatsby will prompt you to type in commands and explore"},
},
Options: []core.Option{
{Name: "-H", Description: "Set host. Defaults to localhost"},
{Name: "-p", Description: "Set port. Defaults to env.PORT or 8000"},
{Name: "-o", Description: "Open the site in your (default) browser for you"},
{Name: "-S", Description: "Use HTTPS"},
{Name: "--inspect", Description: "Opens a port for debugging"},
{Name: "--prefix-paths", Description: "Build site with link paths prefixed (set pathPrefix in your config)"},
{Name: "--no-uglify", Description: "Build site without uglifying JS bundles (for debugging)"},
{Name: "--profile", Description: "Build site with react profiling"},
{Name: "--open-tracing-config-file", Description: "Use Tracer configuration file"},
{Name: "--graphql-tracing", Description: "Trace every graphql resolver, may have performance implications"},
{Name: "--no-color", Description: "Disables colored terminal output"},
{Name: "-C", Description: "Copy environment information to your clipboard"},
{Name: "-v", Description: "View your current Gatsby CLI version"},
},
})
}
+40
View File
@@ -0,0 +1,40 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "hardhat",
Description: "Ethereum development environment",
Subcommands: []core.Subcommand{
{Name: "accounts", Description: "Prints the list of accounts"},
{Name: "check", Description: "Check whatever you need"},
{Name: "clean", Description: "Clears the cache and deletes all artifacts"},
{Name: "compile", Description: "Compiles the entire project, building all artifacts"},
{Name: "console", Description: "Opens a hardhat console"},
{Name: "flatten", Description: "Flattens and prints contracts and their dependencies"},
{Name: "help", Description: "Prints this message"},
{Name: "node", Description: "Starts a JSON-RPC server on top of Hardhat Network"},
{Name: "run", Description: "Runs a user-defined script after compiling the project"},
{Name: "test", Description: "Runs mocha tests"},
},
Options: []core.Option{
{Name: "--emoji", Description: "Use emoji in messages"},
{Name: "--max-memory", Description: "The maximum amount of memory that Hardhat can use"},
{Name: "--help", Description: "Shows the help text or task's help if name is provided"},
{Name: "--network", Description: "The network to connect to"},
{Name: "--verbose", Description: "Enables Hardhat verbose logging"},
{Name: "--version", Description: "Shows hardhat's version"},
{Name: "--global", Description: "Clear the global cache"},
{Name: "--force", Description: "Force compilation ignoring cache"},
{Name: "--quiet", Description: "Makes the compilation process less verbose"},
{Name: "--no-compile", Description: "Don't compile before running this task"},
{Name: "--fork", Description: "The URL of the JSON-RPC server to fork from"},
{Name: "--fork-block-number", Description: "The block number to fork from"},
{Name: "--hostname", Description: "The host to which to bind to for new connections"},
{Name: "--port", Description: "The port on which to listen for new connections (default: 8545)"},
},
})
}
+91
View File
@@ -0,0 +1,91 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ionic",
Description: "Target engine (e.g. browser, cordova)",
Subcommands: []core.Subcommand{
{Name: "completion", Description: "Enables tab-completion for Ionic CLI commands"},
{Name: "id", Description: "The Appflow ID of the app to link (e.g. a1b2c3d4)"},
{Name: "email", Description: "Your email address"},
{Name: "password", Description: "Your password"},
{Name: "logout", Description: "Log out of Ionic"},
{Name: "signup", Description: "Create an Ionic account"},
{Name: "template", Description: "The starter template to use (e.g. blank, tabs; use --list to see all)"},
{Name: "config", Description: "Config commands for Ionic"},
{Name: "property", Description: "The property name you wish to get"},
{Name: "value", Description: "The new value of the given property"},
{Name: "capacitor", Description: "Capacitor commands Ionic"},
{Name: "platform", Description: "The platform to add (e.g. android, ios)"},
{Name: "configuration", Description: "Specify the configuration to use"},
{Name: "deploy", Description: "AppFlow deploy commands for Ionic"},
{Name: "manifest", Description: "Generates a manifest file for the deploy service from a built app directory"},
{Name: "git", Description: "Git commands for Ionic"},
{Name: "remote", Description: "Adds/updates the Appflow git remote to your local Ionic app"},
{Name: "package", Description: "Package commands for Ionic"},
{Name: "type", Description: "The build type (debug, release, development, ad-hoc, app-store, enterprise)"},
{Name: "build-id", Description: "The build id of the desired successful package build"},
{Name: "destination", Description: "The destination to deploy the build artifact to the app store"},
{Name: "ssl", Description: "SSL commands for Ionic"},
{Name: "ssh", Description: "SSH commands for Ionic"},
{Name: "pubkey-path", Description: "Location of public key file to add to Ionic"},
{Name: "key-id", Description: "The ID of the public key to delete"},
{Name: "key-path", Description: "Destination of private key file"},
{Name: "setup", Description: "Setup your Ionic SSH keys automatically"},
{Name: "doctor", Description: "Doctor commands for Ionic"},
{Name: "list", Description: "List all issues and their identifiers"},
{Name: "integrations", Description: "Integration commands for Ionic"},
{Name: "name", Description: "The integration to disable (e.g. capacitor, cordova, enterprise)"},
{Name: "enterprise", Description: "Enterprise commands for Ionic"},
{Name: "cordova", Description: "Cordova commands for Ionic"},
{Name: "action", Description: "Add, remove, or update a platform; ls, check, or save all project platforms"},
{Name: "plugin", Description: "The name of the plugin (corresponds to add and remove)"},
},
Options: []core.Option{
{Name: "--engine", Description: "Target engine (e.g. browser, cordova)"},
{Name: "--platform", Description: "Target platform on chosen engine (e.g. ios, android)"},
{Name: "--prod", Description: "Flag to use the production configuration"},
{Name: "--configuration", Description: "Specify the configuration to use"},
{Name: "--source-map", Description: "Output source maps"},
{Name: "--watch", Description: "Rebuild when files change"},
{Name: "--browser", Description: "Specifies the browser to use (safari, firefox, google chrome)"},
{Name: "--json", Description: "Print system/environment info in JSON format"},
{Name: "--type", Description: "Type of project (e.g. angular, react, vue, custom)"},
{Name: "--force", Description: "Initialize even if a project already exists"},
{Name: "--multi-app", Description: "Initialize a multi-app project"},
{Name: "--project-id", Description: "Specify a slug for your app"},
{Name: "--default", Description: "Mark the initialized app as the default project"},
{Name: "--cordova", Description: "Only perform the repair steps for Cordova platforms and plugins"},
{Name: "--external", Description: "Host dev server on all network interfaces (i.e. --host=0.0.0.0)"},
{Name: "--host", Description: "Use specific host for the dev server"},
{Name: "--port", Description: "Use specific port for the dev server"},
{Name: "--public-host", Description: "The host used for the browser or web view"},
{Name: "--no-livereload", Description: "Do not spin up dev server--just serve files"},
{Name: "--lab-host", Description: "Use specific host for Ionic Lab server"},
{Name: "--lab-port", Description: "Use specific port for Ionic Lab server"},
{Name: "--no-open", Description: "Do not open a browser window"},
{Name: "--browseroption", Description: "Specifies a path to open to (/#/tab/dash)"},
{Name: "--lab", Description: "Test your apps on multiple platform types in the browser"},
{Name: "--ssl", Description: "Use HTTPS for the dev server"},
{Name: "--consolelogs", Description: "Print app console logs to the terminal"},
{Name: "--consolelogs-port", Description: "Use specific port for console logs server"},
{Name: "--list", Description: "List available starter templates"},
{Name: "--capacitor", Description: "Include Capacitor integration"},
{Name: "--no-deps", Description: "Do not install npm/yarn dependencies"},
{Name: "--no-git", Description: "Do not initialize a git repo"},
{Name: "--link", Description: "Connect your new app to Ionic"},
{Name: "--id", Description: "Specify an Ionic App ID to link"},
{Name: "--package-id", Description: "Specify the bundle ID/application ID for your app (reverse-DNS notation)"},
{Name: "--global", Description: "Use global CLI config"},
{Name: "--root", Description: "Operate on root of ionic.config.json"},
{Name: "--no-build", Description: "Do not invoke Ionic build"},
{Name: "--target", Description: "Deploy to a specific device by its ID (use --list to see all)"},
{Name: "--open", Description: "Open native IDE instead of using capacitor run"},
{Name: "--livereload", Description: "Spin up dev server to live-reload www files"},
},
})
}
+54
View File
@@ -0,0 +1,54 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "jest",
Description: "A delightful JavaScript Testing Framework with a focus on simplicity",
Options: []core.Option{
{Name: "--bail", Description: "Whether to use the cache"},
{Name: "--no-cache", Description: "Whether to use the cache"},
{Name: "--changedFilesWithAncestor", Description: "Runs tests related to the changes since the provided branch or commit hash"},
{Name: "--ci", Description: "Deletes the Jest cache directory and then exits without running tests"},
{Name: "--collectCoverageFrom", Description: "Forces test results output highlighting even if stdout is not a TTY"},
{Name: "--config", Description: "The path to a Jest config file specifying how to find and execute tests"},
{Name: "--coverage", Description: "Enable or disable coverage, disabled by default"},
{Name: "--coverageProvider", Description: "Indicates which provider should be used to instrument code for coverage"},
{Name: "--debug", Description: "Print debugging info about your Jest config"},
{Name: "--detectOpenHandles", Description: "Attempt to collect and print open handles preventing Jest from exiting cleanly"},
{Name: "--env", Description: "The test environment used for all tests"},
{Name: "--errorOnDeprecated", Description: "Make calling deprecated APIs throw helpful error messages"},
{Name: "--expand", Description: "Use this flag to show full diffs and errors instead of a patch"},
{Name: "--findRelatedTests", Description: "Force Jest to exit after all tests have completed running"},
{Name: "--help", Description: "Show the help information"},
{Name: "--init", Description: "Generate a basic configuration file"},
{Name: "--injectGlobals", Description: "Prints the test results in JSON"},
{Name: "--outputFile", Description: "Write test results to a file when the --json option is also specified"},
{Name: "--lastCommit", Description: "Run all tests affected by file changes in the last commit made"},
{Name: "--listTests", Description: "Lists all tests as JSON that Jest will run given the arguments, and exits"},
{Name: "--logHeapUsage", Description: "Logs the heap usage after every test"},
{Name: "--maxConcurrency", Description: "Disables stack trace in test results output"},
{Name: "--notify", Description: "Activates notifications for test results"},
{Name: "--onlyChanged", Description: "Allows the test suite to pass when no files are found"},
{Name: "--projects", Description: "Run tests with specified reporters"},
{Name: "--roots", Description: "A list of paths to directories that Jest should use to search for files in"},
{Name: "--runInBand", Description: "Run only the tests of the specified projects"},
{Name: "--runTestsByPath", Description: "Run only the tests that were specified with their exact paths"},
{Name: "--silent", Description: "Prevent tests from printing messages through the console"},
{Name: "--testNamePattern", Description: "Run only tests with a name that matches the regex"},
{Name: "--testLocationInResults", Description: "Adds a location field to test results"},
{Name: "--testPathPattern", Description: "Lets you specify a custom test runner"},
{Name: "--testSequencer", Description: "Lets you specify a custom test sequencer"},
{Name: "--testTimeout", Description: "Default timeout of a test in milliseconds"},
{Name: "--updateSnapshot", Description: "Use this flag to re-record every snapshot that fails during this test run"},
{Name: "--useStderr", Description: "Divert all output to stderr"},
{Name: "--verbose", Description: "Display individual test results with the test suite hierarchy"},
{Name: "--version", Description: "Print the version and exit"},
{Name: "--watch", Description: "Watch files for changes and rerun tests related to changed files"},
{Name: "--watchAll", Description: "Watch files for changes and rerun all tests when something changes"},
},
})
}
+66
View File
@@ -0,0 +1,66 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "lerna",
Description: "Branch",
Subcommands: []core.Subcommand{
{Name: "*", Description: "Select all packages"},
{Name: "changed", Description: "Check which packages have changed since the last release"},
{Name: "run", Description: "Run an npm script in each package that contains that script"},
{Name: "script", Description: "Name of the npm script to run"},
{Name: "version", Description: "Bump version of packages changed since the last release"},
{Name: "diff", Description: "Diff all packages or a single package since the last release"},
{Name: "exec", Description: "Execute an arbitrary command in each package"},
{Name: "add", Description: "Add a dependency to matched packages"},
{Name: "clean", Description: "Remove the node_modules directory from all packages"},
{Name: "create", Description: "Create a new lerna-managed package"},
},
Options: []core.Option{
{Name: "--npm-client", Description: "The executable to run the script with"},
{Name: "--concurrency", Description: "Set a max buffer length for each underlying process call"},
{Name: "--no-progress", Description: "Disable progress bars. This is always the case in a CI environment"},
{Name: "--no-sort", Description: "Fail immediately if a cycle is found (in bootstrap, exec, publish or run)"},
{Name: "-h", Description: "Show help"},
{Name: "-v", Description: "Show version number"},
{Name: "--stream", Description: "Include only packages with names matching the given glob"},
{Name: "--ignore", Description: "Exclude packages with names matching the given glob"},
{Name: "--no-private", Description: "Exclude private packages. They are included by default"},
{Name: "--since", Description: "List local packages"},
{Name: "--json", Description: "Show information as a JSON array"},
{Name: "--ndjson", Description: "Show information as newline-delimited JSON"},
{Name: "-a", Description: "Show all packages (including private)"},
{Name: "-l", Description: "Show extended information"},
{Name: "-p", Description: "Show parseable output instead of columnified view"},
{Name: "--toposort", Description: "Show dependency graph as a JSON-formatted adjacency list"},
{Name: "-i", Description: "Use independent versioning mode"},
{Name: "--exact", Description: "Set the exact version of lerna in the package.json file"},
{Name: "--hoist", Description: "Skip prepublish lifecycle scripts run by default in bootstrapped packages"},
{Name: "--ignore-scripts", Description: "Skip any lifecycle scripts normally run (prepare, etc) in bootstrapped packages"},
{Name: "--registry", Description: "Forwarded npm commands will use the specified registry for your package(s)"},
{Name: "--use-workspaces", Description: "Enables integration with Yarn Workspaces"},
{Name: "--no-ci", Description: "Disable usage of `npm ci` in CI environments"},
{Name: "--force-local", Description: "Flatten the git history of the repository to import"},
{Name: "--dest", Description: "Specify the destination directory by the directory listed in lerna.json"},
{Name: "--preserve-commit", Description: "Preserve the original committer and commit date"},
{Name: "--npm-tag", Description: "Publish to npm with the given npm dist-tag (Defaults to latest)"},
{Name: "--canary", Description: "Create a canary release"},
{Name: "--skip-git", Description: "Don't run any git commands"},
{Name: "--force-publish", Description: "Force publish for the specified packages (comma-separated)"},
{Name: "--allow-branch", Description: "An allowlist of globs that match git branches where lerna version is enabled"},
{Name: "--amend", Description: "Perform all changes on the current commit, instead of adding a new one"},
{Name: "--changelog-preset", Description: "Change the changelog preset type"},
{Name: "--conventional-commits", Description: "Graduate the specified packages (comma-separated) or all packages using *"},
{Name: "--conventional-prerelease", Description: "Create an official release based on the changes packages"},
{Name: "--git-remote", Description: "Push the git changes to the specified remote instead of origin"},
{Name: "--ignore-changes", Description: "Ignore changes in files matched by glob(s) when detecting changed packages"},
{Name: "--include-merged-tags", Description: "Include tags from merged branches when detecting changed packages"},
{Name: "-m", Description: "Use the provided message when committing the version updates for publication"},
{Name: "--no-changelog", Description: "When using conventional-commits, do not generate any CHANGELOG.md files"},
},
})
}
+78
View File
@@ -0,0 +1,78 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "meteor",
Description: "Run the meteor command-line tool",
Subcommands: []core.Subcommand{
{Name: "help", Description: "Get help on meteor command line usage"},
{Name: "command", Description: "Built-in command"},
{Name: "list", Description: "Lists the packages that you have explicitly added to your project"},
{Name: "remove-platform", Description: "Removes a platform previously added to your Meteor project"},
{Name: "list-platforms", Description: "Lists all of the platforms added to your project"},
{Name: "ensure-cordova-dependencies", Description: "Check if the dependencies are installed, otherwise install them"},
{Name: "lint", Description: "Run through the whole build process for the app and run all linters the app uses"},
{Name: "reset", Description: "Reset the current project to a fresh state. Removes all local data"},
{Name: "deploy", Description: "Deploys the project in your current directory to Meteor's servers"},
{Name: "milliseconds", Description: "Milliseconds to wait"},
{Name: "authorized", Description: "Manage authorized users and organizations"},
{Name: "logout", Description: "Log out of your Meteor developer account"},
{Name: "whoami", Description: "Prints the username of the currently logged-in Meteor developer"},
{Name: "package", Description: "Package name"},
{Name: "test", Description: "Runs tests against the application"},
{Name: "admin", Description: "Rarely used commands for administering official Meteor services"},
{Name: "maintainers", Description: "Manage users and organizations that are maintainers for a particular package"},
{Name: "recommend-release", Description: "Recommend a version of a meteor release"},
{Name: "change-homepage", Description: "Change the homepage containing package information"},
{Name: "list-organizations", Description: "List the organizations of which you are a member"},
{Name: "members", Description: "Manage members of an organization"},
{Name: "publish-for-arch", Description: "Publish a package for the same architecture that you are currently on"},
},
Options: []core.Option{
{Name: "--port", Description: "Port to listen on (instead of the default 3000)"},
{Name: "--inspect", Description: "Simulate production mode. Minify and bundle CSS and JS files"},
{Name: "--raw-logs", Description: "Run without parsing logs from stdout and stderr"},
{Name: "--settings", Description: "Set optional data for Meteor.settings on the server"},
{Name: "--release", Description: "Specify the release of Meteor to use"},
{Name: "--verbose", Description: "Print all output from builds logs"},
{Name: "--no-lint", Description: "Don't run linters used by the app on every rebuild"},
{Name: "--no-release-check", Description: "Don't run the release updater to check for new releases"},
{Name: "--allow-incompatible-update", Description: "Specify the release of Meteor to use"},
{Name: "--package", Description: "Create a new meteor package instead of an app"},
{Name: "--example", Description: "Example template to use"},
{Name: "--list", Description: "Show list of available examples"},
{Name: "--bare", Description: "Create an empty app"},
{Name: "--minimal", Description: "Create an app with as few Meteor packages as possible"},
{Name: "--full", Description: "Create a fully scaffolded app"},
{Name: "--react", Description: "Create a basic react-based app, same as default"},
{Name: "--vue", Description: "Create a basic vue-based app"},
{Name: "--apollo", Description: "Create a basic apollo-based app"},
{Name: "--svelte", Description: "Create a basic svelte-based app"},
{Name: "--typescript", Description: "Create a basic Typescript React-based app"},
{Name: "--blaze", Description: "Create a basic blaze-based app"},
{Name: "--tailwind", Description: "Create a basic react-based app, with tailwind configured"},
{Name: "--packages-only", Description: "Update the package versions only. Do not update the release"},
{Name: "--patch", Description: "Update the release to a patch release only"},
{Name: "--tree", Description: "Outputs a tree showing how packages are referenced"},
{Name: "--json", Description: "Outputs the tree in JSON format"},
{Name: "--weak", Description: "Show weakly referenced dependencies in the tree"},
{Name: "--details", Description: "Adds more package details to the JSON output"},
{Name: "--debug", Description: "Build in debug mode (don't minify, etc)"},
{Name: "--directory", Description: "Skip building mobile apps even if mobile platforms have been added"},
{Name: "--mobile-settings", Description: "Builds only the specified platforms (when available)"},
{Name: "--packageType", Description: "Choose between apk/bundle for android builds"},
{Name: "--delete", Description: "Permanently delete this deployment"},
{Name: "--no-wait", Description: "Reuses the build already created if the git commit hash is the same"},
{Name: "--free", Description: "Change your app's container size using the deploy command"},
{Name: "--add", Description: "Add an authorized user or organization"},
{Name: "--remove", Description: "Remove an authorized user or organization"},
{Name: "--transfer", Description: "Transfer the (Galaxy) app to a new user or organization"},
{Name: "--email", Description: "Add an authorized user or organization"},
{Name: "--ios", Description: "Print all output from builds logs"},
},
})
}
+39
View File
@@ -0,0 +1,39 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ncu",
Description: "Clear the default cache, or the cache file specified by --cacheFile",
Options: []core.Option{
{Name: "--cache", Description: "Clear the default cache, or the cache file specified by --cacheFile"},
{Name: "--cacheExpiration", Description: "Cache expiration in minutes. Only works with --cache. (default: 10)"},
{Name: "--cacheFile", Description: "Force color in terminal"},
{Name: "--concurrency", Description: "Max number of concurrent HTTP requests to registry. (default: 8)"},
{Name: "--configFileName", Description: "Config file name. (default: .ncurc.{json,yml,js,cjs})"},
{Name: "--configFilePath", Description: "Directory of .ncurc config file. (default: directory of packageFile)"},
{Name: "--cwd", Description: "Working directory in which npm will be executed"},
{Name: "--deep", Description: "Include deprecated packages"},
{Name: "--doctor", Description: "Specifies the install script to use in doctor mode. (default: npm install/yarn)"},
{Name: "--doctorTest", Description: "Specifies the test script to use in doctor mode. (default: npm test)"},
{Name: "--enginesNode", Description: "Include only packages that satisfy engines.node as specified in the package file"},
{Name: "--errorLevel", Description: "Check global packages instead of in the current project"},
{Name: "--groupFunction", Description: "Show help"},
{Name: "--interactive", Description: "Output new package file instead of human-readable message"},
{Name: "--jsonDeps", Description: "Output upgraded dependencies in json"},
{Name: "--loglevel", Description: "Package file data (you can also use stdin)"},
{Name: "--packageFile", Description: "Package file(s) location. (default: ./package.json)"},
{Name: "--packageManager", Description: "Current working directory of npm"},
{Name: "--registry", Description: "Remove version ranges from the final package version"},
{Name: "--retry", Description: "Number of times to retry failed requests for package info. (default: 3)"},
{Name: "--root", Description: "Don't output anything. Alias for --loglevel silent"},
{Name: "--stdin", Description: "Read package.json from stdin"},
{Name: "--target", Description: "Log additional information for debugging. Alias for --loglevel verbose"},
{Name: "--version", Description: "Output the version number of npm-check-updates"},
{Name: "--workspace", Description: "Run on all workspaces. Add --root to also upgrade the root project"},
},
})
}
+50
View File
@@ -0,0 +1,50 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "nest",
Description: "Report actions that would be taken without writing out results",
Subcommands: []core.Subcommand{
{Name: "new", Description: "Creates a new nest project"},
{Name: "project", Description: "The name of the project"},
{Name: "generate", Description: "Generate and/or modifies files based on a schematic"},
{Name: "application", Description: "Generate a new application workspace"},
{Name: "class", Description: "Generate a new class"},
{Name: "configuration", Description: "Generate a CLI configuration file"},
{Name: "controller", Description: "Generate a controller declaration"},
{Name: "decorator", Description: "Generate a custom decorator"},
{Name: "filter", Description: "Generate a filter declaration"},
{Name: "gateway", Description: "Generate a gateway declaration"},
{Name: "guard", Description: "Generate a guard declaration"},
{Name: "interceptor", Description: "Generate an interceptor declaration"},
{Name: "interface", Description: "Generate an interface"},
{Name: "middleware", Description: "Generate a middleware declaration"},
{Name: "module", Description: "Generate a module declaration"},
{Name: "pipe", Description: "Generate a pipe declaration"},
{Name: "provider", Description: "Generate a provider declaration"},
{Name: "resolver", Description: "Generate a GraphQL resolver declaration"},
{Name: "service", Description: "Generate a service declaration"},
{Name: "library", Description: "Generate a new library within a monorepo"},
{Name: "sub-app", Description: "Generate a new application within a monorepo"},
{Name: "resource", Description: "Generate a new CRUD resource"},
{Name: "build", Description: "Builds Nest application"},
{Name: "app", Description: "The name of the app"},
{Name: "start", Description: "Run Nest application"},
{Name: "info", Description: "Display Nest project details"},
{Name: "update", Description: "Update Nest dependencies"},
},
Options: []core.Option{
{Name: "-d", Description: "Report actions that would be taken without writing out results"},
{Name: "-p", Description: "Project in which to generate files"},
{Name: "--flat", Description: "Enforce flat structure of generated element"},
{Name: "--spec", Description: "Enforce spec files generation (default: true)"},
{Name: "--no-spec", Description: "Disable spec files generation"},
{Name: "-c", Description: "Schematics collection to use"},
{Name: "--help", Description: "Show help for nest"},
},
})
}
+31
View File
@@ -0,0 +1,31 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "next",
Description: "A port number on which to start the application",
Subcommands: []core.Subcommand{
{Name: "build", Description: "Create an optimized production build of your application"},
{Name: "dev", Description: "Start the application in development mode"},
{Name: "start", Description: "Start the application in production mode"},
{Name: "export", Description: "Exports the application for production deployment"},
{Name: "telemetry", Description: "Allows you to control Next.js' telemetry collection"},
{Name: "status", Description: "Turn Next.js' telemetry collection on or off"},
{Name: "enable", Description: "Enable Next.js' telemetry collection"},
{Name: "disable", Description: "Disable Next.js' telemetry collection"},
},
Options: []core.Option{
{Name: "-p", Description: "A port number on which to start the application"},
{Name: "-H", Description: "Hostname on which to start the application"},
{Name: "-h", Description: "Output usage information"},
{Name: "-v", Description: "Output the version number"},
{Name: "--profile", Description: "Enable production profiling"},
{Name: "--debug", Description: "Enable more verbose build output"},
{Name: "-s", Description: "Do not print any messages to console"},
},
})
}
+31
View File
@@ -0,0 +1,31 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ng",
Description: "Project name",
Subcommands: []core.Subcommand{
{Name: "new", Description: "Create a new Angular app"},
{Name: "generate", Description: "Generate new files"},
{Name: "application", Description: "Generates a new application"},
{Name: "name", Description: "Name of the new app"},
{Name: "component", Description: "Generate a new component"},
{Name: "library", Description: "Generates a new library"},
{Name: "class", Description: "Generates a class"},
{Name: "version", Description: "View your Angular CLI version (update for Angular 14+)"},
},
Options: []core.Option{
{Name: "--project", Description: "Project name"},
{Name: "--create-application", Description: "Create a default application?"},
{Name: "--style", Description: "Generate a new component"},
{Name: "--change-detection", Description: "The change detection strategy to use"},
{Name: "--display-block", Description: "Add :host block to styles"},
{Name: "--flat", Description: "Create at the top level"},
{Name: "--version", Description: "View your Angular CLI version"},
},
})
}
+45
View File
@@ -0,0 +1,45 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "node",
Description: "Run the node interpreter",
Options: []core.Option{
{Name: "-e", Description: "Evaluate script"},
{Name: "--watch", Description: "Watch input files"},
{Name: "--watch-path", Description: "Specify a watch directory or file"},
{Name: "--watch-preserve-output", Description: "Disable the clearing of the console when watch mode restarts the process"},
{Name: "--env-file", Description: "Specify a file containing environment variables"},
{Name: "-p", Description: "Evaluate script and print result"},
{Name: "-c", Description: "Syntax check script without executing"},
{Name: "-v", Description: "Print Node.js version"},
{Name: "-i", Description: "Always enter the REPL even if stdin does not appear to be a terminal"},
{Name: "-h", Description: "Print node command line options (currently set)"},
{Name: "--inspect", Description: "Activate inspector on host:port (default: 127.0.0.1:9229)"},
{Name: "--preserve-symlinks", Description: "Run AdonisJS command-line"},
{Name: "-prod", Description: "Build for production"},
{Name: "--assets", Description: "Build frontend assets when webpack encore is installed"},
{Name: "--no-assets", Description: "Disable building assets"},
{Name: "--ignore-ts-errors", Description: "Ignore typescript errors and complete the build process"},
{Name: "--tsconfig", Description: "Path to the TypeScript project configuration file"},
{Name: "--encore-args", Description: "CLI options to pass to the encore command line"},
{Name: "--client", Description: "Select the package manager to decide which lock file to copy to the build folder"},
{Name: "-w", Description: "Watch for file changes and re-start the HTTP server on change"},
{Name: "--node-args", Description: "CLI options to pass to the node command line"},
{Name: "-f", Description: "Define a custom set of seeders files names to run"},
{Name: "-r", Description: "Add resourceful methods to the controller class"},
{Name: "--connection", Description: "The connection flag is used to lookup the directory for the migration file"},
{Name: "--folder", Description: "Pre-select a migration directory"},
{Name: "--create", Description: "Define the table name for creating a new table"},
{Name: "--table", Description: "Define the table name for altering an existing table"},
{Name: "-m", Description: "Generate the migration for the model"},
{Name: "--force", Description: "Explicitly force to run migrations in production"},
{Name: "--dry-run", Description: "Print SQL queries, instead of running the migrations"},
{Name: "--batch", Description: "Use 0 to rollback to initial state"},
},
})
}
+22
View File
@@ -0,0 +1,22 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "npx",
Description: "Execute binaries from npm packages",
Options: []core.Option{
{Name: "--package", Description: "Package to be installed"},
{Name: "--cache", Description: "Location of the npm cache"},
{Name: "--always-spawn", Description: "Always spawn a child process to execute the command"},
{Name: "-y", Description: "Execute npx command without prompting for confirmation"},
{Name: "--call", Description: "Execute string as if inside `npm run-script`"},
{Name: "--shell", Description: "Shell to execute the command with, if any"},
{Name: "--ignore-existing", Description: "Suppress output from npx itself. Subcommands will not be affected"},
{Name: "--npm", Description: "Npm binary to use for internal operations"},
},
})
}
+33
View File
@@ -0,0 +1,33 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "nuxi",
Description: "The directory of the target application",
Options: []core.Option{
{Name: "--help", Description: "Show help"},
{Name: "--verbose", Description: "Log information about the installation process"},
{Name: "--template", Description: "Specify a Git repository to use as a template"},
{Name: "--force", Description: "Force clone to any existing directory"},
{Name: "--prefer-offline", Description: "Try local cache first to download templates"},
{Name: "--shell", Description: "Open shell in cloned directory (experimental)"},
{Name: "--cwd", Description: "The current working directory of the target application"},
{Name: "--dotenv", Description: "Point to another .env file to load, relative to the root directory"},
{Name: "--prerender", Description: "Point to another .env file to load, relative to the root directory"},
{Name: "--clipboard", Description: "Copy URL to clipboard"},
{Name: "--open", Description: "Open URL in browser"},
{Name: "--no-clear", Description: "Does not clear the console after startup"},
{Name: "--port", Description: "Port to listen"},
{Name: "--host", Description: "Hostname of the server"},
{Name: "--https", Description: "Listen with https protocol with a self-signed certificate by default"},
{Name: "--ssl-cert", Description: "Specify a certificate for https"},
{Name: "--ssl-key", Description: "Specify the key for the https certificate"},
{Name: "--dev", Description: "Run tests in development mode"},
{Name: "--watch", Description: "Actively watch for changes and rerun tests"},
},
})
}
+22
View File
@@ -0,0 +1,22 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "nuxt",
Description: "Launch the development server",
Subcommands: []core.Subcommand{
{Name: "dev", Description: "Launch the development server"},
{Name: "build", Description: "Build and optimize your application with webpack for production"},
{Name: "webpack", Description: "Inspect the webpack config"},
},
Options: []core.Option{
{Name: "--name", Description: "Bundle name to inspect. (client, server, modern)"},
{Name: "--dev", Description: "Inspect webpack config for dev mode"},
{Name: "--depth", Description: "Inspection depth. Defaults to 2 to prevent verbose output"},
},
})
}
+74
View File
@@ -0,0 +1,74 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "nx",
Description: "All projects",
Subcommands: []core.Subcommand{
{Name: "init", Description: "Adds nx.json file and installs nx if not installed already"},
{Name: "daemon", Description: "Prints information about the Nx Daemon process or starts a daemon process"},
{Name: "graph", Description: "Graph dependencies within workspace"},
{Name: "run-many", Description: "Run target for multiple listed projects"},
{Name: "affected", Description: "Run target for affected projects"},
{Name: "affected:graph", Description: "Graph dependencies affected by changes"},
{Name: "print-affected", Description: "Prints information about the projects and targets affected by changes"},
{Name: "format:check", Description: "Check for un-formatted files"},
{Name: "format:write", Description: "Overwrite un-formatted files"},
{Name: "migrate", Description: "Creates a migrations file or runs migrations from the migrations file"},
{Name: "packageAndVersion", Description: "The target package and version (e.g, @nrwl/workspace@13.0.0)"},
{Name: "report", Description: "Reports useful version numbers to copy into the Nx issue template"},
{Name: "plugin", Description: "The name of an installed plugin to query"},
{Name: "workspace-generator", Description: "Runs a workspace generator from the tools/generators directory"},
{Name: "name", Description: "The name of your generator"},
{Name: "connect", Description: "Connect workspace to Nx Cloud"},
{Name: "repair", Description: "Repair any configuration that is no longer supported by Nx"},
{Name: "exec", Description: "Executes any command as if it was a target on the project"},
{Name: "watch", Description: "Watch for changes within projects, and execute commands"},
{Name: "show", Description: "Show information about the workspace (e.g., list of projects)"},
{Name: "object", Description: "What to show (e.g., projects)"},
},
Options: []core.Option{
{Name: "--all", Description: "All projects"},
{Name: "--base", Description: "Base of the current branch (usually main)"},
{Name: "--commitPrefix", Description: "Automatically create a git commit after each migration runs"},
{Name: "--defaults", Description: "When true, disables interactive input prompts for options with a default"},
{Name: "--dryRun", Description: "When true, preview the changes without updating files"},
{Name: "--exclude", Description: "Exclude certain projects from being processed"},
{Name: "--excludeAppliedMigrations", Description: "Output file (e.g. --file=output.json or --file=dep-graph.html)"},
{Name: "--files", Description: "When true, forces overwriting of existing files"},
{Name: "--from", Description: "Show the task graph of the command"},
{Name: "--groupByFolder", Description: "Group projects by folder in the project graph"},
{Name: "--head", Description: "Latest commit of the current branch (usually HEAD)"},
{Name: "--help", Description: "Show help"},
{Name: "--host", Description: "Bind the project graph server to a specific ip address"},
{Name: "--ifExists", Description: "Run migrations only if the migrations file exists, if not continues successfully"},
{Name: "--includeDependentProjects", Description: "When watching selected projects, include dependent projects as well"},
{Name: "--interactive", Description: "Enable/disable prompts"},
{Name: "--libs-and-apps", Description: "Format only libraries and applications files"},
{Name: "--list-generators", Description: "List the available workspace-generators"},
{Name: "--nx-bail", Description: "Stop command execution after the first failed task"},
{Name: "--nx-ignore-cycles", Description: "Ignore cycles in the task graph"},
{Name: "--open", Description: "Open the project graph in the browser"},
{Name: "--output-style", Description: "Defines how Nx emits outputs tasks logs"},
{Name: "--parallel", Description: "Max number of parallel processes [default is 3]"},
{Name: "--port", Description: "Bind the project graph server to a specific port"},
{Name: "--project", Description: "Target project"},
{Name: "--projects", Description: "Projects (comma/space delimited)"},
{Name: "--runMigrations", Description: "This is the name of the tasks runner configured in nx.json"},
{Name: "--select", Description: "Select the subset of the returned json document (e.g., --select=projects)"},
{Name: "--skip-nx-cache", Description: "Rerun the tasks even when the results are available in the cache"},
{Name: "--start", Description: "Targets (comma/space delimited)"},
{Name: "--to", Description: "Select the type of projects to be returned (e.g., --type=app)"},
{Name: "--uncommitted", Description: "Uncommitted changes"},
{Name: "--untracked", Description: "Untracked changes"},
{Name: "--verbose", Description: "Prints additional information about the commands (e.g., stack traces)"},
{Name: "--version", Description: "Show version number"},
{Name: "--view", Description: "Choose whether to view the projects or task graph"},
{Name: "--watch", Description: "Watch for changes to project graph and update in-browser"},
},
})
}
+30
View File
@@ -0,0 +1,30 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "oxlint",
Description: "All lints (except nursery)",
Options: []core.Option{
{Name: "-c", Description: "Path to Oxlint JSON configuration file"},
{Name: "--tsconfig", Description: "Specify the file to use as your .eslintignore"},
{Name: "--ignore-pattern", Description: "Specify file patterns to ignore (in addition to those in .eslintignore)"},
{Name: "--no-ignore", Description: "Follow symlinks when linting, which are ignored by default"},
{Name: "-D", Description: "Deny a lint rule or category (enable a lint as an error)"},
{Name: "-W", Description: "Warn about a lint rule or category (enable a lint as a warning)"},
{Name: "-A", Description: "Allow a lint rule or category (suppress a lint)"},
{Name: "--fix", Description: "Fix as many issues as possible. Only unfixed issues are reported in the output"},
{Name: "--silent", Description: "Do not display any diagnostics"},
{Name: "--deny-warnings", Description: "Exit with a non-zero code if there are any warnings"},
{Name: "--max-warnings", Description: "Exit with a non-zero code if there are more than `max` warnings"},
{Name: "-f", Description: "Use a specific output format"},
{Name: "--threads", Description: "Number of threads to use. Set to 1 to use only 1 CPU core"},
{Name: "--rules", Description: "List all available rules"},
{Name: "-h", Description: "Show help"},
{Name: "-V", Description: "Show version"},
},
})
}
+25
View File
@@ -0,0 +1,25 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "playwright",
Description: "Display help for command",
Subcommands: []core.Subcommand{
{Name: "test", Description: "Run tests with Playwright Test"},
{Name: "tests", Description: "Test files to run"},
{Name: "install", Description: "Running without arguments will install default browsers"},
{Name: "browsers", Description: "Browser to install"},
},
Options: []core.Option{
{Name: "--help", Description: "Display help for command"},
{Name: "-g", Description: "Run the test with the title"},
{Name: "--headed", Description: "Run tests in headed browsers"},
{Name: "--with-deps", Description: "Install system dependencies for browsers"},
{Name: "--version", Description: "Output the version number"},
},
})
}
+21
View File
@@ -0,0 +1,21 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "pnpx",
Description: "Execute binaries from npm packages",
Options: []core.Option{
{Name: "--package", Description: "Package to be executed"},
{Name: "--cache", Description: "Location of the npm cache"},
{Name: "--always-spawn", Description: "Always spawn a child process to execute the command"},
{Name: "--call", Description: "Execute string as if inside `npm run-script`"},
{Name: "--shell", Description: "Shell to execute the command with, if any"},
{Name: "--ignore-existing", Description: "Suppress output from pnpx itself. Subcommands will not be affected"},
{Name: "--npm", Description: "Npm binary to use for internal operations"},
},
})
}
+53
View File
@@ -0,0 +1,53 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "prettier",
Description: "Run Prettier from the command line",
Options: []core.Option{
{Name: "-c", Description: "Check if your files are formatted"},
{Name: "-l", Description: "Print the names of files that are different from Prettier's formatting"},
{Name: "-w", Description: "Edit files in-place"},
{Name: "--arrow-parens", Description: "Include parentheses around a sole arrow function parameter"},
{Name: "--no-bracket-spacing", Description: "Do not print spaces between brackets"},
{Name: "--end-of-line", Description: "Which end of line characters to apply"},
{Name: "--html-whitespace-sensitivity", Description: "How to handle whitespaces in HTML"},
{Name: "--jsx-bracket-same-line", Description: "Put > on the last line instead of at a new line"},
{Name: "--jsx-single-quote", Description: "Use single quotes in JSX"},
{Name: "--parser", Description: "Which parser to use"},
{Name: "--print-width", Description: "The line length where Prettier will try wrap"},
{Name: "--prose-wrap", Description: "How to wrap prose"},
{Name: "--quote-props", Description: "Change when properties in objects are quoted"},
{Name: "--no-semi", Description: "Do not print semicolons, except at the beginning of lines which may need them"},
{Name: "--single-quote", Description: "Use single quotes instead of double quotes"},
{Name: "--tab-width", Description: "Number of spaces per indentation level"},
{Name: "--trailing-comma", Description: "Print trailing commas wherever possible when multi-line"},
{Name: "--use-tabs", Description: "Indent with tabs instead of spaces"},
{Name: "--vue-indent-script-and-style", Description: "Indent script and style tags in Vue files"},
{Name: "--config", Description: "Do not look for a configuration file"},
{Name: "--config-precedence", Description: "Define in which order config files and CLI options should be evaluated"},
{Name: "--no-editorconfig", Description: "Don't take .editorconfig into account when parsing configuration"},
{Name: "--find-config-path", Description: "Finds a path to the configuration file for the given input file"},
{Name: "--ignore-path", Description: "Path to a file with patterns describing files to ignore"},
{Name: "--plugin", Description: "Add a plugin"},
{Name: "--plugin-search-dir", Description: "Custom directory that contains prettier plugins in node_modules subdirectory"},
{Name: "--with-node-modules", Description: "Process files inside 'node_modules' directory"},
{Name: "--cursor-offset", Description: "Format code ending at a given character offset (exclusive)"},
{Name: "--range-start", Description: "Format code starting at a given character offset"},
{Name: "--no-color", Description: "Do not colorize error messages"},
{Name: "--file-info", Description: "Extract the following info (as JSON) for a given file path"},
{Name: "-h", Description: "Show CLI usage, or details about the given flag"},
{Name: "-u", Description: "Ignore unknown files"},
{Name: "--insert-pragma", Description: "Insert @format pragma into file's first docblock comment"},
{Name: "--loglevel", Description: "What level of logs to report"},
{Name: "--require-pragma", Description: "Path to the file to pretend that stdin comes from"},
{Name: "--support-info", Description: "Print support information as JSON"},
{Name: "-v", Description: "Print Prettier version"},
{Name: "--debug-check", Description: "Prevent errors when pattern is unmatched"},
},
})
}
+44
View File
@@ -0,0 +1,44 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "quasar",
Description: "Quasar Framework CLI",
Subcommands: []core.Subcommand{
{Name: "create", Description: "Create a new Quasar project"},
{Name: "project-name", Description: "Name of the project"},
{Name: "info", Description: "Gather environment information for issue reporting"},
{Name: "upgrade", Description: "Upgrade Quasar Framework packages"},
{Name: "serve", Description: "Start development server"},
},
Options: []core.Option{
{Name: "-h", Description: "Output usage information"},
{Name: "--kit", Description: "Use specific starter kit"},
{Name: "--branch", Description: "Use specific branch of the starter kit"},
{Name: "--clone", Description: "Use git clone"},
{Name: "--offline", Description: "Use a cached starter kit"},
{Name: "--install", Description: "Also perform package upgrades"},
{Name: "--prerelease", Description: "Allow pre-release versions (alpha/beta)"},
{Name: "--major", Description: "Allow newer major versions (breaking changes)"},
{Name: "--port", Description: "Port to use"},
{Name: "--hostname", Description: "Address to use"},
{Name: "--gzip", Description: "Compress content"},
{Name: "--silent", Description: "Suppress log message"},
{Name: "--colors", Description: "Log messages with colors"},
{Name: "--open", Description: "Open browser window after starting"},
{Name: "--cache", Description: "Cache time (max-age) in seconds"},
{Name: "--micro", Description: "Use micro-cache"},
{Name: "--history", Description: "Use history api fallback"},
{Name: "--index", Description: "History mode (only!) index url path"},
{Name: "--https", Description: "Enable HTTPS"},
{Name: "--cert", Description: "Path to SSL cert file (Optional)"},
{Name: "--key", Description: "Path to SSL key file (Optional)"},
{Name: "--proxy", Description: "Proxy specific requests defined in file"},
{Name: "--cors", Description: "Enable CORS for all requests"},
},
})
}
+54
View File
@@ -0,0 +1,54 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "react-native",
Description: "Attempt to fix all diagnosed issues",
Options: []core.Option{
{Name: "--fix", Description: "Attempt to fix all diagnosed issues"},
{Name: "--contributor", Description: "Output usage information"},
{Name: "--entry-file", Description: "Path to the root JS file, either absolute or relative to JS root"},
{Name: "--platform", Description: "Specify a custom transformer to be used"},
{Name: "--dev", Description: "If false, warnings are disabled and the bundle is minified (default: true)"},
{Name: "--minify", Description: "File name where to store the resulting bundle, ex. /tmp/groups.bundle"},
{Name: "--bundle-encoding", Description: "Path to make sourcemap's sources entries relative to, ex. /root/dir"},
{Name: "--sourcemap-use-absolute-path", Description: "Report SourceMapURL using its full path"},
{Name: "--assets-dest", Description: "Directory name where to store assets referenced in the bundle"},
{Name: "--unstable-transform-profile", Description: "Removes cached files"},
{Name: "--read-global-cache", Description: "Try to fetch transformed JS code from the global cache, if configured"},
{Name: "--config", Description: "Path to the CLI configuration file"},
{Name: "-h", Description: "Output usage information"},
{Name: "--version", Description: "Shortcut for `--template react-native@version`"},
{Name: "--template", Description: "Forces using npm for initialization"},
{Name: "--directory", Description: "Uses a custom directory instead of `<projectName>`"},
{Name: "--title", Description: "Uses a custom app title name for application"},
{Name: "--skip-install", Description: "Skips dependencies installation step"},
{Name: "--port", Description: "Port on which to listen to"},
{Name: "--host", Description: "Change the default host"},
{Name: "--projectRoot", Description: "Path to a custom project root"},
{Name: "--watchFolders", Description: "Specify any additional folders to be added to the watch list"},
{Name: "--assetPlugins", Description: "Specify any additional asset plugins to be used by the packager by full filepath"},
{Name: "--sourceExts", Description: "Specify any additional source extensions to be used by the packager"},
{Name: "--max-workers", Description: "Specify a custom transformer to be used"},
{Name: "--reset-cache", Description: "Removes cached files"},
{Name: "--custom-log-reporter-path", Description: "Enables logging"},
{Name: "--https", Description: "Enables https connections to the server"},
{Name: "--key", Description: "Path to custom SSL key"},
{Name: "--cert", Description: "Path to custom SSL cert"},
{Name: "--no-interactive", Description: "Disables interactive mode"},
{Name: "--indexed-ram-bundle", Description: "Output usage information"},
{Name: "--platforms", Description: "Scope linking to specified platforms"},
{Name: "--all", Description: "Link all native modules and assets"},
{Name: "--filename", Description: "Pulls the original Hermes tracing profile without any transformation"},
{Name: "--sourcemap-path", Description: "The local path to your source map file, eg. /tmp/sourcemap.json"},
{Name: "--generate-sourcemap", Description: "Generates the JS bundle and source map"},
{Name: "--root", Description: "Do not launch packager while building"},
{Name: "--terminal", Description: "Output usage information"},
{Name: "--simulator", Description: "Explicitly set Xcode scheme to use"},
},
})
}
+75
View File
@@ -0,0 +1,75 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "redwood",
Description: "Script",
Subcommands: []core.Subcommand{
{Name: "side", Description: "Which side(s) to build"},
{Name: "api", Description: "Build the api server"},
{Name: "web", Description: "Build the web server"},
{Name: "options", Description: "Options to pass to Webpack Dev Server"},
{Name: "aws", Description: "Deploy to AWS using the selected provider"},
{Name: "provider", Description: "AWS Deploy provider to configure"},
{Name: "netlify", Description: "Build command for Netlify deploy"},
{Name: "render", Description: "Build (web) and Start (api) command for Render deploy"},
{Name: "vercel", Description: "Build command for Vercel deploy"},
{Name: "cell", Description: "Destroy a cell component"},
{Name: "name", Description: "Name of the cell component"},
{Name: "component", Description: "Destroy a component"},
{Name: "function", Description: "Destroy a Function"},
{Name: "layout", Description: "Destroy a layout component"},
{Name: "page", Description: "Destroy a page and route component"},
{Name: "path", Description: "URL path to the page. Defaults to name"},
{Name: "scaffold", Description: "Destroy pages, SDL, and Services files based on a given DB schema Model"},
{Name: "sdl", Description: "Destroy a GraphQL schema and service component based on a given DB schema Model"},
{Name: "service", Description: "Destroy a service component"},
{Name: "dataMigration", Description: "Generate a data migration component"},
{Name: "directive", Description: "Generate a directive"},
{Name: "model", Description: "Model to generate the sdl for"},
{Name: "types", Description: "Generate types and supplementary code"},
{Name: "script", Description: "Name of the script to execute"},
{Name: "tag", Description: "Tag to use for upgrade"},
{Name: "canary", Description: "Upgrade to the latest canary release"},
{Name: "rc", Description: "Upgrade to the latest RC release"},
{Name: "port", Description: "Port to run the server on"},
{Name: "socket", Description: "Socket to run the server on"},
{Name: "apiRootPath", Description: "Root path for the api"},
{Name: "apiHost", Description: "Host to forward requests to"},
{Name: "auth", Description: "Setup auth configuration for a provider"},
{Name: "tsconfig", Description: "Setup tsconfig.json on both web and api sides"},
{Name: "deploy", Description: "Setup auth configuration for a provider"},
{Name: "up", Description: "Executes outstanding data migrations"},
},
Options: []core.Option{
{Name: "--forward", Description: "String of one or more Webpack Dev Server config options"},
{Name: "--side", Description: "Show help for command"},
{Name: "--build", Description: "Build (web) and Start (api) command for Render deploy"},
{Name: "--serve", Description: "Build command for Vercel deploy"},
{Name: "--force", Description: "Overwrite existing files"},
{Name: "--typescript", Description: "Generate test files [default: true]"},
{Name: "--stories", Description: "Generate Storybook files [default: true]"},
{Name: "--skipLink", Description: "Generate a layout with a skip link [default: false]"},
{Name: "--stats", Description: "Print more information while building"},
{Name: "--dry-run", Description: "Check for outdated packages without upgrading"},
{Name: "--tag", Description: "Tag to use for upgrade"},
{Name: "--pr", Description: "Installs packages for the given PR"},
{Name: "--port", Description: "What port should the server run on [default: 8911]"},
{Name: "--socket", Description: "The socket the server should run. This takes precedence over port"},
{Name: "--apiRootPath", Description: "The root path where your api functions are served"},
{Name: "--apiHost", Description: "Host to forward requests to"},
{Name: "--help", Description: "Show help"},
{Name: "--version", Description: "Show version number"},
{Name: "--watch", Description: "Run all tests"},
{Name: "--collectCoverage", Description: "Delete the Jest cache directory and exit without running tests"},
{Name: "--db-push", Description: "Starts Storybook locally"},
{Name: "--open", Description: "Open Storybook in your browser on start"},
{Name: "--fix", Description: "Try to fix linting errors"},
{Name: "--database", Description: "Overwrite existing files"},
},
})
}
+24
View File
@@ -0,0 +1,24 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "remix",
Description: "Represent the directory of the Remix application",
Subcommands: []core.Subcommand{
{Name: "build", Description: "Create an optimized production build of your application"},
{Name: "dev", Description: "Start the application in development mode"},
{Name: "setup", Description: "Prepare node_modules/remix folder (after installation of packages)"},
{Name: "routes", Description: "Generate the route config of the application"},
},
Options: []core.Option{
{Name: "--help", Description: "Output usage information"},
{Name: "-v", Description: "Output the version number"},
{Name: "--sourcemap", Description: "Enables production sourcemap"},
{Name: "--json", Description: "Print the route config as JSON"},
},
})
}
+96
View File
@@ -0,0 +1,96 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "remotion",
Description: "Create videos programmatically in React",
Subcommands: []core.Subcommand{
{Name: "versions", Description: "Prints and validates versions of all Remotion packages"},
{Name: "gpu", Description: "Prints information about how Chrome uses the GPU"},
{Name: "compositions", Description: "Prints the list of available compositions"},
{Name: "entry", Description: "The entry point of your Remotion app"},
{Name: "lambda", Description: "Access functionality of @remotion/lambda"},
{Name: "policies", Description: "Manage AWS policies"},
{Name: "role", Description: "Print policy to be added to the AWS role"},
{Name: "user", Description: "Print policy to be added to the AWS user"},
{Name: "validate", Description: "Validate the user policy was configured correctly"},
{Name: "quotas", Description: "Show current AWS quota"},
{Name: "us-east-1", Description: "North Virginia"},
{Name: "us-east-2", Description: "Ohio"},
{Name: "eu-central-1", Description: "Frankfurt"},
{Name: "eu-west-1", Description: "Ireland"},
{Name: "eu-west-2", Description: "London"},
{Name: "us-west-2", Description: "Oregon"},
{Name: "ap-south-1", Description: "Mumbai"},
{Name: "ap-southeast-1", Description: "Singapore"},
{Name: "ap-southeast-2", Description: "Sydney"},
{Name: "ap-northeast-1", Description: "Tokyo"},
{Name: "increase", Description: "Send a request to AWS to increase concurrency quotas"},
{Name: "regions", Description: "Prints list of supported regions"},
{Name: "render", Description: "Render media on Lambda"},
{Name: "serve-url", Description: "URL or name of the site"},
{Name: "composition-id", Description: "Name of the composition"},
{Name: "out-name", Description: "Where the output should be downloaded. No download it omitted"},
{Name: "still", Description: "Render a still on Lambda"},
{Name: "functions", Description: "Manage functions on AWS Lambda"},
{Name: "ls", Description: "List deployed functions"},
{Name: "deploy", Description: "Deploy a function if one with the same parameters doesn't exist"},
{Name: "rmall", Description: "Remove all functions in a region"},
{Name: "rm", Description: "Remove a function"},
{Name: "function-name", Description: "ID of your function"},
{Name: "site-name", Description: "ID of your site"},
{Name: "create", Description: "Create or update a site"},
{Name: "comp-id", Description: "The composition ID"},
{Name: "polling-interval", Description: "Polling interval in milliseconds"},
{Name: "upgrade", Description: "Upgrade all Remotion-related dependencies to the newest version"},
{Name: "benchmark", Description: "Try different render configurations and compare them"},
{Name: "install", Description: "Ensure Remotion dependencies"},
},
Options: []core.Option{
{Name: "--props", Description: "Pass input props as filename or as JSON"},
{Name: "--env-file", Description: "Specify a location for a dotenv file"},
{Name: "--disable-headless", Description: "Run Chrome in normal mode rather than headless"},
{Name: "--gl", Description: "Which OpenGL renderer to use"},
{Name: "--user-agent", Description: "User agent to use for Chrome during rendering"},
{Name: "--ignore-certificate-errors", Description: "Ignore SSL errors"},
{Name: "--disable-web-security", Description: "Disable CORS and other web security features"},
{Name: "--quiet", Description: "Print less output"},
{Name: "-q", Description: "Print less output"},
{Name: "--log", Description: "Custom location for a Remotion config file"},
{Name: "--yes", Description: "Skip confirmation"},
{Name: "--force", Description: "Skip confirmation"},
{Name: "-y", Description: "Skip confirmation"},
{Name: "-f", Description: "Skip confirmation"},
{Name: "--region", Description: "The AWS region specifier"},
{Name: "--default-only", Description: "Only print the regions enabled by default in a new AWS account"},
{Name: "--max-retries", Description: "How many times a chunk can be retried before the render times out"},
{Name: "--privacy", Description: "How many frames should be rendered per chunk"},
{Name: "--concurrency-per-lambda", Description: "Concurrency with which each Lambda function should render"},
{Name: "--overwrite", Description: "Overwrite a video if it already exists in the S3 bucket"},
{Name: "--function-name", Description: "Name of the function that should be invoked"},
{Name: "--renderer-function-name", Description: "The time in millisecond that a delayRender() may take before it times out"},
{Name: "--quality", Description: "Quality for rendered frames, JPEG only, 0-100"},
{Name: "--scale", Description: "Upscale or downscale or the dimensions of the video"},
{Name: "--codec", Description: "Video or audio codec"},
{Name: "--audio-codec", Description: "Codec to be used for the audio"},
{Name: "--every-nth-frame", Description: "Render only every nth frame (only for GIFs)"},
{Name: "--number-of-gif-loops", Description: "How many times a GIF should loop. 0 = No loop"},
{Name: "--audio-bitrate", Description: "Customize the output audio bitrate"},
{Name: "--video-bitrate", Description: "Customize the output video bitrate. Mutually exclusive with --crf"},
{Name: "--crf", Description: "FFMPEG CRF value, controls quality, see docs for info"},
{Name: "--frames", Description: "Render a portion or a still of a video, 0-9, 50"},
{Name: "--prores-profile", Description: "ProRes profile, need --codec=prores to be set"},
{Name: "--x264-preset", Description: "Custom pixel format, see docs for available values"},
{Name: "--muted", Description: "Outputs no audio"},
{Name: "--height", Description: "Override the composition height"},
{Name: "--width", Description: "Override the composition width"},
{Name: "--frame", Description: "Which frame to render (default 0)"},
{Name: "--memory", Description: "Amount of memory in MB to allocate"},
{Name: "--disk", Description: "Amount of disk space in MB to allocate"},
},
})
}
+54
View File
@@ -0,0 +1,54 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "rollup",
Description: "Next-generation ES module bundler",
Options: []core.Option{
{Name: "-c", Description: "Directory for chunks (if absent, prints to stdout)"},
{Name: "-e", Description: "Comma-separate list of module IDs to exclude"},
{Name: "-f", Description: "Type of output (amd, cjs, es, iife, umd, system)"},
{Name: "-g", Description: "Comma-separate list of `moduleID:Global` pairs"},
{Name: "-h", Description: "Show help message"},
{Name: "-i", Description: "Input (alternative to <entry file>)"},
{Name: "-m", Description: "Generate sourcemap (`-m inline` for inline map)"},
{Name: "-n", Description: "Name for UMD export"},
{Name: "-o", Description: "Single output file (if absent, prints to stdout)"},
{Name: "-p", Description: "Use the plugin specified (may be repeated)"},
{Name: "-v", Description: "Show version number"},
{Name: "-w", Description: "Watch files in bundle and rebuild on changes"},
{Name: "--assetFileNames", Description: "Name pattern for emitted assets"},
{Name: "--banner", Description: "Code to insert at top of bundle (outside wrapper)"},
{Name: "--chunkFileNames", Description: "Name pattern for emitted secondary chunks"},
{Name: "--compact", Description: "Minify wrapper code"},
{Name: "--context", Description: "Specify top-level 'this' value"},
{Name: "--entryFileNames", Description: "Name pattern for emitted entry chunks"},
{Name: "--environment", Description: "Settings passed to config file"},
{Name: "--no-esModule", Description: "Do not add __esmodule property"},
{Name: "--exports", Description: "Specify export mode (auto, default, named, none)"},
{Name: "--extend", Description: "Extend global variable defined by --name"},
{Name: "--no-externalLiveBindings", Description: "Do not generate code to support live bindings"},
{Name: "--failAfterWarnings", Description: "Exit with an error if the build produced warnings"},
{Name: "--footer", Description: "Code to insert at end of bundle (outside wrapper)"},
{Name: "--no-freeze", Description: "Do not freeze namespace objects"},
{Name: "--no-hoistTransistiveImports", Description: "Do not hoist transistive imports into entry chunks"},
{Name: "--no-indent", Description: "Don't indent result"},
{Name: "--no-interop", Description: "Do not include interop block"},
{Name: "--inlineDynamicImports", Description: "Create a single bundle when using dynamic imports"},
{Name: "--intro", Description: "Code to insert at top of bundle (inside wrapper)"},
{Name: "--minifyInternalImports", Description: "Force or disable minification of internal imports"},
{Name: "--namespaceToStringTag", Description: "Create proper '.toString' methods for namespaces"},
{Name: "--noConflict", Description: "Generate a noConflict method for UMD globals"},
{Name: "--outro", Description: "Code to insert at end of bundle (inside wrapper)"},
{Name: "--preferConst", Description: "Use 'const' instead of 'var' for exports"},
{Name: "--no-preserveEntrySignatures", Description: "Avoid facade chunks for entry points"},
{Name: "--preserveModules", Description: "Preserve module structure"},
{Name: "--preserveModulesRoot", Description: "Put preserved modules under this path at root level"},
{Name: "--preserveSymlinks", Description: "Do not follow symlinks when resolving files"},
},
})
}
+48
View File
@@ -0,0 +1,48 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "rome",
Description: "Rome CLI",
Subcommands: []core.Subcommand{
{Name: "check", Description: "Run the linter on a set of files"},
{Name: "ci", Description: "Run the linter and formatter check on a set of files"},
{Name: "format", Description: "Run the formatter on a set of files"},
{Name: "init", Description: "Bootstraps a new rome project"},
{Name: "start", Description: "Start the Rome daemon server process"},
{Name: "stop", Description: "Stop the Rome daemon server process"},
{Name: "lsp-proxy", Description: "Acts as a server for the Language Server Protocol over stdin/stdout"},
{Name: "rage", Description: "Prints information for debugging"},
{Name: "version", Description: "Shows the Rome version information and quit"},
{Name: "help", Description: "Prints help message"},
},
Options: []core.Option{
{Name: "--colors", Description: "Set the formatting mode for markup"},
{Name: "--use-server", Description: "Connect to a running instance of the Rome daemon server"},
{Name: "--version", Description: "Show the Rome version information and quit"},
{Name: "--files-max-size", Description: "The maximum allowed size for source code files in bytes"},
{Name: "--apply", Description: "Apply safe fixes"},
{Name: "--apply-unsafe", Description: "Apply safe and unsafe fixes"},
{Name: "--max-diagnostics", Description: "Cap the amount of diagnostics displayed"},
{Name: "--config-path", Description: "Set the filesystem path to the config dir of the rome.json file"},
{Name: "--verbose", Description: "Print additional verbose advice on diagnostics"},
{Name: "--formatter-enabled", Description: "Allow to enable or disable the formatter check"},
{Name: "--linter-enabled", Description: "Allow to enable or disable the linter check"},
{Name: "--organize-imports-enabled", Description: "Allow to enable or disable the organize imports"},
{Name: "--indent-style", Description: "Change the indention character"},
{Name: "--indent-size", Description: "How many spaces should be used for indentation"},
{Name: "--line-width", Description: "How many characters the formatter is allowed to print in a single line"},
{Name: "--quote-style", Description: "Changes the quotation character for strings"},
{Name: "--quote-properties", Description: "Changes when properties in object should be quoted"},
{Name: "--trailing-comma", Description: "Changes trailing commas in multi-line comma-separated syntactic structures"},
{Name: "--semicolons", Description: "Changes when to print semicolons for statements"},
{Name: "--write", Description: "Edit the files in place (beware!) instead of printing the diff to the console"},
{Name: "--skip-errors", Description: "Skip over files containing syntax errors instead of emitting an error diagnostic"},
{Name: "--stdin-file-path", Description: "A file name with its extension to pass when reading from standard in"},
},
})
}
+53
View File
@@ -0,0 +1,53 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "rush",
Description: "Projects",
Subcommands: []core.Subcommand{
{Name: "add", Description: "Adds one or more dependencies to the package.json and runs rush update"},
{Name: "init", Description: "Initializes a new repository to be managed by Rush"},
{Name: "init-autoinstaller", Description: "Initializes a new autoinstaller"},
{Name: "link", Description: "Create node_modules symlinks for all projects"},
{Name: "list", Description: "List package information for all projects in the repo"},
{Name: "unlink", Description: "Delete node_modules symlinks for all projects in the repo"},
{Name: "update-autoinstaller", Description: "Updates autoinstaller package dependencies"},
{Name: "update-cloud-credentials", Description: "(EXPERIMENTAL) Update the credentials used by the build cache provider"},
{Name: "version", Description: "Manage package versions in the repo"},
{Name: "rebuild", Description: "Clean and rebuild the entire set of projects"},
{Name: "tab-complete", Description: "Provides tab completion"},
},
Options: []core.Option{
{Name: "-t", Description: "Multi-Project Build Tool"},
{Name: "-p", Description: "Specify package to the dependencies of the current project"},
{Name: "--exact", Description: "If specified, the dependency will be added to all projects"},
{Name: "-v", Description: "Verify the change file has been generated and that it is a valid JSON file"},
{Name: "--no-fetch", Description: "The message to apply to all changed projects if the --bulk flag is provided"},
{Name: "--bump-type", Description: "The bump type to apply to all changed projects if the --bulk flag is provided"},
{Name: "--variant", Description: "If this flag is specified, output will be in JSON format"},
{Name: "--overwrite-existing", Description: "Initializes a new autoinstaller"},
{Name: "--name", Description: "Overrides the default maximum number of install attempts. The default value is 3"},
{Name: "--ignore-hooks", Description: "Only check the validity of the shrinkwrap file without performing an install"},
{Name: "-f", Description: "List package information for all projects in the repo"},
{Name: "-a", Description: "If this flag is specified, applied changes will be published to the NPM registry"},
{Name: "--add-commit-details", Description: "Adds commit author and hash to the changelog.json files for each change"},
{Name: "--regenerate-changelogs", Description: "Regenerates all changelog files based on the current JSON content"},
{Name: "-r", Description: "Append a suffix to all changed versions. Cannot be used with --prerelease-name"},
{Name: "--force", Description: "Skips execution of all git hooks. Make sure you know what you are skipping"},
{Name: "--unsafe", Description: "If this flag is specified, output will be in JSON format"},
{Name: "--all", Description: "If this flag is specified, output will list all detected dependencies"},
{Name: "-i", Description: "A static credential, to be cached"},
{Name: "-d", Description: "If specified, delete stored credentials"},
{Name: "-b", Description: "Updates package versions if needed to satisfy version policies"},
{Name: "--override-version", Description: "Bumps package version based on version policies"},
{Name: "--bypass-policy", Description: "The name of the version policy"},
{Name: "--override-bump", Description: "Skips execution of all git hooks. Make sure you know what you are skipping"},
{Name: "--word", Description: "The position in the word to be completed. The default value is 0"},
{Name: "-h", Description: "Show this help message and exit"},
},
})
}
+36
View File
@@ -0,0 +1,36 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "sequelize",
Description: "The environment to run the command in",
Options: []core.Option{
{Name: "--env", Description: "The environment to run the command in"},
{Name: "--config", Description: "The path to the config file"},
{Name: "--options-path", Description: "The path to a JSON file with additional options"},
{Name: "--migrations-path", Description: "The path to the migrations folder"},
{Name: "--seeders-path", Description: "The path to the seeders folder"},
{Name: "--models-path", Description: "The path to the models folder"},
{Name: "--url", Description: "The database connection string to use"},
{Name: "--debug", Description: "When available show various debug information"},
{Name: "--help", Description: "Show help"},
{Name: "--version", Description: "Show version number"},
{Name: "--charset", Description: "Pass charset option to dialect, MYSQL only"},
{Name: "--collate", Description: "Pass collate option to dialect"},
{Name: "--encoding", Description: "Pass encoding option to dialect, PostgreSQL only"},
{Name: "--ctype", Description: "Pass ctype option to dialect, PostgreSQL only"},
{Name: "--template", Description: "Pass template option to dialect, PostgreSQL only"},
{Name: "--force", Description: "Will drop the existing config folder and re-create it"},
{Name: "--to", Description: "Migration name to run migrations until"},
{Name: "--from", Description: "Migration name to start migrations from (excluding)"},
{Name: "--seed", Description: "List of seed files"},
{Name: "--name", Description: "Name of the migration to undo"},
{Name: "--attributes", Description: "A list of attributes"},
{Name: "--underscored", Description: "Use snake case for the timestamp's attribute names"},
},
})
}
+30
View File
@@ -0,0 +1,30 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "serve",
Description: "Static file serving and directory listing",
Options: []core.Option{
{Name: "-h", Description: "Shows help message"},
{Name: "-v", Description: "Displays the current version of serve"},
{Name: "-l", Description: "E.g. serve --listen 1234"},
{Name: "-p", Description: "Specify custom port"},
{Name: "-d", Description: "Show debugging information"},
{Name: "-s", Description: "Rewrite all not-found requests to `index.html`"},
{Name: "-c", Description: "Specify custom path to `serve.json`"},
{Name: "-C", Description: "Enable CORS, sets `Access-Control-Allow-Origin` to `*`"},
{Name: "-n", Description: "Do not copy the local address to the clipboard"},
{Name: "-u", Description: "Do not compress files"},
{Name: "--no-etag", Description: "Send `Last-Modified` header instead of `ETag`"},
{Name: "-S", Description: "Resolve symlinks instead of showing 404 errors"},
{Name: "--ssl-cert", Description: "Optional path to an SSL/TLS certificate to serve with HTTPS"},
{Name: "--ssl-key", Description: "Optional path to the SSL/TLS certificate's private key"},
{Name: "--ssl-pass", Description: "Optional path to the SSL/TLS certificate's passphrase"},
{Name: "--no-port-switching", Description: "Do not open a port other than the one specified when it's taken"},
},
})
}
+25
View File
@@ -0,0 +1,25 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "shadcn-ui",
Description: "Shadcn UI CLI",
Subcommands: []core.Subcommand{
{Name: "add", Description: "Add a component to your project"},
{Name: "components", Description: "The components to add"},
{Name: "diff", Description: "Check for updates against the registry"},
{Name: "component", Description: "The component name"},
{Name: "init", Description: "Initialize your project and install dependencies"},
},
Options: []core.Option{
{Name: "-y", Description: "Skip confirmation prompt"},
{Name: "-o", Description: "Overwrite existing files"},
{Name: "-c", Description: "The working directory. defaults to the current directory"},
{Name: "-p", Description: "The path to add the component to"},
},
})
}
+30
View File
@@ -0,0 +1,30 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "start-storybook",
Description: "Display usage information",
Options: []core.Option{
{Name: "--help", Description: "Display usage information"},
{Name: "-V", Description: "Display the version number"},
{Name: "-s", Description: "Directory where to load static files from, comma-separated list"},
{Name: "-c", Description: "Directory where to load Storybook configurations from"},
{Name: "--https", Description: "Provide an SSL certificate. (Required with --https)"},
{Name: "--ssl-key", Description: "Provide an SSL key. (Required with --https)"},
{Name: "--smoke-test", Description: "Exit after successful start"},
{Name: "--ci", Description: "CI mode (skip interactive prompts, don't open browser)"},
{Name: "--quiet", Description: "Suppress verbose build output"},
{Name: "--no-dll", Description: "Do not use dll reference (no-op)"},
{Name: "--debug-webpack", Description: "Display final webpack configurations for debugging purposes"},
{Name: "--webpack-stats-json", Description: "Write Webpack Stats JSON to disk"},
{Name: "--docs", Description: "Starts Storybook in documentation mode"},
{Name: "--no-manager-cache", Description: "Storybook start CLI tools"},
{Name: "-p", Description: "Port to run Storybook"},
{Name: "-h", Description: "Host to run Storybook"},
},
})
}
+45
View File
@@ -0,0 +1,45 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "stencil",
Description: "CLI to build Stencil projects and generate components",
Subcommands: []core.Subcommand{
{Name: "build", Description: "Build components for development or production"},
{Name: "workers", Description: "Number of workers"},
{Name: "test", Description: "Run unit and end-to-end tests"},
{Name: "generate", Description: "Bootstrap components"},
{Name: "telemetry", Description: "Opt in or out of telemetry"},
{Name: "off", Description: "Disable sharing anonymous usage data"},
{Name: "on", Description: "Enable sharing anonymous usage data"},
},
Options: []core.Option{
{Name: "--ci", Description: "Set stencil config file"},
{Name: "--debug", Description: "Set the log level to debug"},
{Name: "--dev", Description: "Development build"},
{Name: "--docs-readme", Description: "Generate component readme.md docs"},
{Name: "--es5", Description: "Creates an ES5 compatible build"},
{Name: "--log", Description: "Write stencil-build.log file"},
{Name: "--prerender", Description: "Prerender the application"},
{Name: "--prod", Description: "Runs a production build"},
{Name: "--max-workers", Description: "Max number of workers the compiler should use"},
{Name: "--next", Description: "Opt-in to test the 'next' Stencil compiler features"},
{Name: "--no-cache", Description: "Disables using the cache"},
{Name: "--no-open", Description: "Do not automatically open the browser window"},
{Name: "--port", Description: "Port for the Integrated Dev Server"},
{Name: "--serve", Description: "Start the dev-server"},
{Name: "--stats", Description: "Write stencil-stats.json file"},
{Name: "--verbose", Description: "Logs additional information about each step of the build"},
{Name: "--watch", Description: "Rebuild when files update"},
{Name: "--spec", Description: "Run unit tests with Jest"},
{Name: "--e2e", Description: "Run e2e tests with Puppeteer"},
{Name: "--no-build", Description: "Skips build process before running the tests"},
{Name: "--help", Description: "Display the help output explaining the different flags"},
{Name: "--version", Description: "Prints the current Stencil version"},
},
})
}
+47
View File
@@ -0,0 +1,47 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "swagger-typescript-api",
Description: "Generate api via swagger scheme",
Options: []core.Option{
{Name: "--output", Description: "Output path of generated templates"},
{Name: "--modular", Description: "Http client type"},
{Name: "--clean-output", Description: "Clean output folder before generate template"},
{Name: "--rewrite", Description: "Rewrite content in existing templates"},
{Name: "--version", Description: "Output the current version"},
{Name: "--path", Description: "Path/url to swagger scheme"},
{Name: "--default-as-success", Description: "Generate additional information about request responses"},
{Name: "--union-enums", Description: "Generate readonly properties"},
{Name: "--route-types", Description: "Generate type definitions for API routes"},
{Name: "--no-client", Description: "Do not generate an API class"},
{Name: "--enum-names-as-values", Description: "Use values in 'x-enumNames' as enum values (not only as keys)"},
{Name: "--extract-request-params", Description: "Extract request params to data contract"},
{Name: "--extract-request-body", Description: "Extract request body type to data contract"},
{Name: "--extract-response-body", Description: "Extract response body type to data contract"},
{Name: "--extract-response-error", Description: "Extract response error type to data contract"},
{Name: "--js", Description: "Generate js api module with declaration file"},
{Name: "--module-name-index", Description: "Determines which path index should be used for routes separation"},
{Name: "--module-name-first-tag", Description: "Splits routes based on the first tag"},
{Name: "--disableStrictSSL", Description: "Disabled strict SSL"},
{Name: "--disableProxy", Description: "Disabled proxy"},
{Name: "--axios", Description: "Generate axios http client"},
{Name: "--unwrap-response-data", Description: "Unwrap the data item from the response"},
{Name: "--disable-throw-on-error", Description: "Do not throw an error when response.ok is not true (default: false)"},
{Name: "--single-http-client", Description: "Ability to send HttpClient instance to Api constructor (default: false)"},
{Name: "--silent", Description: "Output only errors to console"},
{Name: "--default-response", Description: "Default type for empty response schema"},
{Name: "--type-prefix", Description: "Data contract name prefix"},
{Name: "--type-suffix", Description: "Data contract name suffix"},
{Name: "--patch", Description: "Fix up small errors in the swagger source definition (default: false)"},
{Name: "--debug", Description: "Additional information about processes inside this tool (default: false)"},
{Name: "--another-array-type", Description: "Generate array types as Array<Type> (by default Type[]) (default: false)"},
{Name: "--sort-types", Description: "Sort fields and types (default: false)"},
{Name: "--extract-enums", Description: "Show help for swagger-typescript-api"},
},
})
}
+33
View File
@@ -0,0 +1,33 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "swc",
Description: "Path to the file",
Options: []core.Option{
{Name: "--filename", Description: "Path to the file"},
{Name: "--config-file", Description: "Path to a .swcrc file to use"},
{Name: "--env-name", Description: "Whether or not to look up .swcrc files"},
{Name: "--ignore", Description: "List of glob paths to not compile"},
{Name: "--only", Description: "List of glob paths to only compile"},
{Name: "--watch", Description: "Watch for changes and recompile"},
{Name: "--quiet", Description: "Suppress compilation output"},
{Name: "--source-maps", Description: "Generate source maps"},
{Name: "--source-map-target", Description: "Define the file for the source map"},
{Name: "--source-file-name", Description: "Set sources[0] on returned source map"},
{Name: "--source-root", Description: "The root from which all sources are relative"},
{Name: "--out-file", Description: "Compile all input files into a single file"},
{Name: "--out-dir", Description: "Compile an input directory of modules into an output directory"},
{Name: "--copy-files", Description: "When compiling a directory, copy over non-compilable files"},
{Name: "--include-dotfiles", Description: "Include dotfiles when compiling and copying non-compilable files"},
{Name: "--config", Description: "Override a config from .swcrc file"},
{Name: "--sync", Description: "Invoke swc synchronously. Useful for debugging"},
{Name: "--log-watch-compilation", Description: "Log a message when a watched file is successfully compiled"},
{Name: "--extensions", Description: "Log a message when a watched file is successfully compiled"},
},
})
}
+76
View File
@@ -0,0 +1,76 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "truffle",
Description: "Execute build pipeline (if configuration present)",
Subcommands: []core.Subcommand{
{Name: "build", Description: "Execute build pipeline (if configuration present)"},
{Name: "compile", Description: "Compile contract source files"},
{Name: "config", Description: "Set user-level configuration options"},
{Name: "get", Description: "Get a Truffle configuration option value"},
{Name: "set", Description: "Set a Truffle configuration option value"},
{Name: "console", Description: "Run a console with contract abstractions and commands available"},
{Name: "name", Description: "Network name must exist in the configuration"},
{Name: "create", Description: "Helper to create new contracts, migrations and tests"},
{Name: "ArtifactName", Description: "Name of new artifact. (required)"},
{Name: "debug", Description: "Interactively debug any transaction on the blockchain"},
{Name: "deploy", Description: "Alias for migrate. See migrate for details"},
{Name: "develop", Description: "Open a console with a development blockchaine"},
{Name: "exec", Description: "Execute a JS module within the Truffle environment"},
{Name: "help", Description: "Display a list of all commands or information about a specific command"},
{Name: "command", Description: "Display usage information about the specified command"},
{Name: "init", Description: "Initialize new and empty Ethereum project"},
{Name: "install", Description: "Install a package from the Ethereum Package Registry"},
{Name: "package_name", Description: "Name of the package as listed in the Ethereum Package Registry. (required)"},
{Name: "networks", Description: "Show addresses for deployed contracts on each network"},
{Name: "obtain", Description: "Fetch and cache a specified compiler"},
{Name: "opcode", Description: "Print the compiled opcodes for a given contract"},
{Name: "publish", Description: "Publish a package to the Ethereum Package Registry"},
{Name: "run", Description: "Run a third-party plugin command"},
{Name: "version", Description: "Show version number and exit"},
{Name: "watch", Description: "Watch filesystem for changes and rebuild the project automatically"},
{Name: "preserve", Description: "Save data to decentralized storage platforms like IPFS and Filecoin"},
{Name: "migrate", Description: "Run migrations to deploy contracts"},
{Name: "number", Description: "The number refers to the prefix of the migration file"},
{Name: "unbox", Description: "Download a Truffle Box, a pre-built Truffle project"},
{Name: "box_name", Description: "Name of the Truffle Box. (required)"},
{Name: "test", Description: "Run JavaScript and Solidity tests"},
},
Options: []core.Option{
{Name: "--list", Description: "Compile all contracts instead of only the contracts changed since last compile"},
{Name: "--quiet", Description: "Suppress all compilation output"},
{Name: "--enable-analytics", Description: "Enable Truffle to send usage data to Google Analytics"},
{Name: "--disable-analytics", Description: "Disable Truffle's ability to send usage data to Google Analytics"},
{Name: "--network", Description: "Specify the network to use"},
{Name: "--verbose-rpc", Description: "Log communication between Truffle and the Ethereum client"},
{Name: "--require", Description: "Preload console environment from required JavaScript file"},
{Name: "--require-none", Description: "Helper to create new contracts, migrations and tests"},
{Name: "--fetch-external", Description: "Allows the debugger to compile Solidity test contracts. Implies --compile-all"},
{Name: "--compile-all", Description: "Alias for migrate. See migrate for details"},
{Name: "--log", Description: "Preload console environment from required JavaScript file"},
{Name: "--compile", Description: "Compile contracts before executing the script"},
{Name: "--force", Description: "Install a package from the Ethereum Package Registry"},
{Name: "--clean", Description: "Remove all network artifacts that aren't associated with a named network"},
{Name: "--solc", Description: "Download and cache a version of the solc compiler. (required)"},
{Name: "--environment", Description: "Environment name, as defined in truffle-config `environments` object"},
{Name: "--ipfs", Description: "Preserve to IPFS"},
{Name: "--filecoin", Description: "Preserve to Filecoin"},
{Name: "--buckets", Description: "Preserve to Textile Buckets"},
{Name: "--reset", Description: "Run contracts from a specific migration"},
{Name: "--to", Description: "Run contracts to a specific migration"},
{Name: "--dry-run", Description: "Fork the network specified and only perform a test migration"},
{Name: "--skip-dry-run", Description: "Skip the test migration performed before the real migration"},
{Name: "--interactive", Description: "Prompt to confirm that the user wants to proceed after the dry run"},
{Name: "--describe-json", Description: "Prints additional status messages"},
{Name: "--show-events", Description: "Log all contract events"},
{Name: "--debug", Description: "Allows one to rename the debug() function to something else"},
{Name: "--bail", Description: "Bail after the first test failure. May be abbreviated -b"},
{Name: "--stacktrace", Description: "Shortcut for --stacktrace --compile-all-debug"},
},
})
}
+40
View File
@@ -0,0 +1,40 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "ts-node",
Description: "Run the TypeScript interpreter for Node.JS",
Options: []core.Option{
{Name: "--help", Description: "Show help for ts-node"},
{Name: "-v", Description: "Print version information of the ts-node module"},
{Name: "-e", Description: "Evaluate script"},
{Name: "-p", Description: "Evaluate script and print result"},
{Name: "-r", Description: "Require module before executing"},
{Name: "-i", Description: "Always open interactive REPL"},
{Name: "--show-config", Description: "Print resolved Typescript config to the terminal"},
{Name: "--cwd-mode", Description: "Resolve Typescript config based on the current working directory"},
{Name: "-T", Description: "Use the Typescript transpile module mode"},
{Name: "-H", Description: "Use the Typescript compiler host API"},
{Name: "-I", Description: "Ignore patterns from Typescript compilation"},
{Name: "-P", Description: "Specify TypeScript project location"},
{Name: "-C", Description: "Use a custom compiler"},
{Name: "--transpiler", Description: "Use a custom transpiler"},
{Name: "-D", Description: "Specify Typescript diagnostic code to ignore"},
{Name: "-O", Description: "JSON object that will be merged with the compiler options"},
{Name: "--cwd", Description: "Specify working directory"},
{Name: "--files", Description: "Load files, include and exclude from Typescript config on startup"},
{Name: "--pretty", Description: "Use the pretty formatter for diagnostic errors"},
{Name: "--skip-project", Description: "Skip reading Typescript config"},
{Name: "--scope", Description: "Scope compilation to scope directory specified"},
{Name: "--scope-dir", Description: "Directory for scope parameter"},
{Name: "--skip-ignore", Description: "Skip --ignore checks"},
{Name: "--prefer-ts-exts", Description: "Prefer Typescript files over JavaScript files when importing files"},
{Name: "--log-error", Description: "Pipe Typescript errors to stderr instead of throwing exceptions"},
{Name: "--no-experimental-repl-await", Description: "Disable the top-level await function in REPL"},
},
})
}
+54
View File
@@ -0,0 +1,54 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "tsc",
Description: "CLI tool for TypeScript compiler",
Options: []core.Option{
{Name: "--all", Description: "Show all compiler options"},
{Name: "--generateTrace", Description: "Generates an event trace and a list of types"},
{Name: "--help", Description: "Gives local information for help on the CLI"},
{Name: "--init", Description: "Initializes a TypeScript project and creates a tsconfig.json file"},
{Name: "--listFilesOnly", Description: "Print names of files that are part of the compilation and then stop processing"},
{Name: "--locale", Description: "Set the language of the messaging from TypeScript. This does not affect emit"},
{Name: "--project", Description: "Print the final configuration instead of building"},
{Name: "--version", Description: "Print the compiler's version"},
{Name: "--build", Description: "Build one or more projects and their dependencies, if out of date"},
{Name: "--clean", Description: "Delete the outputs of all projects"},
{Name: "--dry", Description: "Show what would be built (or deleted, if specified with '--clean')"},
{Name: "--force", Description: "Build all projects, including those that appear to be up to date"},
{Name: "--verbose", Description: "Enable verbose logging"},
{Name: "--excludeDirectories", Description: "Remove a list of directories from the watch process"},
{Name: "--excludeFiles", Description: "Remove a list of files from the watch mode's processing"},
{Name: "--fallbackPolling", Description: "Watch input files"},
{Name: "--watchDirectory", Description: "Specify how the TypeScript watch mode works"},
{Name: "--allowJs", Description: "Allow 'import x from y' when a module doesn't have a default export"},
{Name: "--allowUmdGlobalAccess", Description: "Allow accessing UMD globals from modules"},
{Name: "--allowUnreachableCode", Description: "Disable error reporting for unreachable code"},
{Name: "--allowUnusedLabels", Description: "Disable error reporting for unused label"},
{Name: "--alwaysStrict", Description: "Ensure 'use strict' is always emitted"},
{Name: "--checkJs", Description: "Enable error reporting in type-checked JavaScript files"},
{Name: "--composite", Description: "Generate .d.ts files from TypeScript and JavaScript files in your project"},
{Name: "--declarationDir", Description: "Specify the output directory for generated declaration files"},
{Name: "--declarationMap", Description: "Create sourcemaps for d.ts files"},
{Name: "--diagnostics", Description: "Output compiler performance information after building"},
{Name: "--disableSizeLimit", Description: "Opt a project out of multi-project reference checking when editing"},
{Name: "--emitBOM", Description: "Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files"},
{Name: "--emitDeclarationOnly", Description: "Only output d.ts files and not JavaScript files"},
{Name: "--emitDecoratorMetadata", Description: "Emit design-type metadata for decorated declarations in source files"},
{Name: "--esModuleInterop", Description: "Differentiate between undefined and not present when type checking"},
{Name: "--experimentalDecorators", Description: "Enable experimental support for TC39 stage 2 draft decorators"},
{Name: "--explainFiles", Description: "Print files read during the compilation including why it was included"},
{Name: "--extendedDiagnostics", Description: "Output more detailed compiler performance information after building"},
{Name: "--generateCpuProfile", Description: "Emit a v8 CPU profile of the compiler run for debugging"},
{Name: "--importHelpers", Description: "Specify emit/checking behavior for imports that are only used for types"},
{Name: "--incremental", Description: "Save .tsbuildinfo files to allow for incremental compilation of projects"},
{Name: "--inlineSourceMap", Description: "Include sourcemap files inside the emitted JavaScript"},
{Name: "--inlineSources", Description: "Include source code in the sourcemaps inside the emitted JavaScript"},
},
})
}
+22
View File
@@ -0,0 +1,22 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "tsx",
Description: "Run TypeScript file using tsx",
Subcommands: []core.Subcommand{
{Name: "watch", Description: "Run the script and watch for changes"},
},
Options: []core.Option{
{Name: "--help", Description: "Show help for tsx"},
{Name: "--no-cache", Description: "Disable caching"},
{Name: "--clear-screen", Description: "Disable clearing the screen on rerun"},
{Name: "-v", Description: "Show version"},
{Name: "--tsconfig", Description: "Custom tsconfig.json path"},
},
})
}
+48
View File
@@ -0,0 +1,48 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "turbo",
Description: "Print the version",
Subcommands: []core.Subcommand{
{Name: "bin", Description: "Get the path to the turbo binary"},
{Name: "link", Description: "Link your local directory to a Vercel organization and enable remote caching"},
{Name: "login", Description: "Login to your Vercel account"},
{Name: "logout", Description: "Logout of your Vercel account"},
{Name: "prune", Description: "Prepare a subset of your monorepo"},
{Name: "run", Description: "Run tasks in your monorepo"},
{Name: "new-only", Description: "Only new output with hashes for cached tasks"},
{Name: "hash-only", Description: "Only turbo-computed task hashes"},
{Name: "full", Description: "Show all output"},
{Name: "none", Description: "Hide process output"},
},
Options: []core.Option{
{Name: "--version", Description: "Print the version"},
{Name: "--help", Description: "Print a help message"},
{Name: "--no-gitignore", Description: "Do not create or modify .gitignore"},
{Name: "--sso-team", Description: "Attempt to authenticate to the specified team using SSO"},
{Name: "--scope", Description: "Specify package to act as entry point for pruned monorepo"},
{Name: "--docker", Description: "Run tasks in your monorepo"},
{Name: "--cache-dir", Description: "Specify local filesystem cache directory"},
{Name: "--concurrency", Description: "Limit the concurrency of task execution (use `1` for serial)"},
{Name: "--continue", Description: "Continue execution even if a task exits with an error"},
{Name: "--force", Description: "Ignore the existing cache"},
{Name: "--graph", Description: "Generate a Dot graph of the task execution"},
{Name: "--global-deps", Description: "Limit/set scope to changed packages since a mergebase"},
{Name: "--team", Description: "The slug of a turborepo.com team"},
{Name: "--token", Description: "A turborepo.com access token"},
{Name: "--ignore", Description: "Files to ignore when calculating changed files (supports globs)"},
{Name: "--profile", Description: "File to write turbo's performance profile into"},
{Name: "--parallel", Description: "Execute all tasks in parallel"},
{Name: "--include-dependencies", Description: "Include the dependencies of tasks in execution"},
{Name: "--no-deps", Description: "Exclude dependent task consumers from execution"},
{Name: "--no-cache", Description: "Avoid saving task results to the cache (useful for development/watch tasks)"},
{Name: "--output-logs", Description: "Only new output with hashes for cached tasks"},
{Name: "--dry", Description: "List the packages in scope and the tasks that would be run"},
},
})
}
+45
View File
@@ -0,0 +1,45 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "typeorm",
Description: "Show help for command",
Subcommands: []core.Subcommand{
{Name: "schema:sync", Description: "Synchronizes your entities with database schema"},
{Name: "schema:log", Description: "Shows sql to be executed by schema:sync command"},
{Name: "schema:drop", Description: "Drops all tables in the database on your default connection"},
{Name: "query", Description: "Executes given SQL query on a default connection"},
{Name: "entity:create", Description: "Generates a new entity"},
{Name: "subscriber:create", Description: "Generates a new subscriber"},
{Name: "migration:create", Description: "Creates a new migration file"},
{Name: "migration:generate", Description: "Generates a new migration file with sql needs to be executed to update schema"},
{Name: "migration:run", Description: "Runs all pending migrations"},
{Name: "migration:show", Description: "Show all migrations and whether they have been run or not"},
{Name: "migration:revert", Description: "Reverts last executed migration"},
{Name: "version", Description: "Prints TypeORM version this project uses"},
{Name: "cache:clear", Description: "Clears all data stored in query runner cache"},
{Name: "init", Description: "Generates initial TypeORM project structure"},
},
Options: []core.Option{
{Name: "--help", Description: "Show help for command"},
{Name: "-v", Description: "Show the version"},
{Name: "-c", Description: "Name of the connection on which to run a query"},
{Name: "-f", Description: "Name of the file with connection configuration"},
{Name: "-n", Description: "Name of the entity class"},
{Name: "-d", Description: "Directory where entity should be created"},
{Name: "-o", Description: "Generate a migration file on Javascript instead of Typescript"},
{Name: "-p", Description: "Pretty-print generated SQL"},
{Name: "--dr", Description: "Prints out the contents of the migration instead of writing it to a file"},
{Name: "--ch", Description: "Runs all pending migrations"},
{Name: "-t", Description: "Indicates if transaction should be used or not for migration run"},
{Name: "--db", Description: "Database type you'll use in your project"},
{Name: "--express", Description: "Indicates if express should be included in the project"},
{Name: "--docker", Description: "Set to true if docker-compose must be generated as well"},
{Name: "--pm", Description: "Install packages"},
},
})
}
+41
View File
@@ -0,0 +1,41 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "vite",
Description: "Native ESM-powered web dev build tool",
Options: []core.Option{
{Name: "-h", Description: "Show help message"},
{Name: "--host", Description: "Specify the hostname"},
{Name: "--port", Description: "Specify the port"},
{Name: "--https", Description: "Use TLS + HTTP/2"},
{Name: "--open", Description: "Open browser on startup"},
{Name: "--cors", Description: "Enable CORS"},
{Name: "--strictPort", Description: "Exit if the port is already in use"},
{Name: "--force", Description: "For the optimizer to re-bundle"},
{Name: "-c", Description: "Use the specified config file"},
{Name: "--base", Description: "Public base path"},
{Name: "-l", Description: "Set the log level"},
{Name: "--clearScreen", Description: "Enable screen clearing when logging"},
{Name: "-d", Description: "Show debug logs"},
{Name: "-f", Description: "Filter debug logs"},
{Name: "-m", Description: "Set env mode"},
{Name: "-v", Description: "Display version number"},
{Name: "--target", Description: "Transpile target (must be a valid esbuild target)"},
{Name: "--outDir", Description: "Output directory"},
{Name: "--assetsDir", Description: "Directory under outDir to place assets in"},
{Name: "--assetsInlineLimit", Description: "Static asset base64 inline threshold in bytes"},
{Name: "--ssr", Description: "Build specified entry for server-side rendering"},
{Name: "--sourcemap", Description: "Output sourcemaps for build"},
{Name: "--minify", Description: "Enable minification"},
{Name: "--manifest", Description: "Emit build manifest json"},
{Name: "--ssrManifest", Description: "Emit ssr manifest json"},
{Name: "--emptyOutDir", Description: "Force empty outDir when it's outside of root"},
{Name: "-w", Description: "Rebuilds when modules have changed on disk"},
},
})
}
+22
View File
@@ -0,0 +1,22 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "vr",
Description: "The npm-style script runner for Deno",
Subcommands: []core.Subcommand{
{Name: "run", Description: "Run a script"},
{Name: "export", Description: "Export one or more scripts as standalone executable files"},
{Name: "upgrade", Description: "Upgrade Velociraptor to the latest version or to a specific one"},
},
Options: []core.Option{
{Name: "-o", Description: "The folder where the scripts will be exported"},
{Name: "--help", Description: "Show help for Velociraptor"},
{Name: "-V", Description: "Show the version number for Velociraptor"},
},
})
}
+50
View File
@@ -0,0 +1,50 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "vsce",
Description: "The Visual Studio Code Extension Manager",
Subcommands: []core.Subcommand{
{Name: "ls", Description: "Lists all the files that will be published"},
{Name: "package", Description: "Packages an extension"},
{Name: "publish", Description: "Publishes an extension"},
{Name: "unpublish", Description: "Unpublishes an extension. Example extension id: microsoft.csharp"},
{Name: "ls-publishers", Description: "List all known publishers"},
{Name: "delete-publisher", Description: "Deletes a publisher"},
{Name: "login", Description: "Add a publisher to the known publishers list"},
{Name: "logout", Description: "Remove a publisher from the known publishers list"},
{Name: "verify-pat", Description: "Verify if the Personal Access Token has publish rights for the publisher"},
{Name: "show", Description: "Show extension metadata"},
{Name: "search", Description: "Search extension gallery"},
{Name: "help", Description: "Display help for command"},
},
Options: []core.Option{
{Name: "--yarn", Description: "Use yarn instead of npm (default inferred from presence of yarn.lock or .yarnrc)"},
{Name: "--no-yarn", Description: "Use npm instead of yarn (default inferred from lack of yarn.lock or .yarnrc)"},
{Name: "--packagedDependencies", Description: "Select packages that should be published only (includes dependencies)"},
{Name: "--ignoreFile", Description: "Indicate alternative .vscodeignore"},
{Name: "--no-dependencies", Description: "Disable dependency detection via npm or yarn"},
{Name: "-o", Description: "Target architecture"},
{Name: "-m", Description: "Commit message used when calling `npm version`"},
{Name: "--no-git-tag-version", Description: "Do not update `package.json`. Valid only when [version] is provided"},
{Name: "--githubBranch", Description: "Skip rewriting relative links"},
{Name: "--baseContentUrl", Description: "Prepend all relative links in README.md with this url"},
{Name: "--baseImagesUrl", Description: "Prepend all relative image links in README.md with this url"},
{Name: "--no-gitHubIssueLinking", Description: "Disable automatic expansion of GitHub-style issue syntax into links"},
{Name: "--no-gitLabIssueLinking", Description: "Disable automatic expansion of GitLab-style issue syntax into links"},
{Name: "--pre-release", Description: "Mark this package as a pre-release"},
{Name: "-p", Description: "Personal Access Token (defaults to VSCE_PAT environment variable)"},
{Name: "-t", Description: "Target architecture"},
{Name: "-i", Description: "Publish the provided VSIX packages"},
{Name: "--noVerify", Description: "Indicate alternative .vscodeignore"},
{Name: "-f", Description: "Forces Unpublished Extension"},
{Name: "--json", Description: "Output data in json format (default: false)"},
{Name: "-h", Description: "Display help for command"},
{Name: "-V", Description: "Output the version number"},
},
})
}
+62
View File
@@ -0,0 +1,62 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "vue",
Description: "Vue cli tools",
Subcommands: []core.Subcommand{
{Name: "create", Description: "Create a new project powered by vue-cli-service"},
{Name: "add", Description: "Install a plugin and invoke its generator in an already created project"},
{Name: "invoke", Description: "Invoke the generator of a plugin in an already created project"},
{Name: "inspect", Description: "Inspect the webpack config in a project with vue-cli-service"},
{Name: "serve", Description: "Serve a .js or .vue file in development mode with zero config"},
{Name: "build", Description: "Build a .js or .vue file in production mode with zero config"},
{Name: "ui", Description: "Start and open the vue-cli ui"},
{Name: "init", Description: "Generate a project from a remote template (legacy API, requires @vue/cli-init)"},
{Name: "config", Description: "Inspect and modify the config"},
{Name: "outdated", Description: "(experimental) check for outdated vue cli service / plugins"},
{Name: "upgrade", Description: "(experimental) upgrade vue cli service / plugins"},
{Name: "migrate", Description: "(experimental) run migrator for an already-installed cli plugin"},
{Name: "info", Description: "Print debugging information about your environment"},
},
Options: []core.Option{
{Name: "-p", Description: "Skip prompts and use saved or remote preset"},
{Name: "-d", Description: "Skip prompts and use default preset"},
{Name: "-i", Description: "Skip prompts and use inline JSON string as preset"},
{Name: "-m", Description: "Use specified npm client when installing dependencies"},
{Name: "-r", Description: "Use specified npm registry when installing dependencies (only for npm)"},
{Name: "-g", Description: "Force git initialization with initial commit message"},
{Name: "-n", Description: "Skip git initialization"},
{Name: "-f", Description: "Overwrite target directory if it exists"},
{Name: "--merge", Description: "Merge target directory if it exists"},
{Name: "-c", Description: "Use git clone when fetching remote preset"},
{Name: "-X", Description: "Use specified proxy when creating project"},
{Name: "-b", Description: "Scaffold project without beginner instructions"},
{Name: "--skipGetStarted", Description: "Output usage information"},
{Name: "--registry", Description: "Use specified npm registry when installing dependencies (only for npm)"},
{Name: "-h", Description: "Output usage information"},
{Name: "--mode", Description: "Inspect a specific module rule"},
{Name: "--plugin", Description: "Inspect a specific plugin"},
{Name: "--rules", Description: "List all module rule names"},
{Name: "--plugins", Description: "List all plugin names"},
{Name: "-v", Description: "Show full function definitions in output"},
{Name: "-o", Description: "Open browser"},
{Name: "-t", Description: "Build target (app | lib | wc | wc-async, default: app)"},
{Name: "-H", Description: "Host used for the UI server (default: localhost)"},
{Name: "-D", Description: "Run in dev mode"},
{Name: "--quiet", Description: "Don't output starting messages"},
{Name: "--headless", Description: "Don't open browser on start and output port"},
{Name: "--offline", Description: "Use cached template"},
{Name: "-s", Description: "Set option value"},
{Name: "-e", Description: "Open config with default editor"},
{Name: "--json", Description: "Outputs JSON result only"},
{Name: "--next", Description: "Also check for alpha / beta / rc versions when upgrading"},
{Name: "--all", Description: "Upgrade all plugins"},
{Name: "-V", Description: "Output the version number"},
},
})
}
+58
View File
@@ -0,0 +1,58 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "watchman",
Description: "A file watching service",
Subcommands: []core.Subcommand{
{Name: "clock", Description: "Returns the current clock value for a watched root"},
{Name: "path", Description: "The path to directory"},
{Name: "find", Description: "Finds all files that match the optional list of patterns under the specified dir"},
{Name: "get-config", Description: "Returns the .watchmanconfig for the root"},
{Name: "get-sockname", Description: "Get socket path"},
{Name: "list-capabilities", Description: "Returns the full list of supported capabilities offered by the watchman server"},
{Name: "log", Description: "Generates a log line in the watchman log"},
{Name: "level", Description: "The log level"},
{Name: "log-level", Description: "Changes the log level of your connection to the watchman service"},
{Name: "query", Description: "Executes a query against the specified root"},
{Name: "shutdown-server", Description: "This causes your watchman service to exit with a normal status code"},
{Name: "state-enter", Description: "This causes a watch to be marked as being in a particular named state"},
{Name: "state-leave", Description: "This causes a watch to no longer be marked as being in a particular named state"},
{Name: "trigger", Description: "This will create or replace a trigger"},
{Name: "trigger-del", Description: "Deletes a named trigger from the list of registered triggers"},
{Name: "trigger-list", Description: "Returns the set of registered triggers associated with a root directory"},
{Name: "unsubscribe", Description: "Cancels a named subscription against the specified root"},
{Name: "version", Description: "The version and build information for the currently running watchman service"},
{Name: "watch-del", Description: "Removes a watch and any associated triggers"},
{Name: "watch-del-all", Description: "Removes all watches and associated triggers"},
{Name: "watch-list", Description: "Returns a list of watched dirs"},
{Name: "watch-project", Description: "Requests that the project containing the requested dir is watched for changes"},
},
Options: []core.Option{
{Name: "--help", Description: "Show help for watchman"},
{Name: "--inetd", Description: "Spawning from an inetd style supervisor"},
{Name: "-S", Description: "Don't use the site or system spawner"},
{Name: "-v", Description: "Show version number for watchman"},
{Name: "--named-pipe-path", Description: "Specify alternate named pipe path"},
{Name: "-u", Description: "Specify alternate unix domain socket path"},
{Name: "--unix-listener-path", Description: "Specify alternate unix domain socket path"},
{Name: "-o", Description: "Specify the path to logfile"},
{Name: "--logfile", Description: "Specify the path to logfile"},
{Name: "--log-level", Description: "Set the log level"},
{Name: "--pidfile", Description: "Specify path to pidfile"},
{Name: "-p", Description: "Persist and wait for further responses"},
{Name: "-n", Description: "Don't save state between invocations"},
{Name: "--statefile", Description: "Specify path to file to hold watch and trigger state"},
{Name: "-j", Description: "Instead of parsing CLI arguments, take a single json object from stdin"},
{Name: "--output-encoding", Description: "CLI output encoding"},
{Name: "--server-encoding", Description: "CLI<->server encoding"},
{Name: "-f", Description: "Run the service in the foreground"},
{Name: "--no-pretty", Description: "Don't pretty print JSON"},
{Name: "--no-spawn", Description: "Don't try to start the service if it is not available"},
},
})
}
+66
View File
@@ -0,0 +1,66 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "webpack",
Description: "Run webpack (default command, can be omitted)",
Subcommands: []core.Subcommand{
{Name: "build", Description: "Run webpack (default command, can be omitted)"},
{Name: "configtest", Description: "Validate a webpack configuration"},
{Name: "config-path", Description: "Path to the webpack configuration file"},
{Name: "help", Description: "Display help for command and options"},
{Name: "info", Description: "Display information about your system"},
{Name: "init", Description: "Initialize a new webpack project"},
{Name: "loader", Description: "Scaffold a webpack loader"},
{Name: "plugin", Description: "Scaffold a webpack plugin"},
{Name: "serve", Description: "Run the webpack development server"},
{Name: "watch", Description: "Run webpack and watch for file changes"},
},
Options: []core.Option{
{Name: "--config", Description: "Provide path to a webpack configuration file e.g. ./webpack.config.js"},
{Name: "--config-name", Description: "Name of the configuration to use"},
{Name: "--merge", Description: "Merge two or more configurations using 'webpack-merge'"},
{Name: "--env", Description: "Environment passed to the configuration when it is a function"},
{Name: "--node-env", Description: "Sets process.env.NODE_ENV to the specified value"},
{Name: "--hot", Description: "Enables Hot Module Replacement"},
{Name: "--no-hot", Description: "Disables Hot Module Replacement"},
{Name: "--analyze", Description: "It invokes webpack-bundle-analyzer plugin to get bundle information"},
{Name: "--progress", Description: "Print compilation progress during build"},
{Name: "--prefetch", Description: "Prefetch this request"},
{Name: "--json", Description: "Prints result as JSON or store it in a file"},
{Name: "--no-amd", Description: "Negative 'amd' option"},
{Name: "--bail", Description: "Report the first error as a hard error instead of tolerating it"},
{Name: "--no-bail", Description: "Negative 'bail' option"},
{Name: "--cache", Description: "Enable in memory caching. Disable caching"},
{Name: "--no-cache", Description: "Negative 'cache' option"},
{Name: "--cache-cache-unaffected", Description: "Negative 'cache-cache-unaffected' option"},
{Name: "--cache-max-generations", Description: "In memory caching. Filesystem caching"},
{Name: "--cache-cache-directory", Description: "Base directory for the cache (defaults to node_modules/.cache/webpack)"},
{Name: "--cache-cache-location", Description: "Locations for the cache (defaults to cacheDirectory / name)"},
{Name: "--cache-compression", Description: "Compression type used for the cache files"},
{Name: "--no-cache-compression", Description: "Negative 'cache-compression' option"},
{Name: "--cache-hash-algorithm", Description: "Algorithm used for generation the hash (see node.js crypto package)"},
{Name: "--cache-idle-timeout", Description: "Time in ms after which idle period the cache storing should happen"},
{Name: "--cache-immutable-paths", Description: "Negative 'cache-memory-cache-unaffected' option"},
{Name: "--cache-name", Description: "Name for the cache. Different names will lead to different coexisting caches"},
{Name: "--cache-profile", Description: "Track and log detailed timing information for individual cache items"},
{Name: "--no-cache-profile", Description: "Negative 'cache-profile' option"},
{Name: "--cache-store", Description: "References to another configuration to depend on"},
{Name: "--dependencies-reset", Description: "Determine source maps to use"},
{Name: "--no-devtool", Description: "Do not generate source maps"},
{Name: "--entry", Description: "The entry point(s) of your application e.g. ./src/main.js"},
{Name: "--entry-reset", Description: "Support WebAssembly as asynchronous EcmaScript Module"},
{Name: "--experiments-back-compat", Description: "Enable backward-compat layer with deprecation warnings for many webpack 4 APIs"},
{Name: "--no-experiments-back-compat", Description: "Negative 'experiments-back-compat' option"},
{Name: "--experiments-css", Description: "Enable css support"},
{Name: "--no-experiments-css", Description: "Negative 'experiments-css' option"},
{Name: "--experiments-future-defaults", Description: "Apply defaults of next major version"},
{Name: "--experiments-layers", Description: "Enable module layers"},
{Name: "--no-experiments-layers", Description: "Negative 'experiments-layers' option"},
},
})
}
+42
View File
@@ -0,0 +1,42 @@
package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "yalc",
Description: "Work with yarn/npm packages locally like a boss",
Subcommands: []core.Subcommand{
{Name: "publish", Description: "Copy all the files that should be published in remote NPM registry"},
{Name: "add", Description: "Copy the current version from the store to your project"},
{Name: "package", Description: "The package you want to add"},
{Name: "link", Description: "Alternative to 'add', instead using local '.yalc' as symlink source"},
{Name: "update", Description: "Update package(s)"},
{Name: "remove", Description: "Remove package info from 'package.json' & 'yalc.lock'"},
{Name: "clean", Description: "Unpublish a package published with yalc publish"},
{Name: "show", Description: "Show all packages to which chosen package has been added"},
{Name: "dir", Description: "Show yalc system directory"},
{Name: "check", Description: "Check 'package.json' for yalc packages"},
{Name: "restore", Description: "Restore retreated packages"},
{Name: "retreat", Description: "Remove packages from project, but leave in lock file (to be restored later)"},
},
Options: []core.Option{
{Name: "--push", Description: "Publish without running scripts"},
{Name: "--no-sig", Description: "Disable adding hash signature of all files when copying package content"},
{Name: "--content", Description: "Show included files in the published package"},
{Name: "--no-workspace-resolve", Description: "Do not resolve 'workspace:' protocol in dependencies"},
{Name: "--private", Description: "Force publishing of private package"},
{Name: "--link", Description: "Add a 'link:' dependency instead of 'file:'"},
{Name: "--dev", Description: "Add yalc package to dev dependencies"},
{Name: "--pure", Description: "Do not touch 'package.json' or 'node_modules'"},
{Name: "--workspace", Description: "Add dependency with 'workspace:' protocol"},
{Name: "--update", Description: "Run package manager's update command for packages"},
{Name: "--all", Description: "Remove all packages from project"},
{Name: "--help", Description: "Show help for yalc"},
{Name: "--no-colors", Description: "Disable colors"},
{Name: "--quiet", Description: "Fully disable output (except errors)"},
},
})
}