feat(wave3): @mosaic/cli unified CLI entry point (#9)

Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #9.
This commit is contained in:
2026-03-07 02:23:03 +00:00
committed by jason.woltje
parent 95eed0739d
commit 8371783587
13 changed files with 859 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { describe, expect, it } from 'vitest';
import { rootCommand } from '../src/root-command.js';
describe('rootCommand', () => {
it('registers all top-level subcommand groups', () => {
const registeredSubcommands = rootCommand.commands
.map((command) => command.name())
.sort((left, right) => left.localeCompare(right));
expect(registeredSubcommands).toEqual([
'coord',
'prdy',
'quality-rails',
'queue',
]);
});
});