Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

env-check

A minimal Python CLI that checks whether common DevOps tools are available on your system.

Built as my personal completion of the DEV Community GitHub Finish-Up-A-Thon challenge prompt.

Checks

  • Python
  • Git
  • Docker
  • Terraform
  • AWS CLI

Usage

Run:

python3 env_check.py

Example output:

Environment Check
--------------------------------
Python       ✓ installed
Git          ✓ installed
Docker       ✗ not found
Terraform    ✗ not found
AWS CLI      ✗ not found
--------------------------------
2/5 tools available

Before → After

The initial version was a small unfinished script that only checked Python and Git with basic output.

The finished version adds:

  • Five DevOps tool checks
  • Reusable command detection
  • Clear formatted output
  • Installation summary
  • Type annotations
  • Documentation

GitHub Copilot

GitHub Copilot was used to review the completed CLI and suggest a small readability improvement.

Copilot recommended adding type annotations to the main functions:

def is_installed(command: str) -> bool:

and:

def main() -> None:

This improved code clarity without changing the program's behavior or adding dependencies.

Challenge

Inspired by the DEV Community GitHub Finish-Up-A-Thon challenge prompt.

About

Minimal CLI for checking common DevOps tools installed on your system.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages