rfctl login#

Authenticate with the RecordForm CRM API and store the session for subsequent commands.

Synopsis#

rfctl login [flags]

Description#

The login command authenticates you with the RecordForm CRM API. If email or password are not provided via flags, you will be prompted to enter them interactively.

After successful authentication, your session is stored locally and used for all subsequent commands.

Flags#

FlagTypeDescription
--emailstringEmail address
--passwordstringPassword

Examples#

Interactive login#

rfctl login

You will be prompted for your email and password.

Login with flags#

rfctl login --email admin@recordform.com --password "your-password"

Login to a different server#

rfctl login --server https://api.example.com --email user@example.com

Output#

On success:

Logged in as: John Smith (john.smith@example.com)

See Also#

  • logout - Clear the stored session
  • me - Show the current authenticated user