How bokrsteski/greenman works
Greenman is a directory-organization tool. Its primary workflow is to invoke the CLI with a target directory and optional filters, then organize files into type-named directories or unwrap files from directories back into the target. The CLI also offers help and a known-types listing. The GUI is documented as in development; the sampled GUI currently only creates a window. The GUI and CLI cores are separate implementations; only the CLI core’s file operations and command wiring are shown in detail.
Main entry points: CLIgreenman.py CLI Commands · greenmancore.py Organize Files · GUIgreenman.py GUI Window
Components 11
CLI
- CLI Commands
greenman_for_CLI/CLIgreenman.py - Help
greenman_for_CLI/CLIgreenman.py - Known Types
greenman_for_CLI/CLIgreenman.py
Organization Runtime
- CLI Core
greenman_for_CLI/greenmancore.py - Organize Files
greenman_for_CLI/greenmancore.py - Unwrap Files
greenman_for_CLI/greenmancore.py - Type Mapping
greenman_for_CLI/greenmancore.py
GUI
- GUI Window
greenman_GUI/GUIgreenman.py - GUI Core
greenman_GUI/greenmancore.py
Other components
- User
- Target Directory
Connections 12
- User → CLI Commands: runs commands
README.md - CLI Commands → Organize Files: dispatches to
greenman_for_CLI/CLIgreenman.py - CLI Commands → Unwrap Files: dispatches to
greenman_for_CLI/CLIgreenman.py - CLI Commands → Help: dispatches to
greenman_for_CLI/CLIgreenman.py - CLI Commands → Known Types: dispatches to
greenman_for_CLI/CLIgreenman.py - CLI Commands → CLI Core: imports
greenman_for_CLI/CLIgreenman.py - Organize Files → Type Mapping: matches extensions
greenman_for_CLI/greenmancore.py - Unwrap Files → Type Mapping: checks known names
greenman_for_CLI/greenmancore.py - Known Types → Type Mapping: lists entries
greenman_for_CLI/CLIgreenman.py - Organize Files → Target Directory: moves files
greenman_for_CLI/greenmancore.py - Unwrap Files → Target Directory: extracts files
greenman_for_CLI/greenmancore.py - User → GUI Window: opens GUI