@drmhse/authos-cli
v0.1.9
Published
CLI tool for scaffolding AuthOS integrations
Maintainers
Readme
@drmhse/authos-cli
CLI for scaffolding AuthOS integration components into React, Next.js, Vue, and Nuxt projects.
Full documentation: authos.dev/docs/packages/authos-cli/
AI agent skills: authos.dev/docs/ai-agent-skills/ and github.com/drmhse/authos_skill
Install
npm install -g @drmhse/authos-cliOr run without a global install:
npx @drmhse/authos-cli initCommands
Initialize a project
authos initThis command detects the framework, installs the relevant adapter package, and sets up the base AuthOS configuration.
Add a component template
authos add login-form
authos add org-switcher
authos add user-profileProvision ACT
authos provision act \
--base-url https://auth.example.com \
--act-url https://act.example.com \
--owner-email [email protected] \
--owner-password '...'This command idempotently bootstraps the ACT organization, service, redirect URIs, GitHub scopes, and service API key. It can also write the one-time API key and AuthOS client ID to local files.
Typical flow
authos init
authos add login-formSee the docs site for supported frameworks, template behavior, and troubleshooting.
