| Crates.io | greentic-cards2pack |
| lib.rs | greentic-cards2pack |
| version | 0.4.2 |
| created_at | 2026-01-21 14:45:53.098871+00 |
| updated_at | 2026-01-21 14:45:53.098871+00 |
| description | Generate Greentic pack workspaces and archives from Adaptive Cards |
| homepage | https://github.com/greentic-ai/greentic-cards2pack |
| repository | https://github.com/greentic-ai/greentic-cards2pack |
| max_upload_size | |
| id | 2059452 |
| size | 121,173 |
Generate Greentic pack workspaces and .gtpack archives from a directory of Adaptive Card JSON files.
This CLI scans cards, groups them into flows, generates flow files, and packages everything into a Greentic pack in a single command.
cargo install cargo-binstall
cargo binstall greentic-cards2pack
You also need:
cargo binstall greentic-flow greentic-pack
greentic-cards2pack generate \
--cards ./cards \
--out ./packs/hr-demo \
--name hr-demo
--out becomes a full pack workspace:
./packs/hr-demo/
pack.yaml
flows/main.ygtc
assets/cards/...
dist/hr-demo.gtpack
.cards2pack/manifest.json
The generated flow uses the Adaptive Card component:
oci://ghcr.io/greentic-ai/components/component-adaptive-card:latest.
ignored_file: A JSON file under --cards is not an Adaptive Card (missing type: "AdaptiveCard").
type: "AdaptiveCard".missing_target: A card action references a step/cardId that does not exist in the flow.
--strict to enforce consistent metadata and required targets..cards2pack/manifest.json file records the scan results and warnings.