Deploy Tool v2.0.0 — a utility toolkit for logging, tracking, and managing deployment-related entries from the command line.
All commands accept optional input arguments. Without arguments, they display recent entries from the corresponding log. With arguments, they record a new timestamped entry.
CommandDescriptionrun <input>Record or view run entriescheck <input>Record or view check entriesconvert <input>Record or view convert entriesanalyze <input>Record or view analyze entriesgenerate <input>Record or view generate entriespreview <input>Record or view preview entriesbatch <input>Record or view batch entriescompare <input>Record or view compare entriesexport <input>Record or view export entriesconfig <input>Record or view config entriesstatus <input>Record or view status entriesreport <input>Record or view report entriesstatsShow summary statistics across all log filessearch <term>Search all log entries for a keyword (case-insensitive)recentDisplay the 20 most recent history log entrieshelpShow usage informationversionPrint version (v2.0.0)
All data is stored locally in ~/.local/share/deploy-tool/:
.log file with pipe-delimited timestamp|value format.export utility function supports JSON, CSV, and TXT output, written to ~/.local/share/deploy-tool/export.<fmt>.No external services, databases, or API keys are required. Everything is flat-file and human-readable.
date, wc, du, tail, grep, sed, basename, cat)bash
# Record a new run entry
deploy-tool run "deployed v1.2.3 to production"
# View recent run entries (no args = show history)
deploy-tool run
# Check something and log it
deploy-tool check "nginx config validated"
# Analyze and record
deploy-tool analyze "memory usage at 72%"
# Search across all logs
deploy-tool search "production"
# View summary statistics
deploy-tool stats
# Show recent activity across all commands
deploy-tool recent
# Show tool version
deploy-tool version
# Show full help
deploy-tool help
Each command follows the same pattern:
history.log.The stats command iterates all .log files, counts entries per file, and reports totals plus disk usage. The search command performs case-insensitive grep across all log files. The recent command tails the last 20 lines of history.log.
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com