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

Add cargo xtask rfd subcommand with convenience methods for interacting with RFDs. #69

Merged
merged 2 commits into from
May 14, 2024

Conversation

alilleybrinker
Copy link
Collaborator

As the title says, this PR adds a new cargo xtask rfd command with two subcommands:

  • cargo xtask rfd list: List all merged RFDs.
  • cargo xtask rfd new: Create a new, draft RFD.

These are basic conveniences now, but in the future I'd love to do more to, for example, use the GitHub API to link to and open RFDs which are under consideration.

This adds a CLI for listing RFDs. Next I'll be adding the ability to
initiate new ones.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
This adds a command to create a new RFD, and also refactors the existing
`cargo xtask rfd list` command to use a new `RfdIter` type which
provides a convenient API for iterating over RFDs.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
@alilleybrinker alilleybrinker added the type: enhancement New feature or request label May 13, 2024
@alilleybrinker alilleybrinker added this to the 3.3.0 milestone May 13, 2024
@alilleybrinker alilleybrinker self-assigned this May 13, 2024
@mchernicoff mchernicoff merged commit 623e5e7 into main May 14, 2024
9 checks passed
@alilleybrinker alilleybrinker deleted the alilleybrinker/xtask-rfd branch May 14, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants