git-bug/doc/md/git-bug_webui.md
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

816 B

git-bug webui

Launch the web UI.

Synopsis

Launch the web UI.

Available git config: git-bug.webui.open [bool]: control the automatic opening of the web UI in the default browser

git-bug webui [flags]

Options

      --host string    Network address or hostname to listen to (default to 127.0.0.1) (default "127.0.0.1")
      --open           Automatically open the web UI in the default browser
      --no-open        Prevent the automatic opening of the web UI in the default browser
  -p, --port int       Port to listen to (default to random available port)
      --read-only      Whether to run the web UI in read-only mode
      --query string   Set a custom query
  -h, --help           help for webui

SEE ALSO

  • git-bug - A bug tracker embedded in Git.