Skip to content

Add option to list profiles in JSON #123

Description

@okelet

In order to use the awsumepy library from scripts, when running this code:

awsumepy.awsume('profile', '-l')

It prints out the list of profile in a non-friendly parseable format in the stdout. It would be great that the function could return that information in JSON o dict, instead of printing the data in the stdout and returning None, or in order to capture the command output and parse the stdout.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions