CLI Installation
The Faces CLI lets you generate projects from your terminal.Install
faces command. Or install globally:
Authenticate
Run the login command to create and store an API key:- Open your browser to sign in to Faces
- Create an API key named “CLI”
- Save it to
~/.config/faces/credentials.json(mode0600)
You can also pass an API key directly with
--api-key or set the FACES_API_KEY environment variable.Verify
Configuration
The CLI reads configuration in this order:--api-keyand--api-urlflags (highest priority)~/.config/faces/credentials.json(created bylogin)FACES_API_KEYandFACES_API_URLenvironment variables
