[Pkg-javascript-devel] Bug#1007915: Bug#1007915: node-wikibase-cli: incompatible with node-commander >= 8
    Andrius Merkys 
    merkys at debian.org
       
    Fri Mar 18 14:48:26 GMT 2022
    
    
  
Hi,
On 2022-03-18 16:13, Yadd wrote:
> Maybe this can help:
> https://salsa.debian.org/js-team/node-terser/-/blob/debian/latest/debian/patches/1001_commander.patch
Thanks for pointer. I think I managed to go this far myself by patching:
-const program = require('commander')
+const program = require('commander').storeOptionsAsProperties(true)
However, commander seems to handle positional CLI arguments differently
now, and no longer outputs help if any of them are missing.
Best,
Andrius
    
    
More information about the Pkg-javascript-devel
mailing list