Mitchell Hashimoto
1739418f6f
cli: make the action parser (+foo) generic and reusable
2025-07-09 15:06:24 -07:00
Anund
168dd31367
documentation: consistent format for actions help
2025-01-23 15:58:33 -08:00
Anund
c7deea6a7f
zsh: add completions generation
2024-12-11 21:11:38 +11:00
Mitchell Hashimoto
c90ed29341
cli: skip argv0 and actions when parsing CLI flags
...
This fixes a regression from #2454 . In that PR, we added an error when
positional arguments are detected. I believe that's correct, but we
were silently relying on the previous behavior in the CLI commands.
This commit changes the CLI commands to use a new argsIterator function
that creates an iterator that skips the first argument (argv0). This is
the same behavior that the config parsing does and now uses this shared
logic.
This also makes it so the argsIterator ignores actions (`+things`)
and we document that we expect those to be handled earlier.
2024-10-18 12:59:16 -07:00
Rick Calixte
d0316b746d
list_fonts and list_keybinds: Fix typos in documentation
...
test.yml: Switch to Windows Server 2022 and update Zig URL
2024-10-16 22:56:16 -04:00
Łukasz Niemier
f9be02a20f
chore: clean up typos
2024-08-05 13:56:57 +02:00
Jeffrey C. Ollie
510f270c54
markdown-ify help strings
2024-01-21 15:07:37 -06:00
Mitchell Hashimoto
b438998fb8
cli: support --help and -h for actions
2024-01-20 09:29:26 -08:00
Mitchell Hashimoto
224b39b86e
font/coretext: allow setting a non-monospace font explicitly
...
This changes our font discovery to not filter out monospace and updates
our scoring mechanism to prefer monospace.
2023-10-05 08:39:48 -07:00
Mitchell Hashimoto
1127330b3a
font/coretext: score discovered fonts
2023-10-03 09:17:41 -07:00
Mitchell Hashimoto
966166015f
font/core-text: discovery supports style search
2023-09-24 09:02:35 -07:00
Mitchell Hashimoto
54976e8829
cli/list-fonts: flags, help
2023-09-24 08:48:45 -07:00
Mitchell Hashimoto
70a2a0556d
font: fontconfig should not omit earlier fonts
2023-09-24 08:42:12 -07:00
Mitchell Hashimoto
4eb31322c9
cli/list-fonts: don't use arrayhashmap
2023-09-24 08:28:28 -07:00
Mitchell Hashimoto
11440a3a4c
cli/list-fonts
2023-09-24 08:23:12 -07:00
Mitchell Hashimoto
8214471e2c
cli/list-fonts: dumb implementation
2023-09-23 22:59:22 -07:00
Mitchell Hashimoto
7fc66f3851
cli: dedicated directory
2023-09-23 22:42:09 -07:00