ionem
Library for building Ion binary skills with standard self-management commands.
Binary skills built for the Ion ecosystem implement a standard self subcommand group:
<binary> self skill— print the embedded SKILL.md to stdout<binary> self info— show version, build target, and executable path<binary> self check— check if a newer version is available<binary> self update— download and install a newer version
ionem provides SelfManager which implements the core logic for info, check, and update.
Quick start
use SelfManager;
let manager = new;
// In your clap match:
// SelfCommands::Skill => print!(include_str!("../SKILL.md")),
// SelfCommands::Info => manager.print_info(),
// SelfCommands::Check => manager.print_check()?,
// SelfCommands::Update => manager.run_update(version.as_deref())?,
Name
Latin ionem (accusative of ion) — ionizing a markdown skill into a binary executable.