Skip to content

armgit / Ix

Public Imported from GitHub
0

Understand any codebase instantly. System intelligence for codebases, built for humans and AI.

docs(cli): one wording for --path, not three (#638)

KageBinary77285f5b112a
diff --git a/ix-cli/src/cli/commands/callers.ts b/ix-cli/src/cli/commands/callers.ts
index 4922a60a..8dcbf9ed 100644
--- a/ix-cli/src/cli/commands/callers.ts
+++ b/ix-cli/src/cli/commands/callers.ts
@@ -17,7 +17,7 @@ export function registerCallersCommand(program: Command): void {
.command("callers <symbol>")
.description("Show methods/functions that call the given symbol (cross-file)")
.option("--kind <kind>", "Filter target entity by kind")
- .option("--path <path>", "Filter target entity by file path (substring match)")
+ .option("--path <path>", "Restrict to symbols from files matching this path substring")
.option("--pick <n>", "Pick Nth candidate from ambiguous results (1-based)", parsePickOption)
.option("--limit <n>", "Max results to show", "50")
.option("--format <fmt>", "Output format (text|json|llm)", "text")
@@ -121,7 +121,7 @@ export function registerCallersCommand(program: Command): void {
.command("callees <symbol>")
.description("Show methods/functions called by the given symbol (cross-file)")
.option("--kind <kind>", "Filter target entity by kind")
- .option("--path <path>", "Filter target entity by file path (substring match)")
+ .option("--path <path>", "Restrict to symbols from files matching this path substring")
.option("--pick <n>", "Pick Nth candidate from ambiguous results (1-based)", parsePickOption)
.option("--limit <n>", "Max results to show", "50")
.option("--format <fmt>", "Output format (text|json|llm)", "text")
diff --git a/ix-cli/src/cli/commands/contains.ts b/ix-cli/src/cli/commands/contains.ts
index fa05fa5c..bd19da4f 100644
--- a/ix-cli/src/cli/commands/contains.ts
+++ b/ix-cli/src/cli/commands/contains.ts
@@ -10,7 +10,7 @@ export function registerContainsCommand(program: Command): void {
.command("contains <symbol>")
.description("Show members contained by the given entity (class, module, file)")
.option("--kind <kind>", "Filter target entity by kind")
- .option("--path <path>", "Filter target entity by file path (substring match)")
+ .option("--path <path>", "Restrict to symbols from files matching this path substring")
.option("--pick <n>", "Pick Nth candidate from ambiguous results (1-based)", parsePickOption)
.option("--limit <n>", "Max results to show", "50")
.option("--format <fmt>", "Output format (text|json|llm)", "text")
diff --git a/ix-cli/src/cli/commands/impact.ts b/ix-cli/src/cli/commands/impact.ts
index 837338fb..1f10c87e 100644
--- a/ix-cli/src/cli/commands/impact.ts
+++ b/ix-cli/src/cli/commands/impact.ts
@@ -17,7 +17,7 @@ export function registerImpactCommand(program: Command): void {
.command("impact <target>")
.description("System risk analysis — what behavior is at risk if this changes")
.option("--kind <kind>", "Filter target entity by kind")
- .option("--path <path>", "Filter target entity by file path (substring match)")
+ .option("--path <path>", "Restrict to symbols from files matching this path substring")
.option("--pick <n>", "Pick Nth candidate from ambiguous results (1-based)", parsePickOption)
.option("--depth <n>", "Expansion depth for callers/importers (default 1, max 3)", "1")
.option("--limit <n>", "Max top-impacted members to show", "10")
diff --git a/ix-cli/src/cli/commands/imports.ts b/ix-cli/src/cli/commands/imports.ts
index 027e0fda..c7951df2 100644
--- a/ix-cli/src/cli/commands/imports.ts
+++ b/ix-cli/src/cli/commands/imports.ts
@@ -10,7 +10,7 @@ export function registerImportsCommand(program: Command): void {
.command("imports <symbol>")
.description("Show what the given entity imports")
.option("--kind <kind>", "Filter target entity by kind")
- .option("--path <path>", "Filter target entity by file path (substring match)")
+ .option("--path <path>", "Restrict to symbols from files matching this path substring")
.option("--pick <n>", "Pick Nth candidate from ambiguous results (1-based)", parsePickOption)
.option("--limit <n>", "Max results to show", "50")
.option("--format <fmt>", "Output format (text|json|llm)", "text")
@@ -30,7 +30,7 @@ export function registerImportsCommand(program: Command): void {
.command("imported-by <symbol>")
.description("Show what imports the given entity")
.option("--kind <kind>", "Filter target entity by kind")
- .option("--path <path>", "Filter target entity by file path (substring match)")
+ .option("--path <path>", "Restrict to symbols from files matching this path substring")
.option("--pick <n>", "Pick Nth candidate from ambiguous results (1-based)", parsePickOption)
.option("--limit <n>", "Max results to show", "50")
.option("--format <fmt>", "Output format (text|json|llm)", "text")
diff --git a/skills/ix/references/flags.md b/skills/ix/references/flags.md
index 6873577e..596e0d95 100644
--- a/skills/ix/references/flags.md
+++ b/skills/ix/references/flags.md
@@ -70,7 +70,7 @@ Show methods/functions called by the given symbol (cross-file).
| Flag | Value | Default | Effect |
|---|---|---|---|
| `--kind` | `<kind>` | — | Filter target entity by kind |
-| `--path` | `<path>` | — | Filter target entity by file path (substring match) |
+| `--path` | `<path>` | — | Restrict to symbols from files matching this path substring |
| `--pick` | `<n>` | — | Pick Nth candidate from ambiguous results (1-based) |
| `--limit` | `<n>` | `50` | Max results to show |
| `--format` | `text\|json\|llm` | `text` | Output format — see [output-formats.md](output-formats.md) |
@@ -82,7 +82,7 @@ Show methods/functions that call the given symbol (cross-file).
| Flag | Value | Default | Effect |
|---|---|---|---|
| `--kind` | `<kind>` | — | Filter target entity by kind |
-| `--path` | `<path>` | — | Filter target entity by file path (substring match) |
+| `--path` | `<path>` | — | Restrict to symbols from files matching this path substring |
| `--pick` | `<n>` | — | Pick Nth candidate from ambiguous results (1-based) |
| `--limit` | `<n>` | `50` | Max results to show |
| `--format` | `text\|json\|llm` | `text` | Output format — see [output-formats.md](output-formats.md) |
@@ -128,7 +128,7 @@ Show members contained by the given entity (class, module, file).
| Flag | Value | Default | Effect |
|---|---|---|---|
| `--kind` | `<kind>` | — | Filter target entity by kind |
-| `--path` | `<path>` | — | Filter target entity by file path (substring match) |
+| `--path` | `<path>` | — | Restrict to symbols from files matching this path substring |
| `--pick` | `<n>` | — | Pick Nth candidate from ambiguous results (1-based) |
| `--limit` | `<n>` | `50` | Max results to show |
| `--format` | `text\|json\|llm` | `text` | Output format — see [output-formats.md](output-formats.md) |
@@ -289,7 +289,7 @@ System risk analysis — what behavior is at risk if this changes.
| Flag | Value | Default | Effect |
|---|---|---|---|
| `--kind` | `<kind>` | — | Filter target entity by kind |
-| `--path` | `<path>` | — | Filter target entity by file path (substring match) |
+| `--path` | `<path>` | — | Restrict to symbols from files matching this path substring |
| `--pick` | `<n>` | — | Pick Nth candidate from ambiguous results (1-based) |
| `--depth` | `<n>` | `1` | Expansion depth for callers/importers (default 1, max 3) |
| `--limit` | `<n>` | `10` | Max top-impacted members to show |
@@ -302,7 +302,7 @@ Show what imports the given entity.
| Flag | Value | Default | Effect |
|---|---|---|---|
| `--kind` | `<kind>` | — | Filter target entity by kind |
-| `--path` | `<path>` | — | Filter target entity by file path (substring match) |
+| `--path` | `<path>` | — | Restrict to symbols from files matching this path substring |
| `--pick` | `<n>` | — | Pick Nth candidate from ambiguous results (1-based) |
| `--limit` | `<n>` | `50` | Max results to show |
| `--format` | `text\|json\|llm` | `text` | Output format — see [output-formats.md](output-formats.md) |
@@ -314,7 +314,7 @@ Show what the given entity imports.
| Flag | Value | Default | Effect |
|---|---|---|---|
| `--kind` | `<kind>` | — | Filter target entity by kind |
-| `--path` | `<path>` | — | Filter target entity by file path (substring match) |
+| `--path` | `<path>` | — | Restrict to symbols from files matching this path substring |
| `--pick` | `<n>` | — | Pick Nth candidate from ambiguous results (1-based) |
| `--limit` | `<n>` | `50` | Max results to show |
| `--format` | `text\|json\|llm` | `text` | Output format — see [output-formats.md](output-formats.md) |