CLI reference¶
Every alr command and subcommand, from the command's own argument parser. Every command also takes -h or --help, which prints its usage.
alr¶
Read OpenALR record files on this machine.
usage: alr [-h] [--version]
{summary,journal,turns,tail,report,dashboard,grade,tag,install,uninstall,hook,otel-sink,otel-env,otel,syslog,prices,projects,plan,accept,trust,ev,check} ...
Arguments:
--version(option): print OpenALR alr-emit and its version, then exit
Subcommands:
alr accept: accept a task of a project, or --withdraw an acceptancealr check: list lines and documents the viewer could not use, and whether Hermes can load the alr-emit pluginalr dashboard: write the static dashboard to a directoryalr ev: earned value per plan: BAC, EV, AC, PV, CPI, SPI (SPEC section 9.3; read-only)alr grade: grade a request 1 (worst) to 5 (best)alr hook: what an installed hook runs (hands the event on)alr install: wire the emitters into a harness (shows a preview first)alr journal: a balanced journal CSV for a period, from resolved recordsalr otel: start, stop or check alr otel-sink and Claude Code's telemetry settings for italr otel-env: write Claude Code's telemetry settings for alr otel-sink (its token included) to a private file to source; the token is never printedalr otel-sink: listen on loopback for Claude Code's OpenTelemetry events, so each turn carries the cost Claude Code itself reportsalr plan: write or show a plan (a project's budget, SPEC section 9); alone, on a terminal, it asks for one; plan files are JSON, CSV, TOML or .xlsxalr prices: the price book used for estimates, and your local ratesalr projects: the project list (alr-projects.csv) against the recordsalr report: write a single-file HTML reportalr summary: tokens and cost by day, model, harness, agent, tag or a reserved tag keyalr syslog: forward records already on disk to a syslog receiveralr tag: add (or --remove, --move) a tag on a request after the factalr tail: the newest records; -f follows the filealr trust: trust a repository's project settings (.alr/config.toml) by their SHA-256, or --revoke or --list the trusted onesalr turns: the records of one session, in orderalr uninstall: remove what install added (shows a preview first; records are kept)
alr accept¶
accept a task of a project, or --withdraw an acceptance
usage: alr accept [-h] [--project PROJECT] --task TASK [--withdraw]
[--grade 1-5] [--evidence EVIDENCE] [--reason REASON]
[--by BY] [--file FILE]
Arguments:
--project PROJECT(option): the project: the value of its project: tag (default: the project key)--task TASK(option, required): the task: the value of its task: tag--withdraw(option): withdraw the task's acceptance (needs --reason; no --grade)--grade 1-5(option): the accepting principal's grade of the task. Choices:1,2,3,4,5.--evidence EVIDENCE(option): where the accepted work can be found or checked--reason REASON(option): why the task is accepted or withdrawn--by BY(option): who accepts (default: $ALR_PRINCIPAL; required)--file FILE(option): the sink to append to (default: the emitters' record file)
alr check¶
list lines and documents the viewer could not use, and whether Hermes can load the alr-emit plugin
usage: alr check [-h] [--tz {local,utc}] [--home DIR] [--hermes-home DIR]
[--json]
[FILE ...]
Arguments:
[FILE ...](positional): record files or directories (default: the emitters' file)--tz {local,utc}(option): time zone for days and clocks (default: local). Choices:local,utc. Default:local.--home DIR(option): for Hermes: the home its settings are under (default: the OS user home, %USERPROFILE% on Windows)--hermes-home DIR(option): the Hermes directory to check (default: Hermes's own)--json(option): machine-readable output
alr dashboard¶
write the static dashboard to a directory
usage: alr dashboard [-h] [--tz {local,utc}] --out DIR [--price-book FILE]
[--include-synthetic] [--redact] [--redact-key-file FILE]
[--open]
[FILE ...]
Arguments:
[FILE ...](positional): record files or directories (default: the emitters' file)--tz {local,utc}(option): time zone for days and clocks (default: local). Choices:local,utc. Default:local.--out DIR(option, required): directory to write (new, empty, or holding only a previous dashboard)--price-book FILE(option)--include-synthetic(option)--redact(option): replace tag values, agent and session ids, task classes, credentials, file names and request ids with keyed hashes (a random key per build)--redact-key-file FILE(option): with --redact: derive the hashes from this file's content, so the same inputs redact the same way in every build. Use random bytes, at least 16, for example: head -c 32 /dev/urandom > FILE (a shorter file is refused; a short or chosen key can be guessed, and whoever holds the file can test guesses; keep it private)--open(option): open the built index.html in the default browser (no server)
alr ev¶
earned value per plan: BAC, EV, AC, PV, CPI, SPI (SPEC section 9.3; read-only)
usage: alr ev [-h] [--project PROJECT] [--as-of TIMESTAMP] [--json] [FILE ...]
Arguments:
[FILE ...](positional): record files or directories (default: the emitters' file)--project PROJECT(option): one project's plans only (default: the project key, else every project)--as-of TIMESTAMP(option): the instant to report (RFC 3339 with an offset; default: now), shown in UTC to the second; a plan's planned days are UTC days--json(option): machine-readable output
alr grade¶
grade a request 1 (worst) to 5 (best)
usage: alr grade [-h] [--comment COMMENT] [--grader GRADER] [--file FILE]
request GRADE
Arguments:
request(positional, required): request id, record id, a unique prefix, or 'last'GRADE(positional, required). Choices:1,2,3,4,5.--comment COMMENT(option)--grader GRADER(option): who grades (default: $ALR_GRADER, else your user name)--file FILE(option): record file (default: the emitters' file)
alr hook¶
what an installed hook runs (hands the event on)
usage: alr hook [-h] harness ...
Arguments:
harness(positional, required)...(positional)
alr install¶
wire the emitters into a harness (shows a preview first)
usage: alr install [-h] [--yes] [--home DIR] [--hermes-home DIR] [--wheel FILE]
harness
Arguments:
harness(positional, required): claude-code, grok (Grok Build), hermes, or claude-sdk (the Anthropic SDK)--yes(option): apply these changes--home DIR(option): the home to install into: where the harness reads its settings (default: the OS user home, %USERPROFILE% on Windows)--hermes-home DIR(option): hermes only: the Hermes directory to use (default: Hermes's own, ~/.hermes; on Windows %LOCALAPPDATA%\hermes)--wheel FILE(option): hermes only: the alr-emit wheel Hermes's package manager installs (default: the one a former install kept, else the one this alr was installed from; with none, Hermes's package manager installs alr-emit==\<this version> from PyPI)
alr journal¶
a balanced journal CSV for a period, from resolved records
usage: alr journal [-h] --period START..END --map FILE [--profile {generic,qbo}]
[--out FILE] [--split]
[--date-format {YYYY-MM-DD,MM/DD/YYYY,DD/MM/YYYY}]
[--delimiter {comma,semicolon}] [--tz {local,utc}]
[FILE ...]
Arguments:
[FILE ...](positional): record files or directories (default: the emitters' file)--period START..END(option, required): ISO dates, both days included--map FILE(option, required): GL-mapping file (TOML)--profile {generic,qbo}(option): journal layout (default: generic). Choices:generic,qbo. Default:generic.--out FILE(option): file to write (default: standard output)--split(option): qbo only: write numbered files of at most 998 rows, each whole entries, each balanced (needs --out)--date-format {YYYY-MM-DD,MM/DD/YYYY,DD/MM/YYYY}(option): how the entry date is written (default: YYYY-MM-DD). Choices:YYYY-MM-DD,MM/DD/YYYY,DD/MM/YYYY. Default:YYYY-MM-DD.--delimiter {comma,semicolon}(option): the cell separator (default: comma). Choices:comma,semicolon. Default:comma.--tz {local,utc}(option): time zone for cutting the period (default: utc). Choices:local,utc. Default:utc.
alr otel¶
start, stop or check alr otel-sink and Claude Code's telemetry settings for it
usage: alr otel [-h] {start,stop,status} ...
Subcommands:
alr otel start: run the sink in the background and set Claude Code's telemetry settings for it in your user settings filealr otel status: the sink, each setting and what overrides it; read-onlyalr otel stop: stop that sink and remove the settings alr set, where unchanged
alr otel start¶
run the sink in the background and set Claude Code's telemetry settings for it in your user settings file
usage: alr otel start [-h] [--home DIR] [--port PORT]
Arguments:
--home DIR(option): the home whose Claude Code settings to use, as alr install's (default: the OS user home)--port PORT(option): the sink's port (default: 4318). Default:4318.
alr otel status¶
the sink, each setting and what overrides it; read-only
usage: alr otel status [-h] [--home DIR]
Arguments:
--home DIR(option): the home whose Claude Code settings to use, as alr install's (default: the OS user home)
alr otel stop¶
stop that sink and remove the settings alr set, where unchanged
usage: alr otel stop [-h] [--home DIR]
Arguments:
--home DIR(option): the home whose Claude Code settings to use, as alr install's (default: the OS user home)
alr otel-env¶
write Claude Code's telemetry settings for alr otel-sink (its token included) to a private file to source; the token is never printed
usage: alr otel-env [-h] [--file FILE]
Arguments:
--file FILE(option): the file to write (default: otel.env beside the sink's token file)
alr otel-sink¶
listen on loopback for Claude Code's OpenTelemetry events, so each turn carries the cost Claude Code itself reports
usage: alr otel-sink [-h] [--host HOST] [--port PORT]
Arguments:
--host HOST(option): loopback address (default: localhost). Default:localhost.--port PORT(option): port (default: 4318). Default:4318.
alr plan¶
write or show a plan (a project's budget, SPEC section 9); alone, on a terminal, it asks for one; plan files are JSON, CSV, TOML or .xlsx
Write or show a plan: a project's budget, task by task (SPEC section 9). With no subcommand, on a terminal, alr plan asks for the plan one question at a time, saves it as a plan file (plan.json) and can issue it. A plan file for --from is JSON, CSV (one row per task and baseline role) or an .xlsx workbook (its Plan tab; alr plan workbook writes one) on every Python, or TOML on Python 3.11+; alr plan template --format json|toml|csv prints each.
usage: alr plan [-h] [--by NAME] [--file FILE]
{new,revise,show,workbook,lists,template} ...
Arguments:
--by NAME(option): alr plan alone: who issues it (default: $ALR_PRINCIPAL, else it asks)--file FILE(option): alr plan alone: the sink to issue it to (default: the emitters' record file)
Subcommands:
alr plan lists: the values a task's client, cost_center and work_type may takealr plan new: issue version 1 of a planalr plan revise: issue the next version of a planalr plan show: the latest version of a project's plansalr plan template: print an example plan file: JSON, TOML and CSValr plan workbook: write the planning workbook (.xlsx): a Plan tab and its Lists
alr plan lists¶
the values a task's client, cost_center and work_type may take
The values a plan task's client, cost_center and work_type may take (the client and cost-center list files' codes with their names, the config lists, the starter work types), numbered as alr plan offers them, and the project's default client and cost center from the project list. Read-only.
usage: alr plan lists [-h] [--project PROJECT] [--json] [--clients FILE]
[--cost-centers FILE]
Arguments:
--project PROJECT(option): the project whose defaults to name (default: the project key)--json(option): machine-readable output--clients FILE(option): the client list, alr-clients.csv (default: $ALR_CLIENTS, else the OpenALR home's)--cost-centers FILE(option): the cost-center list, alr-cost-centers.csv (default: $ALR_COST_CENTERS, else the OpenALR home's)
alr plan new¶
issue version 1 of a plan
usage: alr plan new [-h] [--project PROJECT] --basis {metered,api-equivalent}
[--from FILE] [--by BY] [--file FILE] [--clients FILE]
[--cost-centers FILE] [--reason REASON]
Arguments:
--project PROJECT(option): the project: the value of its project: tag (default: the project key)--basis {metered,api-equivalent}(option, required): the cost basis the budget is stated in. Choices:metered,api-equivalent.--from FILE(option): the plan file: .json, .csv or .xlsx, or .toml on Python 3.11+ (alr plan template prints each, alr plan workbook writes the .xlsx); a planned date is a UTC day--by BY(option): who issues it (default: $ALR_PRINCIPAL; required)--file FILE(option): the sink to append to (default: the emitters' record file)--clients FILE(option): the client list, alr-clients.csv (default: $ALR_CLIENTS, else the OpenALR home's)--cost-centers FILE(option): the cost-center list, alr-cost-centers.csv (default: $ALR_COST_CENTERS, else the OpenALR home's)--reason REASON(option): why this plan is issued
alr plan revise¶
issue the next version of a plan
usage: alr plan revise [-h] [--project PROJECT] --basis {metered,api-equivalent}
[--from FILE] [--by BY] [--file FILE] [--clients FILE]
[--cost-centers FILE] --reason REASON
Arguments:
--project PROJECT(option): the project: the value of its project: tag (default: the project key)--basis {metered,api-equivalent}(option, required): the cost basis the budget is stated in. Choices:metered,api-equivalent.--from FILE(option): the plan file: .json, .csv or .xlsx, or .toml on Python 3.11+ (alr plan template prints each, alr plan workbook writes the .xlsx); a planned date is a UTC day--by BY(option): who issues it (default: $ALR_PRINCIPAL; required)--file FILE(option): the sink to append to (default: the emitters' record file)--clients FILE(option): the client list, alr-clients.csv (default: $ALR_CLIENTS, else the OpenALR home's)--cost-centers FILE(option): the cost-center list, alr-cost-centers.csv (default: $ALR_COST_CENTERS, else the OpenALR home's)--reason REASON(option, required): why this version is issued
alr plan show¶
the latest version of a project's plans
The latest version of a project's plan in each basis, and every version number of that plan the files read hold (the files hold versions 1, 2); a version missing below the latest is listed apart.
usage: alr plan show [-h] [--tz {local,utc}] [--project PROJECT]
[--basis {metered,api-equivalent}] [--json]
[FILE ...]
Arguments:
[FILE ...](positional): record files or directories (default: the emitters' file)--tz {local,utc}(option): time zone for days and clocks (default: local). Choices:local,utc. Default:local.--project PROJECT(option): the project (default: the project key)--basis {metered,api-equivalent}(option): one basis only (default: each basis, never added). Choices:metered,api-equivalent.--json(option): machine-readable output
alr plan template¶
print an example plan file: JSON, TOML and CSV
usage: alr plan template [-h] [--format {csv,json,toml}]
Arguments:
--format {csv,json,toml}(option): print only this form, ready to save (default: all three, labelled). Choices:csv,json,toml.
alr plan workbook¶
write the planning workbook (.xlsx): a Plan tab and its Lists
Write the planning workbook: a Plan tab whose columns are a CSV plan's, with drop-downs for client, cost_center, work_type, baseline_method, change and dropped, and a Lists tab they read, filled from your client and cost-center list files and config lists. alr plan new|revise --from plan.xlsx reads its Plan tab. Standard library only; no macros.
usage: alr plan workbook [-h] [--out FILE] [--clients FILE]
[--cost-centers FILE]
Arguments:
--out FILE(option): the file to write (default: plan.xlsx; never overwritten)--clients FILE(option): the client list, alr-clients.csv (default: $ALR_CLIENTS, else the OpenALR home's)--cost-centers FILE(option): the cost-center list, alr-cost-centers.csv (default: $ALR_COST_CENTERS, else the OpenALR home's)
alr prices¶
the price book used for estimates, and your local rates
The price book used for estimates. 'update' fetches a newer book over https only, with its detached signature (URL.sig); 'import' stores one from a local file with its signature (FILE.sig). Both store a book only when its signature verifies with the key built into this release (or the one organization key your own user config trusts, price_book_keys), it is a valid book and it is newer than the one in use (an equal book is already current and is not stored). 'update --dry-run' runs the same fetch and checks and stores nothing. 'reset' removes the stored books (each book and its .sig, nothing else), so the bundled book is used again. Without a signature, use a book for one run with --price-book FILE on the command that estimates; it is never stored. 'show' names the book in use, its source and its signing key. 'local' keeps your own rates, never signed: a local rate prices only a metered figure you declare you pay (--paid), shown beside the estimate as local rate. An api-equivalent figure is valued at API list prices, so a local rate never changes it.
usage: alr prices [-h] {show,update,import,reset,local} ...
Subcommands:
alr prices import: store a signed price book from a local file (no network)alr prices local: your own rates (a negotiated rate, a discount, a model the book does not list), read over the signed bookalr prices reset: remove the stored price books, so the bundled one is used again (no network)alr prices show: which price book is in use, its source (bundled, stored or --price-book) and its signing key's id (the built-in key, or your organization key by its name)alr prices update: fetch a newer signed price book over https (uses the network)
alr prices import¶
store a signed price book from a local file (no network)
usage: alr prices import [-h] [--sig SIGFILE] FILE
Arguments:
FILE(positional, required): the price book--sig SIGFILE(option): its signature (default: FILE.sig)
alr prices local¶
your own rates (a negotiated rate, a discount, a model the book does not list), read over the signed book
Your local rates file (the user config's local_rates, default \<alr home>/local-rates.json), never signed. A local rate prices ONLY a metered figure (money charged), and only from an entry you declare you pay (--paid); it is shown beside the list-price estimate, labelled local rate. An api-equivalent figure is valued at API list prices, so a local rate never changes it. local_rates is an absolute path or ~/...; a relative one is refused.
usage: alr prices local [-h] {add,list,rm} ...
Subcommands:
alr prices local add: add a rate or a discount for a model or a provideralr prices local list: each local entry and the file it is inalr prices local rm: remove entry N, as list numbers it
alr prices local add¶
add a rate or a discount for a model or a provider
usage: alr prices local add [-h] [--provider VENDOR] [--vendor VENDOR]
[--input USD] [--output USD] [--cache-read USD]
[--cache-write USD] [--discount PERCENT] [--paid]
[--effective-from YYYY-MM-DD] [--dry-run]
[--confirm DIGEST] [--interview]
[MODEL]
Arguments:
[MODEL](positional): the model id a harness records--provider VENDOR(option): a discount for every model of this provider (instead of MODEL)--vendor VENDOR(option): the model's vendor (a rate entry)--input USD(option): input rate, USD per million tokens--output USD(option): output rate, USD per million tokens--cache-read USD(option): cache read rate, USD per million tokens--cache-write USD(option): cache write rate, USD per million tokens--discount PERCENT(option): percent off the signed book's entry (more than 0, at most 100)--paid(option): you declare this is the rate you pay; without it the entry prices nothing--effective-from YYYY-MM-DD(option): the UTC date the rate takes effect (default: always)--dry-run(option): check the entry as the save does and show it as it would be saved, with its entry digest; write nothing--confirm DIGEST(option): save only if this is the entry digest the --dry-run preview printed for this exact entry; else refuse and write nothing--interview(option): the form an agent interview (/alr-prices) runs: its save refuses without --confirm
alr prices local list¶
each local entry and the file it is in
usage: alr prices local list [-h]
alr prices local rm¶
remove entry N, as list numbers it
usage: alr prices local rm [-h] N
Arguments:
N(positional, required)
alr prices reset¶
remove the stored price books, so the bundled one is used again (no network)
usage: alr prices reset [-h]
alr prices show¶
which price book is in use, its source (bundled, stored or --price-book) and its signing key's id (the built-in key, or your organization key by its name)
usage: alr prices show [-h] [--price-book FILE]
Arguments:
--price-book FILE(option): show this book (unsigned, for this run) instead
alr prices update¶
fetch a newer signed price book over https (uses the network)
usage: alr prices update [-h] [--url URL] [--dry-run]
Arguments:
--url URL(option): https URL of the book; its signature is URL.sig (default: $ALR_EMIT_PRICES_URL, else the public price list)--dry-run(option): fetch and check the book as update does, show the version available against the one in use, and store nothing
alr projects¶
the project list (alr-projects.csv) against the records
usage: alr projects [-h] {check} ...
Subcommands:
alr projects check: project codes in the records but not in the list, list rows never seen, and the list's problems; exit 1 when codes are missing or the list has problems
alr projects check¶
project codes in the records but not in the list, list rows never seen, and the list's problems; exit 1 when codes are missing or the list has problems
usage: alr projects check [-h] [--tz {local,utc}] [--projects FILE]
[--include-synthetic] [--price-book FILE] [--json]
[FILE ...]
Arguments:
[FILE ...](positional): record files or directories (default: the emitters' file)--tz {local,utc}(option): time zone for days and clocks (default: local). Choices:local,utc. Default:local.--projects FILE(option): the project list (default: $ALR_PROJECTS, else alr-projects.csv in the state directory)--include-synthetic(option)--price-book FILE(option): price book (the summary it reads needs one)--json(option): machine-readable output
alr report¶
write a single-file HTML report
usage: alr report [-h] [--tz {local,utc}] --html OUT [--price-book FILE]
[--include-synthetic]
[FILE ...]
Arguments:
[FILE ...](positional): record files or directories (default: the emitters' file)--tz {local,utc}(option): time zone for days and clocks (default: local). Choices:local,utc. Default:local.--html OUT(option, required): file to write--price-book FILE(option)--include-synthetic(option)
alr summary¶
tokens and cost by day, model, harness, agent, tag or a reserved tag key
usage: alr summary [-h] [--tz {local,utc}] [--by KEY] [--price-book FILE]
[--include-synthetic] [--json] [--clients FILE]
[--cost-centers FILE]
[FILE ...]
Arguments:
[FILE ...](positional): record files or directories (default: the emitters' file)--tz {local,utc}(option): time zone for days and clocks (default: local). Choices:local,utc. Default:local.--by KEY(option): what to group by: day, model, harness, agent, tag, project, task, client, cost_center, work_type (default: day). Choices:day,model,harness,agent,tag,project,task,client,cost_center,work_type. Default:day.--price-book FILE(option): price book for estimates--include-synthetic(option)--json(option): machine-readable output--clients FILE(option): the client list, alr-clients.csv (default: $ALR_CLIENTS, else the OpenALR home's)--cost-centers FILE(option): the cost-center list, alr-cost-centers.csv (default: $ALR_COST_CENTERS, else the OpenALR home's)
alr syslog¶
forward records already on disk to a syslog receiver
usage: alr syslog [-h] {send} ...
Subcommands:
alr syslog send: send each record as one RFC 5424 message over TCP or TLS
alr syslog send¶
send each record as one RFC 5424 message over TCP or TLS
usage: alr syslog send [-h] --to URL [--ca-file FILE] [--facility N]
[--hostname NAME] [--dry-run]
[FILE ...]
Arguments:
[FILE ...](positional): record files or directories (default: the emitters' file)--to URL(option, required): tcp://HOST:PORT or tls://HOST:PORT (UDP is not offered)--ca-file FILE(option): tls only: trust this CA bundle instead of the system store--facility N(option): syslog facility 0 to 23 (default: 1, user). Default:1.--hostname NAME(option): HOSTNAME to send (default: none; the machine's name stays here)--dry-run(option): print the frames to stdout; no network, no cursor
alr tag¶
add (or --remove, --move) a tag on a request after the fact
usage: alr tag [-h] [--remove] [--move OLD NEW] [--session] [--turns N[-M]]
[--from-now] [--reason REASON] [--by BY] [--file FILE]
request [tag]
Arguments:
request(positional, required): request id, record id, a unique prefix, or 'last'; with --session, a session id or 'last'[tag](positional): one tag, matching ^[A-Za-z0-9:_.-]{1,128}$ (not with --move)--remove(option): remove the tag instead--move OLD NEW(option): move a tag on turns already done: for each target a remove of OLD and an add of NEW (one key; any other tag stays), written together and linked by one x_move id, and the same for the subagent records each target started (one without OLD is skipped); all or nothing: refused when a target does not carry OLD; a target already carrying NEW is left alone (no lines), and refused when every one does (with --from-now, when the tags in force change, it writes only the session event); needs --reason; moving back restores the turns exactly (not a started record that carried NEW but not OLD: it is moved back)--session(option): tag every request of a session--turns N[-M](option): with --session: only turns N to M, the numbers alr turns shows (each is that turn's record)--from-now(option): with --move and --session: also change the session's tags in force from its next turn (a session event); without it they stay--reason REASON(option): why (required with --move)--by BY(option): who tags (default: $ALR_TAGGER, else your user name)--file FILE(option): record file (default: the emitters' file)
alr tail¶
the newest records; -f follows the file
usage: alr tail [-h] [-n N] [-f] [--tz {local,utc}] [FILE]
Arguments:
[FILE](positional)-n N, --lines N(option). Default:10.-f, --follow(option)--tz {local,utc}(option). Choices:local,utc. Default:local.
alr trust¶
trust a repository's project settings (.alr/config.toml) by their SHA-256, or --revoke or --list the trusted ones
Trust a repository's project file (.alr/config.toml): its project facts apply only while its bytes keep the SHA-256 recorded here. PATH is the repository (default: the one you are in).
usage: alr trust [-h] [--revoke PATH] [--list] [--yes] [PATH]
Arguments:
[PATH](positional): the repository directory or its .alr/config.toml--revoke PATH(option): remove the trust record of PATH--list(option): list the trusted project files--yes(option): trust without asking
alr turns¶
the records of one session, in order
usage: alr turns [-h] [--tz {local,utc}] [--price-book FILE] [--json]
session [FILE ...]
Arguments:
session(positional, required): session id, request id, a unique prefix, or 'last'[FILE ...](positional): record files or directories (default: the emitters' file)--tz {local,utc}(option): time zone for days and clocks (default: local). Choices:local,utc.--price-book FILE(option)--json(option): machine-readable output
alr uninstall¶
remove what install added (shows a preview first; records are kept)
usage: alr uninstall [-h] [--yes] [--home DIR] [--hermes-home DIR] [--purge]
harness
Arguments:
harness(positional, required): claude-code, grok (Grok Build), hermes, or claude-sdk (the Anthropic SDK)--yes(option): apply these changes--home DIR(option): the home to install into: where the harness reads its settings (default: the OS user home, %USERPROFILE% on Windows); --purge also looks there for the record file (default: alr's own home, $HOME, else %USERPROFILE%)--hermes-home DIR(option): hermes only: the Hermes directory to use (default: Hermes's own, ~/.hermes; on Windows %LOCALAPPDATA%\hermes)--purge(option): also delete the harness's records from the record file (the file and its lock go only when nothing else is left)