Skip to content

Drush commands

Discovery and analysis

Command Alias Description
rl:list rll Lists all experiments with summary stats
rl:status <id> rlst Detailed status: phase, confidence, traffic distribution
rl:performance <id> rlp Arm-level performance with human-readable labels
rl:trends <id> rlt Historical trends with period aggregation
rl:export <id> rle Exports complete experiment data
rl:analyze <id> rla Full analysis with actionable recommendations

Experiment lifecycle

Command Alias Description
rl:experiment:create <id> rl-ec Creates experiment (--module, --name, --dry-run)
rl:experiment:update <id> rl-eu Updates name/module (--module, --name, --dry-run)
rl:experiment:delete <id> rl-ed Deletes experiment + all data (--dry-run)

Configuration

Command Alias Description
rl:config:get [key] rl-cg Gets one or all settings
rl:config:set <key> <value> rl-cs Sets a setting with validation (--dry-run)
rl:config:list rl-cl Lists all settings with current values
rl:config:reset rl-cr Resets all settings to defaults (--dry-run)
rl:event-log:clear rl-elc Clears all snapshots (--dry-run)

Setup

Command Alias Description
rl:setup-ai rl-sa Installs AI skill files for Claude Code (--host, --check)

Examples

# Create a new A/B test
drush rl:experiment:create hero_cta_test \
  --module=my_module \
  --name="Hero CTA Button Color Test"

# Check status after data collection
drush rl:status hero_cta_test

# Get detailed performance breakdown
drush rl:performance hero_cta_test --format=yaml

# Full analysis with recommendations
drush rl:analyze hero_cta_test