Commit Graph

4 Commits

Author SHA1 Message Date
yangzhaohan 6b19fd4601 feat(cli): add create command with interactive block selection
Publish to Gitea Registry / publish (push) Failing after 1m32s
- register create command in Commander program
- add @inquirer/prompts dependency for interactive prompts
- extend Block type with optional repo field
- scaffold create command module with initial implementation
2026-06-22 17:19:10 +08:00
yangzhaohan 35c351e716 refactor(cli): migrate to commander framework and simplify config loading
Publish to Gitea Registry / publish (push) Failing after 4s
Replace hand-rolled CLI argument parsing with Commander for command
registration and option handling. Streamline config resolution by
removing the BrickConfig type and accepting a plain source string
with BRICK_SOURCE env var support.

- Replace manual CLI dispatch with Commander-based command tree
- Simplify resolveConfig/resolveSource to a single resolveSource function
- Remove BrickConfig interface in favor of direct source string
- Move isRemote check into index-loader as a local utility
- Update loadIndex signature to accept source string directly
2026-06-22 16:46:44 +08:00
yangzhaohan a258407fae feat(cli): implement modular command architecture with build config
Publish to Gitea Registry / publish (push) Failing after 19m9s
- Refactor CLI entry point to use modular command structure
- Add list command with placeholder implementation
- Set up type definitions for command interface
- Configure TypeScript build and package files for distribution
- Add dist output to .gitignore
2026-06-22 16:23:22 +08:00
yangzhaohan c6f4311360 first commit 2026-06-22 15:48:47 +08:00