oracle / oci-cli

Command Line Interface for Oracle Cloud Infrastructure
https://cloud.oracle.com/cloud-infrastructure
Other
426 stars 176 forks source link

Location of file "suggestion_variable.txt" #779

Open Ernst2020 opened 1 month ago

Ernst2020 commented 1 month ago

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.