p-sw fcc35223d3 refactor(cli): update shared module and import paths in config
The change includes an update to config.ts in CLI. The configuration paths for the shared module changed from 'shared' to 'lib'. Also, the import paths adjusted to reflect the path changes from 'shared' to 'lib'.
2024-06-11 15:30:23 +09:00
..
2024-06-06 19:00:53 +09:00
2024-06-06 19:00:53 +09:00
2024-06-06 19:00:53 +09:00
2024-06-06 19:00:53 +09:00
2024-06-06 19:00:53 +09:00
2024-06-06 19:00:53 +09:00
2024-06-06 19:00:53 +09:00

@psw-ui/cli

CLI for PSW/UI

oclif Version Downloads/week

Usage

$ npm install -g @psw-ui/cli
$ pswui COMMAND
running command...
$ pswui (--version)
@psw-ui/cli/0.2.0 linux-x64 node-v20.13.1
$ pswui --help [COMMAND]
USAGE
  $ pswui COMMAND
...

Commands

pswui add [NAME]

Add a component to the project.

USAGE
  $ pswui add [NAME] [-f] [-F] [-p <value>] [-s <value>] [-c <value>]

ARGUMENTS
  NAME  name of component to install

FLAGS
  -F, --forceShared         override the existing shared.ts and update it to latest
  -c, --components=<value>  place for installation of components
  -f, --force               override the existing file
  -p, --config=<value>      path to config
  -s, --shared=<value>      place for installation of shared.ts

DESCRIPTION
  Add a component to the project.

EXAMPLES
  $ pswui add

See code: packages/cli/src/commands/add.tsx

pswui help [COMMAND]

Display help for pswui.

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

See code: @oclif/plugin-help

pswui list

Prints all available components in registry and components installed in this project.

USAGE
  $ pswui list [-u] [-p <value>]

FLAGS
  -p, --config=<value>  path to config
  -u, --url             include component file URL

DESCRIPTION
  Prints all available components in registry and components installed in this project.

EXAMPLES
  $ pswui list

See code: packages/cli/src/commands/list.ts

Search components.

Search components.

USAGE
  $ pswui search [QUERY]

ARGUMENTS
  QUERY  search query

DESCRIPTION
  Search components.

EXAMPLES
  $ pswui search

See code: packages/cli/src/commands/search.tsx