DevSum Examples

See DevSum CLI in action with real-world examples and use cases

Command Examples

Basic Usage

bash
# Generate a commit message for staged changes
devsum commit

# Auto workflow: create branch, commit, and push
devsum commit --auto

# Generate report for last 30 days
devsum report --days 30

Advanced Options

bash
# Custom output format
devsum report --format json --output report.json

# Specific date range
devsum report --from 2024-01-01 --to 2024-03-31

# Include specific file types only
devsum commit --include "*.ts,*.tsx"

Try It Yourself - Interactive Terminal

Experience DevSum CLI in action! Type commands below to see realistic outputs. All responses are pre-generated examples to demonstrate the tool's capabilities.

๐Ÿ’ก Use โ†‘/โ†“ arrows for command historyโŒจ๏ธ Press Tab for autocomplete๐Ÿงน Ctrl+L to clear terminal๐Ÿ“ฑ Mobile-friendly controls
DevSum CLI TerminalInteractive Demo
๐Ÿš€ Welcome to DevSum CLI Interactive Demo
Try out DevSum commands in this simulated terminal. All outputs are realistic examples.
Quick commands to try:
$ devsum --help
$ devsum report --since 7d
$ devsum report --format json
$ devsum commit --dry-run
$ devsum --version
๐Ÿ’ก Use โ†‘/โ†“ arrows for command history, Tab for autocomplete, Ctrl+L to clear
$

Quick Start Commands

Basic Commands

$ devsum --help
$ devsum --version
$ devsum report --help

Report Examples

$ devsum report --since 7d
$ devsum report --format json
$ devsum analyze --since 7d --light

Output Examples

Example outputs

See what DevSum can generate for you

markdown
# Sprint Summary - Q1 2024

## Key Accomplishments

### Feature Development
- Implemented user authentication system with OAuth2 support
- Built real-time notification system using WebSockets
- Created responsive dashboard with data visualization

### Performance Improvements
- Optimized database queries, reducing load time by 40%
- Implemented Redis caching for frequently accessed data
- Reduced bundle size by 25% through code splitting

### Bug Fixes & Maintenance
- Fixed 12 critical bugs reported by users
- Improved error handling and logging
- Updated dependencies and resolved security vulnerabilities

## Metrics
- **Commits**: 47
- **Files Changed**: 156
- **Lines Added**: 3,421
- **Lines Removed**: 1,203

Real-world Scenarios

Sprint Planning

Generate comprehensive sprint summaries for team retrospectives and planning sessions.

Team Management

Client Reports

Create professional progress reports for clients and stakeholders.

Client Communication

Performance Reviews

Document your contributions and achievements for annual reviews.

Career Development

Integration Examples

GitHub Actions

Automate report generation in your CI/CD pipeline

yaml
name: Generate DevSum Report
on:
  schedule:
    - cron: '0 0 * * 1' # Weekly on Monday

jobs:
  generate-report:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Setup Node.js
        uses: actions/setup-node@v3
        with:
          node-version: '18'
      - name: Install DevSum
        run: npm install -g @rollenasistores/devsum
      - name: Generate Report
        run: devsum report --format markdown --output weekly-report.md
        env:
          GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
      - name: Upload Report
        uses: actions/upload-artifact@v3
        with:
          name: weekly-report
          path: weekly-report.md

Slack Integration

Send weekly reports to your team channel

bash
#!/bin/bash
# Generate weekly report
devsum report --days 7 --format markdown > weekly-report.md

# Send to Slack
curl -X POST -H 'Content-type: application/json' \
  --data "{\"text\":\"Weekly DevSum Report\",\"attachments\":[{\"text\":\"$(cat weekly-report.md)\"}]}" \
  $SLACK_WEBHOOK_URL

Ready to Get Started?

Install DevSum CLI and start generating professional commit reports today.

bash
npm install -g @rollenasistores/devsum
View Documentation