-
Notifications
You must be signed in to change notification settings - Fork 161
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
make sure everything in the cli is documented #2660
Comments
Would like to contribute to this project, and this might be a good starting point? Could anyone confirm or point to a better issue? |
This is a really good issue, since it might allow you to explore the public API without writing a project on top of iroh, for example. The CLI structure is defined here and everything below this structure (the types of the fields, recursively) should have docs. This does not need to happen in a single big PR, small but complete PRs are encouraged and welcome. Most likely it would look like one PR per file in https://github.com/n0-computer/iroh/tree/main/iroh-cli/src/commands so feel free to work on any (or all) if you want |
Nice, thanks! I'll get on with it. |
## Description Add documentation to undocumented items in the entrypoint for the `iroh-cli` at `iroh/iroh-cli/src/commands.rs`. This partially addresses #2660, and belongs to a series of PRs to complete it. ## Breaking Changes No breaking changes. ## Notes & open questions No additional notes. ## Change checklist - [ ] Self-review. - [X] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented. --------- Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com>
## Description Update documentation to `doctor` command submodule. This partially addresses #2660, and belongs to a series of PRs to complete it. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> Imports have been formated to be grouped. ## Change checklist - [ ] Self-review. - [X] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented.
## Description Update documentation to RPC's subcommand `authors`. This partially addresses #2660, and belongs to a series of PRs to complete it. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions The imports have been formatted to join similar `use` paths. ## Change checklist - [ ] Self-review. - [X] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented.
## Description Update documentation to `console` command. This partially addresses #2660, and belongs to a series of PRs to complete it ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions Imports have been formated to be grouped. ## Change checklist - [ ] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented.
## Description <!-- A summary of what this pull request achieves and a rough list of changes. --> Update documentation to `net` command. This partially addresses #2660, and belongs to a series of PRs to complete it ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions Imports have been formated to be grouped. ## Change checklist - [ ] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented.
## Description <!-- A summary of what this pull request achieves and a rough list of changes. --> Update documentation to `start` command. This partially addresses #2660, and belongs to a series of PRs to complete it. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions Imports have been formated to be grouped. ## Change checklist - [ ] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented.
## Description <!-- A summary of what this pull request achieves and a rough list of changes. --> Update documentation to tags command. This partially addresses #2660, and belongs to a series of PRs to complete it. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> Imports have been formated to be grouped. ## Change checklist - [ ] Self-review. - [X] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented.
## Description Update documentation to `console` commands. This partially addresses #2660, and belongs to a series of PRs to complete it ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions Imports have been formated to be grouped. ## Change checklist - [ ] Self-review. - [X] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented.
## Description <!-- A summary of what this pull request achieves and a rough list of changes. --> Update documentation to `tags` command. This partially addresses #2660, and belongs to a series of PRs to complete it ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions Imports have been formated to be grouped. ## Change checklist - [ ] Self-review. - [X] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented.
## Description Update documentation to RPC's subcommand `blobs`. This partially addresses #2660, and belongs to a series of PRs to complete it ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions Imports have been formated to be grouped. ## Change checklist - [ ] Self-review. - [X] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented. --------- Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com>
## Description Update documentation to RPC's subcommand `docs`. This partially addresses #2660, and belongs to a series of PRs to complete it. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions Imports have been formated to be grouped. ## Change checklist - [ ] Self-review. - [X] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented. --------- Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com>
@divagant-martian, this should be addressed by now, after merging all the PRs from #2702 up to #2711. |
Thanks a lot for your contributions!. I did not review the prs being on holidays but being now all merged I trust this is thoroughly addressed. Closing |
not sure if we can deny missing docs on a specific struct, but this would be the way to go. Docs become help text in the console and it's missing in a couple of places
The text was updated successfully, but these errors were encountered: