git-bug/doc/man
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
..
git-bug-add.1 CLI: Add non-interactive option to interactive commands (#651) 2021-05-09 11:14:45 +02:00
git-bug-bridge-auth-add-token.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-bridge-auth-rm.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-bridge-auth-show.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-bridge-auth.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-bridge-configure.1 CLI: Add non-interactive option to interactive commands (#651) 2021-05-09 11:14:45 +02:00
git-bug-bridge-pull.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-bridge-push.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-bridge-rm.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-bridge.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-commands.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-comment-add.1 CLI: Add non-interactive option to interactive commands (#651) 2021-05-09 11:14:45 +02:00
git-bug-comment-edit.1 CLI: Add non-interactive option to interactive commands (#651) 2021-05-09 11:14:45 +02:00
git-bug-comment.1 Change the comment ID to use both bug and comment ID references. 2021-02-14 12:17:48 +01:00
git-bug-deselect.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-label-add.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-label-rm.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-label.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-ls-id.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-ls-label.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-ls.1 Add ability to search by arbitrary metadata 2021-02-21 14:15:50 +01:00
git-bug-pull.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-push.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-rm.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-select.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-show.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-status-close.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-status-open.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-status.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-termui.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-title-edit.1 CLI: Add non-interactive option to interactive commands (#651) 2021-05-09 11:14:45 +02:00
git-bug-title.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-user-adopt.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-user-create.1 CLI: Add non-interactive option to interactive commands (#651) 2021-05-09 11:14:45 +02:00
git-bug-user-ls.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-user.1 deal with the previous changes 2021-02-14 12:17:47 +01:00
git-bug-version.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug-webui.1 commands: minor fixes for the webui open with query 2021-03-07 21:44:48 +01:00
git-bug.1 Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00