Skip to content

About

OOP command-line project tracker in Python with argparse, JSON persistence and pytest. Built as a Moringa School final project.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SecureOps CLI

A command-line project management tool built in Python for cybersecurity teams. An administrator manages analysts (users), assigns them security engagements such as penetration tests and audits (projects), and breaks those engagements into trackable tasks.

Features

  • Create and list analysts (users)
  • Add projects assigned to a specific analyst (one-to-many)
  • Add tasks to a project, mark them complete (one-to-many)
  • Add multiple contributors to a task (many-to-many)
  • All data persisted to a JSON file across sessions
  • Clean, colour-formatted command-line output using rich

Data Model

  • One user owns many projects (one-to-many)
  • One project contains many tasks (one-to-many)
  • One task can have many contributors, and one user can contribute to many tasks (many-to-many)

Project Structure

secureops-cli/
├── models/        # OOP domain models (Entity base, User, Project, Task)
├── utils/         # storage.py — JSON load/save with error handling
├── data/          # data.json (auto-created)
├── tests/         # pytest unit tests
├── cli.py         # argparse entry point
├── Pipfile        # dependencies
└── README.md

Installation

pip install pipenv
pipenv install
pipenv shell

Or with plain pip:

pip install rich pytest

Usage

python cli.py add-user --name "Alex"
python cli.py list-users
python cli.py add-project --user "Alex" --title "Pen Test"
python cli.py list-projects --user "Alex"
python cli.py add-task --project "Pen Test" --title "Run Nmap scan"
python cli.py complete-task --project "Pen Test" --title "Run Nmap scan"
python cli.py add-contributor --project "Pen Test" --task "Run Nmap scan" --user "Alex"
python cli.py list-tasks --project "Pen Test"

Every command supports --help:

python cli.py add-project --help

Running Tests

pytest

Author

Abbe Kibe

Built as a Moringa School summative lab. For educational purposes.

About

OOP command-line project tracker in Python with argparse, JSON persistence and pytest. Built as a Moringa School final project.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages