feat: Add bug-report sub-command (#725)

This adds a sub command to generate the link. Information, such as operating system and it's version; the current shell's config; and current starship conf, is gathered from the environment and is included in the pre-filled text. The command will also try to open the link in the default browser. Should that fail it will print the link instead and ask the user to copy it.
This commit is contained in:
Jon Grythe Stødle
2019-12-15 00:40:12 +01:00
committed by Matan Kushner
parent 740b51bd60
commit 76804cc3c8
5 changed files with 1195 additions and 45 deletions
+4
View File
@@ -46,6 +46,10 @@ byte-unit = "3.0.3"
starship_module_config_derive = { version = "0.1.0", path = "starship_module_config_derive" }
yaml-rust = "0.4"
nom = "5.0.1"
os_info = "1.1.3"
urlencoding = "1.0.0"
open = "1.3.2"
reqwest = "0.9.24"
[dev-dependencies]
tempfile = "3.1.0"