mirror of
https://codeberg.org/Cyborus/forgejo-cli.git
synced 2024-11-10 12:09:33 +01:00
docs: document --remote
This commit is contained in:
parent
72800f9bba
commit
ca6d0d821d
4 changed files with 5 additions and 1 deletions
|
@ -11,6 +11,7 @@ use crate::repo::{RepoArg, RepoInfo, RepoName};
|
||||||
|
|
||||||
#[derive(Args, Clone, Debug)]
|
#[derive(Args, Clone, Debug)]
|
||||||
pub struct IssueCommand {
|
pub struct IssueCommand {
|
||||||
|
/// The local git remote that points to the repo to operate on.
|
||||||
#[clap(long, short = 'R')]
|
#[clap(long, short = 'R')]
|
||||||
remote: Option<String>,
|
remote: Option<String>,
|
||||||
#[clap(subcommand)]
|
#[clap(subcommand)]
|
||||||
|
|
|
@ -18,7 +18,7 @@ use crate::{
|
||||||
|
|
||||||
#[derive(Args, Clone, Debug)]
|
#[derive(Args, Clone, Debug)]
|
||||||
pub struct PrCommand {
|
pub struct PrCommand {
|
||||||
/// The git remote to operate on.
|
/// The local git remote that points to the repo to operate on.
|
||||||
#[clap(long, short = 'R')]
|
#[clap(long, short = 'R')]
|
||||||
remote: Option<String>,
|
remote: Option<String>,
|
||||||
#[clap(subcommand)]
|
#[clap(subcommand)]
|
||||||
|
|
|
@ -14,8 +14,10 @@ use crate::{
|
||||||
|
|
||||||
#[derive(Args, Clone, Debug)]
|
#[derive(Args, Clone, Debug)]
|
||||||
pub struct ReleaseCommand {
|
pub struct ReleaseCommand {
|
||||||
|
/// The local git remote that points to the repo to operate on.
|
||||||
#[clap(long, short = 'R')]
|
#[clap(long, short = 'R')]
|
||||||
remote: Option<String>,
|
remote: Option<String>,
|
||||||
|
/// The name of the repository to operate on.
|
||||||
#[clap(long, short, id = "[HOST/]OWNER/REPO")]
|
#[clap(long, short, id = "[HOST/]OWNER/REPO")]
|
||||||
repo: Option<RepoArg>,
|
repo: Option<RepoArg>,
|
||||||
#[clap(subcommand)]
|
#[clap(subcommand)]
|
||||||
|
|
|
@ -6,6 +6,7 @@ use crate::{repo::RepoInfo, SpecialRender};
|
||||||
|
|
||||||
#[derive(Args, Clone, Debug)]
|
#[derive(Args, Clone, Debug)]
|
||||||
pub struct UserCommand {
|
pub struct UserCommand {
|
||||||
|
/// The local git remote that points to the repo to operate on.
|
||||||
#[clap(long, short = 'R')]
|
#[clap(long, short = 'R')]
|
||||||
remote: Option<String>,
|
remote: Option<String>,
|
||||||
#[clap(subcommand)]
|
#[clap(subcommand)]
|
||||||
|
|
Loading…
Reference in a new issue