Skip to main content

Reusable environment detection, activation, and wrapper tooling for developer CLIs.

Project description

dekk

Make project CLIs runnable with one config and zero manual activation.

Install

pipx install dekk

Fallback:

python -m pip install --upgrade dekk

Minimal Setup

dekk install ./tools/cli.py

If .dekk.toml is missing, dekk install, dekk wrap, and dekk agents init create a starter file from the repo context first.

Explicit template-driven setup is still available:

dekk init --example conda
eval "$(dekk activate --shell bash)"

Optional (no activation after this):

dekk wrap myapp ./tools/cli.py

Worktree-safe default:

dekk install ./tools/cli.py        # no shell rc PATH edits by default
dekk install ./tools/cli.py --update-shell

Project command routing (uses nearest .dekk.toml):

dekk myapp server --port 8080

This is worktree-friendly by default:

  • dekk walks up from your current directory to find the nearest .dekk.toml
  • the app name must match [project].name
  • the command runs with cwd set to that project root, not whatever nested directory you happened to be in
  • activation is scoped to that project config before the command runs

That means dekk myapp server works correctly from a repo root, a nested subpackage, or a separate Git worktree for the same project, without relying on global shell state.

Agents

Source of truth: .agents/

dekk agents init
dekk agents generate --target all
dekk agents clean --target codex
dekk agents install        # optional (installs Codex skills to ~/.codex/skills)

Generated files (examples): AGENTS.md, CLAUDE.md, .cursorrules, .github/copilot-instructions.md, .agents.json

Docs

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

dekk-1.3.1.tar.gz (237.8 kB view details)

Uploaded Source

Built Distribution

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

dekk-1.3.1-py3-none-any.whl (182.3 kB view details)

Uploaded Python 3

File details

Details for the file dekk-1.3.1.tar.gz.

File metadata

  • Download URL: dekk-1.3.1.tar.gz
  • Upload date:
  • Size: 237.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for dekk-1.3.1.tar.gz
Algorithm Hash digest
SHA256 c17cca1ec2448af851451a5bfdf2406921a9e2fcbe40a09fe7470f407a16a27c
MD5 68956453055f65844f4ba93eaaf8ab88
BLAKE2b-256 f6513d9f1f6ff9add92b986981d29bf27cb3aa813f7d7c834193513d381da0b7

See more details on using hashes here.

File details

Details for the file dekk-1.3.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for dekk-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd4afec784bc69449a535193ad292726863d48d4b0968e19381fa583dfb550ab
MD5 f394d5754562ff27efbd66e14790197a
BLAKE2b-256 ad1e7859ac38f5cd12d3d2b08aed723b1a72b7aaa1a4592f5a23ed21be631652

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