Skip to content

Commit d1fcc8a

Browse files
committed
fix: format
1 parent 727bb53 commit d1fcc8a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

examples/demo.citty.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,48 +84,48 @@ const completion = await tab(main, {
8484
handler: () => [
8585
{ value: 'vite.config.ts', description: 'Vite config file' },
8686
{ value: 'vite.config.js', description: 'Vite config file' },
87-
]
87+
],
8888
},
8989
mode: {
9090
handler: () => [
9191
{ value: 'development', description: 'Development mode' },
9292
{ value: 'production', description: 'Production mode' },
93-
]
93+
],
9494
},
9595
logLevel: {
9696
handler: () => [
9797
{ value: 'info', description: 'Info level' },
9898
{ value: 'warn', description: 'Warn level' },
9999
{ value: 'error', description: 'Error level' },
100100
{ value: 'silent', description: 'Silent level' },
101-
]
102-
}
101+
],
102+
},
103103
},
104104
// Subcommands and their options
105105
subCommands: {
106106
lint: {
107107
handler: () => [
108108
{ value: 'main.ts', description: 'Main file' },
109109
{ value: 'index.ts', description: 'Index file' },
110-
]
110+
],
111111
},
112112
dev: {
113113
options: {
114114
port: {
115115
handler: () => [
116116
{ value: '3000', description: 'Development server port' },
117117
{ value: '8080', description: 'Alternative port' },
118-
]
118+
],
119119
},
120120
host: {
121121
handler: () => [
122122
{ value: 'localhost', description: 'Localhost' },
123123
{ value: '0.0.0.0', description: 'All interfaces' },
124-
]
125-
}
126-
}
127-
}
128-
}
124+
],
125+
},
126+
},
127+
},
128+
},
129129
});
130130

131131
// Create the CLI and run it

0 commit comments

Comments
 (0)