x4121 / fastsar-rs

A small program to switch between AWS Roles quickly using fuzzy matching
MIT License
2 stars 2 forks source link

Calling fastsar with account & role should not require a config file #5

Closed x4121 closed 3 years ago

x4121 commented 3 years ago

Currently fastsar will always require a valid config file. Even when account & role is provided as arguments, so there is technically no information required from the config file anymore. Worse, the account even has to be in the config file for it to work.

~Refactoring this might create a conflict with how the history is implemented, as it will want to save the account name from the last selected account (which we would not have without the config file).~