Closed AlexSkrypnyk closed 2 years ago
Trying to find a good command I can use to test this with, that isn't docker-compose
- need something simple that takes long option parameters.
kubectl
is a good one, lots of flags, arguments, some accept stdin, some are interactive
Just clarifying, does this only affect passing arguments to commands which have the "$@"
(array of all input parameters) parameter set?
I'm clarifying expected behaviour here - if the command doesn't expect all parameters to be given to it, then it should just ignore them, right?
Also an alpha pre-release out to use for testing if this is fixed, at https://github.com/ahoy-cli/ahoy/releases/tag/2.0.2-alpha
This has been fixed and tests were added. I tested this locally on multiple machines - works as expected.
Thank you @ocean
Closing this issue now.
Having ahoy.yml:
In 2.0.0:
ahoy up -- --build
=> OKIn 2.0.1
ahoy up -- --build
=>unknown service --build
meaning that-- --build
is passed literally instead of just--build