@lobehub/cli-shebang
v1.0.2
Published
Add shebang to target file
Downloads
11
Readme
Lobe CLI Shebang provide a easy way to add shebang to target file
Changelog · Report Bug · Request Feature
TOC
📦 Installation
To install Lobe Shebang, run the following command:
npm install -g @lobehub/lobe-cli-shebang
🤯 Usage
Add #!/usr/bin/env node
to target file
$ lobe-shebang -t ./dist/cli.js
# or
$ shebang -t ./dist/cli.js
Custom Shebang
$ shebang -t ./dist/cli.js -s "#!/usr/bin/env bun"
⌨️ Local Development
You can use Github Codespaces for online development:
Or clone it for local development:
$ git clone https://github.com/lobehub/lobe-cli-toolbox.git
$ cd lobe-cli-toolbox
$ bun install
$ cd packages/lobe-cli-shebang
$ bun dev
🤝 Contributing
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.
🔗 Links
More Products
- 🤖 Lobe Chat - An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application.
- 🤯 Lobe Theme - The modern theme for stable diffusion webui, exquisite interface design, highly customizable UI, and efficiency boosting features.