Skip to content

Instantly share code, notes, and snippets.

@FabioAntunes
Created February 22, 2019 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FabioAntunes/521d6d743cfd6f6ab8d0e849b5b61569 to your computer and use it in GitHub Desktop.
Save FabioAntunes/521d6d743cfd6f6ab8d0e849b5b61569 to your computer and use it in GitHub Desktop.
set -l okta_commands add exec help login version
complete -f -c aws-okta -n "not __fish_seen_subcommand_from $okta_commands" -a add -d 'add your okta credentials'
complete -f -c aws-okta -n "not __fish_seen_subcommand_from $okta_commands" -a exec -d 'exec will run the command specified with aws credentials set in the environment'
complete -f -c aws-okta -n "not __fish_seen_subcommand_from $okta_commands" -a help -d 'help about any command'
complete -f -c aws-okta -n "not __fish_seen_subcommand_from $okta_commands" -a login -d 'login will authenticate you through okta and allow you to access your AWS environment through a browser'
complete -f -c aws-okta -n "not __fish_seen_subcommand_from $okta_commands" -a version -d 'print version'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment