Error when only saving a user locally
Closed this issue · 1 comments
agaliste commented
Info
Command:
permit add -u user -k "..."
Output:
Saving user...
User saved successfully
Error: At least IP or AWS Instance with user or key must be set
Expected output:
Saving user...
User saved successfully
Explanation
The user should be saved and the program should close afterward, but an error is thrown instead after saving the user.
agaliste commented
Also, permit remove
doesn't work cause of the same problem. IP or AWS subcommand is expected when it shouldn't