Skip to content

1.1.0

Compare
Choose a tag to compare
@frankcarey frankcarey released this 16 Dec 22:52
· 207 commits to master since this release

Important Note:

  • ahoyapi: v1 is now required in your ahoy.yml files so that we can maintain backwards-compatibility as we move forward. Ahoy will fail with a warning if it's not set. 3d7e5c6

New Features:

  • Added a verbose flag for debugging the actual commands that are being called and files that are loaded. #8
  • Hide a command from being shown in the help using hide: true f8b1077
  • Don't parse any flags that come after your command (they all get sent as args), so no need to use the -- in commands with flags #11
  • Specify the .ahoy.yml file you want to use using ahoy -f some/other/ahoy.file.yaml for files relative to the ahoy command being called or ahoy -f /root/ahoy.file.yaml for setting it absolutely. Note that this can be used to import specific commands from other ahoy files! #9
  • Added command parameter import: some/file.ahoy.yml to import an entire yaml file as sub-commands. import and cmd should not be used for the same command. #12 See examples dir.
  • Support multi-line commands - and even full blown bash scripts in cmd using cmd: | #5
  • ahoy init now supports a custom url argument that will install a custom

Bugs Fixed:

  • Commands now always listed in alphabetical order. #1
  • Replace multiple instances of {{args}} in a command #13
  • Don't load default commands (ahoy init) if it's been declared locally.

Known Issues:

  • --help, -h flags no longer seem to work as expected. #16
  • Long help text (usage) wraps to the beginning of the next line instead of staying within its column. #15
  • ahoy init will still overwrite an existing .ahoy.yml file, but the command can be overwritten in an existing .ahoy.yml file to just output a simple error message instead of downloading anything.