cli/pkg/cmd/root
Jason Lunz f22be4a03d
use a more robust method to get the executable path
cmdutil.Factory.Executable() accounts for things like package managers
and symlinks to the actual executable.

An alternative to passing the *cmdutil.Factory down the stack would be
stashing the executable string in the codespace.App, which works (and
the diff is smaller), but it produced some odd non-local test failures.
This way seems less mysterious and more like other uses of Factory in
the codebase.
2021-12-20 13:57:52 -07:00
..
help.go Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
help_reference.go Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
help_test.go Offer different editor modes during release create 2020-08-25 20:20:44 +02:00
help_topic.go Make sure URLs in man pages render as hyperlinks on the web 2021-11-03 15:39:10 +01:00
help_topic_test.go Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
root.go use a more robust method to get the executable path 2021-12-20 13:57:52 -07:00