File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
commands/developer-utils/aws Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
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;
You can’t perform that action at this time.
0 commit comments