Go to file
Yorick van Pelt e0ce7220f1
Add meta.mainProgram arg
2023-01-30 14:59:21 +01:00
bin switch to yarn, package 2023-01-30 13:31:06 +01:00
.gitignore switch to yarn, package 2023-01-30 13:31:06 +01:00
.yarnignore switch to yarn, package 2023-01-30 13:31:06 +01:00
README.md Add meta.mainProgram arg 2023-01-30 14:59:21 +01:00
flake.lock Add nixpkgs input and passthru to nix-npm-bp 2023-01-30 14:45:34 +01:00
flake.nix Add meta.mainProgram arg 2023-01-30 14:59:21 +01:00
index.ts Add repl subcommand 2023-01-30 14:45:45 +01:00
package.json switch to yarn, package 2023-01-30 13:31:06 +01:00
tsconfig.json Commit some code 2023-01-29 18:34:53 +01:00
util.ts switch to yarn, package 2023-01-30 13:31:06 +01:00
yarn.lock switch to yarn, package 2023-01-30 13:31:06 +01:00

README.md

howto

nix run git+https://git.yori.cc/yorick/picnic-cli --

picnic-cli

Available commands:
- async login(user,password)
- async getUserDetails()
- async deliveries()
- async delivery(...ids)

$ npm run start -- deliveries --json

todo:

  • update picnic-api defs, fix product endpoint
    • await p.sendRequest("GET", "/articles/10767262")