| 1 |
<?php |
| 2 |
|
| 3 |
namespace Buddypress\CLI\Command; |
| 4 |
|
| 5 |
/** |
| 6 |
* Manage BuddyPress through the command-line. |
| 7 |
* |
| 8 |
* ## EXAMPLES |
| 9 |
* |
| 10 |
* # Create a user signup. |
| 11 |
* $ wp bp signup create --user-login=test_user --user-email=teste@site.com |
| 12 |
* Success: Successfully added new user signup (ID #345). |
| 13 |
* |
| 14 |
* # Activate a component. |
| 15 |
* $ wp bp component activate groups |
| 16 |
* Success: The Groups component has been activated. |
| 17 |
* |
| 18 |
* # List xprofile fields. |
| 19 |
* $ wp bp xprofile field list |
| 20 |
* +----+------+-------------+---------+----------+-------------+ |
| 21 |
* | id | name | description | type | group_id | is_required | |
| 22 |
* +----+------+-------------+---------+----------+-------------+ |
| 23 |
* | 1 | Name | | textbox | 1 | 1 | |
| 24 |
* +----+------+-------------+---------+----------+-------------+ |
| 25 |
*/ |
| 26 |
class BuddyPress extends BuddyPressCommand {} |
| 27 |
|