github / github/gh-gei

Print hyperlink of log to the console

Open
#1,129 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
478
Forks
146
Avg merge
7d 21h
Merged PRs (30d)
2

Description

## 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.