testcli1205
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

oclif-gen-plugin

oclif generate Plugin Field CLI

oclif GitHub license

Usage

$ npm install -g testcli1205
$ testcli COMMAND
running command...
$ testcli (--version)
testcli1205/1.0.0 win32-x64 node-v18.16.1
$ testcli --help [COMMAND]
USAGE
  $ testcli COMMAND
...

Commands

testcli fields new [FILE] [DESIGN] [PROPS]

create a plugin field.

USAGE
  $ testcli fields new [FILE] [DESIGN] [PROPS] [-f] [-n <value>] [-i <value>]

ARGUMENTS
  FILE    file to read
  DESIGN  create design field
  PROPS   create props field

FLAGS
  -f, --force
  -i, --id=<value>    id to print
  -n, --name=<value>  name to print

DESCRIPTION
  create a plugin field.

EXAMPLES
  $ testcli 這裡會顯示在EXAMPLES fields new

See code: src/commands/fields/new.ts

testcli hello PERSON

Say hello

USAGE
  $ testcli hello PERSON -f <value>

ARGUMENTS
  PERSON  Person to say hello to

FLAGS
  -f, --from=<value>  (required) Who is saying hello

DESCRIPTION
  Say hello

EXAMPLES
  $ oex hello friend --from oclif
  hello friend from oclif! (./src/commands/hello/index.ts)

See code: src/commands/hello/index.ts

testcli hello world

Say hello world

USAGE
  $ testcli hello world

DESCRIPTION
  Say hello world

EXAMPLES
  $ testcli hello world
  hello world! (./src/commands/hello/world.ts)

See code: src/commands/hello/world.ts

testcli help [COMMAND]

Display help for testcli.

USAGE
  $ testcli 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 testcli.

See code: @oclif/plugin-help

testcli plugins

List installed plugins.

USAGE
  $ testcli plugins [--json] [--core]

FLAGS
  --core  Show core plugins.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  List installed plugins.

EXAMPLES
  $ testcli plugins

See code: @oclif/plugin-plugins

testcli plugins add PLUGIN

Installs a plugin into testcli.

USAGE
  $ testcli 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 testcli.

  Uses bundled npm executable to install plugins into C:\Users\yafan\AppData\Local\testcli

  Installation of a user-installed plugin will override a core plugin.

  Use the TESTCLI_NPM_LOG_LEVEL environment variable to set the npm loglevel.
  Use the TESTCLI_NPM_REGISTRY environment variable to set the npm registry.

ALIASES
  $ testcli plugins add

EXAMPLES
  Install a plugin from npm registry.

    $ testcli plugins add myplugin

  Install a plugin from a github url.

    $ testcli plugins add https://github.com/someuser/someplugin

  Install a plugin from a github slug.

    $ testcli plugins add someuser/someplugin

testcli plugins:inspect PLUGIN...

Displays installation properties of a plugin.

USAGE
  $ testcli 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
  $ testcli plugins inspect myplugin

See code: @oclif/plugin-plugins

testcli plugins install PLUGIN

Installs a plugin into testcli.

USAGE
  $ testcli 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 testcli.

  Uses bundled npm executable to install plugins into C:\Users\yafan\AppData\Local\testcli

  Installation of a user-installed plugin will override a core plugin.

  Use the TESTCLI_NPM_LOG_LEVEL environment variable to set the npm loglevel.
  Use the TESTCLI_NPM_REGISTRY environment variable to set the npm registry.

ALIASES
  $ testcli plugins add

EXAMPLES
  Install a plugin from npm registry.

    $ testcli plugins install myplugin

  Install a plugin from a github url.

    $ testcli plugins install https://github.com/someuser/someplugin

  Install a plugin from a github slug.

    $ testcli plugins install someuser/someplugin

See code: @oclif/plugin-plugins

testcli plugins link PATH

Links a plugin into the CLI for development.

USAGE
  $ testcli 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
  $ testcli plugins link myplugin

See code: @oclif/plugin-plugins

testcli plugins remove [PLUGIN]

Removes a plugin from the CLI.

USAGE
  $ testcli 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
  $ testcli plugins unlink
  $ testcli plugins remove

EXAMPLES
  $ testcli plugins remove myplugin

testcli plugins reset

Remove all user-installed and linked plugins.

USAGE
  $ testcli 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

testcli plugins uninstall [PLUGIN]

Removes a plugin from the CLI.

USAGE
  $ testcli 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
  $ testcli plugins unlink
  $ testcli plugins remove

EXAMPLES
  $ testcli plugins uninstall myplugin

See code: @oclif/plugin-plugins

testcli plugins unlink [PLUGIN]

Removes a plugin from the CLI.

USAGE
  $ testcli 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
  $ testcli plugins unlink
  $ testcli plugins remove

EXAMPLES
  $ testcli plugins unlink myplugin

testcli plugins update

Update installed plugins.

USAGE
  $ testcli plugins update [-h] [-v]

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Update installed plugins.

See code: @oclif/plugin-plugins

Readme

Keywords

Package Sidebar

Install

npm i testcli1205

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

21.1 kB

Total Files

15

Last publish

Collaborators

  • yafan