<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nitrocli, branch output-formats</title>
<subtitle>Robin Krahl's fork of nitrocli</subtitle>
<id>https://git.ireas.org/nitrocli/atom?h=output-formats</id>
<link rel='self' href='https://git.ireas.org/nitrocli/atom?h=output-formats'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/'/>
<updated>2020-09-05T11:34:49Z</updated>
<entry>
<title>Add tsv output format</title>
<updated>2020-09-05T11:34:49Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-05T11:19:01Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=0f3b0bcb6c196a9b93075a8abee897634c9c892f'/>
<id>urn:sha1:0f3b0bcb6c196a9b93075a8abee897634c9c892f</id>
<content type='text'>
This patch adds a new output format, tsv.  It uses the tsv crate to
generate the data and the serde_json crate to transform structs into
key-value pairs.

TODO: man page, changelog
</content>
</entry>
<entry>
<title>Add json output format</title>
<updated>2020-09-05T11:34:27Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-05T11:18:50Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=bb809992ad543ea4c0c31897fbf2d130394dd80e'/>
<id>urn:sha1:bb809992ad543ea4c0c31897fbf2d130394dd80e</id>
<content type='text'>
This patch adds a new output format, JSON.  It uses serde to serialize
the output types.

todo: man page, changelog
</content>
</entry>
<entry>
<title>Add --output-format argument</title>
<updated>2020-09-05T11:18:41Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-05T11:18:41Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=04b4262cdf4bbb4e2698d8ce51a261bf294a2da3'/>
<id>urn:sha1:04b4262cdf4bbb4e2698d8ce51a261bf294a2da3</id>
<content type='text'>
This patch adds the --output-format argument that makes it possible to
select a format for the data that nitrocli prints to stdout.  Currently,
the only supported format is text output, i. e. a human-readable
representation.

TODO: man page, changelog
</content>
</entry>
<entry>
<title>Use dedicated types for output</title>
<updated>2020-09-05T11:18:28Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-05T11:18:28Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=9dca5be8b182773a7b7eb23b47296d403540ead4'/>
<id>urn:sha1:9dca5be8b182773a7b7eb23b47296d403540ead4</id>
<content type='text'>
Previously, we just printed nitrocli’s output to the stdout stream using
format macros.  To make it possible to support multiple output formats,
this patch introduces the output module with dedicated types for the
data that is printed to stdout:
- Value:  A single value, e. g. an OTP code or the configuration data.
- Table:  A list of objects, rendered as a table, e. g. the list of OTP
  slots.

With this patch, we also drop the --quiet option for the pws get
command.  It was intended to make it easier to parse the output of the
command.  But as we will add better output formats for parsing, we no
longer need this option.

TODO: update changelog
</content>
</entry>
<entry>
<title>fixup! Declare semver compatibility and public API</title>
<updated>2020-09-04T15:42:16Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-09-04T15:42:16Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=561ee11c37a96ae043c19fcf056576d9892b36a5'/>
<id>urn:sha1:561ee11c37a96ae043c19fcf056576d9892b36a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Declare semver compatibility and public API</title>
<updated>2020-09-04T14:48:57Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-03T15:37:17Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=a15c586b12e2e281184683686b6417b78de26a19'/>
<id>urn:sha1:a15c586b12e2e281184683686b6417b78de26a19</id>
<content type='text'>
This patch adds a new section to the README that declares that we follow
the Semantic Versioning specification and that the public API of our
crate is defined by the man page.
</content>
</entry>
<entry>
<title>Adjust copyright &amp; license specification to comply with REUSE 3.0</title>
<updated>2020-09-03T04:40:32Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-09-03T04:40:32Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=888c30e975726260e0af9b61baee6b17c51a06d5'/>
<id>urn:sha1:888c30e975726260e0af9b61baee6b17c51a06d5</id>
<content type='text'>
With this change we switch to using a REUSE compliant way of specifying
the copyright &amp; license of the program. To be fully in conformance we
also add additional license specifications for the remaining files in
the project. Lastly, a new CI pipeline rule takes care of verifying
compliance on an ongoing basis.
</content>
</entry>
<entry>
<title>Adjust copyright string to refer to The Nitrocli Developers</title>
<updated>2020-09-02T02:00:31Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-09-02T02:00:31Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=4686dbf5d79da730776374d7ef3471c3ed4915b5'/>
<id>urn:sha1:4686dbf5d79da730776374d7ef3471c3ed4915b5</id>
<content type='text'>
This change adjusts the copyright header in all files to no longer
mention individuals but refer to The Nitrocli Developers in general.
</content>
</entry>
<entry>
<title>Add Context::from_env constructor</title>
<updated>2020-09-03T15:43:06Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-08-23T14:26:10Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=99133bf07da7e0dfd558d0096ce0a4f08aa307c5'/>
<id>urn:sha1:99133bf07da7e0dfd558d0096ce0a4f08aa307c5</id>
<content type='text'>
This patch adds the from_env constructor to Context to make the main
function easier to read.
</content>
</entry>
<entry>
<title>Merge ExecCtx and RunCtx into Context</title>
<updated>2020-09-03T15:43:05Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-08-23T14:17:42Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=0cb2ac01371523eae785c12ce88848039090c1e6'/>
<id>urn:sha1:0cb2ac01371523eae785c12ce88848039090c1e6</id>
<content type='text'>
Since we moved the model, no_cache and verbosity fields from ExecCtx
into Config and added a Config field to both ExecCtx and RunCtx, RunCtx
and ExecCtx are identical.  Therefore this patch merges the ExecCtx and
RunCtx structs into the new Context struct.
</content>
</entry>
</feed>
