Commit Graph

15 Commits

Author SHA1 Message Date
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
6543
86faedc966
Vendor: upgrade spf13/cobra to v1.1.1 (#479)
* build(deps): bump github.com/spf13/cobra from 1.0.0 to 1.1.1

* update doc (man & md)

* update bash|fish|zsh completion
2020-10-27 14:38:55 +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é
4559af5e71
update auto-generated files 2020-02-23 14:38:02 +01: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é
ed7d8c13bf
update generated files 2019-04-01 14:03:20 +02:00
Michael Muré
782576f124
update generated files 2019-03-01 22:56:04 +01:00
Michael Muré
09692456c7
man: update the date in the generated doc 2019-02-16 17:34:04 +01:00
Michael Muré
5a465c0d8a
update generated doc with the new date 2018-12-22 03:08:02 +01:00
Michael Muré
95021a07fd
docs: update manpages due to change of month 2018-10-01 21:54:52 +02:00
Michael Muré
9bb980e9de
ls: support expressing a query with flags as well 2018-09-10 18:18:00 +02:00
Michael Muré
e3c445fa85
manpages: update 2018-09-02 15:53:44 +02:00
Michael Muré
84131cb553
manpages: update names following the change of section 2018-08-06 16:09:53 +02:00