Skip to main content

CI Coverage shellcheck shfmt bats pre-commit

Coverage Report · Test Report

just-bashit

Evolving set of shfmt-conformant, bats-tested, shellcheck-linted tools, templates, and more.

Documentation

Install

uv tool install just-bashit   # or: pip install just-bashit

That puts three commands on PATH: jb (top-level CLI), jbx (ephemeral runner — fetch a script, call a function, discard), and jb-inspect.

Nothing needs installing to use a script. jbx fetches on demand:

jbx install-deps                              # install this repo's packages
jbx make-run mk-var -C ~/doppler DOCS_BUILD_CMD

Getting Started

A release package contains shell libraries along with script and function templates for developing your own tools.

just-bashit
    +--README.md
    +--src/just_bashit/
    |   +-- datetime.sh
    |   +-- environment.sh
    :   :
    |   +-- function-template.sh
    |   +-- script-template
    +--test-results/

Some libraries depend on others so it's best to use the whole package and source whatever you need, for example:

. just-bashit/src/just_bashit/datetime.sh # contains iso-8601-basic()
iso-8601-basic -d '10:32 AM EDT Jan 5 1982'
19820105T143200Z

Ask a repo what its commands are

make-run resolves a repository's targets and command variables from that repository's own Makefile, so nothing downstream has to carry a second copy of a command that will drift from it:

jbx make-run mk-var -C ~/doppler DOCS_BUILD_CMD
# uv run --group docs zensical build --clean --strict

jbx make-run mk-run -C ~/doppler docs   # run it, whatever it is

An undefined variable is an error, never an empty string — see the docs.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

just_bashit-0.4.1-py3-none-any.whl (58.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: just_bashit-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 58.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for just_bashit-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2eddd87c1e6e3d1fa43decdbc74d23d51dd27dd1cb31d138e394a0fddadd1a2e
MD5 be8a43ca54a958c6d89ac63405ff3cd7
BLAKE2b-256 3794b05d6a6b4bf451634ac0daa8b1b7b30b9b353f7f88b0e8ab553248d11bed

See more details on using hashes here.

Provenance

The following attestation bundles were made for just_bashit-0.4.1-py3-none-any.whl:

Publisher: release.yml on just-buildit/just-bashit

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