Sign In and Credentials
bash
micromeet crms login --region SG # SG, HK or ID
micromeet crms auth status --check # who am I, is the sign-in still valid
micromeet crms logout- Leave out
--emailand--passwordand the CLI asks for them; the password is not shown while you type. Avoid--passwordon the command line: it can stay in your shell history. - If your account has several institutions, the CLI lists them and asks for one. In scripts, pass
--iid <institution id>. - If it says the account still needs activation, run
micromeet crms auth set-password.
Where the sign-in is kept
The sign-in is saved encrypted in ~/.micromeet/credentials/crms.json. When you sign in to Cowork, Cowork writes this file too, so the CLI uses the same account.
In scripts
bash
MICROMEET_CRMS_EMAIL=user@example.com \
MICROMEET_CRMS_PASSWORD='…' \
micromeet crms login --region SG --iid 42 --jsonAdd --json to any command for machine-readable output.