Add a new command for self verification.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 669
- Forks
- 236
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Description
Issue type
Feature request.
Description
It would be nice if the OCI CLI could verify that everything was configured properly.
Currently this verification possibility is missing and we have to use other methods to check if the OCI CLI was correctly configured. For instance, I am using a dummy oci iam compartment list to check if the OCI configuration works (including authentification check).
Expectation
oci config verify
# OK
echo $?
# 0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing oci config command entry points and the authentication behavior exercised by oci iam compartment list. Define the verification command's success and failure behavior, including the requested OK output and exit code 0, then add coverage for those outcomes; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100