Skip to main content

A shell-native, plugin-based CLI for working smarter in your terminal.

Project description

Task Hopper

Task Hopper is a shell-native, plugin-based CLI for working smarter in your terminal. Out of the box it works as a configurable command shortcut tool — and is extended into something more powerful through plugins called carrots. It runs commands in your current shell session — so things like cd, environment variables, and shell state actually take effect.

Installation

curl -fsSL https://raw.githubusercontent.com/task-hopper/task-hopper/main/install.sh | bash

Then reload your shell:

source ~/.bashrc  # or ~/.zshrc

The installer creates an isolated venv at ~/.hop/venv, writes a shim to ~/.local/bin/hop, and automatically sources the shell integration into your ~/.bashrc or ~/.zshrc. Running the installer again is safe — it won't duplicate anything.

Security note: hop sources its shell integration directly into your session, and carrots can emit directives that are evaluated in your shell. Only install carrots from sources you trust.

Usage & Configuration

After installing, run hop -h to see available commands. On a bare install, hop comes with a handful of built-in commands — the rest comes from carrots and your own config.

Define command shortcuts in ~/.hoprc under commands::

# ~/.hoprc
commands:
  serve: uv run pserve app.ini --reload
  logs: tail -f /var/log/myapp.log

Then run them:

hop serve
hop logs

Values support Jinja2 templating, so you can reference other keys in your config:

my_port: 3000

commands:
  serve: uv run pserve app.ini --port {{ my_port }}

Carrots

Carrots are plugins that extend hop with new commands and functionality. A bare install of hop has no domain-specific commands — everything comes from carrots.

Carrots can be official (maintained by the task-hopper project), third-party (from GitHub or a URL), or local (a directory on your machine).

Install a carrot by adding it to your ~/.hoprc:

carrots:
  - path:/absolute/path/to/carrot   # local
  - github:user/repo                 # third-party
  - warren                           # official

Official carrots:

  • warren — manage development projects, navigate directories, and handle environment variables

Building a carrot

Run hop carrot scaffold to generate a new carrot interactively.

A carrot is a directory with two things:

  • carrot.toml — declares the carrot's metadata and maps command names to Python modules
  • One or more Python modules, each with a register(app) function that adds commands to the hop CLI

Install your carrot locally by adding it to ~/.hoprc:

carrots:
  - path:/absolute/path/to/your-carrot

Diagnosing your installation

If something isn't working, run hop doctor to check the health of your installation, config, and carrots.

License

MIT — see LICENSE

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

task_hopper-2.0.0.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

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

task_hopper-2.0.0-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file task_hopper-2.0.0.tar.gz.

File metadata

  • Download URL: task_hopper-2.0.0.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for task_hopper-2.0.0.tar.gz
Algorithm Hash digest
SHA256 bbddc06a30f5d1dda5ac6c7ae0980e0e78965e3489aefe397be65264ae29dcdf
MD5 0ba48559c92e35f4d3ea2988da63479b
BLAKE2b-256 019e19136853e868c74a351f9594449021b823e6cfe70e8b8b870f70f3b36817

See more details on using hashes here.

File details

Details for the file task_hopper-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: task_hopper-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for task_hopper-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7390d4274981b231edcd1826c6935d9277da0afe5839e1fcd6ec6480c0c6a6a
MD5 c343431cc26bc5bcc80753411e4b54ea
BLAKE2b-256 8db4023e0c8bfed53b2988dca4d824ab07ccec6373f78c21a9a3c6114bed68ba

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