Skip to content

deps-checker

Dependency checker for Kodachi OS Rust binaries - Validates system dependencies and generates installation scripts

Version: 9.0.1 | Size: 2.8MB | Author: Warith Al Maawali

License: Proprietary | Website: https://www.digi77.com


File Information

Property Value
Binary Name deps-checker
Version 9.0.1
Build Date REDACTED-BUILD-TIME
Rust Version rustc 1.96.0 (ac68faa20 2026-05-25)
File Size 2.8MB
Author Warith Al Maawali
License Proprietary
Category Kodachi Binary
Description Dependency checker for Kodachi OS Rust binaries - Validates system dependencies and generates installation scripts
Git Commit unknown
Metadata Generated 2026-06-23T12:05:01Z
Binary Timestamp Unknown
JSON Data View Raw JSON

SHA256 Checksum

30b8a0e7c85e85601509ab990736c2d2e5e9d77d14636ff437e0f4b7b6ced04e

Features

# Feature
1 Multi-profile dependency checking (minimal/full)
2 Automatic missing package installation
3 Installation script generation for multiple shells
4 Software Bill of Materials (SBOM) generation
5 External dependency database support
6 Comprehensive JSON output for automation
7 Strict mode for CI/CD pipelines
8 Dry-run mode for safe previewing

Security Features

Feature Description
Authentication Secure package repository authentication
Encryption TLS for all package downloads
Input Validation All user inputs are validated and sanitized
Rate Limiting Built-in rate limiting for package operations

System Requirements

Requirement Value
OS Linux (Debian-based, Kodachi OS)
Privileges root/sudo required for package installation
Dependencies apt-get, dpkg, curl

Global Options

Flag Description
--json Output in JSON format
--json-pretty Output in pretty-printed JSON format
--json-human Output in human-friendly JSON format with colors
--json-save Save JSON output to auto-generated file in results/
--json-export <FILE> Export JSON output to specified file within execution folder
-p, --profile <NAME> Dependency profile (minimal/full, default: full)
--verbose Enable verbose output
--quiet Suppress non-essential output
--strict Treat warnings as errors
--dry-run Show what would happen without executing

Commands

Dependency Checking

check

Check dependencies for a specific binary

Usage:

deps-checker check [OPTIONS] <BINARY>

Options: - -p, --profile <NAME>: Dependency profile to use (default: full) - --db <PATH>: Path to external dependency database

Examples:

deps-checker check dns-switch
deps-checker check dns-switch --profile minimal
deps-checker check dns-switch --json
deps-checker check dns-switch --profile full --json

check-all

Check dependencies for all known binaries

Usage:

deps-checker check-all [OPTIONS]

Options: - -p, --profile <NAME>: Dependency profile to use (default: full) - --strict: Treat warnings as errors - --sbom: Generate Software Bill of Materials (SBOM)

Examples:

deps-checker check-all
deps-checker check-all --json
deps-checker check-all --sbom --json

Package Management

install-missing

Install missing dependency packages

Usage:

sudo deps-checker install-missing [BINARY]

Options: - --dry-run: Show what would be installed without executing

Examples:

sudo deps-checker install-missing
sudo deps-checker install-missing dns-switch
sudo deps-checker install-missing --dry-run

generate-script

Generate installation script from check results (reads stdin)

Usage:

deps-checker check-all --json | deps-checker generate-script

Options: - --shell <TYPE>: Shell syntax to use (bash, zsh, fish)

Examples:

deps-checker check-all --json | deps-checker generate-script
deps-checker check-all --json | deps-checker generate-script --shell zsh

Information

list-binaries

List all known Kodachi binaries

Usage:

deps-checker list-binaries

Examples:

deps-checker list-binaries
deps-checker list-binaries --json

list-profiles

List available dependency profiles for a binary

Usage:

deps-checker list-profiles <BINARY>

Examples:

deps-checker list-profiles dns-switch

Operational Scenarios

Scenario-oriented workflows generated from the binary's built-in -e --json examples.

Scenario 1: BASIC COMMANDS

Common dependency checking operations

Step 1: Dependency status report for dns-switch

sudo deps-checker check dns-switch
Expected Output: Shows all required packages and their status

Note

Shows all required packages and their status

Step 2: JSON formatted dependency report

sudo deps-checker check dns-switch --json
Expected Output: Includes exit codes and machine-readable format

Note

Includes exit codes and machine-readable format

Step 3: Summary of all binaries and their dependency status

sudo deps-checker check-all
Expected Output: Shows counts and overall system status

Note

Shows counts and overall system status

Step 4: JSON report saved to file

sudo deps-checker check-all --json -o report.json
Expected Output: Useful for automated processing and CI/CD

Note

Useful for automated processing and CI/CD

Step 5: Package installation status

sudo deps-checker install-missing dns-leak
Expected Output: Only installs packages needed by dns-leak

Note

Only installs packages needed by dns-leak

Scenario 2: JSON OUTPUT

Machine-readable JSON output options

Step 1: Compact JSON output

deps-checker check dns-switch --json
Expected Output: Single-line JSON

Step 2: Pretty-printed JSON output

deps-checker check dns-switch --json-pretty
Expected Output: Indented JSON for readability

Step 3: Human-friendly colored JSON output

deps-checker check dns-switch --json-human
Expected Output: Colored JSON output for terminals

Step 4: Save JSON output to auto-generated file

deps-checker check-all --json --json-save
Expected Output: File saved to results/ directory

Scenario 3: SCRIPT GENERATION

Generate installation scripts from check results

Step 1: Generate bash installation script

deps-checker check-all --json | deps-checker generate-script
Expected Output: Executable bash script

Step 2: Generate zsh installation script

deps-checker check-all --json | deps-checker generate-script --shell zsh
Expected Output: Executable zsh script

Step 3: Preview script without executing

deps-checker generate-script --dry-run
Expected Output: Script preview without changes

Scenario 4: INFORMATION

List known binaries and available dependency profiles

Step 1: List all known Kodachi binaries

deps-checker list-binaries
Expected Output: Names of every binary deps-checker can check

Step 2: List all known Kodachi binaries as JSON

deps-checker list-binaries --json
Expected Output: Machine-readable array of binary names

Step 3: List available dependency profiles for a binary

deps-checker list-profiles dns-switch
Expected Output: Shows profiles such as minimal and full

Note

Requires a binary name argument

Step 4: List dependency profiles for a binary as JSON

deps-checker list-profiles dns-switch --json
Expected Output: Machine-readable profiles for the given binary

Environment Variables

Variable Description Default Values
DEPS_DEBUG Enable debug output for dependency checking unset any non-empty string

Exit Codes

Code Description
0 All dependencies satisfied
1 Missing dependencies or error