Skip to main content

Simple script manager for creating, running, and syncing bash scripts

Project description

Taku

Simple script manager for creating, running, and syncing scripts.

Installation

uv tool install taku-cli

Quick Start

# Create a new script
taku new hello

# Edit a script
taku edit hello

# Run a script
taku run hello

Commands

  • taku new <name> [--template/-t <name>] - Create a new script from template
  • taku list - List all scripts
  • taku get <name> - Show script details
  • taku edit <name> - Edit a script
  • taku run <name> [args...] - Run a script with optional arguments
  • taku rm <name> - Remove a script
  • taku install <name|all> - Install script to ~/.local/bin
  • taku uninstall <name|all> - Remove script from ~/.local/bin
  • taku sync --push - Commit and push changes to git
  • taku sync --pull - Pull changes from git
  • taku systemd --install - Install systemd timer for auto-sync
  • taku systemd --remove - Remove systemd timer

Configuration

Set the scripts directory:

export TAKU_SCRIPTS=~/my-scripts

Default: ~/scripts

Templates

Create templates in <scripts-dir>/.templates/ and use with:

taku new myapp --template python

Template resolution order:

  1. <scripts-dir>/.templates/<template-name>
  2. ./<template-name> (current directory)

Templates can use ${script_name} variable for substitution.

Example Python template (~/.scripts/.templates/python):

#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.12"
# dependencies = []
# ///


def main() -> None:
    print("Hello from $script_name!")


if __name__ == "__main__":
    main()

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

taku_cli-0.1.1.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

taku_cli-0.1.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file taku_cli-0.1.1.tar.gz.

File metadata

  • Download URL: taku_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for taku_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ed2f669eefd46e0269c69b3b699522d6ef96ac887bde551d0cd890d239bb30b4
MD5 09f0981ab50e1150673db15c7b1e28d6
BLAKE2b-256 11ee6270c8a2369e21706787394d21112dd32b21d42a715aee21117826e680be

See more details on using hashes here.

Provenance

The following attestation bundles were made for taku_cli-0.1.1.tar.gz:

Publisher: publish.yml on Tobi-De/taku

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file taku_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: taku_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for taku_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99ccd0968fc504f725ea8c0b80847afa1aa5a70d4a66f84598ebae9ead5ba55e
MD5 c5d507a32ab2d808de6af9529f42a1da
BLAKE2b-256 338e53608315281b3fe0a24f0e78a11b0f5f6da70eafe0ca9d55fe4a49e4f56a

See more details on using hashes here.

Provenance

The following attestation bundles were made for taku_cli-0.1.1-py3-none-any.whl:

Publisher: publish.yml on Tobi-De/taku

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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