<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jcarr/arg/example_test.go, branch v1.1.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>http://cgit.wit.com/jcarr/arg/atom?h=v1.1.0</id>
<link rel='self' href='http://cgit.wit.com/jcarr/arg/atom?h=v1.1.0'/>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/arg/'/>
<updated>2019-08-06T23:41:50Z</updated>
<entry>
<title>add subcommands to readme</title>
<updated>2019-08-06T23:41:50Z</updated>
<author>
<name>Alex Flint</name>
<email>alex.flint@gmail.com</email>
</author>
<published>2019-08-06T23:41:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/arg/commit/?id=e6003d3b6a3cca65443440e6be8267b6c5c4ea33'/>
<id>urn:sha1:e6003d3b6a3cca65443440e6be8267b6c5c4ea33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>print help and usage at subcommand level if necessary</title>
<updated>2019-05-03T22:49:44Z</updated>
<author>
<name>Alex Flint</name>
<email>alex.flint@gmail.com</email>
</author>
<published>2019-05-03T22:49:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/arg/commit/?id=b83047068d06bf682cdcaad3a090ff289df827b1'/>
<id>urn:sha1:b83047068d06bf682cdcaad3a090ff289df827b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add subcommands to usage string</title>
<updated>2019-05-03T22:02:10Z</updated>
<author>
<name>Alex Flint</name>
<email>alex.flint@gmail.com</email>
</author>
<published>2019-05-03T22:02:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/arg/commit/?id=15bf383f1d5db9bf362029529f3c83f092e2d00f'/>
<id>urn:sha1:15bf383f1d5db9bf362029529f3c83f092e2d00f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add expected output for usage example</title>
<updated>2019-05-03T20:07:12Z</updated>
<author>
<name>Alex Flint</name>
<email>alex.flint@gmail.com</email>
</author>
<published>2019-05-03T20:07:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/arg/commit/?id=3392c173d71a46d4be61c6c0b02c25e37dbd29e2'/>
<id>urn:sha1:3392c173d71a46d4be61c6c0b02c25e37dbd29e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add expected outputs to all examples</title>
<updated>2019-05-03T19:56:41Z</updated>
<author>
<name>Alex Flint</name>
<email>alex.flint@gmail.com</email>
</author>
<published>2019-05-03T19:56:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/arg/commit/?id=e2ce620ee44f6ef454c46351883971a213c04f68'/>
<id>urn:sha1:e2ce620ee44f6ef454c46351883971a213c04f68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adding separate tag option</title>
<updated>2017-03-04T02:13:12Z</updated>
<author>
<name>Kenneth Shaw</name>
<email>kenshaw@gmail.com</email>
</author>
<published>2017-03-03T12:12:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/arg/commit/?id=d4c2b35b2ef5b67c3ec6f904cea0dff806d51e2c'/>
<id>urn:sha1:d4c2b35b2ef5b67c3ec6f904cea0dff806d51e2c</id>
<content type='text'>
As outlined in #49, there is a need to mimic the behavior of other
applications by interweaving positional and non-positional parameters.

This change adds the 'separate' option that will force a arg of type
[]string to only read the next supplied value.

For example, when dealing with the following arg type:

var MyArgs struct {
    Pos []string `arg:"positional"`
    Separate []string `arg:"-s,separate"`
}

This commit will parse the following command line:

./app pos1 pos2 -s=separate1 -s=separate2 pos3 -s=separate3 pos4

Such that MyArgs.Pos will be [pos1 pos2 pos3 pos4] and MyArgs.Separate
will be [separate1 separate2 separate3].

Unit tests for the above have also been written and are included in this
commit, as well as the addition of a section to README.md and an example
func in example_test.go.

Fixes #49
</content>
</entry>
<entry>
<title>fix example function names</title>
<updated>2016-07-31T16:14:44Z</updated>
<author>
<name>Alex Flint</name>
<email>alex.flint@gmail.com</email>
</author>
<published>2016-07-31T16:14:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/arg/commit/?id=5800b89ce9817f99b805776fe86046e2a26dc536'/>
<id>urn:sha1:5800b89ce9817f99b805776fe86046e2a26dc536</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix examples</title>
<updated>2015-11-01T21:36:14Z</updated>
<author>
<name>Alex Flint</name>
<email>alex.flint@gmail.com</email>
</author>
<published>2015-11-01T21:36:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/arg/commit/?id=8b5a16fafeb0ed4591889a11a5c0c4a7e149bb1e'/>
<id>urn:sha1:8b5a16fafeb0ed4591889a11a5c0c4a7e149bb1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add .travis.yml</title>
<updated>2015-11-01T21:24:35Z</updated>
<author>
<name>Alex Flint</name>
<email>alex.flint@gmail.com</email>
</author>
<published>2015-11-01T21:24:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/arg/commit/?id=f042ab6386919a178d014ea8b3cd958e39148a7a'/>
<id>urn:sha1:f042ab6386919a178d014ea8b3cd958e39148a7a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>added runnable examples</title>
<updated>2015-11-01T19:34:22Z</updated>
<author>
<name>Alex Flint</name>
<email>alex.flint@gmail.com</email>
</author>
<published>2015-11-01T19:34:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/arg/commit/?id=beede9329ae104d7db320406a63621b5bda03a36'/>
<id>urn:sha1:beede9329ae104d7db320406a63621b5bda03a36</id>
<content type='text'>
</content>
</entry>
</feed>
