kevco-us

Results 18 comments of kevco-us

Apologies for my delayed response. An empty oci_commands file probably is the result of your installed oci-cli being a bit dated. If when you run `o oci_commands` it says ```...

It appears that `oci --help` has changed recently (release 3?) to not providing the usage for all commands under that service. This breaks `o`'s method of collecting command syntax. I'll...

`oci --help` provides less command detail in some installations. `o` was updated (in Sept 2021) to get usage for each command individually when it is unable to get all commands...

@jtpereyda I'm glad you like project `o`! Another approach to using `o` with security token would be use the [CLI Environment variable](https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/clienvironmentvariables.htm) `OCI_CLI_AUTH`. This way you won't need `--auth security_token`...

As you have noted this is challenging because complex data structures can be, uhhm, complex! Some values are too long to reasonably fit in a concise column, and often there...

You can simplify the script by using xargs to iterate over the compartment list. In your script or from the command line: ``` oci iam compartment list | jq -r...

@jeliker Check out https://github.com/oracle/oci-cli/blob/master/scripts/examples/project_o/README.md Project "o" provides several output options, one of which is tsv. To do what you want, install "o". Then run: ``` $ o -o 'name lifecycle'...

oci-cli uses two config files. The [CLI documentation](https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliconfigure.htm#Configuring_the_CLI) refers to `~/.oci/oci_cli_rc` as the "CLI Configuration File". Elsewhere `~/.oci/config` is called the "[SDK and CLI Configuration file](https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File)". Neither is particularly well...

The quotes are preventing tilde expansion. `export OCI_CLI_RC_FILE=~/rc_file` will work.