Files
skillkit/packages/cli/src/__tests__/commands.test.ts
T
Rohit Ghumare 241b1df5ba feat: add TUI enhancements and monorepo structure
- Add Translate screen for cross-agent skill translation
- Add Context screen for project context management
- Add Recommend screen with smart skill recommendations
- Fix TUI screen duplication by using fixed height container
- Clean up unnecessary comments following code-simplifier principles
- Refactor to monorepo structure with @skillkit/core, @skillkit/cli,
  @skillkit/tui, and @skillkit/agents packages
- Add comprehensive tests for translator, context, and recommend features
- Update license to Apache-2.0
- Add CONTRIBUTING.md with contribution guidelines
2026-01-23 00:15:20 +00:00

26 lines
1021 B
TypeScript

import { describe, it, expect } from 'vitest';
describe('CLI Commands', () => {
describe('exports', () => {
it('should export all commands', async () => {
const commands = await import('../commands/index.js');
expect(commands.ListCommand).toBeDefined();
expect(commands.ReadCommand).toBeDefined();
expect(commands.SyncCommand).toBeDefined();
expect(commands.InitCommand).toBeDefined();
expect(commands.EnableCommand).toBeDefined();
expect(commands.DisableCommand).toBeDefined();
expect(commands.RemoveCommand).toBeDefined();
expect(commands.InstallCommand).toBeDefined();
expect(commands.UpdateCommand).toBeDefined();
expect(commands.ValidateCommand).toBeDefined();
expect(commands.CreateCommand).toBeDefined();
expect(commands.UICommand).toBeDefined();
expect(commands.TranslateCommand).toBeDefined();
expect(commands.ContextCommand).toBeDefined();
expect(commands.RecommendCommand).toBeDefined();
});
});
});