Skip to content

Commit a658b51

Browse files
Regenerate README file (#14)
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 15ac3c2 commit a658b51

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ wp-cli/ai-command
33

44
Interacts with the WordPress AI Client
55

6-
[![Testing](https://github.com/wp-cli/ai-command/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/ai-command/actions/workflows/testing.yml)
6+
[![Testing](https://github.com/wp-cli/ai-command/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/ai-command/actions/workflows/testing.yml) [![Code Coverage](https://codecov.io/gh/wp-cli/ai-command/branch/main/graph/badge.svg)](https://codecov.io/gh/wp-cli/ai-command/tree/main)
77

88
Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing) | [Support](#support)
99

@@ -157,6 +157,24 @@ wp ai generate <type> <prompt> [--model=<models>] [--provider=<provider>] [--tem
157157

158158

159159

160+
### wp ai is-supported
161+
162+
Checks whether AI features are supported in the current environment.
163+
164+
~~~
165+
wp ai is-supported
166+
~~~
167+
168+
Exits with code 0 if AI features are supported, or code 1 if they are not.
169+
170+
**EXAMPLES**
171+
172+
# Check if AI is supported
173+
$ wp ai is-supported
174+
Success: AI features are supported.
175+
176+
177+
160178
### wp ai status
161179

162180
Checks which AI capabilities are currently supported.
@@ -186,7 +204,7 @@ are available. Displays a table showing supported capabilities.
186204
# Check AI status
187205
$ wp ai status
188206
+------------------+-----------+
189-
| Capability | Supported |
207+
| capability | supported |
190208
+------------------+-----------+
191209
| Text Generation | Yes |
192210
| Image Generation | No |

0 commit comments

Comments
 (0)