Skip to main content

Your all-in-one CLI Toolkit

Project description

🛠️ JUST CLI

The simple stuff should be simple.

PyPI Python License: MIT

Tired of Googling "how to install X" for the 47th time, just to end up copy-pasting from official docs?

Tired of copy-pasting giant commands every time, just to change one little parameter?

Start using Just — an all-in-one CLI toolkit that makes everyday developer tasks actually simple.


Installation

uv tool install just-cli

Or with pip:

pip install just-cli

Features

📦 Archive & Extract

Create and extract archives with automatic format detection.

# Create archives — format is determined by output extension
just archive mydir -o backup.zip
just archive mydir -o backup.tar.gz
just archive mydir -o backup.7z
just archive myfile.txt -o myfile.txt.gz    # single-file compression

# Extract archives — magic bytes detection, works even with wrong extensions
just extract backup.zip
just extract data.tar.gz -o ./output_dir
Supported formats
Format Archive Extract
.zip
.tar
.tar.gz / .tgz
.tar.bz2 / .tbz2
.tar.xz / .txz
.tar.zst / .tzst
.gz
.bz2
.xz
.zst
.7z

📥 Download

Like wget or curl, but with auto-resume by default and a progress bar.

# Filename is automatically extracted from URL, resume is on by default
just download https://example.com/big-file.zip

# Custom headers and output name
just download https://api.example.com/data -H "Authorization: Bearer token" -o data.json

📝 Edit

A lightweight TUI text editor built right in.

just edit README.md

Editor Screenshot

📖 View

Smart file viewer with syntax highlighting, TOC, and structured rendering.

just view README.md          # Markdown
just view data.json          # JSON
just view config.xml         # XML

Viewer Screenshot

🌐 Tunnel

Expose your local server to the internet via Cloudflare Tunnel.

just tunnel http://localhost:8000

🐧 File Operations

Common file commands, cross-platform, no syntax surprises.

just cat file.txt
just ls
just cp src dst
just mv old new
just rm file
just mkdir dir

📒 Notes

Quick notes stored in ~/.just/notes.

just note

Note Screenshot

🧩 Extension System

Turn any long command into a reusable, type-safe CLI in 2 steps.

1. Register the base command:

just ext add docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' f523e75ca4ef

2. Define your CLI by marking dynamic parts:

Enter extension commands: just docker ip f523e75ca4ef[container_id:str#The Container ID]

Done. Now use it:

just docker ip <container_id>

Under the hood, just generates a native Python script using typer — with auto-completion, type validation, and help messages. All from simple string replacement.

💿 Installer Framework

Automate installation scripts with system probing and binary/archive helpers.

@just.installer(check="cloudflared --version")
def install_cloudflared():
    if just.system.pms.brew.is_available():
        just.execute_commands("brew install cloudflared")
    elif just.system.platform == 'linux':
        just.BinaryInstaller(
            url='https://github.com/cloudflare/cloudflared/releases/.../cloudflared-linux-amd64',
            alias='cloudflared'
        ).run()

Built-in system info:

  • just.system.platformlinux, windows, darwin
  • just.system.archx86_64, aarch64
  • just.system.pms → detects winget, brew, apt, etc.

Contributing

Found a bug? Want a new feature? Fork it, fix it, ship it. Keep it cool, keep it simple, don't break the "just works" vibe.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

just_cli-0.5.0.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

just_cli-0.5.0-py3-none-any.whl (111.1 kB view details)

Uploaded Python 3

File details

Details for the file just_cli-0.5.0.tar.gz.

File metadata

  • Download URL: just_cli-0.5.0.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for just_cli-0.5.0.tar.gz
Algorithm Hash digest
SHA256 5d28a22813b2f43587fea17ddce9ebe18efb552f267751cde69ff0041ca86e0a
MD5 a608602e9ee67762d5adef11131d986e
BLAKE2b-256 d4e4fa3de61171063ec6fa28dd92de14d3bdd71e5d98a2b7e8ebc2777a8adbea

See more details on using hashes here.

File details

Details for the file just_cli-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: just_cli-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 111.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for just_cli-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc5075cc7c96e2945b617aeed003d75ced581f4705367fe001f6fc33ee3cbff4
MD5 00acacddfc17e254a1468d0899421e7c
BLAKE2b-256 f928fac3015121d619c0bf9a7d2436bc2f39444494ad0364e6d636c5074a4141

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page