The CLI
init and login — a deliberately small surface, for parity with the workflow a Sanity developer already has.
The command-line interface is small on purpose. It is marked partial because it covers two commands rather than the whole workflow a Sanity developer might expect.
npx @neworange/cms-cli init
npx @neworange/cms-cli logininit
Scaffolds the client configuration for an existing deployment: it asks for the deployment URL, checks that the API answers, and writes the environment values a frontend needs.
login
Authenticates against a deployment and stores a session locally, so scripted work does not have to carry credentials in a shell history.
What it deliberately does not do
Create projects or datasets, deploy a Studio, or manage a hosted account — those are operations against a service this platform replaces. Provisioning is the Deploy Button's job, migrations are the build's, and content operations belong to the HTTP API.
