Skip to content

Commit be3818c

Browse files
committed
doc: add doc for administration and development
1 parent 3e2fb4a commit be3818c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,31 @@ $ curl -u admin1:this-is-passwd-1 -Fc=@/path/to/file example-pb.com
7777
"isPrivate": false
7878
}
7979
```
80+
81+
## Administration
82+
Delete a paste:
83+
```console
84+
$ yarn delete-paste <name-of-paste>
85+
```
86+
87+
List pastes:
88+
```console
89+
$ yarn wrangler kv:key list --binding PB > kv_list.json
90+
```
91+
92+
## Development
93+
94+
Run a local simulator:
95+
```console
96+
$ yarn dev
97+
```
98+
99+
Run tests:
100+
```console
101+
$ yarn test
102+
```
103+
104+
Run tests with coverage report:
105+
```console
106+
$ yarn coverage
107+
```

0 commit comments

Comments
 (0)