lsh

Results 16 issues of lsh

### 🔗 Linked issue Fix: https://github.com/unjs/citty/issues/84 ### ❓ Type of change - [ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations) - [ ] 🐞 Bug fix...

### Describe the feature ```ts // build.ts export default defineCommand({ meta: { name: 'build', description: 'build command', }, args: { minify: { type: 'boolean', description: 'minify file size', }, mode:...

### Describe the feature ```ts export default defineCommand({ meta: { name: 'test', description: 'Test command', }, async setup(context) { const data = someComputed(context) return { data } }, async run({...

### Describe the feature ```ts export default defineCommand({ meta: { name: "Test", description: "A test command", }, args: { len: { type: "string", description: "Limit len", validator(value) { return Number(value)...

enhancement

### 🔗 Linked issue ### ❓ Type of change - [x] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations) - [ ] 🐞 Bug fix (a non-breaking change...

Can we add an API for generating declare modules? My code now: ```ts const sourceFile = project.createSourceFile(/*...*/) // some code... sourceFile.insertText( sourceFile.getEnd(), ` declare global { declare const __DEV__: boolean;...