Skip to content

Latest commit

 

History

History
135 lines (103 loc) · 2.2 KB

File metadata and controls

135 lines (103 loc) · 2.2 KB

Origin Workflow CLI - Quick Start Guide

Installation (2 minutes)

cd cli
npm install
npm link

Verify installation:

origin-workflow --help

Your First Commands (3 minutes)

1. Check System Health

origin-workflow health

This will show you:

  • System component status
  • Data quality metrics
  • Configuration state
  • Recommended fixes

2. Capture Your First Item

origin-workflow capture

Follow the interactive prompts to:

  • Choose content type (URL, note, paper, etc.)
  • Enter details
  • Add tags and priority
  • Save to reading queue

3. Run Your Daily Workflow

origin-workflow daily

This automatically:

  1. Runs health check
  2. Normalizes reading queue
  3. Generates daily plan
  4. Shows you what to work on

Common Workflows

Morning Routine

# One command to start your day
origin-workflow daily

# View the generated plan
cat daily/daily.md

Quick Capture

# Direct capture (non-interactive)
origin-workflow capture \
  --title "Interesting article" \
  --url "https://example.com" \
  --tags "ai,research" \
  --priority high

System Maintenance

# Health check with auto-fix
origin-workflow health --fix

# Process all data
origin-workflow process --full

Configuration

# Interactive configuration wizard
origin-workflow config

# Reset to defaults
origin-workflow config --reset

Tips

  1. Use --dry-run to preview changes before executing
  2. Add --verbose to see detailed execution logs
  3. Use --yes to skip confirmations in automation scripts
  4. Check --help on any command for full options

Next Steps

Getting Help

# General help
origin-workflow --help

# Command-specific help
origin-workflow daily --help
origin-workflow capture --help
origin-workflow health --help
origin-workflow config --help
origin-workflow process --help

Troubleshooting

Command not found?

cd cli && npm link

Missing dependencies?

cd cli && npm install

Permission errors?

chmod +x bin/origin-workflow.js