Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/gh-aw/argument_syntax_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ func TestArgumentSyntaxConsistency(t *testing.T) {
{
name: "audit command requires run-id-or-url",
command: cli.NewAuditCommand(),
expectedUse: "audit <run-id-or-url>",
argsValidator: "ExactArgs(1)",
expectedUse: "audit <run-id-or-url> [run-id-or-url]...",
argsValidator: "MinimumNArgs(1)",
shouldValidate: func(cmd *cobra.Command) error { return cmd.Args(cmd, []string{"123456"}) },
},
{
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var auditLog = logger.New("cli:audit")
// NewAuditCommand creates the audit command
func NewAuditCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "audit <run-id-or-url> [run-id-or-url...]",
Use: "audit <run-id-or-url> [run-id-or-url]...",
Short: "Audit a workflow run and generate a detailed report",
Long: `Audit one or more workflow runs by downloading artifacts and logs, detecting errors,
analyzing MCP tool usage, and generating a concise report suitable for AI agents.
Expand Down
Loading