aps is a TUI-based tool for simply switching AWS profiles.
$ aps
AWS Profile Switcher
> default [current]
production
staging
(Use ↑/↓ or j/k to navigate, Enter to select, q to quit)- Install binary:
go install github.com/mi-wada/aps@latest- Add this function to your shell:
aps() {
eval $(command aps)
}For development, use:
eval $(go run .)