Available on crate feature
terminal only.Expand description
Commands printed for a person to paste into a shell.
A binary sometimes answers with the next command to run: the first
one after the welcome, the one resuming a flow. invocation starts
such a command with the binary and the flags it ran with, and
quote makes each value survive the paste.
Functionsยง
- invocation
- Builds the invocation a printed command starts with:
bin, then one-cper configuration path and-awhen an account is named, each value quoted. - quote
- Quotes
sfor a paste into a command line: single quotes for a POSIX shell, double quotes on Windows, which cmd and PowerShell both read, a Windows path never holding one.