We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bf53dc commit 766adddCopy full SHA for 766addd
cmd_get.go
@@ -77,6 +77,12 @@ func doGet(c *cli.Context) error {
77
if getInfo, err = g.get(target); err != nil {
78
return fmt.Errorf("failed to get %q: %w", target, err)
79
}
80
+ fd := os.Stdout.Fd()
81
+ if !isatty.IsTerminal(fd) && !isatty.IsCygwinTerminal(fd) {
82
+ if getInfo.localRepository != nil {
83
+ fmt.Println(getInfo.localRepository.FullPath)
84
+ }
85
86
87
88
if err = scr.Err(); err != nil {
0 commit comments