aboutsummaryrefslogtreecommitdiffstats
path: root/commands/title_edit.go
Commit message (Collapse)AuthorAgeFilesLines
* commands: proper backend close on RunE errorMichael Muré2021-05-091-6/+5
|
* CLI: Add non-interactive option to interactive commands (#651)Sascha2021-05-091-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* make sure every text input is safe and validatedMichael Muré2021-04-171-1/+2
| | | | fix #630
* commands: cleanup the command's usage to avoid warnings when generating the docMichael Muré2020-07-281-2/+2
|
* commands: open and close the backend in a single place, simplify commandsMichael Muré2020-06-281-13/+5
|
* commands: refactor to avoid globalsMichael Muré2020-06-281-30/+35
|
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-1/+1
|
* Renamed user id to user-id and metioned bug for some commandsJocelyn FACCHINI2019-03-231-1/+1
|
* commands: add a "." at the end of Short commands usageMichael Muré2019-03-011-1/+1
|
* github: fix 3 edge-case failuresMichael Muré2019-03-011-1/+1
|
* moved cleaner function to util/interruptRafael Passos2018-10-241-2/+2
|
* Registering lock clearing functions to CleanerRafael Passos2018-10-231-0/+2
|
* commands: don't load the repo for commands that don't need itMichael Muré2018-10-171-3/+4
| | | | fix #67
* commands: detect when an edit title doesn't change it and abort the operationMichael Muré2018-09-261-0/+4
|
* commands: description cleanupMichael Muré2018-09-211-1/+1
|
* commands: convert compatible commands to the implicit select mechanismMichael Muré2018-09-181-15/+3
|
* commands: add a title edit commandMichael Muré2018-09-161-0/+75