Documentation
¶
Overview ¶
Command ptyhelp runs an arbitrary command inside a PTY with a fixed width so line-oriented CLIs (e.g. go-flags --help) wrap predictably; see https://github.com/jessevdk/go-flags/issues/423. It uses github.com/aymanbagabas/go-pty (ConPTY on Windows, POSIX pty elsewhere).
Default command is "go run . --help" in the current working directory; pass "ptyhelp [flags] -- cmd args..." to override. Run ptyhelp from the module root (or cd there first).
Click to show internal directories.
Click to hide internal directories.