git-bug/doc/man/git-bug-add.1

44 lines
635 B
Groff
Raw Normal View History

.nh
2022-02-15 21:57:26 +03:00
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
2022-02-15 21:57:26 +03:00
git-bug-add - Create a new bug.
.SH SYNOPSIS
.PP
2022-02-15 21:57:26 +03:00
\fBgit-bug add [flags]\fP
.SH DESCRIPTION
.PP
2019-03-02 00:56:04 +03:00
Create a new bug.
.SH OPTIONS
.PP
2022-02-15 21:57:26 +03:00
\fB-t\fP, \fB--title\fP=""
2020-02-23 16:38:02 +03:00
Provide a title to describe the issue
.PP
2022-02-15 21:57:26 +03:00
\fB-m\fP, \fB--message\fP=""
2020-02-23 16:38:02 +03:00
Provide a message to describe the issue
.PP
2022-02-15 21:57:26 +03:00
\fB-F\fP, \fB--file\fP=""
Take the message from the given file. Use - to read the message from the standard input
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 12:14:45 +03:00
.PP
2022-02-15 21:57:26 +03:00
\fB--non-interactive\fP[=false]
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 12:14:45 +03:00
Do not ask for user input
.PP
2022-02-15 21:57:26 +03:00
\fB-h\fP, \fB--help\fP[=false]
2020-02-23 16:38:02 +03:00
help for add
.SH SEE ALSO
.PP
2022-02-15 21:57:26 +03:00
\fBgit-bug(1)\fP