mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-19 10:16:12 +03:00

See commit messages for details. If some of the commits in this PR have problems with them I'm perfectly fine with the others being cherry-picked out while the problems are addressed. The biggest/broadest reaching changes in this PR come from converting a lot of code to use decl literals where possible, so there are a lot of files where only a handful of lines are modified very slightly.
Subcommand Actions
This is the cli specific code. It contains cli actions and tui definitions and argument parsing.
This README is meant as developer documentation and not as user documentation. For user documentation, see the main README or ghostty.org.
Updating documentation
Each cli action is defined in it's own file. Documentation for each action is defined
in the doc comment associated with the run
function. For example the run
function
in list_keybinds.zig
contains the help text for ghostty +list-keybinds
.