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.

9 lines
371 B

  1. const p=require('./package.json')
  2. const content={}
  3. for (const command of p.contributes.commands) {
  4. const key = command.command.replace("mysql", 'command');
  5. content[key]=command.title;
  6. command.title=`%${key}%`
  7. }
  8. console.log(JSON.stringify(content))
  9. console.log('--------------------------------------------')
  10. console.log(JSON.stringify(p.contributes.commands))