-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e79ffea
commit 48ba087
Showing
1 changed file
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,21 @@ | ||
# go install ./... to genarate binary in gopath. | ||
0. go install ./... to genarate binary in gopath. | ||
|
||
|
||
1. create user: | ||
|
||
orgd tx org create-user name email --from alice | ||
|
||
|
||
2. delete user: | ||
|
||
orgd tx org delete-user userid --from alice (userid is key of the store (indexes)) | ||
|
||
|
||
3. query all users: | ||
|
||
orgd q org users | ||
|
||
|
||
4.query one user by userid: | ||
|
||
orgd q org one-user userid (indexes like 0,1,2...) |