First Time Setup
Configure your server address and authentication token.
Initialize Configuration
Run the interactive setup wizard:
bash
drip config initYou will be prompted to enter:
- Server address - Your Drip server URL (e.g.,
tunnel.example.com:443) - Authentication token - The secret token configured on your server
Configuration File
Settings are saved to ~/.drip/config.yaml:
yaml
server: tunnel.example.com:443
token: your-secret-token-here
tls: trueManual Configuration
Set server address:
bash
drip config set --server tunnel.example.com:443Set authentication token:
bash
drip config set --token YOUR_SECRET_TOKENView Configuration
Show current settings (token is masked):
bash
drip config showShow full configuration including token:
bash
drip config show --fullValidate Configuration
Check if your configuration is valid:
bash
drip config validateThis validates:
- Server address format (host:port)
- Token presence
- TLS settings
Reset Configuration
Delete configuration file and start fresh:
bash
drip config resetSkip confirmation prompt:
bash
drip config reset --forceOverride Configuration
You can override configuration for a single command using flags:
bash
drip http 3000 --server other-server.com:443 --token OTHER_TOKENThese flags take precedence over the config file.