Commit graph

17 commits

Author SHA1 Message Date
Mislav Marohnić
9e63199a65 Add tests for checking out repository after creating from template 2021-03-01 14:12:56 +01:00
Devon Romanko
2964895a77 fix test behavior changes from migration to run.Stub 2021-01-27 18:46:29 -05:00
Devon Romanko
696cbfc8d1 use Stub instead of SetPrepareCmd in 'repo create' tests 2021-01-27 07:59:32 -05:00
Mislav Marohnić
c308f1cd91 Prevent further use of SetPrepareCmd and InitCmdStubber 2021-01-18 22:44:53 +01:00
xhqr
8b5c5896f2
[repo/create] Create local repo dir with non tty. (#2671)
This addresses issue #2587.
2021-01-05 14:40:52 -08:00
Sam Coe
458d5cb42f
Respect interactive repo name input on create 2020-09-21 14:26:15 +02:00
Mislav Marohnić
f9239661f2 Reuse the StubRepoInfoReponse test helper 2020-09-16 15:01:13 +02:00
vilmibm
c0fc31f7d5 use CanPrompt in commands 2020-09-10 12:13:48 -05:00
Colin Shum
99372f0dbc [Refactor] Add variadic argument to repoCreate to support templates 2020-08-28 15:02:08 -04:00
Colin Shum
263e3a6a35 Update create_test.go 2020-08-27 17:57:55 -04:00
ShubhankarKG
011f30977a 1. Add three visibility tags - public, private, internal, one of which meeds to be passed.
2. Interactive repo create when no parameters are passed, i.e `repo create`.
3. Fix tests.

TODO : write a repo in the form of user/repository format when no user is supplied.
2020-08-06 11:33:04 +05:30
ShubhankarKG
4b64a46891 Add confirmation for risky step for repo create 2020-08-04 19:24:35 +05:30
vilmibm
a6c7a88e39 use dummy io streams for cobra 2020-07-27 10:14:02 -05:00
vilmibm
4c57566cdc sigh 2020-07-24 15:40:59 -05:00
vilmibm
2dc8cad7c5 remove stray debugs 2020-07-24 15:26:25 -05:00
vilmibm
551c3661cb linter appeasement 2020-07-24 12:29:06 -05:00
vilmibm
c34054bdc8 isolate repo create command 2020-07-24 12:26:27 -05:00