nativesquare v0.0.14
nativesquare-cli
A new CLI generated with oclif
Usage
$ npm install -g nativesquare
$ nativesquare COMMAND
running command...
$ nativesquare (--version)
nativesquare/0.0.14 win32-x64 node-v23.3.0
$ nativesquare --help [COMMAND]
USAGE
$ nativesquare COMMAND
...
Commands
nativesquare create-app TYPE NAME
nativesquare generate actions
nativesquare generate all
nativesquare generate constants
nativesquare generate forms
nativesquare generate types
nativesquare help [COMMAND]
nativesquare plugins
nativesquare plugins add PLUGIN
nativesquare plugins:inspect PLUGIN...
nativesquare plugins install PLUGIN
nativesquare plugins link PATH
nativesquare plugins remove [PLUGIN]
nativesquare plugins reset
nativesquare plugins uninstall [PLUGIN]
nativesquare plugins unlink [PLUGIN]
nativesquare plugins update
nativesquare create-app TYPE NAME
Creates a new app (web/mobile) with all boilerplate
USAGE
$ nativesquare create-app TYPE NAME
ARGUMENTS
TYPE (mobile|web) The app type to initialize
NAME The name of the project to create
DESCRIPTION
Creates a new app (web/mobile) with all boilerplate
See code: src/commands/create-app.ts
nativesquare generate actions
Generate query/mutation functions for Payload CMS collections
USAGE
$ nativesquare generate actions
DESCRIPTION
Generate query/mutation functions for Payload CMS collections
ALIASES
$ nativesquare generate actions
See code: src/commands/generate/actions.ts
nativesquare generate all
Generate query/mutation functions for Payload CMS collections
USAGE
$ nativesquare generate all
DESCRIPTION
Generate query/mutation functions for Payload CMS collections
ALIASES
$ nativesquare generate all
See code: src/commands/generate/all.ts
nativesquare generate constants
Generate the Payload API Constant file (Endpoints, etc) based on the Payload CMS Collections
USAGE
$ nativesquare generate constants
DESCRIPTION
Generate the Payload API Constant file (Endpoints, etc) based on the Payload CMS Collections
ALIASES
$ nativesquare generate constants
See code: src/commands/generate/constants.ts
nativesquare generate forms
Generate the Forms components based on the Payload CMS Collections
USAGE
$ nativesquare generate forms
DESCRIPTION
Generate the Forms components based on the Payload CMS Collections
ALIASES
$ nativesquare generate forms
See code: src/commands/generate/forms.ts
nativesquare generate types
Generate the Payload types
USAGE
$ nativesquare generate types
DESCRIPTION
Generate the Payload types
ALIASES
$ nativesquare generate types
See code: src/commands/generate/types.ts
nativesquare help [COMMAND]
Display help for nativesquare.
USAGE
$ nativesquare 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 nativesquare.
See code: @oclif/plugin-help
nativesquare plugins
List installed plugins.
USAGE
$ nativesquare plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ nativesquare plugins
See code: @oclif/plugin-plugins
nativesquare plugins add PLUGIN
Installs a plugin into nativesquare.
USAGE
$ nativesquare 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 nativesquare.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the NATIVESQUARE_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the NATIVESQUARE_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ nativesquare plugins add
EXAMPLES
Install a plugin from npm registry.
$ nativesquare plugins add myplugin
Install a plugin from a github url.
$ nativesquare plugins add https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ nativesquare plugins add someuser/someplugin
nativesquare plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ nativesquare 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
$ nativesquare plugins inspect myplugin
See code: @oclif/plugin-plugins
nativesquare plugins install PLUGIN
Installs a plugin into nativesquare.
USAGE
$ nativesquare 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 nativesquare.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the NATIVESQUARE_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the NATIVESQUARE_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ nativesquare plugins add
EXAMPLES
Install a plugin from npm registry.
$ nativesquare plugins install myplugin
Install a plugin from a github url.
$ nativesquare plugins install https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ nativesquare plugins install someuser/someplugin
See code: @oclif/plugin-plugins
nativesquare plugins link PATH
Links a plugin into the CLI for development.
USAGE
$ nativesquare 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
$ nativesquare plugins link myplugin
See code: @oclif/plugin-plugins
nativesquare plugins remove [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ nativesquare 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
$ nativesquare plugins unlink
$ nativesquare plugins remove
EXAMPLES
$ nativesquare plugins remove myplugin
nativesquare plugins reset
Remove all user-installed and linked plugins.
USAGE
$ nativesquare 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
nativesquare plugins uninstall [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ nativesquare 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
$ nativesquare plugins unlink
$ nativesquare plugins remove
EXAMPLES
$ nativesquare plugins uninstall myplugin
See code: @oclif/plugin-plugins
nativesquare plugins unlink [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ nativesquare 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
$ nativesquare plugins unlink
$ nativesquare plugins remove
EXAMPLES
$ nativesquare plugins unlink myplugin
nativesquare plugins update
Update installed plugins.
USAGE
$ nativesquare plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
See code: @oclif/plugin-plugins