Skip to main content

A small collection of CLI utilities.

Project description

tacklebox-cli

Actions Status PyPI - Version PyPI - Python Version PyPI - License
tacklebox-cli offers a suite of useful CLI tools.

Usage

tacklebox copy / paste

Cross-platform clipboard management tool. Uses system tools such as wl-copy on Linux Wayland or clip.exe on Windows, and OSC 52 escape codes when copying over SSH or when no other tools are available. See copy_with_tooling() for all supported tools.

$ echo "a" | tacklebox copy --trim && tacklebox paste
a

tacklebox prepend-to-file

Prepend the contents of one file to another, with support for adding a newline automatically and checking if the operation has already been performed on the destination file.

$ echo "template-example" > template
$ echo "hello world" > hello-world.txt
$ tacklebox prepend-to-file template hello-world.txt -n
$ cat hello-world.txt
template-example
hello world

tacklebox find-desktop-entry (Linux only)

Checks all of the paths under $XDG_DATA_DIRS for an application desktop file with the given name. Prints the full path of the desktop file to stdout if found.

$ tacklebox find-desktop-entry kitty
kitty.desktop found in /etc/profiles/per-user/cswimr/share/applications
/etc/profiles/per-user/cswimr/share/applications/kitty.desktop

$ tacklebox find-desktop-entry --read kitty
kitty.desktop found in /etc/profiles/per-user/cswimr/share/applications
# /etc/profiles/per-user/cswimr/share/applications/kitty.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=kitty
GenericName=Terminal emulator
Comment=Fast, feature-rich, GPU based terminal
TryExec=kitty
StartupNotify=true
Exec=kitty
Icon=kitty
Categories=System;TerminalEmulator;
X-TerminalArgExec=--
X-TerminalArgTitle=--title
X-TerminalArgAppId=--class
X-TerminalArgDir=--working-directory
X-TerminalArgHold=--hold

License - The MIT License

Copyright © 2025 cswimr

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

tacklebox_cli-0.4.1.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

tacklebox_cli-0.4.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file tacklebox_cli-0.4.1.tar.gz.

File metadata

  • Download URL: tacklebox_cli-0.4.1.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tacklebox_cli-0.4.1.tar.gz
Algorithm Hash digest
SHA256 f3bd04aaa7905ac5584f838e3ee1feb439b04eea8f46bbec716cce4ef4d367dc
MD5 5577db6964592715fe0f445c4ead96da
BLAKE2b-256 b8267f71b52aa1c21a1d3b026db22cf58c778be90e25c0357dc85876cdea53bd

See more details on using hashes here.

File details

Details for the file tacklebox_cli-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: tacklebox_cli-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tacklebox_cli-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 37857307dfff47e536cb672f4e560ef1e25c19c8c281ff7018e8e99f9788bb50
MD5 b943ee313862e45f47314906d117aa51
BLAKE2b-256 507c7d077cc9bd1e58f7e626b1eae2bf65b1190d12c6a62f826988e3969de572

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