cmd

command
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package main provides the command-line interface (CLI) entry point for the Setlist application.

The Setlist CLI is responsible for generating an AWS SSO configuration file by parsing AWS Organizations and Permission Sets. It retrieves account information, permission sets, and session details, then formats them into an AWS credentials configuration file.

This package leverages the Cobra library for command-line parsing and AWS SDK for interacting with AWS services.

The primary command is executed from main.go, which invokes the root command defined in rootCmd.go.

Usage:

setlist [flags]

Example:

setlist --sso-session my-session --sso-region us-east-1 --output ~/.aws/config

Required Flags:

--sso-session    The AWS SSO session name (e.g., organization name)
--sso-region     The AWS region where AWS SSO is hosted

Additional flags allow customization of profile mappings, output locations, and SSO-friendly names.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL