Skip to content

Commit 6aba1e6

Browse files
author
fausto
committed
Add grep flags reference table to SKILL.md for quick lookup
Introduce a concise reference line documenting all common grep flags (--path, --glob, --output-mode, --context-lines, --from-line/--to-line, --reverse, --case-sensitive) and command-specific flags (--branch/--no-clone for code grep, --log-id for pipeline grep) to reduce flag discovery friction. Place reference immediately after command table for easy scanning.
1 parent d098028 commit 6aba1e6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

skills/smith/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Full vocabulary and flags live in `references/usage-recipes.md`. The minimum you
4343
| Pipelines | `smith <github-remote-name> pipelines list <repo> <id>`, `smith <gitlab-remote-name> pipelines list <group/project> <id>`, `smith <github-remote-name> pipelines grep <repo> <id> "<regex>"`, `smith <gitlab-remote-name> pipelines grep <group/project> <id> "<regex>"`, `smith <gitlab-remote-name> pipelines artifacts list <group/project> <pipeline-id> <job-id>`, `smith <gitlab-remote-name> pipelines artifacts grep <group/project> <pipeline-id> <job-id> "<regex>"` |
4444
| Stories / Issues | `smith <azdo-remote-name> stories search <project> --query`, `smith <gitlab-remote-name> stories search <group/project> --query`, `smith <youtrack-remote-name> stories search --query` |
4545

46+
All grep commands (code, pipeline logs, artifacts) support: `--path`, `--glob`, `--output-mode` (content/files_with_matches/count), `--context-lines`, `--from-line`/`--to-line`, `--reverse`, `--case-sensitive`. Code grep adds: `--branch`, `--no-clone`. Pipeline grep adds: `--log-id`.
47+
4648
Rules that save retries:
4749

4850
- **GitHub**: repo arg is bare `<repo>`, not `org/repo`. Search output may look like `org/repo:path` but commands still take `<repo>`.

0 commit comments

Comments
 (0)