Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove cli #55

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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