@alterspective/foundry-cli
v0.5.8
Published
CLI for scaffolding, building, validating, and deploying Foundry platform extensions (currently targets Sharedo)
Readme
@alterspective/foundry-cli
CLI tool for the full Sharedo extension development lifecycle.
Commands
| Command | Purpose |
|---|---|
| foundry create <type> <name> | Scaffold a new widget, aspect, workflow action, or global include |
| foundry build | Build all components to dist/ (convention-based discovery) |
| foundry deploy --target <instance> | Deploy built artifacts to a Sharedo instance via IDE API |
| foundry validate | Validate manifests against JSON schemas |
| foundry dev | Watch mode — auto-rebuild and auto-deploy on file changes |
Usage
npx foundry create widget my-widget
npx foundry build
npx foundry deploy --target demo-aus.sharedo.tech
npx foundry deploy --target demo-aus.sharedo.tech --widget my-widgetThe deploy command supports the standard Foundry layout:
- manifests in
src/.../manifests/ - templates in
src/.../templates/ - built bundles in
dist/.../
License
Copyright (c) 2024-present Alterspective Pty Ltd. All rights reserved.
