Commit Graph

20 Commits

Author SHA1 Message Date
Michael Muré
9ed515fd54 update gqlgen 2022-02-15 19:57:26 +01:00
Sascha
1939949fcd
CLI: Add non-interactive option to interactive commands (#651)
* Add option to skip the AvatarURL input request

Using an empty string for the avatar cli flag e.g. `git-bug user create
-a ""` will still result in a prompt. As the avatar URL is an optional
option, it should be possible to skip asking for it entirely.
Otherwise automated user creation via a script must make use of pipe hacks.

* Add global --non-interactive cmdline option

* Replace --skipAvatar for --non-interactive option

* Cmd BugAdd: respect non-interactive option

* Cmd bridge configure: respect non-interactive opt

* Cmd CommentAdd: respect non-interactive option

* Cmd CommentEdit: respect non-interactive option

* Cmd TermUI: respect non-interactive option

* Cmd TitleEdit: respect non-interactive option

* Remove global non-interactive option

* Cmd UserCreate: Use local non-interactive option

* Cmd BugAdd: Use local non-interactive option

* Cmd BridgeConfigure: Use local non-interactive option

* Cmd CommentAdd: Use local non-interactive option

* Cmd CommentEdit: Use local non-interactive option

* Cmd TermUI: Drop non-interactive option

It should be obviouse that the termui is an interactive command.

* Cmd TitleEdit: Use local non-interactive option

* Update docs

* Bridge GitHub: respect non-interactive option

* Bridge GitLab: respect non-interactive option

* Bridge Jira: respect non-interactive and token opt

* Fix failing compilation

* Bridge launchpad: respect non-interactive option

* bridge: isNonInteractive --> interactive

Co-authored-by: Michael Muré <batolettre@gmail.com>
2021-05-09 11:14:45 +02:00
6543
86faedc966
Vendor: upgrade spf13/cobra to v1.1.1 (#479)
* build(deps): bump github.com/spf13/cobra from 1.0.0 to 1.1.1

* update doc (man & md)

* update bash|fish|zsh completion
2020-10-27 14:38:55 +01:00
Michael Muré
4559af5e71
update auto-generated files 2020-02-23 14:38:02 +01:00
Michael Muré
4ec4f45195
update auto-generated files 2020-02-23 14:24:15 +01:00
Michael Muré
fe3d5c95e4
bridges: massive refactor
- automatic flag validation and warning
- generalized prompt
- cleanups
2020-02-15 02:55:19 +01:00
amine
f6b4830c0b bridge/gitlab: support self-hosted GitLab instance 2019-12-10 21:05:55 +01:00
Michael Muré
b92adfcb5f
bridge: huge refactor to accept multiple kind of credentials 2019-12-08 21:28:27 +01:00
Michael Muré
afe69d0c93 github: tiny cleanups of the configurator 2019-11-26 19:46:50 +01:00
Amine Hilaly
c5824ff1b4
doc/man: update generated documentations 2019-08-31 23:02:20 +02:00
Amine Hilaly
77e60aceea
commands: add bridge configure completion scripts 2019-08-31 23:02:20 +02:00
Amine Hilaly
54dd81e337
bridge: update generated docs 2019-07-23 17:18:04 +02:00
Amine Hilaly
8d6bdb6507
rename GITHUB_TOKEN to GITHUB_PRIVATE_TOKEN 2019-06-07 01:43:48 +02:00
Amine Hilaly
d064a7127e
Update man pages and bash_completion 2019-05-29 22:58:01 +02:00
Michael Muré
ed7d8c13bf
update generated files 2019-04-01 14:03:20 +02:00
Michael Muré
782576f124
update generated files 2019-03-01 22:56:04 +01:00
Michael Muré
09692456c7
man: update the date in the generated doc 2019-02-16 17:34:04 +01:00
Michael Muré
5a465c0d8a
update generated doc with the new date 2018-12-22 03:08:02 +01:00
Michael Muré
95021a07fd
docs: update manpages due to change of month 2018-10-01 21:54:52 +02:00
Michael Muré
43bda202fa
commands: add the "bridge" and "bridge configure" commands 2018-09-24 15:25:57 +02:00