Documentation
¶
Overview ¶
Package launch reads the folder a command line asks a local terminal to open in.
Index ¶
Constants ¶
const RelaunchFlag = "--sshyard-relaunch"
RelaunchFlag replaces the command line on an app-initiated restart.
Variables ¶
This section is empty.
Functions ¶
func Dir ¶
Dir returns the folder args ask a local terminal to open in, "" for none. It takes --path DIR, --path=DIR, -p DIR, or the first argument that is not a flag; relative paths are relative to wd, and a leading "~" is the user's home folder. Flags of the platform and the launcher are ignored, including RelaunchFlag and macOS' -psn_0_….
Types ¶
This section is empty.