Debian Codegraph @

debian/manpage/ptg.txt

raw
1 NAME
2 pytermgui - Python TUI framework with multi-feature support
3
4 SYNOPSIS
5 ptg [-h] [--app Getch, Inspect, Color, Tim] [-g] [-t] [-c] [-i PATH_OR_CODE] [-e] [--methods] [--dunder] [--private] [-s]
6 [-v] [--palette] [--highlight [SYNTAX]] [--exec [EXEC]] [-f FILE] [--print-only] [--export-svg FILE] [--export-html FILE]
7
8 DESCRIPTION
9 Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
10
11 OPTIONS
12
13 options:
14 -h, --help show this help message and exit
15
16 Applications:
17 --app Getch, Inspect, Color, Tim
18 Launch an app.
19 -g, --getch Launch the Getch app.
20 -t, --tim Launch the TIM Playground app.
21 -c, --color Launch the ColorPicker app.
22
23 Inspection:
24 -i PATH_OR_CODE, --inspect PATH_OR_CODE
25 Inspect an object.
26 -e, --eval Evaluate the expression given to `--inspect` instead of treating it as a path.
27 --methods Always show methods when inspecting.
28 --dunder Always show __dunder__ methods when inspecting.
29 --private Always show _private methods when inspecting.
30
31 Utilities:
32 -s, --size Output the current terminal size in WxH format.
33 -v, --version Print version & system information.
34 --palette Print the default PyTermGUI color palette.
35 --highlight [SYNTAX] Highlight some python-like code syntax. No argument or '-' will read STDIN.
36 --exec [EXEC] Execute some Python code. No argument or '-' will read STDIN.
37 -f FILE, --file FILE Interpret a PTG-YAML file.
38 --print-only When interpreting YAML, print the environment without running it interactively.
39
40 Exporters:
41 --export-svg FILE Export the result of any non-interactive argument as an SVG file.
42 --export-html FILE Export the result of any non-interactive argument as an HTML file.