1 | {"version":3,"sources":["commands/url.ts"],"names":["Command","flags","Url","run","parse","_manager","m","log","packagesUrl","description","examples","help","char","args"],"mappings":"AAAA;AAEA,SACCA,OADD,EAECC,KAFD,QAGO,gBAHP;AAKA;AACA;AACA;;AACA,eAAe,MAAMC,GAAN,SAAkBF,OAAlB,CAA0B;AACxC;AACD;AACA;AACC;;AAGA;AACD;AACA;AACC;;AAGA;AACD;AACA;AACC;;AAKA;AACD;AACA;AACC;;AAGA;AACD;AACA;AACiB,QAAHG,GAAG,GAAG;AAClB,SAAKC,KAAL,CAAWF,GAAX;AAEA,UAAM,KAAKG,QAAL,CAAc,MAAMC,CAAN,IAAW;AAC9B,WAAKC,GAAL,CAASD,CAAC,CAACE,WAAX;AACA,KAFK,CAAN;AAGA;;AApCuC;AAApBN,G,CAKGO,W,GAAc,sC;AALjBP,G,CAWGQ,Q,GAAW,E;AAXdR,G,CAiBGD,K,GAAQ;AAC9BU,EAAAA,IAAI,EAAEV,KAAK,CAACU,IAAN,CAAW;AAACC,IAAAA,IAAI,EAAE;AAAP,GAAX;AADwB,C;AAjBXV,G,CAyBGW,I,GAAO,E","sourcesContent":["/* eslint-disable import/no-default-export */\n\nimport {\n\tCommand,\n\tflags\n} from '../command';\n\n/**\n * Url command.\n */\nexport default class Url extends Command {\n\t/**\n\t * Description.\n\t */\n\t// eslint-disable-next-line @typescript-eslint/naming-convention\n\tpublic static readonly description = 'get package manager package list URL';\n\n\t/**\n\t * Examples.\n\t */\n\t// eslint-disable-next-line @typescript-eslint/naming-convention\n\tpublic static readonly examples = [];\n\n\t/**\n\t * Flags.\n\t */\n\t// eslint-disable-next-line @typescript-eslint/naming-convention\n\tpublic static readonly flags = {\n\t\thelp: flags.help({char: 'h'})\n\t};\n\n\t/**\n\t * Arguments.\n\t */\n\t// eslint-disable-next-line @typescript-eslint/naming-convention\n\tpublic static readonly args = [];\n\n\t/**\n\t * Handler.\n\t */\n\tpublic async run() {\n\t\tthis.parse(Url);\n\n\t\tawait this._manager(async m => {\n\t\t\tthis.log(m.packagesUrl);\n\t\t});\n\t}\n}\n"],"file":"url.mjs","sourceRoot":"../../src"} |