Skip to content

Commit 39485e3

Browse files
pitzcarraldoclaude
andcommitted
refactor: use static import for checkFirstRun and improve setup message
- Replace dynamic import with static import for consistency - Simplify setup already configured message Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1f4325f commit 39485e3

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/cli.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { skillCommand } from './commands/skill/index';
1313
import { uninstallCommand } from './commands/uninstall';
1414
import { updateCommand } from './commands/update';
1515
import { whoamiCommand } from './commands/whoami';
16-
import { shouldRunSetup } from './lib/services/first-run-service';
16+
import { checkFirstRun, shouldRunSetup } from './lib/services/first-run-service';
1717
import {
1818
getValidMCPAgents,
1919
isValidMCPAgent,
@@ -208,13 +208,11 @@ async function main() {
208208
break;
209209

210210
case 'setup': {
211-
// Check if setup is needed
212-
const { checkFirstRun } = await import('./lib/services/first-run-service');
213211
const status = await checkFirstRun();
214212
if (status.needsSetup) {
215213
await setupCommand();
216214
} else {
217-
console.log('Project already configured. Use `clix login` to reconfigure.');
215+
console.log('Project already configured.');
218216
}
219217
break;
220218
}

0 commit comments

Comments
 (0)