1.0.1 β€’ Published 6 months ago

@lobehub/cli-shebang v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Lobe CLI Shebang provide a easy way to add shebang to target file

Changelog Β· Report Bug Β· Request Feature

npm.io

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.

Credits


πŸ“ License

Copyright Β© 2023 LobeHub. This project is MIT licensed.

1.0.1

6 months ago

1.0.0

7 months ago