pokit
v0.5.0
Published
Global CLI launcher for pok - install once, run anywhere
Readme
pokit
Global CLI launcher for pok. Install once, run anywhere.
Installation
bun add -g pokitUsage
Once installed globally, run pok from any project with @pokit/core installed:
cd my-project
pok # Show interactive command menu
pok dev # Run specific command
pok --help # Show helpLauncher commands
The launcher supplies two default commands:
pok init # Create pok.config.ts
pok skill # Print the pok agent skill to stdoutProject commands take precedence over these defaults. A command named init or
skill, or a command with either spelling as an alias, handles that invocation
instead.
How It Works
The global pok command acts as a thin launcher that:
- Imports
@pokit/corefrom the current project - Calls
runCli()to handle command routing - Shows helpful error messages if requirements aren't met
This approach ensures you always use the project's version of core, avoiding version mismatches.
Requirements
- Bun >= 1.0.0
@pokit/coreinstalled in your project
