added global appendable Flags (#12) #39

Merged
techknowlogick merged 18 commits from :12_global_cli_flags into master 2019-10-23 15:58:21 +00:00
Contributor
No description provided.
Owner

Replaced #26

Replaced #26
lunny added the
kind
enhancement
label 2019-06-23 00:49:11 +00:00
lunny added this to the v0.1.0 milestone 2019-06-23 00:49:12 +00:00
lunny requested changes 2019-06-27 07:32:11 +00:00
Dismissed
cmd/issues.go Outdated
@ -36,3 +29,1 @@
Usage: "Indicate one repository, optional when inside a gitea repository",
},
},
Flags: RepoDefaultFlags,
Owner

Output should not be added in this sub command.

Output should not be added in this sub command.
Author
Contributor

fixed remarks of @lunny

fixed remarks of @lunny
Owner

If this PR depends on #40 ?

If this PR depends on #40 ?
Author
Contributor

Yes, we should first merge #40 and then I'll update this PR accordingly.

Yes, we should first merge #40 and then I'll update this PR accordingly.
Author
Contributor

Changes with last commits:

  • rebased to latest master
  • renamed defined flag-lists to represent the flags activated
  • updated commands to use renamed flags
  • added --repo & --login to main.go to allow setting flag directly after tea: tea -l test -r test/test releases
Changes with last commits: * rebased to latest master * renamed defined flag-lists to represent the flags activated * updated commands to use renamed flags * added --repo & --login to main.go to allow setting flag directly after tea: `tea -l test -r test/test releases`
lunny reviewed 2019-09-17 03:34:26 +00:00
Dismissed
main.go Outdated
Owner

Is this necessary since we have added LoginRepoFlags on sub commands?

Is this necessary since we have added `LoginRepoFlags` on sub commands?
root360-AndreasUlm reviewed 2019-09-17 05:08:44 +00:00
Dismissed
main.go Outdated
Author
Contributor

Depends on the intended feel of the command.
If we want to allow some flags to be set everywhere (tea -l pulls == tea pulls -l), we must add this otherwise it's not necessary.

Depends on the intended feel of the command. If we want to allow some flags to be set everywhere (`tea -l pulls` == `tea pulls -l`), we must add this otherwise it's not necessary.
Owner

Please resolve the conflicts.

Please resolve the conflicts.
Author
Contributor

@lunny: resolved conflicts and removed flags from main.go

@lunny: resolved conflicts and removed flags from main.go
lunny approved these changes 2019-10-23 15:21:19 +00:00
Dismissed
zeripath approved these changes 2019-10-23 15:23:09 +00:00
Dismissed
Owner

make lgtm work?

make lgtm work?
techknowlogick approved these changes 2019-10-23 15:52:53 +00:00
Dismissed
techknowlogick closed this pull request 2019-10-23 15:58:21 +00:00
Owner

@techknowlogick was there a ned for 3 aprovals?!?

@techknowlogick was there a ned for 3 aprovals?!?
Owner

@techknowlogick was there a ned for 3 aprovals?!?

@techknowlogick was there a ned for 3 aprovals?!?
Owner

... read the conversation in discort ... OK

... read the conversation in discort ... OK
root360-AndreasUlm deleted branch 12_global_cli_flags 2019-10-25 13:41:32 +00:00
Sign in to join this conversation.
No description provided.