ssgrtk
v0.3.5
Published
RTK cli commands
Downloads
922
Readme
SSG cli
npm i ssgrtk -g
Usage
$ npm install -g ssgrtk
$ ssg COMMAND
running command...
$ ssg (--version)
ssgrtk/0.3.5 darwin-arm64 node-v16.13.2
$ ssg --help [COMMAND]
USAGE
$ ssg COMMAND
...
Commands
ssg action
ssg collection [NAME]
ssg create [NAME]
ssg crud [NAME]
ssg delete [NAME]
ssg get [NAME]
ssg help [COMMAND]
ssg patch [NAME]
ssg plugins
ssg plugins:install PLUGIN...
ssg plugins:inspect PLUGIN...
ssg plugins:install PLUGIN...
ssg plugins:link PLUGIN
ssg plugins:uninstall PLUGIN...
ssg plugins:uninstall PLUGIN...
ssg plugins:uninstall PLUGIN...
ssg plugins update
ssg screen
ssg update [NAME]
ssg action
Reducer Slice: Dispatch an action that stores global state
USAGE
$ ssg action
DESCRIPTION
Reducer Slice: Dispatch an action that stores global state
See code: dist/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: dist/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: dist/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: dist/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: dist/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: dist/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: dist/commands/patch.ts
ssg plugins
List installed plugins.
USAGE
$ ssg plugins [--core]
FLAGS
--core Show core plugins.
DESCRIPTION
List installed plugins.
EXAMPLES
$ ssg plugins
See code: @oclif/plugin-plugins
ssg plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ ssg plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ ssg plugins add
EXAMPLES
$ ssg plugins:install myplugin
$ ssg plugins:install https://github.com/someuser/someplugin
$ ssg plugins:install 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
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ ssg plugins:inspect myplugin
ssg plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ ssg plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ ssg plugins add
EXAMPLES
$ ssg plugins:install myplugin
$ ssg plugins:install https://github.com/someuser/someplugin
$ ssg plugins:install someuser/someplugin
ssg plugins:link PLUGIN
Links a plugin into the CLI for development.
USAGE
$ ssg plugins:link PLUGIN
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
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
ssg plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ ssg plugins:uninstall PLUGIN...
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
ssg plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ ssg plugins:uninstall PLUGIN...
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
ssg plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ ssg plugins:uninstall PLUGIN...
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
ssg plugins update
Update installed plugins.
USAGE
$ ssg plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
ssg screen
Screen: creates a ReactNative Screen and Route
USAGE
$ ssg screen
DESCRIPTION
Screen: creates a ReactNative Screen and Route
See code: dist/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: dist/commands/update.ts