dig
fcbed984d8
Update the Bash example with the multi source files option
...
* Usage of $easyoptions_include in bash/example.sh
* The example sourced scripts bash/some_sourced_lib.sh and bash/that_other_lib.sh
2019-04-23 20:07:41 +02:00
dig
728fa33f94
Add multi source files option in Bash version.
2019-04-23 20:04:58 +02:00
Renato Silva
c4817634d5
Small typo fix in readme file.
2016-01-05 18:20:11 -02:00
Renato Silva
73042008c1
Change license to 3-clause BSD.
2015-02-28 20:56:00 -03:00
Renato Silva
5c4dc3da83
Update some copyright notices.
2015-02-28 20:42:59 -03:00
Renato Silva
be73a0fbba
Small fix in Ruby sample script.
2014-12-04 10:35:58 -02:00
Renato Silva
fd776b6cba
Improve search path in Bash front end.
...
* The directory of the script has been added back to search path.
* This directory and the ruby subdirectory now have priority over /usr/lib/ruby/vendor_ruby.
2014-12-04 09:51:59 -02:00
Renato Silva
23c8155290
Remove the installation script.
2014-12-04 09:37:38 -02:00
Renato Silva
8bcabbd846
Add changelog.
2014-12-02 22:20:06 -02:00
Renato Silva
83c60b7a11
Small refactoring in Ruby code.
2014-12-02 22:07:13 -02:00
Renato Silva
247778b867
Use subfolders for each implementation.
2014-12-02 22:02:45 -02:00
Renato Silva
4738b1260c
Fix search path in Bash front end.
...
The directory of the script is the one that should be added to search path, not the current directory.
2014-12-02 21:45:25 -02:00
Renato Silva
74223b62d7
Some more idiomatic Ruby code.
2014-12-02 21:40:41 -02:00
Renato Silva
5f234f88e8
More idiomatic Ruby code with rubocop.
2014-12-02 21:22:35 -02:00
Renato Silva
471ef55729
Add note about global variables in help text.
2014-12-02 21:15:46 -02:00
Renato Silva
b4f53dbcb6
Declare encoding of the Ruby implementation as UTF-8.
2014-12-02 21:13:28 -02:00
Renato Silva
f700bb7ed2
Use single-quoted strings in Ruby implementation.
2014-12-02 21:11:18 -02:00
Renato Silva
6b1b678e2e
Use modules in Ruby implementation.
...
Options, arguments and the help text are now also avaialble as EasyOptions.options, EasyOptions.arguments and EasyOptions.documentation. The global variables $options, $arguments and $documentation are still present.
2014-12-02 00:37:32 -02:00
Renato Silva
02ac5bfeba
Convert line breaks from Windows to Unix format.
2014-12-01 22:36:39 -02:00
Renato Silva
b451dcecb4
Add current directory to search path of the Bash front end.
2014-12-01 21:11:44 -02:00
Renato Silva
f50b37f6fb
Small fix for the installation script.
2014-11-17 23:18:53 -02:00
Renato Silva
9629e0dcfd
Add RubyGems configuration.
2014-10-14 18:34:46 -03:00
Renato Silva
fec6adcaf3
Add the Ruby gem to readme file.
2014-10-14 18:17:27 -03:00
Renato Silva
31d5a53d3a
Find the Ruby implementation when installed as a library.
2014-10-14 17:45:20 -03:00
Renato Silva
17d2030d48
Allow installing to a location other than /usr/local/bin.
2014-10-13 19:51:29 -03:00
Renato Silva
cd0f383822
Convert line breaks from Windows to Unix format.
2014-09-15 17:10:41 -03:00
Renato Silva
8da3c83852
Replace the old `string' quoting style with double quotes.
2014-09-15 17:06:26 -03:00
Renato Silva
7fd66536cf
Update the Bash example with the new Ruby front end.
2014-09-11 17:37:56 -03:00
Renato Silva
ae63632a7e
Update readme file for the new Bash front end, and other minor changes.
2014-09-11 17:22:46 -03:00
Renato Silva
4aca0ae67a
New Bash front end to the Ruby implementation.
...
The pure Bash implementation is now installed as easyoptions.sh instead of just easyoptions, which is now a front end to the Ruby implementation.
2014-09-11 16:45:28 -03:00
Renato Silva
d4448390c3
Fix the Bash implementation for not ignoring the options specified after arguments.
...
This was caused by the getopts builtin. Now the regular arguments are processed and removed from the parameter list before getopts is called, so it can parse all of the provided options, regardless of whether they were specified before or after regular arguments.
2014-09-11 10:22:00 -03:00
Renato Silva
3d8b0c3e15
Avoid variable exporting for Bash scripts.
...
Exporting should not be required and it may lead to security issues, for example access of a --password option by other applications.
2014-09-11 00:48:49 -03:00
Renato Silva
3faceb97dd
Fix next option mistook for value of current option in Ruby version.
...
For example, if --foo requires a value and --foo --bar is specified in command line, then --bar would be mistakenly recognized as the value for --foo. Now a proper error is raised requiring a value for --foo.
2014-08-03 08:24:34 -03:00
Renato Silva
d5aa1fd9a9
Small fix in readme file.
2014-07-27 08:49:49 -03:00
Renato Silva
ce37a808f1
Fix exit command in a Bash example.
2014-07-23 22:31:27 -03:00
Renato Silva
bf90464756
Small fix in readme file.
2014-07-09 23:45:22 -03:00
Renato Silva
7ae58258bc
Add readme file.
2014-07-09 19:27:44 -03:00
Renato Silva
6129e08347
Add examples.
2014-07-09 19:27:00 -03:00
Renato Silva
3c3c8bba09
Initial commit.
2014-07-09 17:59:03 -03:00