Skip to content

Conversation

atinux
Copy link
Member

@atinux atinux commented Sep 18, 2025

Add cli-usage generator, inspired by https://github.com/h3js/srvx/blob/main/automd.config.ts

@atinux atinux requested a review from pi0 September 18, 2025 22:51
@atinux
Copy link
Member Author

atinux commented Sep 18, 2025

I guess we will need to first publish a new version of automd to support the cli-usage in order to update undocs to finally be able to generate the docs with the latest version of automd 😄

@pi0
Copy link
Member

pi0 commented Sep 19, 2025

Im thinking we could make a generic cli-output generator and a shortcut cli-usage that automatically generates —-help. (or an option for cli-output to do this)

@atinux
Copy link
Member Author

atinux commented Sep 19, 2025

Updated to cli-output with:

<!-- automd:cli-output command="automd" args="--help" -->
<!-- /automd -->

and shortcut:

<!-- automd:cli-output command="automd" usage -->
<!-- /automd -->

@atinux atinux changed the title feat(generators): add cli-usage feat(generators): add cli-output Sep 19, 2025
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.

2 participants