🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more
Socket
Book a DemoInstallSign in
Socket

@lobehub/cli-shebang

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lobehub/cli-shebang

Add shebang to target file

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
2
Created
Source

Lobe CLI Shebang

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


Changelog · Report Bug · Request Feature

Table of contents

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.

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.

FAQs

Package last updated on 11 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts