<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cws-status, branch v0.0.2</title>
<subtitle>Check the publish status of Google Chrome Web Store extensions from the command line</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/'/>
<entry>
<title>Increase version v0.0.1 -&gt; v0.0.2</title>
<updated>2023-05-15T19:33:46+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-05-15T19:33:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=e29defb64605062d44fd029a1f524464627d1014'/>
<id>e29defb64605062d44fd029a1f524464627d1014</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Add new logged out check</title>
<updated>2023-05-15T19:29:39+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-05-15T19:29:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=0faf1c0cf520c08116786f64cc17defa6acd92f1'/>
<id>0faf1c0cf520c08116786f64cc17defa6acd92f1</id>
<content type='text'>
There's another instance when the user can be logged out and the "Sign
in to continue" string doesn't appear on the page. Also report this as a
logged out error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's another instance when the user can be logged out and the "Sign
in to continue" string doesn't appear on the page. Also report this as a
logged out error.
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Exit with code `EX_USAGE` on argument parse error</title>
<updated>2022-06-25T16:08:41+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-06-25T16:08:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=c175d9dc7e3df6af0905b7b597fae67539ce6c6c'/>
<id>c175d9dc7e3df6af0905b7b597fae67539ce6c6c</id>
<content type='text'>
I tried catching the `argparse.ArgumentError` as described here, but
that didn't seem to work:
https://docs.python.org/3.9/library/argparse.html#exit-on-error

When I wrapped `args = argparser.parse_args()` in a `try` block, it
raised a `SystemExit` exception instead of `argparse.ArgumentError`.

Take inspiration from some of the suggestions in this Stack Overflow
answer:
https://stackoverflow.com/questions/5943249/python-argparse-and-controlling-overriding-the-exit-status-code

Since we just want to change the exit code, call
`argparse.ArgumentParser`'s `error()` method and exit with the error
code we want.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I tried catching the `argparse.ArgumentError` as described here, but
that didn't seem to work:
https://docs.python.org/3.9/library/argparse.html#exit-on-error

When I wrapped `args = argparser.parse_args()` in a `try` block, it
raised a `SystemExit` exception instead of `argparse.ArgumentError`.

Take inspiration from some of the suggestions in this Stack Overflow
answer:
https://stackoverflow.com/questions/5943249/python-argparse-and-controlling-overriding-the-exit-status-code

Since we just want to change the exit code, call
`argparse.ArgumentParser`'s `error()` method and exit with the error
code we want.
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Fix typo in command line help description</title>
<updated>2022-06-25T15:40:15+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-06-25T15:40:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=a9b373cc4798f2095117ed8e38ceb99c21a1a96d'/>
<id>a9b373cc4798f2095117ed8e38ceb99c21a1a96d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Align extension name and version in two columns</title>
<updated>2022-06-25T15:19:40+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-06-25T15:16:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=35a5ef5532ada87289b988c4e10ceb43afe3bd02'/>
<id>35a5ef5532ada87289b988c4e10ceb43afe3bd02</id>
<content type='text'>
Rather than output a single tab to separate the extension name and
version, use `ljust` to create two visual columns.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rather than output a single tab to separate the extension name and
version, use `ljust` to create two visual columns.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add README</title>
<updated>2022-06-25T15:18:44+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-06-25T15:15:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=a74df0cb2414266028cdecdf8ec0dec36c64364d'/>
<id>a74df0cb2414266028cdecdf8ec0dec36c64364d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Add program version and `--version` command line argument</title>
<updated>2022-06-25T14:49:37+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-06-25T14:49:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=8e20cc051b33cab0f39c80baa4c7f589f9f280a6'/>
<id>8e20cc051b33cab0f39c80baa4c7f589f9f280a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Add trailing commas</title>
<updated>2022-06-25T14:44:14+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-06-25T14:44:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=edd87c06de17842b181fe5bdfdd22e75f0f37365'/>
<id>edd87c06de17842b181fe5bdfdd22e75f0f37365</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cws-status: Match regex anywhere in the name</title>
<updated>2022-06-25T14:40:08+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-06-25T14:40:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=6204c785395ec2ec82a757180be1aa5a7e280f01'/>
<id>6204c785395ec2ec82a757180be1aa5a7e280f01</id>
<content type='text'>
I didn't realise that `re.match()` only matches starting at the
beginning of the string rather than matching anywhere inside it:
https://docs.python.org/3/library/re.html#re.match

Switch to `re.search()` to get the desired behaviour.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I didn't realise that `re.match()` only matches starting at the
beginning of the string rather than matching anywhere inside it:
https://docs.python.org/3/library/re.html#re.match

Switch to `re.search()` to get the desired behaviour.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add license (GNU GPLv3+)</title>
<updated>2022-06-25T14:03:45+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2022-06-25T14:03:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/cws-status/commit/?id=efac015cebeb9c20c1dea00d21e372cc64f2efe1'/>
<id>efac015cebeb9c20c1dea00d21e372cc64f2efe1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
