@gopay/minikit-cli
v1.2.2
Published
A CLI tool to build, scaffold and manage GOTO MiniApps
Readme
@gopay/minikit-cli
A CLI tool for scaffolding and managing GoTo mini-app web projects.
For reference and other support, see the MiniApp CLI Tools documentation.
Prerequisites
Bun — a fast JavaScript runtime and package manager used to run the CLI.
bun --versionIf it's not installed:
curl -fsSL https://bun.com/install | bash -s "bun-v1.3.14"Installation
bun install -g @gopay/minikit-cliVerify the installation:
minikit-cli --versionComplete Command Reference
|Command|What it does|Args|Options|
|---|---|---|---|
|minikit-cli create|Scaffold a new Mini App project with all boilerplate and configurations|[name]|--no-install, --project-dir|
|minikit-cli jsbridge:add|Add JS API handlers to access Host App capabilities (location, deeplinks, notifications, device info etc)|[class] [method]|--cache|
|minikit-cli jsbridge:remove|Remove a previously added JS API method|[class] [method]|—|
|minikit-cli i18n:add|Add multi-language support (Paraglide)|—|—|
|minikit-cli snap:add|Add payment processing (Snap Checkout)|—|—|
|minikit-cli vconsole:add|Add in-app debug console for development i.e. Vconsole here|—|
|minikit-cli update|Update the CLI to the latest published version|[keyword]|—|
|minikit-cli docs|List or search documentation links|||
Technical Support
For technical support, refer to the MiniApp Technical Assistant and Support documentation
