<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gibheer/pkictl/command.go, branch v0.1</title>
<subtitle>pkictl - A small tool to generate key material and certificates, writting in Go.</subtitle>
<id>http://git.zero-knowledge.org/gibheer/pkictl/atom/command.go?h=v0.1</id>
<link rel='self' href='http://git.zero-knowledge.org/gibheer/pkictl/atom/command.go?h=v0.1'/>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/pkictl/'/>
<updated>2016-10-01T19:56:29Z</updated>
<entry>
<title>rework program flow</title>
<updated>2016-10-01T19:56:29Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer+git@zero-knowledge.org</email>
</author>
<published>2016-10-01T19:56:29Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/pkictl/commit/?id=d01892150eed9d58210eb40b7c005d5fa8e93238'/>
<id>urn:sha1:d01892150eed9d58210eb40b7c005d5fa8e93238</id>
<content type='text'>
This commit is a complete rebuild of pkictl. Before everything was all
over the place and adding new commands was kind of a hassle.

Now each command has its own file and can be adjusted on a command
basis. Options are still used by the same name, but can now use
different descriptions.
</content>
</entry>
<entry>
<title>the documentation has to go above the package</title>
<updated>2015-07-24T10:44:43Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2015-07-24T10:44:43Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/pkictl/commit/?id=ebdfe46386d7d9b9f34fb77ac193d20a967bb83d'/>
<id>urn:sha1:ebdfe46386d7d9b9f34fb77ac193d20a967bb83d</id>
<content type='text'>
This makes the documentation in the main.go readable on the godoc.org
website and through the godoc command.
</content>
</entry>
<entry>
<title>reformat code with gofmt</title>
<updated>2015-03-25T19:43:18Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2015-03-25T19:43:18Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/pkictl/commit/?id=ba5a59931e015fc9a27ab631950c32fa890eec9f'/>
<id>urn:sha1:ba5a59931e015fc9a27ab631950c32fa890eec9f</id>
<content type='text'>
Yes, I know that this breaks the history search, but it had to be done
sooner or later. I also adjusted my editor to follow the guidelines more
closely.
</content>
</entry>
<entry>
<title>first parameter of args ignored</title>
<updated>2015-03-24T20:02:13Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2015-03-24T20:02:13Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/pkictl/commit/?id=c69f4de8ce0ada8c99df1543039f188f845cf342'/>
<id>urn:sha1:c69f4de8ce0ada8c99df1543039f188f845cf342</id>
<content type='text'>
When prsing the flags, instead of parsing everything given, only the
rest was parsed.
</content>
</entry>
<entry>
<title>add documentation for the command</title>
<updated>2015-03-21T11:02:07Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2015-03-21T11:02:07Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/pkictl/commit/?id=ccaef440f4f5c2c89775d87460f70267edf1bbc4'/>
<id>urn:sha1:ccaef440f4f5c2c89775d87460f70267edf1bbc4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add command flag parser</title>
<updated>2015-03-19T00:35:18Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2015-03-19T00:35:18Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/pkictl/commit/?id=9e351c05d5c067e20a9a6a34798dccd19dbd7296'/>
<id>urn:sha1:9e351c05d5c067e20a9a6a34798dccd19dbd7296</id>
<content type='text'>
This is a small command flag parser hacked away in a couple hours. It is
built after cobra (https://github.com/spf13/cobra), but with some small
details changed.
Instead of breaking with the go flag API (single and double dashes) this
uses the golang flags package. This means, that single character flags
do not work, but in this case it wouldn't make much sense to replace
long clear argument names with short nothing saying arguments (-p for
--private-key or --public-key?).

This should definitely help with the help and error messages.
</content>
</entry>
</feed>
