Skip to content

MFernandez93/devcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DevCheck

A CLI tool that automatically detects technologies in your project and validates that your development environment has all required dependencies installed.

Features

  • Automatic Detection: Scans your project for config files (package.json, requirements.txt, Gemfile, Dockerfile, etc.)
  • Version Validation: Checks installed tool versions against project requirements
  • Smart Suggestions: Provides OS-specific installation commands for missing dependencies
  • Detailed Reporting: Color-coded output showing what's installed, what's missing, and what needs updating

Supported Technologies

  • Node.js: Detects via package.json, package-lock.json
  • Python: Detects via requirements.txt, Pipfile, poetry.lock
  • Ruby: Detects via Gemfile, Gemfile.lock, .ruby-version
  • Docker: Detects via Dockerfile (checks if engine is running)
  • Docker Compose: Detects via docker-compose.yml

Quick Install

curl -sSL https://raw.githubusercontent.com/YOUR_USERNAME/devcheck/main/install.sh | bash

Or manually:

# Download the script
curl -o devcheck https://raw.githubusercontent.com/YOUR_USERNAME/devcheck/main/devcheck
chmod +x devcheck

# Move to PATH
mkdir -p ~/.local/bin
mv devcheck ~/.local/bin/

# Add to PATH if needed
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

Usage

Navigate to any project directory and run:

devcheck

Options

  • --verbose, -v: Show detailed output
  • --help, -h: Show help message
  • --version: Show version number

Example Output

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Detected Technologies
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  • nodejs (requires: >=18.0.0)
  • docker

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Dependency Status
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  ✗ node: not installed
  ✗ npm: not installed
  ✓ docker: 24.0.6

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Installation Suggestions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  brew install node

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  ✗ Some checks failed (1 passed, 2 failed out of 3)

Version Requirements

DevCheck parses version requirements from:

  • Node.js: engines.node field in package.json
  • Python: Comments in requirements.txt, python_version in Pipfile, or .python-version file
  • Ruby: ruby declaration in Gemfile or .ruby-version file

Supported version operators: >=, <=, >, <, ^ (caret), ~ (tilde), exact match

Contributing

Want to contribute? Check out the source repository to build and modify DevCheck.

License

MIT

About

A CLI tool that automatically detects technologies in projects and validates development environments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages