Skip to content

Display warning on missing profile instead of exit#131

Merged
privateip merged 1 commit intoitential:develfrom
privateip:warn-on-missing-profile
May 2, 2025
Merged

Display warning on missing profile instead of exit#131
privateip merged 1 commit intoitential:develfrom
privateip:warn-on-missing-profile

Conversation

@privateip
Copy link
Member

When running the application with a profile that is not configured, the
application will just error with no further message. This prevents
someone from running ipctl --help. The application will now display a
warning message if the profile is not found and configure the client
with all defaults. This will allow the ipctl --help command to run
successfully.

fixes #129

When running the application with a profile that is not configured, the
application will just error with no further message.   This prevents
someone from running `ipctl --help`.  The application will now display a
warning message if the profile is not found and configure the client
with all defaults.  This will allow the `ipctl --help` command to run
successfully.

fixes #129
@privateip privateip merged commit 2c37676 into itential:devel May 2, 2025
1 check passed
@privateip privateip deleted the warn-on-missing-profile branch May 2, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"--help" doesn't work when default profile not found

1 participant