<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ghostty.git/src/cli/validate_config.zig, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/'/>
<entry>
<title>Zig 0.15: zig build test </title>
<updated>2025-10-03T14:10:43+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>m@mitchellh.com</email>
</author>
<published>2025-10-01T20:10:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=cb295b84a0ec274a43da59041fa4a199e799798d'/>
<id>cb295b84a0ec274a43da59041fa4a199e799798d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: make the action parser (+foo) generic and reusable</title>
<updated>2025-07-09T22:06:24+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>m@mitchellh.com</email>
</author>
<published>2025-07-08T15:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=1739418f6f6fab3bb7df9c2c84eba91ddabe91b2'/>
<id>1739418f6f6fab3bb7df9c2c84eba91ddabe91b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>documentation: consistent format for actions help</title>
<updated>2025-01-23T23:58:33+00:00</updated>
<author>
<name>Anund</name>
<email>anundm@gmail.com</email>
</author>
<published>2025-01-03T12:53:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=168dd3136756836259b43a72bca9791827fb717b'/>
<id>168dd3136756836259b43a72bca9791827fb717b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: skip argv0 and actions when parsing CLI flags</title>
<updated>2024-10-18T19:59:16+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>m@mitchellh.com</email>
</author>
<published>2024-10-18T19:53:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=c90ed293417add9bab0ac52ccef9eae0efd3e0cb'/>
<id>c90ed293417add9bab0ac52ccef9eae0efd3e0cb</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>config: richer diagnostics for errors</title>
<updated>2024-10-18T15:11:11+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>m@mitchellh.com</email>
</author>
<published>2024-10-16T23:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=a4e14631ef6eb57382ff3c15134d90617c8fd264'/>
<id>a4e14631ef6eb57382ff3c15134d90617c8fd264</id>
<content type='text'>
Rather than storing a list of errors we now store a list of
"diagnostics." Each diagnostic has a richer set of structured
information, including a message, a key, the location where it occurred.

This lets us show more detailed messages, more human friendly messages, and
also let's us filter by key or location. We don't take advantage of
all of this capability in this initial commit, but we do use every field
for something.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rather than storing a list of errors we now store a list of
"diagnostics." Each diagnostic has a richer set of structured
information, including a message, a key, the location where it occurred.

This lets us show more detailed messages, more human friendly messages, and
also let's us filter by key or location. We don't take advantage of
all of this capability in this initial commit, but we do use every field
for something.
</pre>
</div>
</content>
</entry>
<entry>
<title>some tweaks</title>
<updated>2024-07-22T16:48:23+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>mitchell.hashimoto@gmail.com</email>
</author>
<published>2024-07-22T16:48:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=b3e1b2e02aa69edba656b766a7474ab786245b35'/>
<id>b3e1b2e02aa69edba656b766a7474ab786245b35</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: add docstrings</title>
<updated>2024-07-18T15:03:23+00:00</updated>
<author>
<name>Remi Gelinas</name>
<email>mail@remigelin.as</email>
</author>
<published>2024-07-18T15:03:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=699fce0ee543875ba4945f151a146321199ab69a'/>
<id>699fce0ee543875ba4945f151a146321199ab69a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: handle recursive config files</title>
<updated>2024-07-17T21:27:31+00:00</updated>
<author>
<name>Remi Gelinas</name>
<email>mail@remigelin.as</email>
</author>
<published>2024-07-17T21:27:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=0197f6d15e29f9158866664ed34ac6443d8f8753'/>
<id>0197f6d15e29f9158866664ed34ac6443d8f8753</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: print every config error message</title>
<updated>2024-07-17T21:03:09+00:00</updated>
<author>
<name>Remi Gelinas</name>
<email>mail@remigelin.as</email>
</author>
<published>2024-07-17T21:03:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=a546da04177668f0e857a5110f0dd1f955296df4'/>
<id>a546da04177668f0e857a5110f0dd1f955296df4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: handle relative paths in CLI</title>
<updated>2024-07-17T20:51:16+00:00</updated>
<author>
<name>Remi Gelinas</name>
<email>mail@remigelin.as</email>
</author>
<published>2024-07-17T20:51:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=368868f7129ee28e72f33f34a00abea79d5e64bc'/>
<id>368868f7129ee28e72f33f34a00abea79d5e64bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
