https://github.com/ableco/abledev-cli
https://github.com/ableco/abledev-cli
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ableco/abledev-cli
- Owner: ableco
- Created: 2021-08-17T22:37:02.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-20T19:09:34.000Z (almost 5 years ago)
- Last Synced: 2025-02-23T04:27:31.739Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 126 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Abledev CLI
## Setup
1. Install dependencies: `yarn`
2. Run tests or test a specific command by calling them with
`yarn abledev [command] [arguments]`.
## Commands
### `abledev new `
This creates a new isolated component folder. To test it against an existing
folder:
- Use `yarn abledev new ComponentName --override` to test it against a folder
inside `abledev-cli`. You'd have to add it to `.gitignore` if you do this.
- Or use `yarn abledev new ../ComponentName --override --path ComponentName` to
use another folder outside `abledev-cli`. You don't need to ignore an
additional folder if you do this, and because there's no nested `package.json`
files, this would be more realistic.
> `override` ignores an existing folder in the path location, so this can be
> used many times to test something. If `override` is not added, we will error.
### `abledev start`
It basically runs `ts-node ./abledev/devServer.ts` from an isolated component.
It will probably do more in the future but for now, this is enoguh.