top + report + log --follow (issues #37 #38) - top 10 par lancements, digest markdown hebdo/mensuel, suivi du journal en direct
This commit is contained in:
+35
@@ -217,6 +217,41 @@ pub static HELP_SPECS: &[HelpSpec] = &[
|
||||
HelpExample { desc: "One agent over the last month.", code: "stats claude-code --period 30d" },
|
||||
],
|
||||
},
|
||||
HelpSpec {
|
||||
name: "top",
|
||||
category: "Commands",
|
||||
usage: "top {flags}",
|
||||
about: "Show the most used agents (top 10).",
|
||||
search_terms: &["ranking", "most", "usage"],
|
||||
flags: &[
|
||||
HelpFlag { short: "", long: "--period", value: "PERIOD", desc: "Only events of the last period (7d, 30d, 90d, all)" },
|
||||
],
|
||||
subcommands: &[],
|
||||
parameters: &[],
|
||||
io: None,
|
||||
examples: &[
|
||||
HelpExample { desc: "The most used agents.", code: "top" },
|
||||
],
|
||||
},
|
||||
HelpSpec {
|
||||
name: "report",
|
||||
category: "Commands",
|
||||
usage: "report {flags}",
|
||||
about: "Write a markdown activity report.",
|
||||
search_terms: &["digest", "weekly", "monthly"],
|
||||
flags: &[
|
||||
HelpFlag { short: "", long: "--last-week", value: "", desc: "Cover the last 7 days" },
|
||||
HelpFlag { short: "", long: "--last-month", value: "", desc: "Cover the last 30 days" },
|
||||
HelpFlag { short: "", long: "--output", value: "FILE", desc: "Output file (default: report-YYYYMMDD.md in the state directory)" },
|
||||
],
|
||||
subcommands: &[],
|
||||
parameters: &[],
|
||||
io: None,
|
||||
examples: &[
|
||||
HelpExample { desc: "Weekly digest.", code: "report --last-week" },
|
||||
HelpExample { desc: "Monthly digest to a file.", code: "report --last-month --output ~/rapport-am.md" },
|
||||
],
|
||||
},
|
||||
HelpSpec {
|
||||
name: "projects",
|
||||
category: "Commands",
|
||||
|
||||
Reference in New Issue
Block a user