mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
feat(cli): surface docs and demo-warehouse links in ktx setup (#221)
Add a Clack note pointing to https://docs.kaelio.com/ktx right after the setup intro, and a second note pointing to https://kaelio.com/start above the database driver multiselect — mirroring the docs-site CTA wording. Closes KLO-715 and KLO-716.
This commit is contained in:
parent
1071f9d1c9
commit
62699bfe9d
2 changed files with 7 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ import { isDemoConnection } from './telemetry/demo-detect.js';
|
|||
import { emitTelemetryEvent } from './telemetry/index.js';
|
||||
import {
|
||||
createKtxSetupPromptAdapter,
|
||||
createKtxSetupUiAdapter,
|
||||
type KtxSetupPromptOption,
|
||||
} from './setup-prompts.js';
|
||||
|
||||
|
|
@ -1780,6 +1781,11 @@ async function chooseDrivers(
|
|||
return 'missing-input';
|
||||
}
|
||||
const initialValues = unique(options?.initialDrivers ?? []);
|
||||
createKtxSetupUiAdapter().note(
|
||||
'Get demo credentials at https://kaelio.com/start',
|
||||
'🎁 Need a warehouse to play with?',
|
||||
io,
|
||||
);
|
||||
const choices = await prompts.multiselect({
|
||||
message: withMultiselectNavigation('Which databases should KTX connect to?'),
|
||||
options: [...DRIVER_OPTIONS],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue