Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Basic Example: Scan Tools, Explore via Browser

Scans ls (instant result), jq (22 flags), and curl (12 flags), then starts an HTTP server with Explorer UI for browser-based testing.

Prerequisites

  • apexe installed (cargo install --path ../..)
  • ls, jq, and curl on your $PATH

Run

./run.sh

What it does

  1. Scans ls, jq, and curl (extracts flags and generates JSON Schema)
  2. Writes binding files to ./output/modules/
  3. Prints Claude Desktop and Cursor integration configs
  4. Starts HTTP server with Explorer UI at http://127.0.0.1:8000/explorer

Using the Explorer UI

  1. Open http://127.0.0.1:8000/explorer in your browser

  2. Click cli.ls → type {} → click Call:

{}

You'll see your current directory listing immediately. This is the quickest way to verify apexe works.

  1. Click cli.curl → it has form fields for data, verbose, silent, etc. Try:
{"verbose": true}
  1. The response includes stdout, stderr, exit_code, trace_id, and duration_ms

Claude Desktop integration

After testing with Explorer, switch to stdio for Claude Desktop:

apexe serve --show-config claude-desktop

Copy the JSON into ~/Library/Application Support/Claude/claude_desktop_config.json, restart Claude Desktop.