<feed xmlns='http://www.w3.org/2005/Atom'>
<title>swextreload/cmd, branch master</title>
<subtitle>Reload Manifest V3 Chrome extensions from the command line</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/swextreload/'/>
<entry>
<title>main: Make the `--version` flag work</title>
<updated>2023-11-25T19:05:25+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-25T19:05:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/swextreload/commit/?id=cc533943ee6bc8d900258bcaed51174482f1e1ad'/>
<id>cc533943ee6bc8d900258bcaed51174482f1e1ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add license (GNU GPLv3+)</title>
<updated>2023-11-25T16:09:01+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-25T16:09:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/swextreload/commit/?id=8332516d2958e907843f07ad2d5e3e6725af9bb8'/>
<id>8332516d2958e907843f07ad2d5e3e6725af9bb8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make `--reload-current-tab` flag work</title>
<updated>2023-11-14T19:46:46+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-14T19:46:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/swextreload/commit/?id=5611b8d2f99782ebf6e690a4d563be256b9c0762'/>
<id>5611b8d2f99782ebf6e690a4d563be256b9c0762</id>
<content type='text'>
Make the tab reload work based on the flag instead of always reloading.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the tab reload work based on the flag instead of always reloading.
</pre>
</div>
</content>
</entry>
<entry>
<title>main: Add better error printing</title>
<updated>2023-11-14T19:39:00+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-14T19:39:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/swextreload/commit/?id=6870f1670820eec7fd2aa9fa77a301c69ea944b6'/>
<id>6870f1670820eec7fd2aa9fa77a301c69ea944b6</id>
<content type='text'>
Print errors in a consistent way instead of using `log`, which was just
for rapid development.

Also exit using codes that make sense.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Print errors in a consistent way instead of using `log`, which was just
for rapid development.

Also exit using codes that make sense.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `--debug` flag</title>
<updated>2023-11-14T19:33:49+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-14T19:33:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/swextreload/commit/?id=fdae4c43486baa7baefea409725563c55b8b08a2'/>
<id>fdae4c43486baa7baefea409725563c55b8b08a2</id>
<content type='text'>
Condition printing debug output on the presence of this flag.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Condition printing debug output on the presence of this flag.
</pre>
</div>
</content>
</entry>
<entry>
<title>main: Print errors to standard error</title>
<updated>2023-11-14T02:26:15+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-14T02:26:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/swextreload/commit/?id=567690761b5783195be9e7f7c6d47589fdf6f7ea'/>
<id>567690761b5783195be9e7f7c6d47589fdf6f7ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>swextreload.Reload: Accept a list of extension IDs</title>
<updated>2023-11-14T01:20:57+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-14T01:20:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/swextreload/commit/?id=26d51daab14838bb422bd47a27e13d186f209ec8'/>
<id>26d51daab14838bb422bd47a27e13d186f209ec8</id>
<content type='text'>
Run the reload on multiple extensions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run the reload on multiple extensions.
</pre>
</div>
</content>
</entry>
<entry>
<title>main: Change hard-coded exit codes to sysexits names</title>
<updated>2023-11-14T01:10:18+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-14T01:10:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/swextreload/commit/?id=e774947edd55c4f6d9fd328c7c35fdcce50b46e5'/>
<id>e774947edd55c4f6d9fd328c7c35fdcce50b46e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>main: Print errors on `--socket-url` and extension IDs missing</title>
<updated>2023-11-14T00:53:02+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-14T00:53:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/swextreload/commit/?id=c6a33a3e878504423c65210a629837cf14cee4e6'/>
<id>c6a33a3e878504423c65210a629837cf14cee4e6</id>
<content type='text'>
In order to print a custom error message for missing extension IDs, I
needed to set a default value for it.

Looks like the type assertions are necessary. Not the cleanest, but no
matter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to print a custom error message for missing extension IDs, I
needed to set a default value for it.

Looks like the type assertions are necessary. Not the cleanest, but no
matter.
</pre>
</div>
</content>
</entry>
<entry>
<title>main: Add basic command line argument parsing</title>
<updated>2023-11-14T00:34:25+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-14T00:30:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/swextreload/commit/?id=8d8fa84f4f336f7a2e43acf7ca0c417299df8f8b'/>
<id>8d8fa84f4f336f7a2e43acf7ca0c417299df8f8b</id>
<content type='text'>
Found Claw from a search for "argument parser" on https://godocs.io. I
did a quick comparison with a few other argument parsing libraries I
found in a GitHub search:

* https://github.com/alexflint/go-arg
* https://github.com/docopt/docopt.go
* https://github.com/fred1268/go-clap

Claw ended up being the most straightforward to me.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found Claw from a search for "argument parser" on https://godocs.io. I
did a quick comparison with a few other argument parsing libraries I
found in a GitHub search:

* https://github.com/alexflint/go-arg
* https://github.com/docopt/docopt.go
* https://github.com/fred1268/go-clap

Claw ended up being the most straightforward to me.
</pre>
</div>
</content>
</entry>
</feed>
