1.2.0 • Published 2 years ago

cpoo v1.2.0

Weekly downloads
59
License
MIT
Repository
github
Last release
2 years ago

cpoo

simple react component generator

oclif Version Downloads/week License

Usage

$ npm install -g cpoo
$ cpoo COMMAND
running command...
$ cpoo (--version)
cpoo/1.1.1 darwin-x64 node-v14.18.2
$ cpoo --help [COMMAND]
USAGE
  $ cpoo COMMAND
...

Commands

cpoo generate COMPONENTNAME [PATH]

generate React Component

USAGE
  $ cpoo generate [COMPONENTNAME] [PATH] [-h]

ARGUMENTS
  COMPONENTNAME  component name
  PATH           path to component

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  generate React Component

EXAMPLES
  $ cpoo generate Button src/components/atoms
  info : No such directory, so make dir.
  success : completed to make directory :3
  success created: /your/project/src/components/atoms/Button/Button.stories.tsx
  success created: /your/project/src/components/atoms/Button/Button.test.tsx
  success created: /your/project/src/components/atoms/Button/Button.tsx
  success created: /your/project/src/components/atoms/Button/Button.ts
   info : completed to generate component :)

See code: src/commands/generate.ts

cpoo hello PERSON

Say hello

USAGE
  $ cpoo hello [PERSON] -f <value>

ARGUMENTS
  PERSON  Person to say hello to

FLAGS
  -f, --from=<value>  (required) Whom 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.ts

cpoo help [COMMAND]

Display help for cpoo.

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

See code: @oclif/plugin-help

cpoo init

initialize "cpoo"

USAGE
  $ cpoo init

DESCRIPTION
  initialize "cpoo"

EXAMPLES
  $ cpoo init

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

cpoo plugins

List installed plugins.

USAGE
  $ cpoo plugins [--core]

FLAGS
  --core  Show core plugins.

DESCRIPTION
  List installed plugins.

EXAMPLES
  $ cpoo plugins

See code: @oclif/plugin-plugins

cpoo plugins:inspect PLUGIN...

Displays installation properties of a plugin.

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

See code: @oclif/plugin-plugins

cpoo plugins:install PLUGIN...

Installs a plugin into the CLI.

USAGE
  $ cpoo 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
  $ cpoo plugins:add

EXAMPLES
  $ cpoo plugins:install myplugin 

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

  $ cpoo plugins:install someuser/someplugin

See code: @oclif/plugin-plugins

cpoo plugins:link PLUGIN

Links a plugin into the CLI for development.

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

See code: @oclif/plugin-plugins

cpoo plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ cpoo plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

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

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ cpoo plugins:unlink
  $ cpoo plugins:remove

See code: @oclif/plugin-plugins

cpoo plugins:update

Update installed plugins.

USAGE
  $ cpoo plugins:update [-h] [-v]

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

DESCRIPTION
  Update installed plugins.

See code: @oclif/plugin-plugins

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.1.2

2 years ago

1.0.3

2 years ago

1.0.10

2 years ago

1.0.14

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago