@laboratoria/cli
v0.1.0
Published
Laboratoria Command Line Client.
Downloads
1
Readme
Laboratoria CLI
Laboratoria Command Line Client.
npm i -g @laboratoria/cli
Usage: laboratoria [options] [command]
Options:
-h, --help Show help.
-v, --version Show version.
-f, --format Output format. Either "text" (default), "json" or "csv".
Commands:
help
signin [email]
signout
whoami
users:ls [--where] [--sort] [--order] [--skip] [--take]
users:get <uid>
users:up <uid> [--firstName] [--lastName] [--lang] [--github] [--linkedin] [--bio] [--roles]
users:rm <uid>
cohorts:ls [--where] [--sort] [--order] [--skip] [--take]
cohorts:get <id>
cohorts:new <--programId> <--stageId> <--name> <--start> <--end> <--legacySlug>
cohorts:up <id> [--programId] [--stageId] [--name] [--start] [--end]
cohorts:rm <id>
students:ls [--where] [--sort] [--order] [--skip] [--take]
students:get <id>
students:new <--cohortId> <--uid> [--studentCode]
students:up <id> [--studentCode]
students:rm <id>
dropouts:ls [--where] [--sort] [--order] [--skip] [--take]
dropouts:get <id>
dropouts:new <--cohortId> <--uid> <--date> <--reason> <--reasonDetail> <--project> <--stage> <--notes> <--staffSad> [--covidRelated]
dropouts:up <id>
dropouts:rm <id>
contracts:ls [--where] [--sort] [--order] [--skip] [--take]
contracts:get <id>
contracts:new
contracts:up <id>
contracts:rm <id>
gigs:ls [--where] [--sort] [--order] [--skip] [--take]
gigs:get <id>
gigs:new
gigs:up <id>
gigs:rm <id>
projects:ls [--tag] [--locale] [--track]
projects:get <slug> [--tag]
topics:ls [--tag] [--locale] [--track]
topics:get <slug> [--tag]
learning-objectives:ls [--lang]
learning-objectives:get <slug> [--lang]
laboratoria signin [email protected]
laboratoria users:ls --where '{"email":{"contains":"lupo"}}'
laboratoria users:ls --where '{"roles":{"has":"admin"}}' --take 20
Env vars
FIREBASE_API_KEY
FIREBASE_PROJECT
LABORATORIA_CORE_API_URL