src auth
Authenticate with SourceCraft
Usage
src auth [flags]
Available commands
| Command | Description |
|---|---|
| login | Log in to SourceCraft |
| logout | Log out from SourceCraft |
| setup | Sets up auth to SourceCraft |
| setup-git | Configure git credential helper for SourceCraft |
| status | Print Auth status SourceCraft |
Inherited flags
| Flag | Description |
|---|---|
--env string |
Override Sourcecraft environment (use 'src envs' to list available) |
--json string |
Output JSON, optionally filtered (--json or --json=field1,field2) |
--json-compact string |
Output compact JSON, optionally filtered |
--plain |
Output without colors/styling (for LLM consumption) |
-R, --repo string |
Select another repository using OWNER/REPO format |
-V, --verbose |
Enable debug logging output |
Learn more
Use src auth <subcommand> --help for more information about a command.