Describe the feature or problem you’d like to solve
Perhaps I'm being pedantic, but I'd love to show correct usage for my Go-based extensions when they are run either standalone or as a gh extension.
Proposed solution
Have gh set an environment variable GH_EXTENSION=1 when calling an extension. The extension can easily check this cross-platform to vary usage.
Describe the feature or problem you’d like to solve
Perhaps I'm being pedantic, but I'd love to show correct usage for my Go-based extensions when they are run either standalone or as a
ghextension.Proposed solution
Have
ghset an environment variableGH_EXTENSION=1when calling an extension. The extension can easily check this cross-platform to vary usage.