Skip to content

Commit

Permalink
feat: improve output
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisGorbachev committed Jul 20, 2024
1 parent d81a9d2 commit cb50791
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Options:
--extra-configs <EXTRA_CONFIGS>
Extra config file paths (relative to `source` directory)
--repo-exists-cmd <REPO_EXISTS_CMD>
Shell command to check if repo exists (supports substitutions - see help below) [default: "gh repo view --json nameWithOwner {{name}} | grep {{name}}"]
Shell command to check if repo exists (supports substitutions - see help below) [default: "gh repo view --json nameWithOwner {{name}} 2>/dev/null"]
--repo-create-cmd <REPO_CREATE_CMD>
Shell command to create a repo (supports substitutions - see help below) [default: "gh repo create --private {{name}}"]
--repo-clone-cmd <REPO_CLONE_CMD>
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub struct CreateRustGithubRepo {
#[arg(long, help = "Extra config file paths (relative to `source` directory)", value_delimiter = ',')]
extra_configs: Vec<String>,

#[arg(long, help = "Shell command to check if repo exists (supports substitutions - see help below)", default_value = "gh repo view --json nameWithOwner {{name}} | grep {{name}}")]
#[arg(long, help = "Shell command to check if repo exists (supports substitutions - see help below)", default_value = "gh repo view --json nameWithOwner {{name}} 2>/dev/null")]
repo_exists_cmd: String,

#[arg(long, help = "Shell command to create a repo (supports substitutions - see help below)", default_value = "gh repo create --private {{name}}")]
Expand Down

0 comments on commit cb50791

Please sign in to comment.