babashka.cli

Community

Build powerful Clojure CLIs, effortlessly.

Authorhugoduncan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the creation of robust command-line interfaces for Clojure scripts, eliminating repetitive manual argument parsing, type conversion, and error handling.

Core Features & Use Cases

  • Automatic Argument Parsing: Convert command-line arguments into structured Clojure data maps with automatic type coercion.
  • Subcommand Dispatch: Easily define and route to different functions based on subcommands, creating organized and intuitive CLI tools.
  • Built-in Validation & Help: Enforce required options, validate values, and automatically generate user-friendly help text for your users.
  • Use Case: Transform a collection of utility functions into a single, professional CLI tool where users can run my-tool build --target :jar or my-tool deploy production --force, complete with type-checked options and clear help messages.

Quick Start

Use the babashka.cli skill to parse the command-line arguments "--port 8080 --verbose true", coercing 'port' to a long and 'verbose' to a boolean.

Dependency Matrix

Required Modules

org.babashka/cli

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: babashka.cli
Download link: https://github.com/hugoduncan/library-skills/archive/main.zip#babashka-cli

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.