git-bug/doc/md
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.md CLI: Add non-interactive option to interactive commands (#651) 2021-05-09 11:14:45 +02:00
git-bug_bridge_auth_add-token.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_bridge_auth_rm.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_bridge_auth_show.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_bridge_auth.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_bridge_configure.md CLI: Add non-interactive option to interactive commands (#651) 2021-05-09 11:14:45 +02:00
git-bug_bridge_pull.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_bridge_push.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_bridge_rm.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_bridge.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_commands.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_comment_add.md CLI: Add non-interactive option to interactive commands (#651) 2021-05-09 11:14:45 +02:00
git-bug_comment_edit.md CLI: Add non-interactive option to interactive commands (#651) 2021-05-09 11:14:45 +02:00
git-bug_comment.md Change the comment ID to use both bug and comment ID references. 2021-02-14 12:17:48 +01:00
git-bug_deselect.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_label_add.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_label_rm.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_label.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_ls-id.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_ls-label.md commands: add a "." at the end of Short commands usage 2019-03-01 22:52:52 +01:00
git-bug_ls.md Add ability to search by arbitrary metadata 2021-02-21 14:15:50 +01:00
git-bug_pull.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_push.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_rm.md commands: cleanup the command's usage to avoid warnings when generating the doc 2020-07-28 20:24:24 +02:00
git-bug_select.md commands: cleanup the command's usage to avoid warnings when generating the doc 2020-07-28 20:24:24 +02:00
git-bug_show.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_status_close.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_status_open.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_status.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_termui.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_title_edit.md CLI: Add non-interactive option to interactive commands (#651) 2021-05-09 11:14:45 +02:00
git-bug_title.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_user_adopt.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_user_create.md CLI: Add non-interactive option to interactive commands (#651) 2021-05-09 11:14:45 +02:00
git-bug_user_ls.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_user.md deal with the previous changes 2021-02-14 12:17:47 +01:00
git-bug_version.md Vendor: upgrade spf13/cobra to v1.1.1 (#479) 2020-10-27 14:38:55 +01:00
git-bug_webui.md commands: minor fixes for the webui open with query 2021-03-07 21:44:48 +01:00
git-bug.md commands: cleanup the command's usage to avoid warnings when generating the doc 2020-07-28 20:24:24 +02:00