A CLI tool for installing, generating, and publishing plugins for the Amos framework (v1.2.0). It supports plugin lifecycle management including scaffolding, packaging, and distribution. Key features include configurable plugin sources, extensible copy commands (MF and UMD), and multi-source configuration (environment variables, .pluginsrc, package.json). Release cadence appears irregular. Differentiates from generic plugin managers by tight coupling with Amos framework conventions and support for Chinese-language documentation.
npm install amos-plugin-cliVerified import paths — ran on the pinned version, not inferred.
Shows installation, scaffolding, packaging, and custom configuration of a plugin.
Configure via .pluginsrc or package.json 'amosPluginConfig' instead of env vars.
Use .mfrc.json or .umdrc.js format. Check version-specific examples in README.
Ensure plugins are ZIP archives. Custom extensions only apply to remote plugin storage, not local packaging.
Install globally: npm install -g amos-plugin-cli. Or run with npx: npx amos-plugin -v.
Create .pluginsrc in project root with at least amos_plugin_site and amos_plugin_dir.
Re-package plugin with amos-plugin -p, ensuring project structure includes index.plugin.js.
No dependency data recorded yet.