This CLI interacts with the Ory Kratos self-service API.
npm install @getlarge/kratos-cli
# 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 [email protected] \
--basePath http://localhost:4433
# 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 [email protected] \
--basePath http://localhost:4433
Run nx build kratos-cli
to build the library.
Run nx test kratos-cli
to execute the unit tests via Jest.