
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@kitajs/cli
Advanced tools
Performant and type safe fastify router - Build fast end-to-end APIs with ZERO abstraction cost!
Using this package? Please consider donating to support my open source work ❤️
Help @kitajs/cli grow! Star and share this amazing repository with your friends and co-workers!
@kitajs/cli is a command line interface for the KitaJS routing meta framework.
kita autocomplete [SHELL]kita buildkita configkita help [COMMANDS]kita initkita pluginskita plugins:install PLUGIN...kita plugins:inspect PLUGIN...kita plugins:install PLUGIN...kita plugins:link PLUGINkita plugins:uninstall PLUGIN...kita plugins resetkita plugins:uninstall PLUGIN...kita plugins:uninstall PLUGIN...kita plugins updatekita resetkita watch$ npm install -g @kitajs/cli
$ kita COMMAND
running command...
$ kita (--version|-v)
@kitajs/cli/1.1.36 linux-x64 node-v20.9.0
$ kita --help [COMMAND]
USAGE
$ kita COMMAND
...
kita autocomplete [SHELL]kita buildkita configkita createkita help [COMMAND]kita initkita pluginskita plugins add PLUGINkita plugins:inspect PLUGIN...kita plugins install PLUGINkita plugins link PATHkita plugins remove [PLUGIN]kita plugins resetkita plugins uninstall [PLUGIN]kita plugins unlink [PLUGIN]kita plugins updatekita resetkita watchkita autocomplete [SHELL]Display autocomplete installation instructions.
USAGE
$ kita autocomplete [SHELL] [-r]
ARGUMENTS
SHELL (zsh|bash|powershell) Shell type
FLAGS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
DESCRIPTION
Display autocomplete installation instructions.
EXAMPLES
$ kita autocomplete
$ kita autocomplete bash
$ kita autocomplete zsh
$ kita autocomplete powershell
$ kita autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
kita buildAnalyses your backend searching for routes and bakes it into the runtime.
USAGE
$ kita build [-c <value>] [--cwd <value>] [-D | -d] [-r | ]
BUILD FLAGS
-D, --[no-]dts Skips emitting declaration files (d.ts).
-d, --dry-run Skips generation process and only type-checks your files.
-r, --reset Removes previous generated files before each build.
GLOBAL FLAGS
-c, --config=<value> Path to your kita.config.js file, if any.
--cwd=<value> Sets the current working directory for your command.
DESCRIPTION
Analyses your backend searching for routes and bakes it into the runtime.
EXAMPLES
Builds your backend with a custom config file.
$ kita build -c kita.config.js
Fast checks your backend for errors without generating the runtime.
$ kita build -d
See code: src/commands/build.ts
kita configPrints the full resolved configuration file
USAGE
$ kita config [-c <value>] [--cwd <value>] [-r]
FLAGS
-r, --[no-]raw Prints a JSON string instead of a pretty printed object.
GLOBAL FLAGS
-c, --config=<value> Path to your kita.config.js file, if any.
--cwd=<value> Sets the current working directory for your command.
DESCRIPTION
Prints the full resolved configuration file
EXAMPLES
Builds your backend with a custom config file.
$ kita config -c kita.config.js
See code: src/commands/config.ts
kita createScaffolds a new project with Kita
USAGE
$ kita create [-n <value>] [-d <value>] [-t kita|kita-jsx] [-y]
FLAGS
-d, --dir=<value> The directory to create the project in.
-n, --name=<value> The name of the project.
-t, --template=<option> The template to use.
<options: kita|kita-jsx>
-y, --yes Skips the prompts and uses the defaults.
DESCRIPTION
Scaffolds a new project with Kita
EXAMPLES
Scaffolds a project called mybackend.
$ kita create -n mybackend
See code: src/commands/create.ts
kita help [COMMAND]Display help for kita.
USAGE
$ kita help [COMMAND...] [-n]
ARGUMENTS
COMMAND... Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for kita.
See code: @oclif/plugin-help
kita initCreates a basic kita.config.js
USAGE
$ kita init [-c <value>] [--cwd <value>]
GLOBAL FLAGS
-c, --config=<value> Path to your kita.config.js file, if any.
--cwd=<value> Sets the current working directory for your command.
DESCRIPTION
Creates a basic kita.config.js
EXAMPLES
$ kita init
See code: src/commands/init.ts
kita pluginsList installed plugins.
USAGE
$ kita plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ kita plugins
See code: @oclif/plugin-plugins
kita plugins add PLUGINInstalls a plugin into kita.
USAGE
$ kita plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into kita.
Uses bundled npm executable to install plugins into /home/runner/.local/share/kita
Installation of a user-installed plugin will override a core plugin.
Use the KITA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the KITA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ kita plugins add
EXAMPLES
Install a plugin from npm registry.
$ kita plugins add myplugin
Install a plugin from a github url.
$ kita plugins add https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ kita plugins add someuser/someplugin
kita plugins:inspect PLUGIN...Displays installation properties of a plugin.
USAGE
$ kita plugins inspect PLUGIN...
ARGUMENTS
PLUGIN... [default: .] Plugin to inspect.
FLAGS
-h, --help Show CLI help.
-v, --verbose
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ kita plugins inspect myplugin
See code: @oclif/plugin-plugins
kita plugins install PLUGINInstalls a plugin into kita.
USAGE
$ kita plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into kita.
Uses bundled npm executable to install plugins into /home/runner/.local/share/kita
Installation of a user-installed plugin will override a core plugin.
Use the KITA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the KITA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ kita plugins add
EXAMPLES
Install a plugin from npm registry.
$ kita plugins install myplugin
Install a plugin from a github url.
$ kita plugins install https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ kita plugins install someuser/someplugin
See code: @oclif/plugin-plugins
kita plugins link PATHLinks a plugin into the CLI for development.
USAGE
$ kita plugins link PATH [-h] [--install] [-v]
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
--[no-]install Install dependencies after linking the plugin.
DESCRIPTION
Links a plugin into the CLI for development.
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLES
$ kita plugins link myplugin
See code: @oclif/plugin-plugins
kita plugins remove [PLUGIN]Removes a plugin from the CLI.
USAGE
$ kita plugins remove [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ kita plugins unlink
$ kita plugins remove
EXAMPLES
$ kita plugins remove myplugin
kita plugins resetRemove all user-installed and linked plugins.
USAGE
$ kita plugins reset [--hard] [--reinstall]
FLAGS
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
--reinstall Reinstall all plugins after uninstalling.
See code: @oclif/plugin-plugins
kita plugins uninstall [PLUGIN]Removes a plugin from the CLI.
USAGE
$ kita plugins uninstall [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ kita plugins unlink
$ kita plugins remove
EXAMPLES
$ kita plugins uninstall myplugin
See code: @oclif/plugin-plugins
kita plugins unlink [PLUGIN]Removes a plugin from the CLI.
USAGE
$ kita plugins unlink [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ kita plugins unlink
$ kita plugins remove
EXAMPLES
$ kita plugins unlink myplugin
kita plugins updateUpdate installed plugins.
USAGE
$ kita plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
See code: @oclif/plugin-plugins
kita resetResets your runtime in an attempt to fix any issues.
USAGE
$ kita reset [-c <value>] [--cwd <value>]
GLOBAL FLAGS
-c, --config=<value> Path to your kita.config.js file, if any.
--cwd=<value> Sets the current working directory for your command.
DESCRIPTION
Resets your runtime in an attempt to fix any issues.
EXAMPLES
Resets your runtime
$ kita reset
See code: src/commands/reset.ts
kita watchWatch for changes in your source code and rebuilds the runtime.
USAGE
$ kita watch [-c <value>] [--cwd <value>] [-D | -d] [-r | ] [-i <value>]
BUILD FLAGS
-D, --[no-]dts Skips emitting declaration files (d.ts).
-d, --dry-run Skips generation process and only type-checks your files.
-r, --reset Removes previous generated files before each build.
GLOBAL FLAGS
-c, --config=<value> Path to your kita.config.js file, if any.
--cwd=<value> Sets the current working directory for your command.
WATCH FLAGS
-i, --ignore=<value>... Comma separated directories to ignore when watching for changes.
DESCRIPTION
Watch for changes in your source code and rebuilds the runtime.
EXAMPLES
Watches your source with a custom config file.
$ kita watch -c kita.config.js
Watches your source and only emits errors.
$ kita watch -d
See code: src/commands/watch.ts
FAQs
Performant and type safe fastify router - Build fast end-to-end APIs with ZERO abstraction cost!
We found that @kitajs/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.