isolate repo fork command and tweak usage
This commit is another isolation refactor, this time for repo fork. However, I got fed up with the --remote="true|false|prompt" style of flags and took this opportunity to switch to a set of bool flags: --remote and --clone --no-remote and --no-clone the string args were really non standard and confusing; with only two bools it was impossible to tell when to prompt.
This commit is contained in:
parent
9035418ca6
commit
f3eb092d7e
10 changed files with 829 additions and 662 deletions
9
test/fixtures/forkResult.json
vendored
9
test/fixtures/forkResult.json
vendored
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
"node_id": "123",
|
||||
"name": "REPO",
|
||||
"clone_url": "https://github.com/someone/repo.git",
|
||||
"created_at": "2011-01-26T19:01:12Z",
|
||||
"owner": {
|
||||
"login": "someone"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue