1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
pub mod comment;
pub mod create;
pub mod edit;
pub mod list;
pub mod view;
use clap::Subcommand;
/// Pull request subcommands
#[derive(Subcommand, Debug)]
pub enum PullRequestArgs {
List(list::ListPullRequestArgs),
Create(create::CreatePullRequestArgs),
Edit(edit::EditPullRequestArgs),
View(view::ViewPullRequestsArgs),
Comment(comment::CommentPullRequestArgs),
}