@wklm/cli
v0.1.1
Published
CLI for iOSWebBLE — init, check, scaffold BLE profiles for web apps
Downloads
197
Maintainers
Readme
@wklm/cli
CLI tool for integrating iOSWebBLE into web projects. Auto-detects your framework and adds the detection snippet.
Usage
# Auto-detect framework, add detection snippet
npx ioswebble init
# Specify API key and framework explicitly
npx ioswebble init --key wbl_xxxxx --framework react
# Verify integration is correct
npx ioswebble checkCommands
| Command | Description |
|---------|-------------|
| init | Detect framework (Next.js, React, Vue, Nuxt, HTML, etc.) and inject the @wklm/detect snippet into your entry file |
| check | Verify that iOSWebBLE is correctly integrated in the current project |
Options
--key <api-key> Optional API key for campaign tracking
--framework <name> Override auto-detection (nextjs-app, nextjs-pages, react-vite, react-cra, vue, nuxt, html)
--help, -h Show help
--version, -v Show versionAI agent integration
MCP server for coding agents (Claude Code, Cursor, Copilot):
npx -y @wklm/mcpFull SDK reference for LLM context: https://ioswebble.com/llms-full.txt
Two scopes
The @wklm/* packages (core, profiles, react) are the cross-browser BLE SDK -- they work on any platform with Web Bluetooth support (Chrome, Edge, iOS Safari via the extension). The @wklm/* packages (detect, cli, mcp, skill) handle iOS-specific extension detection, install prompts, and agent tooling. Use both together for full iOS Safari coverage.
