Skip to content

Commit

Permalink
add list-pastes scripts in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ak1ra-komj committed Dec 22, 2024
1 parent 80f3ef3 commit f421f81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"dev": "wrangler dev --var BASE_URL:http://localhost:8787 --port 8787",
"build": "wrangler deploy --dry-run --outdir=dist",
"delete-paste": "wrangler kv:key delete --binding PB",
"list-pastes": "wrangler kv:key list --binding PB",
"pb_hist": "wrangler kv:key list --binding PB | jq -r '.[] | \"\\(.name):\\(.metadata.passwd)\"'",
"curl-delete": "wrangler kv:key list --binding PB | jq -r '.[] | \"curl -XDELETE https://komj.uk/\\(.name):\\(.metadata.passwd)\"'",
"test": "vitest",
"coverage": "vitest run --coverage"
},
Expand Down

0 comments on commit f421f81

Please sign in to comment.