import CLI surface

What the mi binary (the CLI entry point of the import crate) exposes today.

Subcommands

mi <SUBCOMMAND>
Subcommand Purpose Source
mi import <DIR> Convert source directory → ~/llm/<name>.model main.rs::run_import
mi list List HF cache entries under ~/.cache/huggingface/hub main.rs::run_list
mi download <REPO> Download a model from HuggingFace into the HF cache main.rs::run_download

mi import <DIR> contract

Input: a directory containing

  • exactly one *.gguf file
  • a tokenizer.json
  • a config.json

Output: ~/llm/<NAME>.model, where NAME is derived by stripping -import suffix from the source directory name.

Side effects:

  • Reads ~/llm/ to find target path; creates if missing.
  • Writes a single .model file. No staging, no atomic rename.
  • Embeds the binary IR graph as a ~~~graph section when the config parses as a LlamaStyle family — see graph.md.

The .model invariants are enforced by import.md.

mi download <REPO> contract

Fetch a model from HuggingFace into the local hf-hub cache. The contract — artifact priority, sibling metadata, failure modes — lives in hf.md. Output: paths under ~/.cache/huggingface/hub/, suitable as input for mi import <DIR>.

Out-of-scope today

  • Single-command HF → .model. mi download puts files in the HF cache; mi import then converts them. Composing both into one is a planned mi fetch subcommand, not yet shipped.
  • Multi-shard GGUF input (*.gguf.00001-of-N). import.md declares the contract but the CLI only reads a single GGUF.
  • Non-GGUF source formats at import time. The loader module supports ONNX and safetensors, but run_import only locates *.gguf files in the source directory.

These gaps are tracked; the CLI surface above is what works today.

Homonyms

cli
feature of go-cyber cyber query bandwidth load: query the bandwidth load neuron: query the neuron bandwidth params: query the bostrom/bandwidth module parameters information price: query the bandwidth price total: query the total bandwidth
cyber/cli
soft3/cli
soft3 CLI `soft3` — command-line interface to the soft3 stack. commands launch full operator guide: soft3/docs/launch|launch spacepussy-test. summary: product network is **spacepussy-test**, not cosmos space-pussy on cybernode today: local cybergraph + foculus components; `cyber sync` probes :7780…
specs/cli
cyber CLI Product owner: cyber. Implementation: `cyber/src/main.rs`. This document specifies the public executable boundary; specs/worker owns computation jobs and specs/cyb-node owns the existing cyb HTTP connection. The implemented baseline describes the current unpublished 0.8.0 source,…
neural/inf/rs/cli
cli
warriors/joy/specs/cli
joy CLI Owner: joy. The baseline describes source version 0.4.0 at `6b8dfd3`. The working-tree integration below records concurrent target-package work separately from that committed baseline. Target sections define requirements for a subsequent interface revision and remain unimplemented until…
soft3/cybergraph/specs/cli
cybergraph cli a command-line console for the cyberlink processor: declare intents, seal and link signals, query the graph with inf, and inspect the per-neuron chains. `cybergraph`'s verb is **link** — the CLI is the processor's console, one layer above the bbg state store (`bbg` CLI). scope — the…
neural/trident/reference/cli
⌨️ CLI Reference [← Language Reference](/neural/trident/reference/language) Three-Register Flags Trident uses a **three-register** naming model for targets. Each register has two synonyms — one *geeky* (technical) and one *gamy* (metaphorical) — plus a *universal* shorthand for backward…
soft3/zheng/specs/cli
cli the `zheng` command-line face of the proof system. drives the library's five entry points from a shell and emits results as a tape chunk stream. invocation output convention — one channel (stdout), two renderings of the same data: **interactive** (stdout is a terminal) — styled ANSI: a gradient…
soft3/lens/specs/cli
lens cli command-line tool for the commitment layer. commit to a file as a polynomial, open evaluations, verify openings without the file. wraps the five constructions of commitment behind one binary. the tool lives in the `cli/` crate (package `lens-cli`, binary `lens`), a workspace member…
soft3/neuron/specs/cli
Neuron CLI Automatic local emit uses the guarded embedded worker path: explicit supported descriptor, fresh placement generation, affine attempt token and one-use durable dispatch claim. Its device/boot label identifies this disposable local process; it makes no physical-device or…
soft3/bbg/specs/cli
bbg cli a command-line tool for the authenticated state layer: inspect the committed state, apply signals, finalize blocks, and prove/verify records. `bbg`'s verb is **store** — the CLI is the store's console, the way `redb`/`sqlite` ship a shell for their engine. scope — what it is, and is not bbg…
cyb/wysm/crates/cli
The Wasmi CLI Application A lightweight **WebAssembly interpreter CLI** built on top of the [Wasmi crate]. This application provides a command-line interface for executing WebAssembly modules (`.wasm`) and WebAssembly script files (`.wast`). It supports WASI, configurable compilation strategies and…

Graph