Skip to main content

ralph-starter config

Manage source configuration and credentials.

Synopsis

ralph-starter config <action> [args...]

Actions

ActionDescription
listShow all configuration
get <key>Get a specific value
set <key> <value>Set a value
delete <key>Remove a value

Examples

List Configuration

ralph-starter config list

Output:

Configuration:
apiKey: sk-ant-...
todoist.apiKey: abc123...
linear.apiKey: lin_api_...

Get Value

ralph-starter config get todoist.apiKey

Set Value

# Set API keys
ralph-starter config set apiKey sk-ant-xxxx
ralph-starter config set todoist.apiKey your-todoist-key
ralph-starter config set linear.apiKey lin_api_xxxx
ralph-starter config set notion.apiKey secret_xxxx
ralph-starter config set github.token ghp_xxxx

Delete Value

ralph-starter config delete todoist.apiKey

Configuration Keys

KeyDescription
apiKeyAnthropic API key for LLM features
todoist.apiKeyTodoist API key
linear.apiKeyLinear API key
notion.apiKeyNotion integration token
github.tokenGitHub personal access token

Storage Location

Configuration is stored in:

~/.ralph-starter/sources.json

Example file:

{
"sources": {
"todoist": {
"credentials": {
"apiKey": "your-todoist-key"
}
},
"linear": {
"credentials": {
"apiKey": "lin_api_xxxx"
}
}
}
}

Security Notes

  • Credentials are stored in plain text
  • File permissions are set to user-only (600)
  • Consider using environment variables for sensitive keys:
    • ANTHROPIC_API_KEY
    • GITHUB_TOKEN

Environment Variables

These environment variables override config file values:

VariableDescription
ANTHROPIC_API_KEYAnthropic API key
GITHUB_TOKENGitHub token

See Also