Skip to content

Releases: ahoy-cli/ahoy

v2.2.0

05 Sep 08:31
c0cd36d
Compare
Choose a tag to compare

✨ What's new ✨

New Contributors 🎉

Full Changelog: v2.1.1...v2.2.0

v2.1.1

14 Apr 07:54
Compare
Choose a tag to compare

A quick rebuild with the latest Go, version 1.20.

What's Changed

Full Changelog: 2.0.2...v2.1.1

2.0.2

05 Aug 00:40
4827ba1
Compare
Choose a tag to compare

What's fixed 🥳

  • Fix for #4 : Show overwrite warning for ahoy init by @ocean in #97
  • Fix for #100 : Stop -- parameter being passed literally to command by @ocean in #101

What's changed 🛠️

  • docs: Update README by @ocean in #98
  • chore: Realign binary naming & ldflags by @ocean in #99

Full Changelog: 2.0.1...2.0.2

2.0.2-alpha

04 Aug 07:47
Compare
Choose a tag to compare
2.0.2-alpha Pre-release
Pre-release

Alpha release

This is an alpha release for testing if the problem in #100 has been fixed.

What's Changed

  • docs: Update README by @ocean in #98
  • fix!: [#4] Show overwrite warning for ahoy init by @ocean in #97
  • chore: Realign binary naming & ldflags by @ocean in #99
  • fix: Prevent -- from being passed as argument to command (fix for #100) by @ocean in a562009

Full Changelog: 2.0.1...2.0.2-alpha

2.0.1

01 Jul 01:28
120cfe8
Compare
Choose a tag to compare

What's New 🚀

We welcome new feature requests, ideas, and issues, please search the list and get involved.

What's Changed 🛠️

🧰 Maintenance

  • [meta] Correct capitalization, punctuation in readme. by @ElijahLynn in #60
  • Trivial spelling fix by @arafalov in #63
  • Fix Markdown formatting by @mlncn in #67
  • Fix link to documentation documentation by @mlncn in #68
  • Link to bash/zsh completion info in docs by @mlncn in #69
  • Fixed typo of docker-compose in example by @msound in #66
  • Updated index.md - linux ahoy v2 install example by @marji in #74
  • Re-add logo by @acouch in #86
  • Add cross-compiled binaries for Apple Silicon (darwin/arm64) and Linux ARM (linux/arm64) by @ocean in #82
  • Fix CircleCI job by @ocean, @AlexSkrypnyk in #94
  • Update all Go modules by @ocean in #92

New Contributors 🥳

Full Changelog: 2.0.0...2.0.1

2.0.0

13 Jun 15:52
Compare
Choose a tag to compare
Prep release of 2.0.0 by updating the documentation.

2.0.0-beta1

31 Jan 02:25
Compare
Choose a tag to compare

Note: This version should be working well for use in production and is probably preferred to 1.x if you are just starting out.

Changes since 2.0.0-alpha3

  • We have script to create x64 builds for Windows, OSX (Darwin), and Linux. These should end up being included in future releases.
  • Adds a requirements check when building with ahoy build
  • Issue #51: Append a down arrow to command names when there are subcommands
  • Issue #50: Cleans up many of the panics caused my incorrect .ahoy.yml syntax and now gives a warning.
  • Updated homebrew installation instructions.
  • Update our internal .ahoy.yml file to use $@ instead of {{args}}.

2.0.0-alpha3

22 Jan 06:01
Compare
Choose a tag to compare
2.0.0-alpha3 Pre-release
Pre-release

New Features

  • Better handling of quotes by no longer using {{args}}. Use regular bash syntax like "$@" for all arguments, or $1 for the first argument.
  • You can now use a different entrypoint (the thing that runs your commands) instead of bash. Ex. using php, nodejs, python, etc.
  • Plugins are now possible by overriding the entrypoint.

Example of new yaml setup in v2

# All files must have v2 set or you'll get an error
ahoyapi: v2

# You can now override the entrypoint. This is the default if you don't override it.
# {{cmd}} is replaced with your command and {{name}} is the name of the command that was run (available as $0)
entrypoint:
  - bash
  - "-c"
  - '{{cmd}}'
  - '{{name}}'
commands:
  example:
    usage: shows the new format
    # Note: Arguments are handled by bash, so all the goodies from there can be used.
    cmd: |
      echo "The first argument is at $1"
      echo "All the arguments are at $@"
      echo "There are ${#@} arguments"
  list:
      usage: List the commands from the imported config files.
      # These commands will be aggregated together with later files overriding earlier ones if they exist.
      imports:
        - ./confirmation.ahoy.yml
        - ./docker.ahoy.yml
        - ./examples.ahoy.yml

2.0.0-alpha2

22 Nov 04:24
Compare
Choose a tag to compare
2.0.0-alpha2 Pre-release
Pre-release

CHANGES

  • Adds functional tests via the bats project. See https://github.com/sstephenson/bats. This would be a good contributions.
  • Update the repo names to the new ahoy-cli organization.
  • Most issues around flags not working (--version, --help) and ahoy init are now fixed.
  • Documentation added via ReadTheDocs and we have our own website. See http://ahoycli.com

1.1.0

16 Dec 22:52
Compare
Choose a tag to compare

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.