Skip to content

Commit

Permalink
refactor: remove cli (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuagraber committed Mar 8, 2024
1 parent 2828b82 commit c400419
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 100 deletions.
18 changes: 0 additions & 18 deletions README.md
Expand Up @@ -88,24 +88,6 @@ Or, if you need them all, you can import all images at the app level. Just remem
import `pdap-design-system/images`;
```

### Using the CLI to copy assets to your local project directory

If you want either styles or images copied to a local directory, you can do so from the root directory of your project.

Assets can be copied using the `pdap-design-system` command line method exposed by this package.

One of the following arguments is required:
`--copy-assets`: Copies all images and styles.
`--copy-images`: Copies all images.
`--copy-styles`: Copies all styles.

The following argument is optional:
`--to={path}`: Path to directory where assets should be copied. Defaults to `assets`

```
pdap-design-system --copy-images --to=image-assets
```

## Development Setup

1. Clone the repo
Expand Down
28 changes: 0 additions & 28 deletions bin/pdap-design-system-cli.js

This file was deleted.

45 changes: 0 additions & 45 deletions cli/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions package.json
Expand Up @@ -121,12 +121,6 @@
"workspaces": [
"eslint-config"
],
"bin": {
"pdap-design-system": "./bin/pdap-design-system-cli.js"
},
"keywords": [
"pdap-design-system"
],
"files": [
"bin",
"dist",
Expand Down

0 comments on commit c400419

Please sign in to comment.