@getlarge/kratos-cli
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

kratos-cli

npm

This CLI interacts with the Ory Kratos self-service API.

Install

npm install @getlarge/kratos-cli

Usage

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:4433

To 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:4433

Development

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @getlarge/kratos-cli

Weekly Downloads

28

Version

0.3.0

License

MIT

Unpacked Size

34 kB

Total Files

21

Last publish

Collaborators

  • getlarge