omnigraph/crates/omnigraph-cli
Ragnor Comerford fada7cf404
refactor(cli,server): rename the --target flag to --graph (no alias)
The graph-selection flag is now `--graph` (the canonical noun, matching
`graphs:`/`cli.graph`) with NO `--target` compat alias — a clean break, to avoid
two-names-for-one-thing confusion. Applied across the 21 `omnigraph` subcommands
and the `omnigraph-server` binary (the field stays `target` internally;
`value_name = "GRAPH"` keeps help text clean). Updates the user-facing "no graph to
serve" and stored-query selection-hint error messages, plus the two cli.rs tests
that drove `--target`.

Breaking: `--target` is removed (now an unknown-flag error); use `--graph`. `uri`
is unchanged (positional or `--uri` per command — deliberately not folded into a
shared arg, since the two uri patterns can't share one flattened definition without
a breaking uri-form change). `--target-branch` (policy explain) is unrelated and
untouched. Code comments and docs still referencing `--target` are swept in L8 with
the docs.
2026-06-03 18:34:48 +02:00
..
src refactor(cli,server): rename the --target flag to --graph (no alias) 2026-06-03 18:34:48 +02:00
tests refactor(cli,server): rename the --target flag to --graph (no alias) 2026-06-03 18:34:48 +02:00
Cargo.toml refactor: drop omnigraph-cli dependency on omnigraph-server 2026-06-03 11:34:21 +02:00