-
Notifications
You must be signed in to change notification settings - Fork 79
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
2503 doc autogen #2539
base: main
Are you sure you want to change the base?
2503 doc autogen #2539
Conversation
What is the output path of the doc? The generated doc will then be referenced in docs at: https://docs.avax.network/tooling/avalanche-cli , right? |
output of the .md file is in root of this project |
cmd/commands.md
Outdated
-l, --local operate on a local network | ||
-m, --mainnet operate on mainnet | ||
--node-endpoint string gather node id/bls from publicly available avalanchego apis on the given endpoint | ||
--node-id string node-id of the validator to add | ||
--output-tx-path string (for Subnets, not L1s) file path of the add validator tx | ||
--partial-sync set primary network partial sync for new validators (default true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the flags are being generated without a type, causing the description to split (see original line 152)
-l, --local operate on a local network | |
-m, --mainnet operate on mainnet | |
--node-endpoint string gather node id/bls from publicly available avalanchego apis on the given endpoint | |
--node-id string node-id of the validator to add | |
--output-tx-path string (for Subnets, not L1s) file path of the add validator tx | |
--partial-sync set primary network partial sync for new validators (default true) | |
-l, --local none operate on a local network | |
-m, --mainnet none operate on mainnet | |
--node-endpoint string gather node id/bls from publicly available avalanchego apis on the given endpoint | |
--node-id string node-id of the validator to add | |
--output-tx-path string (for Subnets, not L1s) file path of the add validator tx | |
--partial-sync none set primary network partial sync for new validators (default true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this due to the script or the CLI command code? This happens consistently throughout the generated commands doc
closes #2503 |
Why this should be merged
Autogenerate markdown for CLI cmds that can be remotely fetched
How this works
Github action on PR to main with python script that generates markdown