gh-gei
gh-gei copied to clipboard
Print hyperlink of log to the console
Description
Currently when you run the following command:
gh ado2gh generate-script --ado-org valet-testing --github-org import-testing --output ./tmp
It produces the following output:
[2023-10-12 08:11:06] [INFO] You are running the latest version of the ado2gh CLI [v1.2.0]
[2023-10-12 08:11:07] [INFO] GITHUB ORG: import-testing
[2023-10-12 08:11:07] [INFO] ADO ORG: valet-testing
[2023-10-12 08:11:07] [INFO] OUTPUT: ./tmp
[2023-10-12 08:11:07] [INFO] Generating Script...
[2023-10-12 08:11:07] [ERROR] An unexpected error happened. Please see the logs for details.
I was using an expired ADO PAT, feels like it would be a nice user experience to print a hyperlink to the error log so they are just able to click and see whats happening.
There is a --verbose option, but that prints the entire log to the console, a hyperlink to a file to me feels like it would make things easier to read for a user.