fix(cli): improve removed command guidance

This commit is contained in:
Andrey Avtomonov 2026-05-12 01:52:40 +02:00
parent 49a746af28
commit 9b0c15152d
6 changed files with 232 additions and 5 deletions

View file

@ -9,6 +9,7 @@ import {
buildPostgresUrl,
buildPostgresReadyArgs,
buildSeedSql,
buildSetupNewProjectArgs,
smokeContainerName,
} from './installed-live-database-smoke.mjs';
@ -99,6 +100,20 @@ describe('installed live-database artifact smoke helpers', () => {
});
it('builds installed CLI live-database ingest and status commands', () => {
assert.deepEqual(buildSetupNewProjectArgs('/tmp/project'), [
'exec',
'ktx',
'setup',
'--new',
'--project-dir',
'/tmp/project',
'--skip-llm',
'--skip-embeddings',
'--skip-databases',
'--skip-sources',
'--no-input',
]);
assert.deepEqual(buildLiveDatabaseIngestArgs('/tmp/project', 'http://127.0.0.1:8765'), [
'exec',
'ktx',