File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -342,16 +342,12 @@ export const plugin: Plugin = async (ctx) => {
342342 cfg . command [ "codetime" ] = {
343343 description : "Show today's coding time from CodeTime" ,
344344 template :
345- "Retrieve current CodeTime coding time stats.\n\n" +
346- "Immediately call `codetime` with no arguments and return its output verbatim.\n" +
347- "Do not call other tools." ,
348- } ;
349- cfg . command [ "codetime-breakdown" ] = {
350- description : "Show today's coding time breakdown by project" ,
351- template :
352- "Retrieve CodeTime coding time stats broken down by project.\n\n" +
353- 'Immediately call `codetime` with `breakdown: true` and return its output verbatim.\n' +
354- "Do not call other tools." ,
345+ "Retrieve CodeTime coding time stats.\n\n" +
346+ "Based on the arguments provided: `$ARGUMENTS`\n\n" +
347+ '- If no arguments (empty/blank), call `codetime` with `project: "current"` to show current project time.\n' +
348+ "- If the argument is `breakdown`, call `codetime` with `breakdown: true` to show all projects.\n" +
349+ "- Otherwise, call `codetime` with `project` set to the argument value to show that specific project's time.\n\n" +
350+ "Return the output verbatim. Do not call other tools." ,
355351 } ;
356352 } ,
357353
You can’t perform that action at this time.
0 commit comments