Skip to content

Commit

Permalink
Release of 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
matejak committed Nov 21, 2016
1 parent 36388cd commit 3d90059
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 25 deletions.
13 changes: 7 additions & 6 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
2.2.1 (TBA)
2.2.2 (2016-11-21)
------------------

New features (arbash-init):
New minor features:

* Added the `--mode` option.
* Added the `--mode` option to `argbash-init`.
* Improved help messages for arguments with typed values (experimental).

Bugfixes:

* Fixed quoting-related issues of the underlying code
* Fixed quoting-related issues of the underlying code.

2.2.0 (2016-11-07)
------------------
Expand All @@ -17,12 +18,12 @@ New features:
* Introduced the `argbash-init` simple template generator.
* `argbash` can read from stdin.
* `ARG_HELP` gains second argument.
* Preview support for argument values types
* Preview support for argument values types.

Bugfixes:

* Improved defaults indications in help messages.
* Overall internal code beautification
* Overall internal code beautification.

2.1.1 (2016-08-26)
------------------
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ argbash

![argbash logo](resources/logo/argbash.png)

Do you write `Bash` scripts that are supposed to accept arguments?

Aren't you tired of that? `getopt` is discouraged, `getopts` doesn't support long options, there is no widely-accepted `Bash` module to do the task and some solutions don't work on all platforms (Linux, OSX, MSW)...
* Do you write `Bash` scripts that should accept arguments?
* But they don't since arguments support is a daunting task, because ...
* `getopt` is discouraged, `getopts` doesn't support long options, there is no widely-accepted `Bash` module to do the task and some solutions don't work on all platforms (Linux, OSX, MSW)...

Give a `Argbash` a try and stop being terrorized by those pesky arguments! With Argbash, you will get:

Expand All @@ -20,9 +20,9 @@ Give a `Argbash` a try and stop being terrorized by those pesky arguments! With
* Easy installation (optional). Just [grab a release](https://github.com/matejak/argbash/releases), unzip it, go inside and run `cd resources && make install` (you may want to run `sudo make install PREFIX=/usr/bin` for a system-wide installation).
* [Documentation](http://argbash.readthedocs.org/en/latest/) and [examples](resources/examples).

> Do you need an argument-parsing battleship full of features?
> No problem, we will make one for you.
> Or would you rather accept a parsing gunboat?
> Do you need an argument-parsing battleship full of features?
> No problem, we will make one for you.
> Or would you rather accept a fast, sleek parsing gunboat?
> Be our guest!
What it is
Expand Down
4 changes: 2 additions & 2 deletions bin/argbash
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

version=2.2.1a
version=2.2.2
# DEFINE_SCRIPT_DIR()
# ARG_POSITIONAL_SINGLE([input],[The input template file (pass '-' for stdout)])
# ARG_OPTIONAL_SINGLE([output],[o],[Name of the output file (pass '-' for stdout)],[-])
Expand All @@ -12,7 +12,7 @@ version=2.2.1a

# ARGBASH_GO()
# needed because of Argbash --> m4_ignore([
### START OF CODE GENERATED BY Argbash v2.2.1a one line above ###
### START OF CODE GENERATED BY Argbash v2.2.2 one line above ###
# Argbash is a bash code generator used to get arguments parsing right.
# Argbash is FREE SOFTWARE, know your rights: https://github.com/matejak/argbash

Expand Down
4 changes: 2 additions & 2 deletions bin/argbash-1to2
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/bash

version=2.2.1a
version=2.2.2
# ARG_POSITIONAL_INF([input],[The input file to transform],[1])
# ARG_OPTIONAL_SINGLE([output],[o],[Name of the output file (pass '-' for stdout and empty string for the same as input file)],[""])
# ARG_VERSION([echo "argbash-1to2 v$version"])
# ARG_HELP([Convert a template for argbash>=1,<2 to argbash>=2,<3])

# ARGBASH_GO()
# needed because of Argbash --> m4_ignore([
### START OF CODE GENERATED BY Argbash v2.2.1a one line above ###
### START OF CODE GENERATED BY Argbash v2.2.2 one line above ###
# Argbash is a bash code generator used to get arguments parsing right.
# Argbash is FREE SOFTWARE, know your rights: https://github.com/matejak/argbash

Expand Down
4 changes: 2 additions & 2 deletions bin/argbash-init
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

version=2.2.1a
version=2.2.2
# ARG_POSITIONAL_SINGLE([output],[Name of the output template],["-"])
# ARG_OPTIONAL_INCREMENTAL([separate],[s],[Separate the parsing logic (specify two times for complete separation)])
# ARG_OPTIONAL_BOOLEAN([hints],[],[Whether to write hints to the script template])
Expand All @@ -15,7 +15,7 @@ version=2.2.1a

# ARGBASH_GO()
# needed because of Argbash --> m4_ignore([
### START OF CODE GENERATED BY Argbash v2.2.1a one line above ###
### START OF CODE GENERATED BY Argbash v2.2.2 one line above ###
# Argbash is a bash code generator used to get arguments parsing right.
# Argbash is FREE SOFTWARE, know your rights: https://github.com/matejak/argbash

Expand Down
2 changes: 1 addition & 1 deletion doc/_static/wrapper-output-action.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Contents of '../src' matching '*.m4':
list.m4: 5 kiB
output.m4: 0 kiB
output-standalone.m4: 0 kiB
stuff.m4: 52 kiB
stuff.m4: 53 kiB
Contents of '../resources/examples' matching '*.m4':
minimal.m4: 0 kiB
minimal-raw.m4: 0 kiB
Expand Down
2 changes: 1 addition & 1 deletion resources/examples/minimal-raw.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# m4_ignore(
echo "This is just a script template, not the script (yet) - pass it to 'argbash' to fix this." >&2
exit 11 #)Created by argbash-init v2.2.1a
exit 11 #)Created by argbash-init v2.2.2
# ARG_OPTIONAL_SINGLE([option], , [<option's help message goes here>])
# ARG_OPTIONAL_BOOLEAN([print], , [<print's help message goes here>])
# ARG_POSITIONAL_SINGLE([positional-arg], [<positional-arg's help message goes here>], )
Expand Down
2 changes: 1 addition & 1 deletion resources/examples/minimal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# m4_ignore(
echo "This is just a script template, not the script (yet) - pass it to 'argbash' to fix this." >&2
exit 11 #)Created by argbash-init v2.2.1a
exit 11 #)Created by argbash-init v2.2.2
# ARG_OPTIONAL_SINGLE([option], o, [A option with short and long flags and default], [boo])
# ARG_OPTIONAL_BOOLEAN([print], , [A boolean option with long flag (and implicit default: off)])
# ARG_POSITIONAL_SINGLE([positional-arg], [Positional arg description], )
Expand Down
2 changes: 1 addition & 1 deletion resources/examples/simple-parsing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# ARGBASH_SET_INDENT([ ])
# ARGBASH_GO()
# needed because of Argbash --> m4_ignore([
### START OF CODE GENERATED BY Argbash v2.2.0 one line above ###
### START OF CODE GENERATED BY Argbash v2.2.2 one line above ###
# Argbash is a bash code generator used to get arguments parsing right.
# Argbash is FREE SOFTWARE, know your rights: https://github.com/matejak/argbash

Expand Down
2 changes: 1 addition & 1 deletion resources/examples/simple-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# ARGBASH_SET_INDENT([ ])
# ARGBASH_GO()
# needed because of Argbash --> m4_ignore([
### START OF CODE GENERATED BY Argbash v2.2.0 one line above ###
### START OF CODE GENERATED BY Argbash v2.2.2 one line above ###
# Argbash is a bash code generator used to get arguments parsing right.
# Argbash is FREE SOFTWARE, know your rights: https://github.com/matejak/argbash

Expand Down
2 changes: 1 addition & 1 deletion resources/examples/simple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# INCLUDE_PARSING_CODE([simple-parsing.sh])
# ARGBASH_GO()
# needed because of Argbash --> m4_ignore([
### START OF CODE GENERATED BY Argbash v2.2.0 one line above ###
### START OF CODE GENERATED BY Argbash v2.2.2 one line above ###
# Argbash is a bash code generator used to get arguments parsing right.
# Argbash is FREE SOFTWARE, know your rights: https://github.com/matejak/argbash

Expand Down
2 changes: 1 addition & 1 deletion src/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.1a
2.2.2

0 comments on commit 3d90059

Please sign in to comment.