RTK cli commands
npm install ssgrtk```
npm i ssgrtk -g
sh-session
$ npm install -g ssgrtk
$ ssg COMMAND
running command...
$ ssg (--version)
ssgrtk/1.1.0 darwin-arm64 node-v22.9.0
$ ssg --help [COMMAND]
USAGE
$ ssg COMMAND
...
`
Commands
* [ssg action [NAME]](#ssg-action-name)
* [ssg collection [NAME]](#ssg-collection-name)
* [ssg create [NAME]](#ssg-create-name)
* [ssg crud [NAME]](#ssg-crud-name)
* [ssg delete [NAME]](#ssg-delete-name)
* [ssg get [NAME]](#ssg-get-name)
* [ssg help [COMMAND]](#ssg-help-command)
* [ssg patch [NAME]](#ssg-patch-name)
* ssg plugins
* ssg plugins add PLUGIN
* ssg plugins:inspect PLUGIN...
* ssg plugins install PLUGIN
* ssg plugins link PATH
* [ssg plugins remove [PLUGIN]](#ssg-plugins-remove-plugin)
* ssg plugins reset
* [ssg plugins uninstall [PLUGIN]](#ssg-plugins-uninstall-plugin)
* [ssg plugins unlink [PLUGIN]](#ssg-plugins-unlink-plugin)
* ssg plugins update
* ssg screen
* [ssg update [NAME]](#ssg-update-name)ssg action [NAME]Reducer Slice: Dispatch an action that stores global state
`
USAGE
$ ssg action [NAME]DESCRIPTION
Reducer Slice: Dispatch an action that stores global state
`_See code: src/commands/action.ts_
ssg collection [NAME]RTK Service: Retrieve a collection of things from an api
`
USAGE
$ ssg collection [NAME]DESCRIPTION
RTK Service: Retrieve a collection of things from an api
`_See code: src/commands/collection.ts_
ssg create [NAME]RTK Service: Create a thing with an api
`
USAGE
$ ssg create [NAME]DESCRIPTION
RTK Service: Create a thing with an api
`_See code: src/commands/create.ts_
ssg crud [NAME]RTK Service: Create,get,update and delete a thing with an api
`
USAGE
$ ssg crud [NAME]DESCRIPTION
RTK Service: Create,get,update and delete a thing with an api
`_See code: src/commands/crud.ts_
ssg delete [NAME]RTK Service: Delete a thing with an api
`
USAGE
$ ssg delete [NAME]DESCRIPTION
RTK Service: Delete a thing with an api
`_See code: src/commands/delete.ts_
ssg get [NAME]RTK Service: Get a thing with an api
`
USAGE
$ ssg get [NAME]DESCRIPTION
RTK Service: Get a thing with an api
`_See code: src/commands/get.ts_
ssg help [COMMAND]Display help for ssg.
`
USAGE
$ ssg 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 ssg.
`_See code: @oclif/plugin-help_
ssg patch [NAME]RTK Service: Patch a thing with an api
`
USAGE
$ ssg patch [NAME]DESCRIPTION
RTK Service: Patch a thing with an api
`_See code: src/commands/patch.ts_
ssg pluginsList installed plugins.
`
USAGE
$ ssg plugins [--json] [--core]FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ ssg plugins
`_See code: @oclif/plugin-plugins_
ssg plugins add PLUGINInstalls a plugin into ssg.
`
USAGE
$ ssg 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 ssg.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the SSG_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the SSG_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ ssg plugins add
EXAMPLES
Install a plugin from npm registry.
$ ssg plugins add myplugin
Install a plugin from a github url.
$ ssg plugins add https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ ssg plugins add someuser/someplugin
`ssg plugins:inspect PLUGIN...Displays installation properties of a plugin.
`
USAGE
$ ssg 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
$ ssg plugins inspect myplugin
`_See code: @oclif/plugin-plugins_
ssg plugins install PLUGINInstalls a plugin into ssg.
`
USAGE
$ ssg 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 ssg.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the SSG_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the SSG_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ ssg plugins add
EXAMPLES
Install a plugin from npm registry.
$ ssg plugins install myplugin
Install a plugin from a github url.
$ ssg plugins install https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ ssg plugins install someuser/someplugin
`_See code: @oclif/plugin-plugins_
ssg plugins link PATHLinks a plugin into the CLI for development.
`
USAGE
$ ssg 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
$ ssg plugins link myplugin
`_See code: @oclif/plugin-plugins_
ssg plugins remove [PLUGIN]Removes a plugin from the CLI.
`
USAGE
$ ssg 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
$ ssg plugins unlink
$ ssg plugins remove
EXAMPLES
$ ssg plugins remove myplugin
`ssg plugins resetRemove all user-installed and linked plugins.
`
USAGE
$ ssg 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_
ssg plugins uninstall [PLUGIN]Removes a plugin from the CLI.
`
USAGE
$ ssg 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
$ ssg plugins unlink
$ ssg plugins remove
EXAMPLES
$ ssg plugins uninstall myplugin
`_See code: @oclif/plugin-plugins_
ssg plugins unlink [PLUGIN]Removes a plugin from the CLI.
`
USAGE
$ ssg 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
$ ssg plugins unlink
$ ssg plugins remove
EXAMPLES
$ ssg plugins unlink myplugin
`ssg plugins updateUpdate installed plugins.
`
USAGE
$ ssg plugins update [-h] [-v]FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
`_See code: @oclif/plugin-plugins_
ssg screenScreen: creates a ReactNative Screen and Route
`
USAGE
$ ssg screenDESCRIPTION
Screen: creates a ReactNative Screen and Route
`_See code: src/commands/screen.ts_
ssg update [NAME]RTK Service: Update a thing with an api
`
USAGE
$ ssg update [NAME]DESCRIPTION
RTK Service: Update a thing with an api
``_See code: src/commands/update.ts_