Add TODO description for empty commands
MODIFY
packages/@romejs/cli/cli.ts
packages/@romejs/cli/cli.ts
@@ -203,7 +203,7 @@ export default async function cli() {
p.command({
name: 'rage',
category: commandCategories.INTERNAL,
- description: '',
+ description: 'TODO',
callback() {
overrideCLIFlags = {
@@ -218,7 +218,7 @@ export default async function cli() {
p.command({
name: 'logs',
category: commandCategories.INTERNAL,
- description: '',
+ description: 'TODO',
callback() {
overrideCLIFlags = {

MODIFY
packages/@romejs/core/client/commands.ts
packages/@romejs/core/client/commands.ts
@@ -118,7 +118,7 @@ localCommands.set('start', {
localCommands.set('develop', {
category: commandCategories.PROCESS_MANAGEMENT,
- description: '',
+ description: 'TODO',
async callback(req: ClientRequest) {
const existingServer = await req.client.tryConnectToExistingDaemon();
const hasExistingServer = existingServer !== undefined;
@@ -168,7 +168,7 @@ localCommands.set('stop', {
localCommands.set('run', {
category: commandCategories.PROJECT_MANAGEMENT,
- description: 'TODO',
+ description: 'TODO',,
async callback(req: ClientRequest) {
const bridge = await req.client.findOrStartMaster();
if (bridge === undefined) {

MODIFY
packages/@romejs/core/master/commands/format.ts
packages/@romejs/core/master/commands/format.ts
@@ -14,7 +14,7 @@ import {FORMATTABLE_EXTENSIONS} from '@romejs/core/common/fileHandlers';
export default createMasterCommand({
category: commandCategories.INTERNAL,
- description: '',
+ description: 'TODO',
async default(req: MasterRequest): Promise<void> {
const {reporter, master} = req;

MODIFY
packages/@romejs/core/master/commands/noop.ts
packages/@romejs/core/master/commands/noop.ts
@@ -11,7 +11,7 @@ import {commandCategories} from '../../commands';
export default createMasterCommand({
category: commandCategories.INTERNAL,
- description: '',
+ description: 'TODO',
async default(req: MasterRequest): Promise<void> {
req;

MODIFY
packages/@romejs/core/master/commands/publish.ts
packages/@romejs/core/master/commands/publish.ts
@@ -11,7 +11,7 @@ import {createMasterCommand} from '../../commands';
export default createMasterCommand({
category: commandCategories.PROJECT_MANAGEMENT,
- description: 'TODO',
+ description: 'TODO',,
async default(req: MasterRequest): Promise<void> {
req.expectArgumentLength(1);

MODIFY
packages/@romejs/core/master/commands/run.ts
packages/@romejs/core/master/commands/run.ts
@@ -22,7 +22,7 @@ type RunResult = {
export default createMasterCommand({
category: commandCategories.PROJECT_MANAGEMENT,
- description: 'TODO',
+ description: 'TODO',,
async default(req: MasterRequest): Promise<RunResult> {
const {args} = req.query;

Add TODO description for empty commands