Skip to content

Commit

Permalink
feat(cli): update to version 0.2.0 and add search command
Browse files Browse the repository at this point in the history
This update upgrades the version of the cli package from 0.1.0 to 0.2.0. It also includes the addition of a new "search" command in the CLI readme documentation. Link to relevant source code has also been updated.
  • Loading branch information
p-sw committed Jun 7, 2024
1 parent 0c79f86 commit f6acfc9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
28 changes: 25 additions & 3 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ npm install -g @psw-ui/cli
$ pswui COMMAND
running command...
$ pswui (--version)
@psw-ui/cli/0.1.0 linux-x64 node-v20.13.1
@psw-ui/cli/0.2.0 linux-x64 node-v20.13.1
$ pswui --help [COMMAND]
USAGE
$ pswui COMMAND
Expand Down Expand Up @@ -58,7 +58,7 @@ EXAMPLES
$ pswui add
```

_See code: [src/commands/add.ts](https://github.com/p-sw/ui/blob/v0.1.0/src/commands/add.ts)_
_See code: [packages/cli/src/commands/add.tsx](https://github.com/pswui/ui/blob/cli@0.2.0/packages/cli/src/commands/add.tsx)_

## `pswui help [COMMAND]`

Expand Down Expand Up @@ -99,5 +99,27 @@ EXAMPLES
$ pswui list
```

_See code: [src/commands/list.ts](https://github.com/p-sw/ui/blob/v0.1.0/src/commands/list.ts)_
_See code: [packages/cli/src/commands/list.ts](https://github.com/pswui/ui/blob/cli@0.2.0/packages/cli/src/commands/list.ts)_

## `pswui search`

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](https://github.com/pswui/ui/blob/cli@0.2.0/packages/cli/src/commands/search.tsx)_
<!-- commandsstop -->
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@psw-ui/cli",
"description": "CLI for PSW/UI",
"version": "0.1.0",
"version": "0.2.0",
"author": "p-sw",
"bin": {
"pswui": "./bin/run.js"
Expand Down

0 comments on commit f6acfc9

Please sign in to comment.