Skip to content

Commit 5aee1c4

Browse files
committed
Update readme based on new success messages
1 parent 986adb9 commit 5aee1c4

File tree

2 files changed

+18
-20
lines changed

2 files changed

+18
-20
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3365,11 +3365,11 @@ wp signup
33653365

33663366
# Activate signup.
33673367
$ wp signup activate 2
3368-
Success: Signup activated. Password: bZFSGsfzb9xs
3368+
Success: Signup 2 activated. Password: bZFSGsfzb9xs
33693369

33703370
# Delete signup.
33713371
$ wp signup delete 3
3372-
Success: Signup deleted.
3372+
Success: Signup 3 deleted.
33733373

33743374

33753375

@@ -3390,7 +3390,7 @@ wp signup activate <signup>
33903390

33913391
# Activate signup.
33923392
$ wp signup activate 2
3393-
Success: Signup activated. Password: bZFSGsfzb9xs
3393+
Success: Signup 2 activated. Password: bZFSGsfzb9xs
33943394

33953395

33963396

@@ -3411,7 +3411,7 @@ wp signup delete <signup>
34113411

34123412
# Delete signup.
34133413
$ wp signup delete 3
3414-
Success: Signup deleted.
3414+
Success: Signup 3 deleted.
34153415

34163416

34173417

@@ -3448,12 +3448,11 @@ wp signup get <signup> [--field=<field>] [--fields=<fields>] [--format=<format>]
34483448
**EXAMPLES**
34493449

34503450
# Get signup.
3451-
$ wp signup get 1
3452-
+-----------+------------+---------------------+---------------------+--------+------------------+
3453-
| signup_id | user_login | user_email | registered | active | activation_key |
3454-
+-----------+------------+---------------------+---------------------+--------+------------------+
3455-
| 1 | bobuser | [email protected] | 2024-03-13 05:46:53 | 1 | 663b5af63dd930fd |
3456-
+-----------+------------+---------------------+---------------------+--------+------------------+
3451+
$ wp signup get 1 --field=user_login
3452+
bobuser
3453+
3454+
# Get signup and export to JSON file.
3455+
$ wp signup get bobuser --format=json > bobuser.json
34573456

34583457

34593458

src/Signup_Command.php

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
*
2121
* # Activate signup.
2222
* $ wp signup activate 2
23-
* Success: Signup activated. Password: bZFSGsfzb9xs
23+
* Success: Signup 2 activated. Password: bZFSGsfzb9xs
2424
*
2525
* # Delete signup.
2626
* $ wp signup delete 3
27-
* Success: Signup deleted.
27+
* Success: Signup 3 deleted.
2828
*
2929
* @package wp-cli
3030
*/
@@ -177,12 +177,11 @@ public function list_( $args, $assoc_args ) {
177177
* ## EXAMPLES
178178
*
179179
* # Get signup.
180-
* $ wp signup get 1
181-
* +-----------+------------+---------------------+---------------------+--------+------------------+
182-
* | signup_id | user_login | user_email | registered | active | activation_key |
183-
* +-----------+------------+---------------------+---------------------+--------+------------------+
184-
* | 1 | bobuser | [email protected] | 2024-03-13 05:46:53 | 1 | 663b5af63dd930fd |
185-
* +-----------+------------+---------------------+---------------------+--------+------------------+
180+
* $ wp signup get 1 --field=user_login
181+
* bobuser
182+
*
183+
* # Get signup and export to JSON file.
184+
* $ wp signup get bobuser --format=json > bobuser.json
186185
*
187186
* @package wp-cli
188187
*/
@@ -210,7 +209,7 @@ public function get( $args, $assoc_args ) {
210209
*
211210
* # Activate signup.
212211
* $ wp signup activate 2
213-
* Success: Signup activated. Password: bZFSGsfzb9xs
212+
* Success: Signup 2 activated. Password: bZFSGsfzb9xs
214213
*
215214
* @package wp-cli
216215
*/
@@ -240,7 +239,7 @@ public function activate( $args, $assoc_args ) {
240239
*
241240
* # Delete signup.
242241
* $ wp signup delete 3
243-
* Success: Signup deleted.
242+
* Success: Signup 3 deleted.
244243
*
245244
* @package wp-cli
246245
*/

0 commit comments

Comments
 (0)