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-...
linear.apiKey: lin_api_...
notion.apiKey: secret_...

Get Value

ralph-starter config get linear.apiKey

Set Value

# Set API keys
ralph-starter config set apiKey sk-ant-xxxx
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 linear.apiKey

Configuration Keys

KeyDescription
apiKeyAnthropic API key for LLM features
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": {
"linear": {
"credentials": {
"apiKey": "lin_api_xxxx"
}
},
"notion": {
"credentials": {
"apiKey": "secret_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