Monday, May 1, 2023

Using OCI CLI in interactive mode

This was one of the most handy discoveries for me, as it saved me a LOT of time without going back and forth searching on documentation and the command line interface. Thank you Aykut for showing this to me!

Just use the -i option

-i, --cli-auto-prompt Use the CLI in interactive mode.

It is capable of displaying and auto-completing sub-commands and also displaying required parameters

On top of that, it can querry and list values from your tenancy, let you search with human readable names of resources and convert those resource names back to OCIDs, that's how cli works

I am using this more and more over the time, and most of the time I don't need to go back and check the documentation! Quite useful.

No comments:

Post a Comment

Featured

Putting it altogether: How to deploy scalable and secure APEX on OCI

Oracle APEX is very popular, and it is one of the most common usecases that I see with my customers. Oracle Architecture Center offers a re...