You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
371 B

const p=require('./package.json')
const content={}
for (const command of p.contributes.commands) {
const key = command.command.replace("mysql", 'command');
content[key]=command.title;
command.title=`%${key}%`
}
console.log(JSON.stringify(content))
console.log('--------------------------------------------')
console.log(JSON.stringify(p.contributes.commands))