0.3.6 • Published 6 months ago
@getlarge/kratos-cli v0.3.6
kratos-cli
This CLI interacts with the Ory Kratos self-service API.
Install
npm install @getlarge/kratos-cliUsage
To register a new identity
# base path is the Ory Kratos Public API URL - it can be passed via ORY_KRATOS_PUBLIC_URL environment variable
# the CLI will prompt for the password
npx @getlarge/kratos-cli register --email test@test.it \
--basePath http://localhost:4433To log in
# base path is the Ory Kratos Public API URL - it can be passed via ORY_KRATOS_PUBLIC_URL environment variable
# the CLI will prompt for the password
npx @getlarge/kratos-cli login --email test@test.it \
--basePath http://localhost:4433Development
Building
Run nx build kratos-cli to build the library.
Running unit tests
Run nx test kratos-cli to execute the unit tests via Jest.