mirror of
https://codeberg.org/Cyborus/forgejo-cli.git
synced 2024-11-10 12:09:33 +01:00
fix: repo create
should not take RepoArg
for name argument
This commit is contained in:
parent
121be52f37
commit
e77e978629
1 changed files with 2 additions and 2 deletions
|
@ -289,7 +289,7 @@ impl std::fmt::Display for RepoArgError {
|
||||||
#[derive(Subcommand, Clone, Debug)]
|
#[derive(Subcommand, Clone, Debug)]
|
||||||
pub enum RepoCommand {
|
pub enum RepoCommand {
|
||||||
Create {
|
Create {
|
||||||
repo: RepoArg,
|
repo: String,
|
||||||
|
|
||||||
// flags
|
// flags
|
||||||
#[clap(long, short)]
|
#[clap(long, short)]
|
||||||
|
@ -361,7 +361,7 @@ impl RepoCommand {
|
||||||
gitignores: None,
|
gitignores: None,
|
||||||
issue_labels: None,
|
issue_labels: None,
|
||||||
license: None,
|
license: None,
|
||||||
name: format!("{}/{}", repo.owner, repo.name),
|
name: repo,
|
||||||
object_format_name: None,
|
object_format_name: None,
|
||||||
private: Some(private),
|
private: Some(private),
|
||||||
readme: Some(String::new()),
|
readme: Some(String::new()),
|
||||||
|
|
Loading…
Reference in a new issue