Location of file "suggestion_variable.txt"
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 669
- Forks
- 236
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Description
The file "suggestion_variable.txt" is located and updated after the first interactive session in directory /oracle.
This implies that when using the container version of OCI CLI the update of that file in print_suggestion_message() is not saved. Thus the prompt message defined in utils.py is shown in every session, not just the first session.
Solution is to store that file in /oracle/.oci or have a flag to show it or not in the config file.
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 with utils.py and the print_suggestion_message() path, then check where suggestion_variable.txt is created or updated after the first interactive session. Compare the container's /oracle location with /oracle/.oci and the config-file behavior; done means the prompt is not repeated in later sessions and the chosen persistence or configuration approach is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100