All Leapp CLI commands should take inputs in order to automate configurations
See original GitHub issueIs your feature request related to a problem? Please describe.
We have a lot of profiles to setup and it would be nice to set them all up to Leapp, however, setting this all up in the GUI is painful so I was very happy when the 0.11.0 version announced the CLI. I played with the CLI today and noticed that many commands such as leapp sessions add
require a prompt and I cannot set configurations using switches like --session-name
, --profile-name
, etc.
This means that I cannot use the Leapp CLI to automate the GUI and so the Leapp CLI is more or less the same as the GUI.
Describe the solution you’d like Add switches to each command so we can automate adding profiles
Describe alternatives you’ve considered Use leapp to authenticate to our main identity user and use an extension or AWS SSO to switch roles instead of leapp
Additional context N/A
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:8 (8 by maintainers)
Thanks for the feedback!
We are implementing this feature this week!
I think una week the feature will be out, we are adding oclif flags to each commands
I think the bug is in this function: https://github.com/Noovolari/leapp/blob/71eb0c6d0dbe5a12bda083e183af70ca2684ea88/packages/cli/src/commands/session/add.ts#L147