I like the help page that Glimpse opens inside VS when it is installed, and I'd like to do something similar with my NuGet package, but I don't want it to open when it is installed as a dependency of another package.
My question is is it possible to determine whether a package is being directly installed or being installed as a dependency of another package from within install.ps1/init.ps1?
My question is is it possible to determine whether a package is being directly installed or being installed as a dependency of another package from within install.ps1/init.ps1?