Commit graph

14 commits

Author SHA1 Message Date
Alannah Kearney
1992fee96b fix: Add use clause for Exception so which() can catch RunCommandFailedException correctly 2021-09-07 11:39:39 +10:00
Alannah Kearney
b9a3034788 chore: Update README, LICENCE, and add code linting 2021-07-29 14:37:32 +10:00
Alannah Kearney
33090aee1f feat: Add which() method and refactor run_command() 2021-07-29 14:36:51 +10:00
Alannah Kearney
630efc99d6 Fixed call to implode() in display_error_and_exit() to avoid deprecation warning. 2020-04-11 18:51:09 +10:00
Alannah Kearney
3ccfe2477f Added run_command() function and RunCommandFailedException exception 2020-04-06 17:23:44 +10:00
Alannah Kearney
f605849ee0 Updated manpage() to work with pointybeard/helpers-cli-input 1.2 2019-06-01 15:02:30 +10:00
Alannah Kearney
558ea1ba2c Using readable_debug_backtrace (provided by pointybeard/helpers-functions-debug) to produce a trace if one is provided 2019-05-26 20:19:25 +10:00
Alannah Kearney
5de5730739 Added display_error_and_exit function 2019-05-25 14:27:28 +10:00
Alannah Kearney
f40e14845e Updated to work with pointybeard/helpers-cli-input 1.1.x 2019-05-24 17:33:00 +10:00
Alannah Kearney
3f07310dfe Refactoring of manpage() to hide 'Options' and/or 'Arguments' if there are none to show. 2019-05-24 14:01:38 +10:00
Alannah Kearney
cfc256347d Updated manpage() to include foregroundColour, headingColour, and additional arguments. Removed example argument in favour of including it inside additional. 2019-05-24 13:35:09 +10:00
Alannah Kearney
4985979992 Added get_window_size() function 2019-05-23 16:18:38 +10:00
Alannah Kearney
7532bd04a0 Added manpage() and usage() functions 2019-05-20 22:15:35 +10:00
Alannah Kearney
a34ef4419e Initial commit 2019-05-08 22:04:47 +10:00