Arietta CLI Shebang provide a easy way to add shebang to target file
Table of contents
To install Arietta Shebang, run the following command:
npm install -g @arietta-studio/arietta-shebang
Add #!/usr/bin/env node
to target file
$ arietta-shebang -t ./dist/cli.js
# or
$ shebang -t ./dist/cli.js
$ shebang -t ./dist/cli.js -s "#!/usr/bin/env bun"
You can use Github Codespaces for online development:
Or clone it for local development:
$ git clone https://github.com/arietta-studio/arietta-tools.git
$ cd arietta-tools
$ bun install
$ cd packages/arietta-shebang
$ bun dev
Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what you’re made of.
Copyright © 2024 Arietta Studio.
This project is MIT licensed.