Commit Graph

13 Commits

Author SHA1 Message Date
Michael Muré
acc9a6f3a6
commands: reorg into different packages 2022-11-20 17:18:09 +01:00
Michael Muré
8d11e620a3
webui: add a flag to log handling errors 2022-08-23 15:09:31 +02:00
Michael Muré
3a819525d7
commands: minor fixes for the webui open with query
- go fmt
- add a shorthand
- fix displayed webUI URL in the terminal
2021-03-07 21:44:48 +01:00
Miklos Vajna
626ec9835b webui: allow specifying the initial query
Example use-case: given a github URL in a source code comment or commit
message, one can now run:

git bug webui --query 'metadata:github-url:"https://github.com/author/myproject/issues/42"'

on the commandline to look up the details of that issue on the web ui
quickly, offline.

Fixes <https://github.com/MichaelMure/git-bug/issues/592>.
2021-03-07 14:11:04 +01:00
Sascha
ea329aed69 Add option to specify host address
'--host'-cmdline-option is added to the webui command.

Previously, the WebUI couldn't be hosted inside of a container. As the
WebUI-server only listend per default to localhost and there was no
option to change the address, the server should listend to. This means,
that the WebUI was only reachable from localhost. So only from inside of
the container but never from outside.
The '--host'-option allows to set the IP address or a hostname
which the WebUI-server should listen to. E.g. by setting 0.0.0.0 or ::
as address.

Update documentation for new option.

Update shell completion for new option.

Compilation seems to add another go-gitlab version.
2021-02-28 21:20:15 +01:00
Luke Granger-Brown
4a28f25347
Add support for read-only mode for web UI.
Fixes #402.
2020-06-27 22:56:10 +02:00
Michael Muré
8bfc65df6c commands: add flags/config to control the automatic opening in the default browser 2019-05-27 21:47:26 +02:00
Michael Muré
2fd5f71b59
commands: add a "." at the end of Short commands usage 2019-03-01 22:52:52 +01:00
Michael Muré
cfce3a9914
commands: description cleanup 2018-09-21 13:37:22 +02:00
Michael Muré
9bb980e9de
ls: support expressing a query with flags as well 2018-09-10 18:18:00 +02:00
Quentin Gliech
8f0bb154b0
webui: Add flag to specify which port to listen to 2018-07-22 00:16:51 +02:00
Michael Muré
302a69bfc5
use DisableAutoGenTag to not have to commit the documentation after each build 2018-07-20 15:57:21 +02:00
Michael Muré
e89f87624f
generate markdown documentation 2018-07-20 15:46:14 +02:00