You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 36fa856
Browse filesBrowse the repository at this point in the historyBrowse files
Messages that tell you what to run now print a command you can run as shown. They used to hard-code `taskless`, which is usually not on `PATH` when the CLI was launched with `npx @taskless/cli` or `pnpm dlx`. They now use the same launcher-aware prefix the authentication and rule-recovery errors already used, for example `npx @taskless/cli@latest auth login`. This covers `auth`, `check`, `rule create`/`improve`/`meta`, `onboard`, `agent`, `feedback send`, the install wizard, the non-interactive banner, and the Vale and missing-fixture notices. `check` with no rules now also names the `--from` that `rule create` requires.
Copy file name to clipboardExpand all lines: packages/cli/src/commands/onboard.ts
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ import { getTelemetry } from "../telemetry";
12
12
import{CLIError}from"../util/cli-error";
13
13
import{
14
14
detectCliInvocation,
15
+
getCliPrefix,
15
16
processLauncherContext,
16
17
}from"../util/package-manager";
17
18
@@ -31,9 +32,9 @@ export function getOnboardTrailer(args: {
31
32
commandsInstalled: boolean;
32
33
}): string{
33
34
if(args.commandsInstalled){
34
-
return"Next: in your AI tool, run /tskl onboard or ask it to use the Taskless skill (or run `taskless onboard` from your terminal) to discover rule candidates from your codebase.";
35
+
return`Next: in your AI tool, run /tskl onboard or ask it to use the Taskless skill (or run \`${getCliPrefix()} onboard\` from your terminal) to discover rule candidates from your codebase.`;
35
36
}
36
-
return"Next: in your AI tool, ask it to use the Taskless skill (or run `taskless onboard` from your terminal) to discover rule candidates from your codebase.";
37
+
return`Next: in your AI tool, ask it to use the Taskless skill (or run \`${getCliPrefix()} onboard\` from your terminal) to discover rule candidates from your codebase.`;
0 commit comments