You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**`O`** version 1.6 runs in **Windows** PowerShell or Command shell, but installation not automated. Get **`o`**
46
+
#### Windows
47
+
**`o`** version 1.6 and later runs in Windows PowerShell or Command shell, but installation not automated. To try it, use this curl command to get **`o`**. Then copy it to somewhere in your PATH.
Update your PATHEXT to make it execute as `o` instead of `o.py`.
48
52
49
53
#### Setup
50
54
@@ -86,8 +90,8 @@ This will get a fresh list of all compartments in the tenancy, which is a great
86
90
- identical names can be resolved by using a substring from the OCID
87
91
- for example, ``-c ujfa`` would specify the *sales* compartment. The last four to six characters will uniquely identify most resources.
88
92
- handy when your resource names contain spaces or special characters
89
-
- support [complex type]parameters where a list of OCIDs is expected
90
-
- comma-separated resource names are converted to a JSON list
93
+
- support ``--*-ids``parameters where a list of OCIDs is expected, e.g. ``--security-list-ids``
94
+
- comma-separated list of resource names is converted to a JSON list of OCIDs
91
95
- simplify [datetime] parameters
92
96
-``--start-time today`` beginning (midnight) of current day (UTC)
93
97
-``--start-time today-36h`` - the day before yesterday at Noon
@@ -160,6 +164,13 @@ This will get a fresh list of all compartments in the tenancy, which is a great
160
164
- Added “reg" column to identify region key in default table output
161
165
- This is not shown nor available in csv or text formats.
162
166
- Region isn't in the resource data for most data types. **o** is extracting it from the ocid
167
+
-**o** runs on *Windows* PowerShell and Command shell. Not fully tested, but the basics appear to work.
168
+
169
+
#### New in version 1.9 (2023-07-05)
170
+
- "Best match" command selection adjusted to accept shorter input for commands in common, core services. This was needed because oci-cli supports more services and more commands than before, making it more difficult to find unambiguous shortcuts.
171
+
- More shortcuts for `o structured-search --query-text` where clauses:
172
+
- Use `c` or `l` for "compartment" or "lifeCycleState", followed by `=` or `!=` and the name of a compartment or lifeCycleState. Don't worry about quotation marks around terms. E.g.
173
+
-`query all resources where (c = sales || c = kevco) && l != terminated`
163
174
164
175
## How **``o``** works
165
176
-**``o``** compares your input with thousands of ``oci`` commands, and uses an fuzzy matching to find the command you want.
0 commit comments