Skip to content

Commit

Permalink
doc: add doc for administration and development
Browse files Browse the repository at this point in the history
  • Loading branch information
SharzyL committed Apr 12, 2024
1 parent 3e2fb4a commit be3818c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,31 @@ $ curl -u admin1:this-is-passwd-1 -Fc=@/path/to/file example-pb.com
"isPrivate": false
}
```

## Administration
Delete a paste:
```console
$ yarn delete-paste <name-of-paste>
```

List pastes:
```console
$ yarn wrangler kv:key list --binding PB > kv_list.json
```

## Development

Run a local simulator:
```console
$ yarn dev
```

Run tests:
```console
$ yarn test
```

Run tests with coverage report:
```console
$ yarn coverage
```

0 comments on commit be3818c

Please sign in to comment.