-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: forward full commands to shell
- Loading branch information
1 parent
db8fddd
commit d81a9d2
Showing
6 changed files
with
68 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
use clap::Parser; | ||
use create_rust_github_repo::{CreateRustGithubRepo, RepoVisibility}; | ||
|
||
use create_rust_github_repo::CreateRustGithubRepo; | ||
|
||
fn main() -> anyhow::Result<()> { | ||
CreateRustGithubRepo::parse() | ||
.visibility(RepoVisibility::Private) | ||
.cargo_init_args(["--bin".to_string()]) | ||
.project_init_cmd("gh repo create --private {{name}}") | ||
.project_init_cmd("cargo init --bin") | ||
.run() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
use clap::Parser; | ||
use create_rust_github_repo::{CreateRustGithubRepo, RepoVisibility}; | ||
|
||
use create_rust_github_repo::CreateRustGithubRepo; | ||
|
||
fn main() -> anyhow::Result<()> { | ||
CreateRustGithubRepo::parse() | ||
.visibility(RepoVisibility::Private) | ||
.cargo_init_args(["--lib".to_string()]) | ||
.project_init_cmd("gh repo create --private {{name}}") | ||
.project_init_cmd("cargo init --lib") | ||
.run() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
use clap::Parser; | ||
use create_rust_github_repo::{CreateRustGithubRepo, RepoVisibility}; | ||
|
||
use create_rust_github_repo::CreateRustGithubRepo; | ||
|
||
fn main() -> anyhow::Result<()> { | ||
CreateRustGithubRepo::parse() | ||
.visibility(RepoVisibility::Public) | ||
.cargo_init_args(["--bin".to_string()]) | ||
.project_init_cmd("gh repo create --public {{name}}") | ||
.project_init_cmd("cargo init --bin") | ||
.run() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
use clap::Parser; | ||
use create_rust_github_repo::{CreateRustGithubRepo, RepoVisibility}; | ||
|
||
use create_rust_github_repo::CreateRustGithubRepo; | ||
|
||
fn main() -> anyhow::Result<()> { | ||
CreateRustGithubRepo::parse() | ||
.visibility(RepoVisibility::Public) | ||
.cargo_init_args(["--lib".to_string()]) | ||
.project_init_cmd("gh repo create --public {{name}}") | ||
.project_init_cmd("cargo init --lib") | ||
.run() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters