https://github.com/neo-hack/bin-template
create cli app
https://github.com/neo-hack/bin-template
Last synced: 10 months ago
JSON representation
create cli app
- Host: GitHub
- URL: https://github.com/neo-hack/bin-template
- Owner: neo-hack
- License: mit
- Created: 2021-10-18T15:10:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-23T05:41:51.000Z (about 3 years ago)
- Last Synced: 2025-08-03T21:43:28.664Z (11 months ago)
- Language: TypeScript
- Size: 184 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# @aiou/bin-template
*build npm cli command application*
[](https://github.com/spring-catponents/bin-template) [](https://github.com/spring-catponents/bin-template) [](https://stackblitz.com/github/spring-catponents/bin-template)
[Edit on StackBlitz ⚡️](https://stackblitz.com/github/spring-catponents/bin-template)
## features
- Native ESM Module development
- Use [**cac**](https://github.com/cacjs/cac) build cli application
- Interaction interface with [**inquirer**](https://github.com/SBoudrias/Inquirer.js/) and [**ora**](https://github.com/sindresorhus/ora)
- Type safe
- Release with github workflows and changeset
- pnpm
- vitest
## install
```console
pnpm i -g @aiou/bin-template
```
## commands
### `hello`
say hello world with select option
`bin-template hello [word]`
### `loading`
display loading and loading text
`bin-template loading --text=[text] [ms]`
## development
- `pnpm run build`