gui.model.display_command(argv)
The command line to show under a button and to copy.
Parameters
| argv |
Sequence[str] |
The arguments from cli_argv. |
required |
Returns
| str |
str |
spotregen followed by the arguments, quoted for a POSIX shell. |
Examples
from spotregen.gui.model import display_command
print(display_command(["--root", "/my repo", "status"]))
spotregen --root '/my repo' status