Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(cli): migrate application entrypoint to Strcli #180

Merged
merged 17 commits into from
Nov 10, 2024

Conversation

HipsterBrown
Copy link
Owner

@HipsterBrown HipsterBrown commented Nov 10, 2024

As part of the path to 1.0 for xs-dev, this PR adopts Strcli in place of the current Gluegun as the entrypoint for the command line application. Gluegun is still used for its "toolbox" of useful utilities, which can be iteratively replaced by better solutions (as judged by maintainability, performance, or user experience).

While Stricli is more verbose, requiring each command to be manually "routed" (or registered) by the app, it has the benefits of making it possible to compile the CLI into a single executable through Deno or Bun, as well as improved help text and parameter validation for each command.

Overall, this provides a good structure towards the future project architecture (#178) without requiring a "big bang rewrite".

📦 Published PR as canary version: 0.32.7--canary.180.e2e347d.0

✨ Test out this PR locally via:

npm install [email protected]
# or 
yarn add [email protected]

@HipsterBrown HipsterBrown marked this pull request as ready for review November 10, 2024 18:41
@HipsterBrown HipsterBrown merged commit 52db3c1 into main Nov 10, 2024
3 checks passed
@HipsterBrown HipsterBrown deleted the nhehr/spike-stricli branch November 10, 2024 19:28
Copy link
Contributor

🚀 PR was released in v0.32.7 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant