Skip to content

Commit 5d447a5

Browse files
committed
Update readme to include new commands
1 parent ce06156 commit 5d447a5

File tree

1 file changed

+30
-6
lines changed

1 file changed

+30
-6
lines changed

readme.md

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,44 @@ class User implements Contract
5151

5252
## Commands
5353

54-
### List
54+
### Add User
5555

56-
`php artisan rollout:list`
56+
`php artisan rollout:add-user {feature} {user}`
5757

58-
![](https://cloud.githubusercontent.com/assets/2836589/24476459/4773446c-14a1-11e7-8ea5-132fe747e0ac.png)
58+
Swap `{feature}` with the name of the feature, and `{user}` with a unique identifier for the user in your system.
5959

6060
### Create
6161

6262
`php artisan rollout:create {feature}`
6363

6464
Swap `{feature}` with the name of the feature you'd like to create a feature flag for.
6565

66-
### Add User
66+
### Deactivate
6767

68-
`php artisan rollout:add-user {feature} {user}`
68+
`php artisan rollout:deactivate {feature}`
6969

70-
Swap `{feature}` with the name of the feature, and `{user}` with a unique identifier for the user in your system.
70+
Swap `{feature}` with the name of the feature you'd like to deactivate globally. Note this will also reset the user whitelist.
71+
72+
### Delete
73+
74+
`php artisan rollout:delete {feature}`
75+
76+
Swap `{feature}` with the name of the feature you'd like to permanently delete from rollout.
77+
78+
### Everyone
79+
80+
`php artisan rollout:everyone {feature}`
81+
82+
Swap `{feature}` with the name of the feature you'd like to rollout to 100% of your user base.
83+
84+
### List
85+
86+
`php artisan rollout:list`
87+
88+
![](https://cloud.githubusercontent.com/assets/2836589/24476459/4773446c-14a1-11e7-8ea5-132fe747e0ac.png)
89+
90+
### Remove User
91+
92+
`php artisan rollout:remove-user {feature} {user}`
93+
94+
Swap `{feature}` with the name of the feature, and `{user}` with a unique identifier for the user in your system to remove the feature from.

0 commit comments

Comments
 (0)