File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 10
10
import { slash } from '@poppinss/utils'
11
11
import { installPackage , detectPackageManager } from '@antfu/install-pkg'
12
12
import { args , BaseCommand , flags } from '../modules/ace/main.js'
13
+ import { CommandOptions } from '../types/ace.js'
13
14
14
15
/**
15
16
* The configure command is used to configure packages after installation
16
17
*/
17
18
export default class Configure extends BaseCommand {
18
19
static commandName = 'configure'
19
20
static description = 'Configure a package post installation'
21
+ static options : CommandOptions = {
22
+ allowUnknownFlags : true ,
23
+ }
24
+
25
+ get parsedFlags ( ) {
26
+ return this . parsed . flags
27
+ }
28
+
29
+ get parsedArgs ( ) {
30
+ return this . parsed . _
31
+ }
20
32
21
33
@args . string ( { description : 'Package name' } )
22
34
declare name : string
You can’t perform that action at this time.
0 commit comments