locala
v0.12.0
Published
Manage your localizations
Downloads
69
Readme
🌍 Locala
Manage your localizations
Usage
$ npm install -g locala
$ locala COMMAND
running command...
$ locala (--version)
locala/0.12.0 darwin-x64 node-v18.13.0
$ locala --help [COMMAND]
USAGE
$ locala COMMAND
...
Commands
locala generate
locala help [COMMAND]
locala plugins
locala plugins:install PLUGIN...
locala plugins:inspect PLUGIN...
locala plugins:install PLUGIN...
locala plugins:link PLUGIN
locala plugins:uninstall PLUGIN...
locala plugins:uninstall PLUGIN...
locala plugins:uninstall PLUGIN...
locala plugins update
locala generate
Generate local types
USAGE
$ locala generate [-c <value>] [-o <value>]
FLAGS
-c, --config=<value> [default: locala.yaml] Your local configuration file
-o, --output=<value> [default: src] Output for locales
DESCRIPTION
Generate local types
EXAMPLES
$ oex hello friend --from oclif
hello friend from oclif! (./src/commands/hello/index.ts)
See code: dist/commands/generate/index.ts
locala help [COMMAND]
display help for locala
USAGE
$ locala help [COMMAND] [--json] [--all]
ARGUMENTS
COMMAND command to show help for
FLAGS
--all see all commands in CLI
--json Format output as json.
DESCRIPTION
display help for locala
See code: @oclif/plugin-help
locala plugins
List installed plugins.
USAGE
$ locala plugins [--core]
FLAGS
--core Show core plugins.
DESCRIPTION
List installed plugins.
EXAMPLES
$ locala plugins
See code: @oclif/plugin-plugins
locala plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ locala 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
$ locala plugins add
EXAMPLES
$ locala plugins:install myplugin
$ locala plugins:install https://github.com/someuser/someplugin
$ locala plugins:install someuser/someplugin
locala plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ locala 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
$ locala plugins:inspect myplugin
See code: @oclif/plugin-plugins
locala plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ locala 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
$ locala plugins add
EXAMPLES
$ locala plugins:install myplugin
$ locala plugins:install https://github.com/someuser/someplugin
$ locala plugins:install someuser/someplugin
See code: @oclif/plugin-plugins
locala plugins:link PLUGIN
Links a plugin into the CLI for development.
USAGE
$ locala 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
$ locala plugins:link myplugin
See code: @oclif/plugin-plugins
locala plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ locala plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ locala plugins unlink
$ locala plugins remove
locala plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ locala plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ locala plugins unlink
$ locala plugins remove
See code: @oclif/plugin-plugins
locala plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ locala plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ locala plugins unlink
$ locala plugins remove
locala plugins update
Update installed plugins.
USAGE
$ locala plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
See code: @oclif/plugin-plugins