Skip to content

Commit e092c59

Browse files
David Molinerodehesa
authored andcommitted
Add AWS SSO util script
1 parent 51a85df commit e092c59

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash
2+
3+
# Dependency: This script requires `aws-sso-util` installed: https://github.com/benkehoe/aws-sso-util
4+
# Install via pipx: `pipx install aws-sso-util` following the instructions on https://github.com/benkehoe/aws-sso-util
5+
6+
# Required parameters:
7+
# @raycast.schemaVersion 1
8+
# @raycast.title AWS SSO
9+
# @raycast.mode silent
10+
11+
# Optional parameters:
12+
# @raycast.icon images/aws-sso-util.png
13+
# @raycast.packageName Developer Utilities
14+
15+
# Documentation:
16+
# @raycast.description Login to AWS using aws-sso-util
17+
# @raycast.author David Molinero
18+
# @raycast.authorURL https://github.com/doktor500
19+
20+
export PATH="$PATH:${HOME}/.local/bin/";
21+
22+
if ! aws-sso-util &> /dev/null; then
23+
echo "aws-sso-util is required (https://github.com/benkehoe/aws-sso-util)";
24+
exit 1;
25+
fi
26+
27+
aws-sso-util login --all;
14.4 KB
Loading

0 commit comments

Comments
 (0)