Lobe CLI Shebang provide a easy way to add shebang to target file
Table of contents
To install Lobe Shebang, run the following command:
npm install -g @lobehub/lobe-cli-shebang
Add #!/usr/bin/env node
to target file
$ lobe-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/lobehub/lobe-cli-toolbox.git
$ cd lobe-cli-toolbox
$ bun install
$ cd packages/lobe-cli-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.
- 🤖 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.