Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.32 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.32 KB

@blastlauncher/cli

@blastlauncher/cli is a command line tool that used to build and publish Blast Launcher extensions.

I somehow discover that Raycast's extension build output are similar to esbuild's output, so I also use esbuild to bundle the extension and pkg to package the cli executable. Ray's CLI is way smaller, I guess their CLI is written in Go. 🤣

The publish command will upload the extension to npm registry(which is released under @blast-extensions for now).

You can learn more about the extension publishing in the raycast-extensions-mirror repo.

Development

# Output single cjs file with esbuild
pnpm build

# Run the cli
node ./dist/index.cjs --help

# Package to cli executable with pkg
pnpm package

# Run the cli executable
./dist/cli-macos --help

Installation

npm

npm install -g @blastlauncher/cli

Help

Usage: blast [options] [command]

CLI for Blast Launcher

Options:
  -h, --help                               display help for command

Commands:
  publish [options] <path> <organization>  Publish extensions
  build [options] <path>                   Build extensions
  help [command]                           display help for command