You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The fish scripts provide the profile to the aws command twice as they provide the first arg as profile (correct) then the entire arg list (inc. the profile) as a command to the aws cli tool.
To Reproduce
Steps to reproduce the behavior:
Run okta-aws <profile> <valid command>
See error re. invalid command
Expected behavior
It should work
Additional context
The fix is:
function okta-aws
withokta "aws --profile $argv[1]" $argv[2..-1]
end
I would submit a PR but I can't push a new branch and your contribution guidelines don't mention anything about forking. I would fix this but having a busy day!
The text was updated successfully, but these errors were encountered:
hcourse-nydig
changed the title
Fish scripts appear to be broken
Fish scripts appear to be broken (Fix in issue)
Aug 3, 2021
hcourse-nydig
changed the title
Fish scripts appear to be broken (Fix in issue)
Fish scripts appear to be broken (Fix in comment)
Aug 3, 2021
Describe the bug
The fish scripts provide the profile to the aws command twice as they provide the first arg as profile (correct) then the entire arg list (inc. the profile) as a command to the aws cli tool.
To Reproduce
Steps to reproduce the behavior:
okta-aws <profile> <valid command>
Expected behavior
It should work
Additional context
The fix is:
I would submit a PR but I can't push a new branch and your contribution guidelines don't mention anything about forking. I would fix this but having a busy day!
The text was updated successfully, but these errors were encountered: