Skip to content

Commit 3939725

Browse files
Update README.md (#59)
updating commands from --permission to --permissions
1 parent 3bf6cf2 commit 3939725

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Hawaii-Cli/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ hawaii init -name <<filename>> --database-type <<db_type>> --connection-string <
3737
```
3838
### Add entity to the config:
3939
```
40-
hawaii add <<entity>> -source <<source.DB>> --rest <<rest_route>> --graphql <<graphql_type>> --permission <<rules:actions>>
40+
hawaii add <<entity>> -source <<source.DB>> --rest <<rest_route>> --graphql <<graphql_type>> --permissions <<rules:actions>>
4141
```
4242
### Update entity to the config:
4343
```
@@ -62,11 +62,11 @@ Generate config with some permissions and relationship
6262
```
6363
hawaii init --name todo-005 --database-type mssql --connection-string ""
6464
65-
hawaii add todo --name todo-005 --source s005.todos --permission "authenticated:*"
65+
hawaii add todo --name todo-005 --source s005.todos --permissions "authenticated:*"
6666
67-
hawaii add user --name todo-005 --source s005.users --permission "authenticated:*"
67+
hawaii add user --name todo-005 --source s005.users --permissions "authenticated:*"
6868
69-
hawaii add category --name todo-005 --source s005.categories --permission "authenticated:read"
69+
hawaii add category --name todo-005 --source s005.categories --permissions "authenticated:read"
7070
7171
hawaii update category --name todo-005 --graphql category
7272

0 commit comments

Comments
 (0)