aboutsummaryrefslogtreecommitdiffstats
path: root/commands/user_create.go
Commit message (Collapse)AuthorAgeFilesLines
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-181-1/+1
|
* 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-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* CLI - allow user create without prompt (#650)Hariharan2021-04-251-20/+39
| | | | | | | | | | | * CLI - allow user create without prompt. Fixes #577 * Update commands/user_create.go email message Co-authored-by: Michael Muré <batolettre@gmail.com> * Update docs Co-authored-by: Michael Muré <batolettre@gmail.com>
* deal with the previous changesMichael Muré2021-02-141-1/+1
|
* commands: open and close the backend in a single place, simplify commandsMichael Muré2020-06-281-17/+9
|
* commands: refactor to avoid globalsMichael Muré2020-06-281-19/+20
|
* identity: bring back the login to hold that info from bridges (purely ↵Michael Muré2020-02-251-1/+1
| | | | informational)
* it compiles \o/Michael Muré2020-02-081-4/+4
|
* input: better reusable prompt functionsMichael Muré2020-02-081-3/+3
|
* cmd: "user create" only assign the user identity if not setMichael Muré2019-12-101-1/+8
|
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-4/+0
|
* commands: add a "." at the end of Short commands usageMichael Muré2019-03-011-1/+1
|
* commands: add a "user adopt" command to use an existing identityMichael Muré2019-03-011-0/+4
|
* identity: some UX cleanupMichael Muré2019-03-011-1/+2
|
* identity: work on higher level now, cache, first two identity commandsMichael Muré2019-03-011-0/+76