Skip to content

feat(cli): implement build entity pack list and pack info#1

Open
emil07770 wants to merge 1 commit into
masterfrom
feat/entity-pack-list-info
Open

feat(cli): implement build entity pack list and pack info#1
emil07770 wants to merge 1 commit into
masterfrom
feat/entity-pack-list-info

Conversation

@emil07770

Copy link
Copy Markdown
Owner

Implements build entity pack list and build entity pack info as requested in profullstack#459.

Changes

  • Add import type { JurisdictionDescribe } from @profullstack/sh1pt-core
  • Add KNOWN_PACKS constant with 25 jurisdiction codes
  • pack list — async, dynamically imports each @profullstack/sh1pt-entity-<code> pack, calls .describe(), and renders a colour-coded table (CODE / SUPPORT / ENTITY TYPES). Supports --json for machine-readable output.
  • pack info <pack> — async, loads a single pack by code and pretty-prints all JurisdictionDescribe fields (support level, version, entity types, filing modes, required inputs, manual steps, experimental flag).

Testing

sh1pt entity pack list
sh1pt entity pack list --json
sh1pt entity pack info us
sh1pt entity pack info nz

Closes profullstack#459

@github-actions

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(cli): implement build entity pack list and build entity pack info

1 participant