🖥️ Minaki CLI Usage Guide

The Minaki CLI gives developers terminal-level control over their private Debian package repositories. Upload, manage, and delete packages securely from the command line.

🔧 Installation

Install the CLI via pip:

pip install minaki-apt

🔐 Configuration

Configure your CLI with your API key and base URL (e.g. https://api.minaki.io):

minaki-cli config

You’ll be prompted to enter your API key. This will be saved securely in your CLI config for future use.

📦 Uploading Packages

Upload a .deb package from your local directory:

minaki-cli push my-package_1.0_amd64.deb

This will:

  • Extract package metadata
  • Upload the file to your Minaki APT server
  • Register it to the internal backend database

📋 Listing Your Packages

View a list of your uploaded packages:

minaki-cli list

🗑️ Deleting a Package

Remove a package from both the repository and the database (with audit trail):

minaki-cli delete my-package 1.0 amd64

Note: Deleted packages are archived in history and cannot be re-uploaded.

🔎 Debugging & Help

View available commands and help output:

minaki-cli --help

💡 Coming Soon

  • Bulk package upload support
  • Smart diff-based update detection
  • Interactive TUI for browsing and logs