File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,14 +66,17 @@ function getRepositories(selectedRepos?: string[]): IRepository[] {
6666interface CliOptions {
6767 modId ?: string [ ] ;
6868 modFile ?: string [ ] ;
69+ sinytra : boolean ;
70+
6971 exactVersion ?: string ;
7072 minVersion ?: string ;
7173 maxVersion ?: string ;
7274 loader ?: string [ ] ;
75+
7376 details : boolean ;
74- nbSolutions : number ;
75- sinytra : boolean ;
77+ repository ?: string [ ] ;
7678 remote ?: string ;
79+ nbSolutions : number ;
7780}
7881
7982function validateCliOptions ( options : CliOptions ) {
@@ -206,7 +209,7 @@ program
206209 . option ( '--sinytra' , 'Inject forge and neoforge into fabric-compatible releases' , false )
207210 . option ( '-r, --repository <repo...>' , 'Repositories to use (modrinth, curseforge)' )
208211 . option ( '--remote <url>' , 'Remote server URL to query mods' , '' )
209- . action ( async ( cliOptions : CliOptions & { repository ?: string [ ] } ) => {
212+ . action ( async ( cliOptions : CliOptions ) => {
210213 const modQueryService = getModQueryService ( cliOptions . repository , cliOptions . remote ) ;
211214 validateCliOptions ( cliOptions ) ;
212215
You can’t perform that action at this time.
0 commit comments