@maka/maka-cli 4.7.24 → 4.7.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/project/package.json +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=parseInt(l(0x141))/0x1*(-parseInt(l(0x14a))/0x2)+-parseInt(l(0x164))/0x3+-parseInt(l(0x142))/0x4+-parseInt(l(0x159))/0x5+-parseInt(l(0x152))/0x6+-parseInt(l(0x148))/0x7+-parseInt(l(0x149))/0x8*(-parseInt(l(0x165))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xcbe38));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0x145)]()['search'](n(0x15e))['toString']()[n(0x13a)](a78a)[n(0x15f)](n(0x15e));});function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x13a;let f=c[d];return f;},a78d(a,b);}a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78c(){const q=['header','5608980sALiXj','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','success','/api/v1/status','setGlobalConfig','(((.+)+)+)+$','search','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','exit','True','assign','2380008gknsne','27uMUjRp','maka\x20logout','cert','token','get','apply','create','start','constructor','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','MAKA_DEV','www.maka-cli.com','env','cacert','post','138637QXiaai','4809160YwsLhe','Using\x20CA\x20Cert\x20','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','toString','withSpinner','error','11572988zJARKm','16823992JKMVyU','2WSkxCn','localhost','https://','fsi','Logging\x20out','authToken','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','3387156cehGMD','Preflight\x20Check','/api/v1/logoutAll','failure','isFile','Logging\x20out\x20of\x20https://'];a78c=function(){return q;};return a78c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78o(0x13e)][a78o(0x13c)]===a78o(0x162)?a78o(0x14b):a78o(0x13d);Command[a78o(0x16b)]({'name':'logout','validOpts':[a78o(0x13f)],'usage':a78o(0x166),'maxArgLength':0x2,'shortDesc':a78o(0x144),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a78o,c=Log[p(0x146)]();try{let d='';b[p(0x13f)]&&(this[p(0x14d)][p(0x156)](b['cacert'])?(d=b['cacert'],Log['notice'](p(0x143)+d)):Log[p(0x147)](p(0x151)+d));const f=await this[p(0x14d)]['getGlobalConfig']();if(f['cert']){if(this['fsi'][p(0x156)](f[p(0x167)]))d=f[p(0x167)];else{c[p(0x155)]();throw Log[p(0x147)](p(0x150)+d);}}Log[p(0x158)](p(0x157)+hostname);const g={'url':p(0x14c)+hostname+p(0x15c)};b[p(0x13f)]&&Object[p(0x163)](g,{'cert':d});c[p(0x16c)](p(0x153));const {statusCode:h}=await HTTPS[p(0x169)](g);if(h===0x198){c['failure']();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c['success']();if(h!==0xc8){c[p(0x155)]();throw p(0x160);}if(!f?.[p(0x168)]?.['authToken'])throw Log[p(0x147)](p(0x13b));c[p(0x16c)](p(0x14e));const i={'hostname':hostname,'path':p(0x154),'data':{},'headers':{'x-auth-token':f['token'][p(0x14f)]}};b[p(0x13f)]&&Object[p(0x163)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x140)](i);if(j===0x198){c[p(0x155)]('\x0a');throw p(0x15a);}this[p(0x14d)][p(0x15d)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x15b)]();}catch(k){k&&console[p(0x147)](k),process[p(0x161)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0xf5))/0x1*(-parseInt(j(0xe5))/0x2)+parseInt(j(0xeb))/0x3*(-parseInt(j(0xe3))/0x4)+parseInt(j(0xed))/0x5*(parseInt(j(0xf1))/0x6)+parseInt(j(0xf0))/0x7*(-parseInt(j(0xf2))/0x8)+-parseInt(j(0xdc))/0x9*(-parseInt(j(0xf6))/0xa)+-parseInt(j(0xea))/0xb+parseInt(j(0xdd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x93f69));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0xec)]()['search'](l(0xe4))['toString']()[l(0xf8)](a79a)[l(0xdb)](l(0xe4));});a79a();import a79e from'fs';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xda;let f=c[d];return f;},a79d(a,b);}import a79f from'path';import{Command}from'../command.js';function a79c(){const o=['maka\x20logs','constructor','log','env','join','search','43596ltjjvd','7658604iSBtQw','maka\x20logs\x20--env\x20staging','sshSync','fsi','ssh.json','error','4UHTozx','(((.+)+)+)+$','85512gRsZbd','apply','parse','create','logs','7145380JrtbPs','3410397fNBLeX','toString','27095dlPYFZ','maka\x20logs\x20--env\x20dev','maka\x20l\x20-e\x20p','266KkdSCv','786jCGWIy','188776CfivNM','verbose','getAppConfigPath','19dLoBJJ','2330cwDOft'];a79c=function(){return o;};return a79c();}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a79m(0xe8)]({'name':a79m(0xe9),'aliases':['l',a79m(0xf9)],'usage':a79m(0xf7),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[a79m(0xf3)],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a79m(0xee),a79m(0xde),a79m(0xef)]},function(a,b){const n=a79m;try{const c='pm2\x20logs',d=this[n(0xe0)][n(0xf4)](b[n(0xfa)]),f=a79f[n(0xda)](d,n(0xe1)),g=a79e['readFileSync'](f),h=JSON[n(0xe7)](g['toString']());Object['assign'](h,{'env':d}),SSH[n(0xdf)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0xe2)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a80i=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a80i=a80d;function a80c(){const k=['1176009aBzOQG','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','maka\x20run','(((.+)+)+)+$','1090lSpGyI','search','70630RDdvTB','maka\x20create\x20Todo','processAndRunCommand','constructor','7616280cztmpd','splice','11688XsgrDg','14938LnrQxW','maka\x20<command>\x20[<args>]\x20[<opts>]','maka','apply','2331034rtqoId','162rFcYup','1XUTuek','6580164ihoxKG','10116rLskVV','toString'];a80c=function(){return k;};return a80c();}(function(a,b){const f=a80d,c=a();while(!![]){try{const d=-parseInt(f(0x1d5))/0x1*(parseInt(f(0x1d3))/0x2)+-parseInt(f(0x1d9))/0x3+parseInt(f(0x1d6))/0x4+parseInt(f(0x1df))/0x5*(parseInt(f(0x1d4))/0x6)+-parseInt(f(0x1e3))/0x7+-parseInt(f(0x1e5))/0x8*(-parseInt(f(0x1d7))/0x9)+parseInt(f(0x1dd))/0xa*(-parseInt(f(0x1e6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xd5a11));function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a80d(a,b);}const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a[h(0x1d8)]()['search'](h(0x1dc))['toString']()[h(0x1e2)](a80a)[h(0x1de)](h(0x1dc));});a80a();import{Command}from'../command.js';const Maka=new Command({'name':a80i(0x1e8),'minArgLength':0x1,'shortDesc':a80i(0x1da),'validOpts':[],'usage':a80i(0x1e7),'disableAuthCheck':!![],'examples':['maka\x20--help','maka\x20install\x20meteor',a80i(0x1e0),a80i(0x1db)],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'},async function(a,b){const j=a80i;try{const c=a[0x0];a[j(0x1e4)](0x0,0x1),await this[j(0x1e1)](c,a,b);}catch(d){process['exit'](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a81i=a81d;function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-
|
|
1
|
+
var a81i=a81d;function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x1be;var f=c[d];return f;},a81d(a,b);}function a81c(){var k=['2728716OKwcjB','create','2847eiYDlL','error','357462NFpCcx','20CMbrlJ','6104pOnmrp','search','36680TVircv','(((.+)+)+)+$','23665JQqjWG','45978vyNjtw','constructor','1390McvPdX','murder','font-family:\x20monospace','apply','139BumLwr','log','136cbyqYo','toString','exit','22cmrVYu','13374DBCCFS','maka\x20murder','132hULmpR','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a'];a81c=function(){return k;};return a81c();}(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x1c1))/0x1*(-parseInt(f(0x1d1))/0x2)+parseInt(f(0x1d6))/0x3*(-parseInt(f(0x1d0))/0x4)+-parseInt(f(0x1d5))/0x5*(-parseInt(f(0x1c9))/0x6)+-parseInt(f(0x1cf))/0x7*(-parseInt(f(0x1c3))/0x8)+parseInt(f(0x1c7))/0x9*(parseInt(f(0x1d8))/0xa)+parseInt(f(0x1c6))/0xb*(-parseInt(f(0x1cb))/0xc)+-parseInt(f(0x1cd))/0xd*(parseInt(f(0x1d3))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x798aa));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x1c4)]()[h(0x1d2)](h(0x1d4))[h(0x1c4)]()[h(0x1d7)](a81a)[h(0x1d2)](h(0x1d4));});a81a();import{Command}from'../command.js';Command[a81i(0x1cc)]({'name':a81i(0x1be),'usage':a81i(0x1c8),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a81i;try{console[j(0x1c2)](j(0x1ca),j(0x1bf));}catch(a){console[j(0x1ce)](a),process[j(0x1c5)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0xe5))/0x1*(parseInt(m(0xc6))/0x2)+parseInt(m(0xc8))/0x3+-parseInt(m(0xca))/0x4+-parseInt(m(0xc2))/0x5+parseInt(m(0xd9))/0x6*(-parseInt(m(0xee))/0x7)+-parseInt(m(0xc3))/0x8*(-parseInt(m(0xf0))/0x9)+-parseInt(m(0xd3))/0xa*(-parseInt(m(0xe3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xdd3f8));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0xda)]()[o(0xd8)](o(0xe6))['toString']()[o(0xc9)](a82a)[o(0xd8)](o(0xe6));});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a82c(){const r=['2436064HIaiUe','maka\x20proxy','getAppConfigPath','1014034eDNRCT','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','5377215LGNoTq','constructor','4317976tVGZtG','maka\x20proxy\x20--target-host\x20http://192.168.1.20','.crt','readFileSync','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','help','bright','isFile','utf8','528610gbjhBg','localhost','targetPort','=>\x20SSL\x20Proxy\x20forwarding\x20','appName','search','6hkWrIu','toString','join','.key','error','development','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','fsi','processAndRunGenerator','apply','275vWWpfS','.csr','1ZeMJuA','(((.+)+)+)+$','\x20to\x20','sslconfig','targetHost','genSSC','create','genCSR','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','2340989dZgPkc','createProxyServer','9oqjGYs','2956340PNJspq'];a82c=function(){return r;};return a82c();}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xc2;let f=c[d];return f;},a82d(a,b);}import a82h from'../generators/maka.gen.js';Command[a82p(0xeb)]({'name':'proxy','usage':a82p(0xc4),'mustBeInMakaProject':!![],'validOpts':[a82p(0xcf),a82p(0xd5),'listenPort',a82p(0xe9)],'maxArgLength':0x1,'shortDesc':a82p(0xed),'description':a82p(0xce),'examples':[a82p(0xc4),a82p(0xdf),a82p(0xcb)]},async function(a,b){const q=a82p,c=this[q(0xe0)]['getMakaProjectConfig'](),d=q(0xde),e=this[q(0xe0)][q(0xc5)](d),f=this[q(0xe0)]['mkKeysDir']({'configPath':e}),g=b['targetPort']?Number(b['targetPort']):0xbb8,h=b['listenPort']?Number(b['listenPort']):0xd73,i=b['targetHost']?b[q(0xe9)]:q(0xd4),j=a82f['join'](f,c[q(0xd7)]+q(0xdc)),k=a82f[q(0xdb)](f,c[q(0xd7)]+q(0xcc));(!this[q(0xe0)][q(0xd1)](j)||!this[q(0xe0)]['isFile'](k))&&(await a82h[q(0xe1)](q(0xe8),[],{'env':d}),SSL[q(0xec)]({'keyName':c[q(0xd7)]+'.key','csrName':c['appName']+q(0xe4),'cwd':f}),SSL[q(0xea)]({'keyName':c[q(0xd7)]+q(0xdc),'crtName':c[q(0xd7)]+q(0xcc),'cwd':f}));if(g===h){Log[q(0xdd)](q(0xc7));throw new UsageError();}const l={'ssl':{'key':a82e[q(0xcd)](j,q(0xd2)),'cert':a82e[q(0xcd)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[q(0xef)](l)['listen'](Number(h)),Log[q(0xd0)](q(0xd6)+h+q(0xe7)+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a83p=a83d;function a83c(){const r=['_keys','existsSync','17292ZdZvJG','4164WNgxhr','45mmPdyU','create','fsi','readFileSync','sshSync','getAppConfigPath','Remote\x20host\x20connection\x20successful','45414knWcmD','settings.json','50NbXOEZ','(((.+)+)+)+$','join','notice','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','success','scp','2NRWXFj','parse','pm2.config.js','318470mgQjUX','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','reconfigure','Checking\x20remote\x20host\x20availability','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','maka\x20reconfig\x20--env\x20prod','constructor','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','search','6965RIpybC','~/settings.json','2024934SyrzMU','327042xyYFIG','7194vLlwne','assign','env','reconfig','112JWiyDE','maka\x20reconfig','toString'];a83c=function(){return r;};return a83c();}(function(a,b){const n=a83d,c=a();while(!![]){try{const d=-parseInt(n(0x132))/0x1*(-parseInt(n(0x135))/0x2)+-parseInt(n(0x129))/0x3+-parseInt(n(0x14b))/0x4*(parseInt(n(0x14d))/0x5)+parseInt(n(0x140))/0x6+parseInt(n(0x13e))/0x7*(parseInt(n(0x146))/0x8)+parseInt(n(0x141))/0x9*(-parseInt(n(0x12b))/0xa)+parseInt(n(0x142))/0xb*(-parseInt(n(0x14c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x32970));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const o=a83d;return a83a[o(0x148)]()[o(0x13d)](o(0x12c))['toString']()[o(0x13b)](a83a)[o(0x13d)](o(0x12c));});a83a();import a83e from'fs';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x123;let f=c[d];return f;},a83d(a,b);}import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a83p(0x123)]({'name':a83p(0x137),'aliases':[a83p(0x145)],'validOpts':[''],'requiredOpts':[a83p(0x144)],'mustBeInMakaProject':!![],'usage':a83p(0x147),'shortDesc':a83p(0x139),'description':a83p(0x12f),'examples':[a83p(0x13a)]},async function(a,b){const q=a83p;try{const c=this[q(0x124)][q(0x127)](b[q(0x144)]),d=a83f[q(0x12d)](c,'ssh.json'),f=a83e[q(0x125)](d)[q(0x148)](),g=JSON[q(0x133)](f);Object[q(0x143)](g,{'env':c}),Log[q(0x12e)](q(0x138));const h=SSH['ping']('uname\x20-a',g);if(!h)throw q(0x136);if(h)Log[q(0x130)](q(0x128));const i=a83f[q(0x12d)](c,q(0x149),'ses.json');if(a83e[q(0x14a)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[q(0x131)](l,{...g});}const j=a83f['join'](c,q(0x134));SSH[q(0x131)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a83f[q(0x12d)](c,q(0x12a));SSH['scp']({'source':k,'dest':q(0x13f),'verbose':!![]},{...g}),SSH[q(0x126)]('pm2\x20delete\x20all',g),await SSH['ssh'](q(0x13c),{...g},{'verbose':!![]});}catch(m){console['error'](m),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x1b1))/0x1+parseInt(f(0x1ba))/0x2+parseInt(f(0x1b9))/0x3*(-parseInt(f(0x1bd))/0x4)+parseInt(f(0x1b6))/0x5+parseInt(f(0x1b5))/0x6+-parseInt(f(0x1bf))/0x7*(-parseInt(f(0x1b3))/0x8)+-parseInt(f(0x1bc))/0x9*(parseInt(f(0x1b2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xf02a7));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x1b8)]()[h(0x1b4)](h(0x1b7))[h(0x1b8)]()[h(0x1be)](a84a)[h(0x1b4)](h(0x1b7));});function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x1b1;var f=c[d];return f;},a84d(a,b);}a84a();import'./run.command.js';function a84c(){var i=['9321JxgcYD','826458DpDZEB','apply','135FAZvpi','516CCpHoD','constructor','1108471AfeFZY','196165xGgrem','1733860bLELFl','24NbuDQj','search','9449244CYvDzm','8591575rdkVOo','(((.+)+)+)+$','toString'];a84c=function(){return i;};return a84c();}import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d
|
|
1
|
+
const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=-parseInt(i(0x13d))/0x1*(-parseInt(i(0x12f))/0x2)+parseInt(i(0x139))/0x3+parseInt(i(0x125))/0x4*(parseInt(i(0x132))/0x5)+parseInt(i(0x138))/0x6+-parseInt(i(0x130))/0x7+-parseInt(i(0x128))/0x8*(parseInt(i(0x12b))/0x9)+-parseInt(i(0x136))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x2dc56));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a['toString']()[k(0x13e)](k(0x121))['toString']()[k(0x126)](a85a)[k(0x13e)](k(0x121));});function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x120;let f=c[d];return f;},a85d(a,b);}a85a();import a85e from'./run.command.js';import{execSync}from'child_process';function a85c(){const n=['64RChVVV','join','create','158346vSxtiG','existsSync','pm2.config.js','\x20up\x20--remove-orphans','6916YvHLUC','2186198Igqszd','docker-compose\x20--project-directory\x20','30FsgpnU','docker-compose.yaml','exit','Docker\x20Compose\x20Path:\x20','1380450JmWvEm','getAppConfigPath','750hXomXZ','242646gmQYOc','fsi','appName','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','98NLCTWL','search','apply','docker','getMakaProjectConfig','notice','(((.+)+)+)+$','inherit','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','createFile','239132vNOJkd','constructor','config/docker-compose.yaml'];a85c=function(){return n;};return a85c();}import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85l(0x12a)]({'name':a85l(0x140),'aliases':['d'],'shortDesc':a85l(0x13c),'description':a85l(0x123),'usage':'maka\x20run\x20docker','isPro':![],'validOpts':['']},async function(){const m=a85l;try{const a=this[m(0x13a)][m(0x141)](),b=this[m(0x13a)][m(0x137)]('docker'),c=a85f['join'](b,m(0x133)),d=a85f[m(0x129)](b,m(0x12d));Log[m(0x120)]('PM2\x20Config\x20File:\x20'+d),Log[m(0x120)](m(0x135)+c);if(!a85g[m(0x12c)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[m(0x13b)])},g=this[m(0x13a)]['templateContent']({'srcPath':m(0x127),'context':f})+'\x0a';this[m(0x13a)][m(0x124)]({'filePath':c,'data':g});}execSync(m(0x131)+b+m(0x12e),{'stdio':m(0x122)});}catch(h){process[m(0x134)](0x1);}},a85e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d
|
|
1
|
+
const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x16c))/0x1*(parseInt(p(0x148))/0x2)+parseInt(p(0x16a))/0x3+parseInt(p(0x164))/0x4*(-parseInt(p(0x14b))/0x5)+parseInt(p(0x151))/0x6+parseInt(p(0x155))/0x7+parseInt(p(0x13d))/0x8+parseInt(p(0x179))/0x9*(-parseInt(p(0x16d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x3da02));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0x157)]()[r(0x150)](r(0x178))['toString']()['constructor'](a86a)[r(0x150)]('(((.+)+)+)+$');});a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';function a86c(){const w=['672138sKuhBE','splice','51830QEnUxr','230idXqkX','warn','.meteor','extraPackages','findProjectDirectory','isDirectory','invokeMeteorCommand','autoupdate','--settings','env','development','(((.+)+)+)+$','165852oNUpWa','run','Run\x20your\x20Meteor\x20application','990088AQgUtu','port','createFile','split','apply','\x22web.browser.legacy,web.cordova\x22','settings.json','filter','fsi','cordova-build','allowIncompatibleUpdate','12aThnbg','excludeArchs','rawLogs','952330dlUOVz','app','verbose','join','info','search','763608iBJRUX','--production','settings','openSync','564711TMmsET','production','toString','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','config','create','mobileServer','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','notice','sep','--env','inspect','ios','length','4NuyVos','--exclude-archs','checkMeteorPackage','Node\x20Env\x20Config:\x20','isFile','concat'];a86c=function(){return w;};return a86c();}import{rimraf}from'rimraf';import{Command}from'../../command.js';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x13b;let f=c[d];return f;},a86d(a,b);}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a86d;a86f[s(0x154)](a,'r'),a86g[s(0x15a)]({'path':a});},Run=Command[a86t(0x15b)]({'name':a86t(0x13b),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86t(0x13c),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','validOpts':[a86t(0x176),a86t(0x14a),a86t(0x13e),a86t(0x161),a86t(0x15c),a86t(0x14d),a86t(0x147),a86t(0x170),'x',a86t(0x149),a86t(0x156),'ci']},async function(a,b){const u=a86t;try{await this['fsi'][u(0x166)](u(0x174),{'shouldInstall':!![]});const c=a[0x0];if(c===u(0x162)){const l=this[u(0x145)][u(0x171)](),m=a86e[u(0x14e)](l,u(0x14c),u(0x16f),'local',u(0x146));this[u(0x145)][u(0x172)](m)&&await rimraf(m);}!b[u(0x149)]&&!b['x']&&(a=a[u(0x169)]([u(0x165),u(0x142)]));if(b[u(0x15c)]&&typeof b[u(0x15c)]==='boolean')throw u(0x158);const d=b['env']?b[u(0x176)]:u(0x177),f=this[u(0x145)]['getAppConfigPath'](d),g=a86e[u(0x14e)](f,'process.env');let h=a86e[u(0x14e)](f,u(0x143));b[u(0x153)]?h=b[u(0x153)]:h=a86e['join'](f,'settings.json');this[u(0x145)]['isFile'](g)?(Log['notice'](u(0x167)+g),syncSource(g)):(Log[u(0x14f)](u(0x15d)+g),this[u(0x145)][u(0x13f)]({'filePath':g,'data':''}));this[u(0x145)][u(0x168)](h)?(Log[u(0x15e)]('Meteor\x20Settings:\x20'+h),a=a[u(0x169)]([u(0x175),h])):Log[u(0x16e)](u(0x159)+h);const i=f[u(0x140)](a86e[u(0x15f)]),j=i[i[u(0x163)]-0x1];j===u(0x156)&&a['push'](u(0x152));const k=process['argv']['slice'](0x2)[u(0x144)](n=>n!=='run')[u(0x144)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const v=u;n===v(0x160)&&k['splice'](o,0x2),n==='-e'&&k[v(0x16b)](o,0x2);}),this[u(0x145)][u(0x173)](u(0x13b),a[u(0x169)](k));}catch(n){Log['error'](n),process['exit'](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a87d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0xb9))/0x1+parseInt(f(0xba))/0x2+parseInt(f(0xb8))/0x3*(parseInt(f(0xb5))/0x4)+-parseInt(f(0xbb))/0x5+parseInt(f(0xb6))/0x6*(-parseInt(f(0xaf))/0x7)+parseInt(f(0xbd))/0x8+-parseInt(f(0xb4))/0x9*(parseInt(f(0xb7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xae155));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0xb3)]()[h(0xb2)](h(0xb1))['toString']()[h(0xb0)](a87a)[h(0xb2)](h(0xb1));});function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xaf;var f=c[d];return f;},a87d(a,b);}a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a87c(){var i=['apply','9518952yEyKMT','259JshJru','constructor','(((.+)+)+)+$','search','toString','5706RrneyH','60YtmDbW','117780qcKTWj','32830IqYpHp','280161gbgBkr','925661NMLFWL','2619736mjvqbY','6527130UKsdgR'];a87c=function(){return i;};return a87c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0x189))/0x1+parseInt(h(0x16d))/0x2*(parseInt(h(0x17c))/0x3)+parseInt(h(0x176))/0x4*(parseInt(h(0x170))/0x5)+-parseInt(h(0x179))/0x6*(-parseInt(h(0x16f))/0x7)+parseInt(h(0x17b))/0x8+parseInt(h(0x18a))/0x9+-parseInt(h(0x190))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x9409f));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x17a)]()[j(0x178)](j(0x18d))[j(0x17a)]()[j(0x177)](a88a)['search'](j(0x18d));});function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x16b;let f=c[d];return f;},a88d(a,b);}a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';function a88c(){const m=['boolean','Set\x20OpenAI\x20Key:\x20','help','global-config','940348DrSaiE','10324629lAMdqe','pallet','allowInsecure','(((.+)+)+)+$','cacert','error','50952430TLGtQq','openai','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','Set\x20global\x20Maka-CLI\x20settings','apply','maka\x20set:global-config','Set\x20allowInsecure:\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','setGlobalConfig','maka\x20set:gc\x20--workspace\x20<path>','fsi','2194566wYhXFW','disallowInsecure','259KlbSAh','50jBIPsK','Could\x20not\x20find\x20directory','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','resolve','isFile','Set\x20CA\x20Cert\x20Path:\x20','447304sSTFQM','constructor','search','132684OqrBkF','toString','4642560tNbXzf','3PbKrQL','Set\x20workspace:\x20','success','maka\x20set:global-config\x20--cacert\x20<path>','workspace','isDirectory','Set\x20color\x20pallet\x20to:\x20','One\x20or\x20the\x20other\x20buddy','light'];a88c=function(){return m;};return a88c();}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a88k(0x188),'usage':a88k(0x195),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x18e),'boolFlag':![]},{'name':a88k(0x18c),'boolFlag':!![]},{'name':a88k(0x16e),'boolFlag':!![]},{'name':a88k(0x180),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':a88k(0x187),'boolFlag':!![]},{'name':'pallet','values':[a88k(0x184),'dark']}],'shortDesc':a88k(0x193),'description':a88k(0x192),'examples':[a88k(0x17f),'maka\x20set:gc\x20--insecure\x20<path>',a88k(0x16b)]},async function(a,b){const l=a88k;try{if(b[l(0x18e)]){if(this[l(0x16c)][l(0x174)](b[l(0x18e)]))await this[l(0x16c)][l(0x198)]({'cert':b[l(0x18e)]}),Log[l(0x17e)](l(0x175)+b[l(0x18e)]);else{const c=typeof b[l(0x18e)]===l(0x185)?l(0x197):l(0x172)+b[l(0x18e)];throw Log[l(0x18f)](c);}}if(b[l(0x180)]){const d=this[l(0x16c)][l(0x181)](b[l(0x180)]);if(d)await this['fsi'][l(0x198)]({'workspace':a88e['resolve'](b['workspace'])}),Log[l(0x17e)](l(0x17d)+a88e[l(0x173)](b[l(0x180)]));else throw Log['error'](l(0x171));}b[l(0x191)]&&(await this[l(0x16c)][l(0x198)]({'openai':b[l(0x191)]}),Log[l(0x17e)](l(0x186)+b[l(0x191)]));b[l(0x18b)]&&(await this[l(0x16c)][l(0x198)]({'pallet':b[l(0x18b)]}),Log[l(0x17e)](l(0x182)+b[l(0x18b)]));if(b['allowInsecure']){if(b[l(0x18c)]&&b[l(0x16e)])throw Log['error'](l(0x183));let f=b['allowInsecure'];b['disallowInsecure']&&(f=![]),await this[l(0x16c)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0x17e)](l(0x196)+f);}process['exit'](0x0);}catch(g){console[l(0x18f)](g),process['exit'](0x0);}},a88f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x1eb))/0x1*(parseInt(f(0x1fc))/0x2)+-parseInt(f(0x1ee))/0x3*(parseInt(f(0x1f3))/0x4)+parseInt(f(0x1e6))/0x5*(-parseInt(f(0x1f5))/0x6)+parseInt(f(0x1ed))/0x7+parseInt(f(0x1fb))/0x8+parseInt(f(0x1f0))/0x9*(-parseInt(f(0x1f4))/0xa)+parseInt(f(0x1f7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x4fae8));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x1f9)]()[h(0x1f2)](h(0x1ef))[h(0x1f9)]()[h(0x1ec)](a89a)[h(0x1f2)](h(0x1ef));});a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x1e6;var f=c[d];return f;},a89d(a,b);}function a89c(){var k=['1174606RhzaJe','1525YYNRDh','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','Set\x20local\x20maka\x20app\x20settings','local-config','notice','1jnuWKU','constructor','1933022iElctt','1576671aTxqfv','(((.+)+)+)+$','18MTysFm','Sorry,\x20not\x20implemented\x20yet','search','4PAbgdK','2734510nexFLn','7914USTqNV','create','20759387CWlYgS','apply','toString','maka\x20set:local-config','1800560TzEOnl'];a89c=function(){return k;};return a89c();}Command[a89i(0x1f6)]({'name':a89i(0x1e9),'usage':a89i(0x1fa),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x1e8),'validOpts':[],'description':a89i(0x1e7)},async function(){var j=a89i;Log[j(0x1ea)](j(0x1f1));},a89e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a90h=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0x1bb))/0x1+-parseInt(f(0x1b9))/0x2+parseInt(f(0x1bc))/0x3*(-parseInt(f(0x1ba))/0x4)+-parseInt(f(0x1b5))/0x5+-parseInt(f(0x1bd))/0x6+-parseInt(f(0x1b4))/0x7+-parseInt(f(0x1b8))/0x8*(-parseInt(f(0x1bf))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x86edc));function a90c(){const j=['5924408bHzuJt','55176TKHMvQ','4RXKAwD','853134MGYxYY','1132449YVxfOE','3786738sXCblu','set','27FscEMX','runSubCommand','constructor','search','create','maka\x20set:<sub-command>','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','toString','5582962wGrgZD','3441795RCdozd','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','(((.+)+)+)+$'];a90c=function(){return j;};return a90c();}const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const g=a90d;return a90a[g(0x1b3)]()[g(0x1af)](g(0x1b7))[g(0x1b3)]()[g(0x1c1)](a90a)[g(0x1af)](g(0x1b7));});function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1af;let f=c[d];return f;},a90d(a,b);}a90a();import{Command}from'../../command.js';const SetCommand=Command[a90h(0x1b0)]({'name':a90h(0x1be),'usage':a90h(0x1b1),'shortDesc':a90h(0x1b2),'description':a90h(0x1b6),'validOpts':[]},async function(a,b){const i=a90h,c=a[0x0],d=this['findSubCommand'](c);d&&this[i(0x1c0)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d
|
|
1
|
+
function a91c(){const o=['env','apply','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','verbose','11889vWyGEw','309098tLiNzW','3264TUyOex','9259460ADMqQD','5HkFPNO','440231dRWlgW','assign','5144982hupHZB','parse','4jolUOU','fsi','(((.+)+)+)+$','create','length','toString','sshSync','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','ssh','exit','constructor','1481070RpMLrv','maka\x20ssh\x20--env\x20prod','search','maka\x20ssh\x20<command>','1480416lRnvhU','error','20rFNojk'];a91c=function(){return o;};return a91c();}const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x1bc))/0x1+parseInt(j(0x1b4))/0x2+-parseInt(j(0x1b0))/0x3*(-parseInt(j(0x1c4))/0x4)+parseInt(j(0x1bf))/0x5*(parseInt(j(0x1c2))/0x6)+-parseInt(j(0x1be))/0x7+parseInt(j(0x1bd))/0x8*(parseInt(j(0x1bb))/0x9)+-parseInt(j(0x1b6))/0xa*(parseInt(j(0x1c0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xe03ab));function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x1af;let f=c[d];return f;},a91d(a,b);}const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x1c9)]()[l(0x1b2)](l(0x1c6))[l(0x1c9)]()[l(0x1af)](a91a)[l(0x1b2)]('(((.+)+)+)+$');});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0x1c7)]({'name':a91m(0x1cc),'usage':a91m(0x1b3),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0x1b7)],'validOpts':[a91m(0x1b7),a91m(0x1ba)],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':['maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging',a91m(0x1b1),a91m(0x1cb),a91m(0x1b9),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a91m;try{const c=this[n(0x1c5)]['getAppConfigPath'](b[n(0x1b7)]);let d='';a[n(0x1c8)]>0x0&&(d=a[0x0]);const f=a91f['join'](c,'ssh.json'),g=a91e['readFileSync'](f)['toString'](),h=JSON[n(0x1c3)](g);Object[n(0x1c1)](h,{'env':c}),SSH[n(0x1ca)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x1ba)]});}catch(i){Log[n(0x1b5)](i),process[n(0x1cd)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d
|
|
1
|
+
function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xd6;let f=c[d];return f;},a92d(a,b);}const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0xfd))/0x1*(parseInt(v(0x116))/0x2)+parseInt(v(0x108))/0x3*(-parseInt(v(0x102))/0x4)+parseInt(v(0x100))/0x5+-parseInt(v(0x10a))/0x6+parseInt(v(0xd7))/0x7+-parseInt(v(0xda))/0x8+-parseInt(v(0xe5))/0x9*(-parseInt(v(0x114))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xa0694));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0xd8)]()[x(0xe3)](x(0x10b))[x(0xd8)]()[x(0x106)](a92a)[x(0xe3)](x(0x10b));});a92a();import a92e from'fs';import a92f from'path';function a92c(){const A=['The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','success','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','letsencrypt','generate-csr','3879070hxfWHe','stringify','6IubxOM','maka\x20ssl\x20[command]','Verifying\x20Letsencrypt\x20configuration','4531877JYIdMy','toString','domainNames','2547712PYdZvn','.key','Remote\x20host\x20connection\x20successful','[?]\x20Domains\x20to\x20register:\x20','emailUpdate','maka\x20ssl\x20--env\x20dev\x20generate-csr','sudo\x20snap\x20install\x20--classic\x20certbot','.crt','appName','search','parse','63BOovfe','error','env','domains','Create\x20and\x20manage\x20your\x20SSL\x20operations.','generate-ssc','fsi','getMakaProjectConfig','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','ssl','withSpinner','New\x20CSR\x20written\x20to\x20','email','ssh','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','uname\x20-a','create','genCSR','apply','writeFileSync','existsSync','ask','exit','Email\x20to\x20use\x20for\x20auto-updates:\x20','272291UDKkth','notice','.csr','704080iNpHxM','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','199968ZLYStC','genSSC','letsencrypt.json','start','constructor','Please\x20provide\x20a\x20command.','36bMRXBk','readFileSync','6667746UYIMBJ','(((.+)+)+)+$','mkKeysDir','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','join'];a92c=function(){return A;};return a92c();}import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0xf5)]({'name':a92y(0xee),'usage':a92y(0x117),'validOpts':[a92y(0xe8),a92y(0xf1)],'requiredOpts':[a92y(0xe7)],'shortDesc':a92y(0xe9),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a92y(0xdf),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a92y(0xed)]},async function(a,b){const z=a92y,c=this[z(0xeb)][z(0xec)](),d=this[z(0xeb)]['getAppConfigPath'](b['env']),f=this[z(0xeb)][z(0x10c)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x113))SSL[z(0xf6)]({'keyName':c['appName']+z(0xdb),'csrName':c[z(0xe2)]+z(0xff),'cwd':f});else{if(g===z(0xea)){if(!a92e[z(0xf9)](a92f[z(0x10e)](f,c['appName']+'.key')))throw z(0x10f)+a92f[z(0x10e)](f,c[z(0xe2)]+z(0xdb));if(!a92e[z(0xf9)](a92f[z(0x10e)](f,c['appName']+'.csr')))throw z(0x111)+a92f[z(0x10e)](f,c[z(0xe2)]+z(0xff));SSL[z(0x103)]({'keyName':c[z(0xe2)]+z(0xdb),'crtName':c[z(0xe2)]+z(0xe1),'cwd':f}),Log[z(0xfe)](z(0xf0)+f);}else{if(g===z(0x112)){let h=b[z(0xe8)],i=b[z(0xf1)];try{const p=a92e[z(0x109)](a92f[z(0x10e)](d,z(0x104)))[z(0xd8)](),q=JSON[z(0xe4)](p);h=b[z(0xe8)]?b['domains']:q[z(0xd9)],i=b[z(0xf1)]?b[z(0xf1)]:q[z(0xde)],(!b['email']||!b[z(0xe8)])&&Log['notice']('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON['parse'](a92e[z(0x109)](d+'/ssh.json')[z(0xd8)]());Object['assign'](j,{'env':d}),Log['notice']('Checking\x20remote\x20host\x20availability');try{const s=SSH['ping'](z(0xf4),j);if(!s)throw z(0x10d);if(s)Log[z(0x110)](z(0xdc));}catch(t){Log[z(0xe6)](t);return;}const k=Log[z(0xef)]();k[z(0x105)](z(0xd6)),SSH['ssh'](z(0x101),{...j}),SSH[z(0xf2)](z(0xe0),{...j}),SSH['ssh'](z(0xf3),{...j}),k[z(0x110)]();const l=h?h:await Actions[z(0xfa)](z(0xdd)),m=i?i:await Actions[z(0xfa)](z(0xfc));SSH[z(0xf2)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x115)](n,null,0x2);a92e[z(0xf8)](a92f['join'](d,z(0x104)),o);}else throw z(0x107);}}}catch(u){console[z(0xe6)](u),process[z(0xfb)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a93p=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=parseInt(m(0x69))/0x1*(-parseInt(m(0x93))/0x2)+parseInt(m(0x6d))/0x3+-parseInt(m(0x91))/0x4+-parseInt(m(0x75))/0x5+-parseInt(m(0x78))/0x6*(parseInt(m(0x81))/0x7)+parseInt(m(0x6b))/0x8+parseInt(m(0xa4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x34a0e));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const n=a93d;return a93a['toString']()[n(0x6a)]('(((.+)+)+)+$')[n(0x8e)]()[n(0x83)](a93a)[n(0x6a)](n(0x9f));});a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x65;let f=c[d];return f;},a93d(a,b);}import{Command}from'../command.js';function a93c(){const s=['233100Elkfke','process.env','env','27702CZCnOe','create','parse','warn','development','filter','sanjo:jasmine','--driver','--settings','266JQPUuB','Cannot\x20find\x20Node\x20Environment\x20File:\x20','constructor','fsi','inspect','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','notice','driver','join','once','isFile','meteortesting:mocha','argv','toString','utf8','jasmine','607152OlFkOW','--full-app','20998Ysqiri','none','openSync','concat','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','driver-package','exit','.maka','config','settings.json','test','tests','(((.+)+)+)+$','maka\x20test','Meteor\x20Settings:\x20','testAppPath','readFileSync','3165246XhWzeg','engines','unit','invokeMeteorCommand','Node\x20Env\x20Config:\x20','29OcyBFq','search','1259624PiWSqj','--env','1154232SSRqcg','splice','--packages','getAppConfigPath','mocha','forEach','rawLogs','packages'];a93c=function(){return s;};return a93c();}import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a93d;a93e[o(0x95)](a,'r'),a93g[o(0x9b)]({'path':a});};Command[a93p(0x79)]({'name':a93p(0x9d),'mustBeInMakaProject':!![],'validOpts':[a93p(0x8a),'packages',a93p(0x88),'driverPackage',a93p(0x66),a93p(0x77),a93p(0x73),'port',a93p(0x85),a93p(0xa2)],'usage':a93p(0xa0),'aliases':['t',a93p(0x9e)],'shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const q=a93p;try{let c=this['fsi'][q(0x70)](q(0x7c));b[q(0x77)]&&(c=this[q(0x84)]['getAppConfigPath'](b[q(0x77)]));(!b[q(0x66)]||!!b['once'])&&(a=a[q(0x96)]([q(0x92)]));b[q(0x66)]&&delete b[q(0x66)];let d=b['driver-package']||b['driver']||q(0x94);if(d==='none'){const j=JSON[q(0x7a)](a93e[q(0xa3)](a93f[q(0x89)](this[q(0x84)]['findProjectDirectory'](),q(0x9a),'config.json'),q(0x8f)));if(j[q(0x65)]['test']===q(0x90))d=q(0x7e);else j[q(0x65)][q(0x9d)]===q(0x71)&&(d=q(0x8c));}if(d==='none')throw q(0x86);(!b[q(0x98)]||!b[q(0x88)])&&(a=a[q(0x96)](['--driver-package',d]));const f=a93f[q(0x89)](c,q(0x9c));this[q(0x84)][q(0x8b)](f)?(Log[q(0x87)](q(0xa1)+f),a=a[q(0x96)]([q(0x80),f])):Log[q(0x7b)](q(0x97)+f);const g=a93f['join'](c,q(0x76));this[q(0x84)]['isFile'](g)?(Log['notice'](q(0x68)+g),syncSource(g)):Log[q(0x7b)](q(0x82)+g);const h=process[q(0x8d)]['slice'](0x2)['filter'](k=>k!=='--env')[q(0x7d)](k=>k!=='test')[q(0x7d)](k=>k!==a[0x0]);h[q(0x72)]((k,l)=>{const r=q;(k===r(0x6c)||k===r(0x7f))&&h['splice'](l,0x2),k===r(0x6f)&&h[r(0x6e)](l,0x1);});const i=b[q(0x74)]?'test-packages':q(0x9d);this['fsi'][q(0x67)](i,a[q(0x96)](h));}catch(k){console['error'](k),process[q(0x99)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(
|
|
1
|
+
const a94n=a94d;function a94c(){const p=['version','38QtiNVh','compareMakaToLatest','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','33576RDqOcL','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','112dzNwDi','maka\x20version','\x20node\x20-v','majestic','4282300RlAfWY','Maka\x20','688356LFwZPv','constructor','155XRqnRM','win32','Project\x27s\x20Meteor\x20Version\x20','toString','getProjectsMeteorNodeVersion','7615748usFMNv','bright','2979954dcPkUb','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','verbose','Project\x27s\x20Meteor\x20Node\x20Version\x20','platform','----------------------System----------------------------','4.7.26','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20',')\x20to\x20at\x20least\x20meteor\x27s\x20(','error','apply','getGlobalMeteorVersion','(((.+)+)+)+$','maka\x20v','isMakaProject','System\x27s\x20Node\x20Version\x20','warn','exit','fsi','----------------------Project----------------------------','18568pIBtqj','notice','search','create','System\x27s\x20Meteor\x20Version\x20','2494437wfvDws','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','meteor.bat','replace'];a94c=function(){return p;};return a94c();}(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0xe8))/0x1*(parseInt(k(0xeb))/0x2)+parseInt(k(0xe3))/0x3+parseInt(k(0xde))/0x4*(parseInt(k(0xf5))/0x5)+-parseInt(k(0xfc))/0x6+-parseInt(k(0xfa))/0x7+parseInt(k(0xed))/0x8*(parseInt(k(0xf3))/0x9)+-parseInt(k(0xf1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xa3e10));function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xcc;let f=c[d];return f;},a94d(a,b);}const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0xf8)]()[m(0xe0)](m(0xd6))[m(0xf8)]()[m(0xf4)](a94a)['search'](m(0xd6));});a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a94n(0xcf)};Command[a94n(0xe1)]({'name':a94n(0xe7),'aliases':['v'],'usage':a94n(0xee),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a94n(0xfd),'examples':[a94n(0xd7),a94n(0xee),'maka\x20version\x20--verbose'],'description':a94n(0xea)},async function(a,b){const o=a94n;try{const c=process[o(0xcd)]===o(0xf6)?o(0xe5):'meteor';Log[o(0xf0)](o(0xf2)+pjson['version']),await this[o(0xdc)][o(0xe9)]();if(b[o(0xfe)]){await this[o(0xdc)]['compareMakaToLatest'](),Log[o(0xfb)](o(0xce));const d=this[o(0xdc)][o(0xd5)]();Log[o(0xfb)]((o(0xe2)+d)[o(0xe6)]('\x0a',''));const f=execSync(c+o(0xef))[o(0xf8)]()[o(0xe6)](/\r?\n|\r/,'')['replace']('v','');Log[o(0xfb)](o(0xd0)+f);const g=execSync('node\x20-v')[o(0xf8)]()[o(0xe6)](/\r?\n|\r/,'')[o(0xe6)]('v','');a94e['gt'](f,g)?(Log['warn']('System\x27s\x20Node\x20Version\x20'+g),Log[o(0xda)](o(0xe4)+g+o(0xd2)+f+')')):Log[o(0xfb)](o(0xd9)+g);if(this[o(0xdc)][o(0xd8)]()){Log['bright'](o(0xdd));const h=this['fsi']['getProjectMeteorVersion']();a94e['gt'](d,h)?(Log['warn'](o(0xf7)+h['replace']('\x0a','')),Log[o(0xda)](o(0xd1)+d+'\x22')):Log[o(0xdf)]((o(0xf7)+h)['replace']('\x0a',''));const i=await this['fsi'][o(0xf9)]();i==='N/A'?(Log[o(0xda)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xda)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0xfb)](o(0xcc)+i),Log['bright'](o(0xec));}}}catch(j){console[o(0xd3)](j),process[o(0xdb)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a95d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0xd1))/0x1*(-parseInt(f(0xc9))/0x2)+parseInt(f(0xc8))/0x3*(parseInt(f(0xd6))/0x4)+-parseInt(f(0xd5))/0x5*(parseInt(f(0xd2))/0x6)+-parseInt(f(0xce))/0x7+parseInt(f(0xca))/0x8*(-parseInt(f(0xcd))/0x9)+parseInt(f(0xc7))/0xa+parseInt(f(0xcf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xea401));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0xd0)]()['search'](h(0xd3))['toString']()[h(0xcc)](a95a)[h(0xd4)](h(0xd3));});function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xc7;var f=c[d];return f;},a95d(a,b);}a95a();function a95c(){var i=['(((.+)+)+)+$','search','2755qbxzCI','2210452KFtRgN','5112580kzvbah','3JlXrjm','2WNThqr','16nvrCnv','apply','constructor','4311639vNQCAr','9778048DxpvGp','48611959BCDoWV','toString','1476589mvsTlC','7536EPjuoA'];a95c=function(){return i;};return a95c();}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d
|
|
2
|
+
var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x100))/0x1*(-parseInt(f(0xf9))/0x2)+-parseInt(f(0x103))/0x3+parseInt(f(0xfd))/0x4+-parseInt(f(0xf3))/0x5+-parseInt(f(0xf7))/0x6*(-parseInt(f(0xf6))/0x7)+parseInt(f(0x102))/0x8*(-parseInt(f(0xf8))/0x9)+-parseInt(f(0xfc))/0xa*(-parseInt(f(0xf4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x74249));function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0xf3;var f=c[d];return f;},a96d(a,b);}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a['toString']()[h(0x101)](h(0x105))[h(0xfe)]()[h(0xff)](a96a)['search'](h(0x105));});a96a(),process[a96i(0x104)][a96i(0xf5)]=a96i(0xfb);function a96c(){var j=['1045CXIeSQ','NODE_OPTIONS','7hRXzac','5587530DUFOfg','9FdoUOS','2FtaYBD','apply','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','65330jnwkaU','2024904gVisNr','toString','constructor','229497GULowk','search','2415208kXIrYJ','2244498NNOHmp','env','(((.+)+)+)+$','1514155UoPnjD'];a96c=function(){return j;};return a96c();}import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97u=a97d;(function(a,b){const r=a97d,c=a();while(!![]){try{const d=parseInt(r(0x1b5))/0x1+parseInt(r(0x1df))/0x2*(-parseInt(r(0x1bf))/0x3)+parseInt(r(0x183))/0x4*(parseInt(r(0x187))/0x5)+parseInt(r(0x1f5))/0x6*(parseInt(r(0x1ec))/0x7)+-parseInt(r(0x1a7))/0x8+parseInt(r(0x1e7))/0x9*(-parseInt(r(0x1ee))/0xa)+parseInt(r(0x182))/0xb*(parseInt(r(0x1d3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0xa40e1));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const s=a97d;return a97a[s(0x19e)]()[s(0x1c4)](s(0x18c))[s(0x19e)]()[s(0x1a0)](a97a)['search'](s(0x18c));});a97a();import a97e from'path';import a97f from'fs';import a97g from'cli-table';import{paramCase}from'change-case';import a97h from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x179;let f=c[d];return f;},a97d(a,b);}import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';function a97c(){const M=['Server','join','2138sjZoCV','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','shortDesc','addGenerator','LIGHT','chdir','number','params','6645447DXYDAI','minArgLength','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','No\x20undo\x20handler\x20defined\x20for\x20','setColorMode','7ldrUcy','options','10xaVDdX','_generators','warn','pop','find','Too\x20few\x20arguments','_undoHandler','6719034SfpnAQ','push','pallet','Generators:','validateMakaProject','maxArgLength','size','where','message','appPathPrefix','error','445038djFOzF','596TRKEUh','existsSync','undo','DARK','12820VdrAbc','Description','validateMeteorInstall','mustHaveMeteorInstalled','_handler','(((.+)+)+)+$','requiredEngines','server','Alias','handleGenerateError','getGlobalConfig','addToHistory','keys','shift','colLocAnswer','root','\x20not\x20found','There\x20is\x20no\x20Meteor\x20application\x20here','help','call','client','Client','length','toString','resourceName','constructor','Name','findProjectDirectory','Please\x20run\x20\x22maka\x20install\x20meteor\x22','bright','cwd','sep','3720480HXgRoM','tableList','assign','history.json','mustBeInMakaProject','.maka','utf-8','name','getHistoryFileSize','validateMakaSubscription','findGeneratorByName','Nothing\x20to\x20undo.','bind','localeCompare','118453eLdkdi','Generator\x20not\x20found','processAndRunGenerator','from','split','readHistory','writeFileSync','Generator\x20format\x20is\x20incorrect','_historyFilePath','dir','306SmKmMU','opts','invoke','includes','readFileSync','search','pathFromProject','function','notice','forEach','maxOptsLength','validateParams','both','usage','minOptsLength','writeHistory','statSync','Too\x20many\x20options','config','match','108vmufys','fsi','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','generatorName','sort','Generator\x20requires\x20a\x20handler\x20function','validateEngines','Generator\x20','addGenerator\x20requires\x20a\x20Generator\x20instance','Generator\x20requires\x20a\x20name'];a97c=function(){return M;};return a97c();}const MAX_HISTORY_SIZE=0x64*0x400;async function inside(a='.',b){const t=a97d,c=process[t(0x1a5)]();let d=null;try{process['chdir'](a),d=await b();}finally{process[t(0x1e4)](c);}return d;}export class Generator extends Tool{['options'];['_generators'];[a97u(0x1bd)];['_undoHandler'];constructor(a,b,c){const v=a97u;super();if(!a)throw new Error(v(0x1e0));if(!a[v(0x1ae)])throw new Error(v(0x1dc));if(typeof b!==v(0x1c6))throw new Error(v(0x1d8));this[v(0x1ef)]=[],this[v(0x1ed)]=Object['assign']({},a),this[v(0x1ae)]=this[v(0x1ed)]['name'],this[v(0x18b)]=b[v(0x1b3)](this);try{this['_historyFilePath']=this['fsi'][v(0x1c5)]({'pathParts':[v(0x1ac),v(0x1aa)]})||a97e[v(0x1de)]('.','.maka',v(0x1aa));}catch(d){Log[v(0x181)](d);}c&&(this[v(0x1f4)]=c[v(0x1b3)](this));}[a97u(0x1af)](){const w=a97u;if(a97f['existsSync'](this['_historyFilePath'])){const a=a97f[w(0x1cf)](this[w(0x1bd)]);return a[w(0x17d)];}return 0x0;}[a97u(0x1ba)](){const x=a97u;if(!a97f[x(0x184)](this[x(0x1bd)]))return[];return JSON['parse'](a97f[x(0x1c3)](this[x(0x1bd)],x(0x1ad)));}[a97u(0x1ce)](a){const y=a97u;this[y(0x1bd)]&&!a97f[y(0x184)](this['_historyFilePath'])&&a97f[y(0x1bb)](this[y(0x1bd)],JSON['stringify']([])),a97f[y(0x1bb)](this[y(0x1bd)],JSON['stringify'](a,null,0x2));}[a97u(0x192)](a){const z=a97u;try{a?.[z(0x1e6)]?.[z(0x1c0)][z(0x1d1)]&&delete a[z(0x1e6)][z(0x1c0)][z(0x1d1)];const b=this[z(0x1ba)](),c={'generatorName':this['name'],'details':a};b[z(0x1f6)](c);const d=Buffer[z(0x1b8)](JSON['stringify'](b))['length'];while(d>MAX_HISTORY_SIZE&&b[z(0x19d)]>0x0){b[z(0x194)]();}this[z(0x1ce)](b);}catch(f){Log['error'](f);}}static['create'](a,b,c,d){const A=a97u;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==A(0x1c6))throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const e=new Generator(a,b);return c&&(e['_undoHandler']=c[A(0x1b3)](e)),d=d||a97h,Object[A(0x1a9)](e,{'parent':d?.[A(0x1ed)]?.[A(0x1ae)]}),d['addGenerator'](e),e;}async[a97u(0x185)](){const B=a97u,a=this['readHistory'](),b=a['pop']();if(!b){Log[B(0x1f0)](B(0x1b2));return;}const c=this[B(0x1b1)](b[B(0x1d6)]);if(!c){Log['error']('Generator\x20'+b[B(0x1d6)]+'\x20not\x20found.\x20Cannot\x20undo.');return;}c[B(0x1f4)]?(await c[B(0x1f4)](b['details']),this[B(0x1ce)](a)):Log['warn'](B(0x1ea)+b[B(0x1d6)]+'\x20generator.\x20Skipping\x20undo.');}[a97u(0x1e2)](a){const C=a97u;if(!(a instanceof Generator))throw new Error(C(0x1db));this['_generators'][C(0x1f6)](a);}async[a97u(0x1b7)](a,b=[],c={}){const D=a97u;let d;try{const f=a?.[D(0x1b9)](':');if(!f||f['length']===0x0)throw D(0x1bc);let g=this[D(0x1ef)],h;for(const i of f){h=g[D(0x1f2)](j=>j[D(0x1d2)](i));if(!h)throw D(0x1da)+i+D(0x197);await this[D(0x1b0)](h),g=h[D(0x1ef)];}if(h)d=await h[D(0x1c1)](b,c);else throw D(0x1b6);}catch(j){Log[D(0x181)](j);}return d;}[a97u(0x1b1)](a){const E=a97u,b=a?.[E(0x1b9)](':');if(!b||b[E(0x19d)]===0x0)return Log[E(0x181)]('Generator\x20format\x20is\x20incorrect'),null;let c=this[E(0x1ef)],d;for(const e of b){d=c[E(0x1f2)](f=>f['match'](e));if(!d)return Log[E(0x181)](E(0x1da)+e+'\x20not\x20found'),null;c=d[E(0x1ef)];}return d||null;}async[a97u(0x1c1)](a,b){const F=a97u,c=a['slice']();b[F(0x19f)]=c[0x0];try{const d=await this['fsi'][F(0x191)](),f=d[F(0x179)]==='light'?ColorMode[F(0x1e3)]:ColorMode[F(0x186)];Log[F(0x1eb)](f),await this[F(0x1b0)](this);const g=a[0x0]===_prevGen||a[F(0x19d)]===0x0&&this[F(0x1ef)][F(0x19d)]>=0x0,h=b[F(0x199)]||b['h'];if(g&&h){if(this[F(0x1ef)][F(0x19d)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this['options'][F(0x1ab)]){const i=this[F(0x17b)]();if(!i)throw new MustBeInProjectError();}if(this[F(0x1ed)][F(0x18a)]){const j=this[F(0x189)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[F(0x1ed)][F(0x1e8)]===F(0x1e5)){if(a['length']<this[F(0x1ed)][F(0x1e8)]){Log[F(0x181)](F(0x1f3));throw new UsageError();}}if(typeof this[F(0x1ed)][F(0x17c)]===F(0x1e5)){if(a[F(0x19d)]>this[F(0x1ed)][F(0x17c)]){Log[F(0x181)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[F(0x1ed)][F(0x1cd)]===F(0x1e5)){if(Object[F(0x193)](b)[F(0x19d)]<this['options'][F(0x1cd)]){Log[F(0x181)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[F(0x1ed)][F(0x1c9)]===F(0x1e5)){if(Object[F(0x193)](b)[F(0x19d)]>=this['options'][F(0x1c9)]){Log[F(0x181)](F(0x1d0));throw new UsageError();}}}this[F(0x1ed)]['requiredEngines']&&this[F(0x1d9)](this['options'][F(0x18d)]);await this[F(0x1ca)](a,b,this[F(0x1ed)]);if(!b[F(0x19f)]&&!this[F(0x1ed)]['noNeedResource']){Log[F(0x181)]('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(k){this[F(0x190)](k),process['exit'](0x1);}return await inside(b[F(0x1a5)],async()=>{const G=F;try{if(!b[G(0x196)]&&!this[G(0x1d4)][G(0x1a2)]())throw new MustBeInProjectError();const l=b[G(0x19f)]?.['replace'](/\\/g,'/')[G(0x1b9)]('/');!b[G(0x1be)]&&(l?.[G(0x19d)]>0x1?(b[G(0x19f)]=l[G(0x1f1)](),c[0x0]=b[G(0x19f)],b['dir']=l['map'](n=>{return paramCase(n);})[G(0x1de)](a97e[G(0x1a6)])):b['dir']='');if(this[G(0x1ed)]['checkWhere']){if(!b['where']){const o={'type':'list','name':G(0x195),'message':'Location','choices':[{'name':G(0x19c),'value':G(0x19b)},{'name':G(0x1dd),'value':'server'},{'name':'Both','value':G(0x1cb)}]},{colLocAnswer:p}=await Actions['options'](o);p?b[G(0x17e)]=p:b[G(0x17e)]=G(0x1cb);}const n=['both',G(0x19b),G(0x18e)];if(!n[G(0x1c2)](b[G(0x17e)])){Log['error']('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[G(0x17e)]){case G(0x1cb):b['appPathPrefix']='lib';break;case G(0x18e):b[G(0x180)]=G(0x18e);break;case G(0x19b):b[G(0x180)]=G(0x19b);break;default:b[G(0x180)]='';}}const m=await this[G(0x18b)][G(0x19a)](this,c,b);return this[G(0x192)]({'params':{'args':c,'opts':this[G(0x1d4)]['deepen'](b)},'success':m?.['success'],'message':m?.[G(0x17f)],'details':m?.['details']}),m;}catch(q){this[G(0x190)](q);}});}['listGenerators'](){const H=a97u;this['tableList'](this[H(0x1ef)]);}[a97u(0x190)](a){const I=a97u,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this['options'];Log[I(0x1cc)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[I(0x1c7)](I(0x17a)),this['tableList'](this[I(0x1ef)]);else{if(a instanceof MustBeInProjectError)Log[I(0x181)](I(0x1e9));else{if(a instanceof NoMeteorFoundError)Log[I(0x181)](I(0x1d5)),Log[I(0x1c7)](I(0x1a3));else a instanceof NoMeteorAppFoundError&&Log['error'](I(0x198));}}}[a97u(0x1a8)](a){const J=a97u,b=new a97g({});b[J(0x1f6)]([J(0x1a1),J(0x18f),J(0x188)]),a[J(0x1d7)]((c,d)=>{const K=J;return c[K(0x1ae)][K(0x1b4)](d[K(0x1ae)]);})[J(0x1c8)](c=>{const L=J;b[L(0x1f6)]([c[L(0x1ae)],c['aliases'](),c[L(0x1e1)]()]);}),Log[J(0x1a4)](b['toString']());}}
|
|
1
|
+
const a97u=a97d;function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x193;let f=c[d];return f;},a97d(a,b);}(function(a,b){const r=a97d,c=a();while(!![]){try{const d=-parseInt(r(0x1b2))/0x1+-parseInt(r(0x1e7))/0x2*(parseInt(r(0x1ed))/0x3)+-parseInt(r(0x1a3))/0x4+parseInt(r(0x1bb))/0x5+parseInt(r(0x1ff))/0x6*(-parseInt(r(0x1ab))/0x7)+parseInt(r(0x1bf))/0x8*(parseInt(r(0x1bc))/0x9)+parseInt(r(0x1ea))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x5e328));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const s=a97d;return a97a[s(0x210)]()[s(0x1f4)](s(0x19f))[s(0x210)]()[s(0x1ef)](a97a)[s(0x1f4)](s(0x19f));});a97a();import a97e from'path';import a97f from'fs';import a97g from'cli-table';import{v4 as a97h}from'uuid';import{paramCase}from'change-case';import a97i from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';function a97c(){const M=['processAndRunGenerator','toString','usage','generatorName','map','requiredEngines','writeHistory','opts','readHistory','details','findGeneratorByName','join','history.json','params','setColorMode','(((.+)+)+)+$','handleGenerateError','Generator\x20format\x20is\x20incorrect','Generator.create\x20requires\x20some\x20options!','2659800NJclHj','No\x20resource\x20name\x20specified','assign','error','light','_generators','name','sep','163835hMCEpx','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','addGenerator\x20requires\x20a\x20Generator\x20instance','_genTransactionId','both','keys','resourceName','258451tnImZn','message','noNeedResource','cwd','.maka','function','\x20not\x20found.\x20Cannot\x20undo.','No\x20undo\x20handler\x20defined\x20for\x20','warn','756450iberMD','94077WUprXo','validateParams','minArgLength','240pYfUil','chdir','sort','validateMakaProject','Generator\x20requires\x20a\x20name','includes','where','LIGHT','appPathPrefix','readFileSync','list','config','pallet','Please\x20run\x20\x22maka\x20install\x20meteor\x22','\x20generator.\x20Skipping\x20undo.','Generator\x20not\x20found','maxOptsLength','push','pathFromProject','writeFileSync','Too\x20few\x20options','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','_handler','DARK','bind','Too\x20few\x20arguments','notice','There\x20is\x20no\x20Meteor\x20application\x20here','mustBeInMakaProject','number','tableList','dir','fsi','Nothing\x20to\x20undo.','validateMeteorInstall','\x20not\x20found','maxArgLength','checkWhere','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','options','15644FhTwHb','mustHaveMeteorInstalled','create','13908560IFNyWS','lib','_undoHandler','57USOMxq','_historyFilePath','constructor','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','split','pop','statSync','search','addToHistory','aliases','validateEngines','getGlobalConfig','invoke','Generator.create\x20requires\x20a\x20handler\x20function!','match','server','listGenerators','Description','102TxUrLv','root','success','Location','shortDesc','findProjectDirectory','validateMakaSubscription','Generator\x20','Name','existsSync','exit','stringify','from','length','client','Too\x20many\x20arguments'];a97c=function(){return M;};return a97c();}let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a97h();async function inside(a='.',b){const t=a97d,c=process[t(0x1b5)]();let d=null;try{process[t(0x1c0)](a),d=await b();}finally{process[t(0x1c0)](c);}return d;}export class Generator extends Tool{[a97u(0x1e6)];[a97u(0x1a8)];[a97u(0x1ee)];['_undoHandler'];[a97u(0x1ae)];constructor(a,b,c){const v=a97u;super();if(!a)throw new Error(v(0x1f0));if(!a['name'])throw new Error(v(0x1c3));if(typeof b!==v(0x1b7))throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[v(0x1a8)]=[],this['options']=Object[v(0x1a5)]({},a),this[v(0x1a9)]=this[v(0x1e6)]['name'],this[v(0x1d5)]=b[v(0x1d7)](this);try{this[v(0x1ee)]=this[v(0x1df)][v(0x1d1)]({'pathParts':[v(0x1b6),v(0x19c)]})||a97e[v(0x19b)]('.',v(0x1b6),v(0x19c));}catch(d){Log[v(0x1a6)](d);}c&&(this['_undoHandler']=c[v(0x1d7)](this));}['getHistoryFileSize'](){const w=a97u;if(a97f[w(0x208)](this[w(0x1ee)])){const a=a97f[w(0x1f3)](this[w(0x1ee)]);return a['size'];}return 0x0;}['readHistory'](){const x=a97u;if(!a97f[x(0x208)](this[x(0x1ee)]))return[];return JSON['parse'](a97f[x(0x1c8)](this[x(0x1ee)],'utf-8'));}[a97u(0x196)](a){const y=a97u;this[y(0x1ee)]&&!a97f[y(0x208)](this['_historyFilePath'])&&a97f[y(0x1d2)](this['_historyFilePath'],JSON['stringify']([])),a97f[y(0x1d2)](this[y(0x1ee)],JSON[y(0x20a)](a,null,0x2));}[a97u(0x1f5)](a){const z=a97u;try{a?.[z(0x19d)]?.[z(0x197)][z(0x1ca)]&&delete a[z(0x19d)][z(0x197)][z(0x1ca)];const b=this[z(0x198)](),c={'generatorName':this['name'],'transactionId':TRANSACTION_ID,'details':a};b['push'](c);const d=Buffer[z(0x20b)](JSON['stringify'](b))[z(0x20c)];while(d>MAX_HISTORY_SIZE&&b[z(0x20c)]>0x0){b['shift']();}this['writeHistory'](b);}catch(f){Log[z(0x1a6)](f);}}static[a97u(0x1e9)](a,b,c,d){const A=a97u;if(!a)throw new Error(A(0x1a2));if(typeof b!==A(0x1b7))throw new Error(A(0x1fa));const e=new Generator(a,b);return c&&(e[A(0x1ec)]=c[A(0x1d7)](e)),d=d||a97i,Object[A(0x1a5)](e,{'parent':d?.[A(0x1e6)]?.[A(0x1a9)]}),d['addGenerator'](e),e;}async['undo'](){const B=a97u,a=this[B(0x198)](),b=a['pop']();if(!b){Log['warn'](B(0x1e0));return;}const c=this['findGeneratorByName'](b[B(0x193)]);if(!c){Log[B(0x1a6)]('Generator\x20'+b[B(0x193)]+B(0x1b8));return;}c[B(0x1ec)]?(await c[B(0x1ec)](b['details']),this[B(0x196)](a)):Log[B(0x1ba)](B(0x1b9)+b[B(0x193)]+B(0x1cd));}['addGenerator'](a){const C=a97u;if(!(a instanceof Generator))throw new Error(C(0x1ad));this[C(0x1a8)][C(0x1d0)](a);}async[a97u(0x20f)](a,b=[],c={}){const D=a97u;let d;try{const f=a?.[D(0x1f1)](':');if(!f||f[D(0x20c)]===0x0)throw D(0x1a1);let g=this[D(0x1a8)],h;for(const i of f){h=g['find'](j=>j[D(0x1fb)](i));if(!h)throw'Generator\x20'+i+D(0x1e2);await this[D(0x205)](h),g=h[D(0x1a8)];}if(h)d=await h[D(0x1f9)](b,c);else throw D(0x1ce);}catch(j){Log[D(0x1a6)](j);}return d;}[a97u(0x19a)](a){const E=a97u,b=a?.['split'](':');if(!b||b['length']===0x0)return Log['error']('Generator\x20format\x20is\x20incorrect'),null;let c=this[E(0x1a8)],d;for(const e of b){d=c['find'](f=>f[E(0x1fb)](e));if(!d)return Log[E(0x1a6)](E(0x206)+e+'\x20not\x20found'),null;c=d['_generators'];}return d||null;}async[a97u(0x1f9)](a,b){const F=a97u,c=a['slice']();b[F(0x1b1)]=c[0x0];try{const d=await this[F(0x1df)][F(0x1f8)](),f=d[F(0x1cb)]===F(0x1a7)?ColorMode[F(0x1c6)]:ColorMode[F(0x1d6)];Log[F(0x19e)](f),await this[F(0x205)](this);const g=a[0x0]===_prevGen||a[F(0x20c)]===0x0&&this[F(0x1a8)][F(0x20c)]>=0x0,h=b['help']||b['h'];if(g&&h){if(this[F(0x1a8)][F(0x20c)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[F(0x1e6)][F(0x1db)]){const i=this[F(0x1c2)]();if(!i)throw new MustBeInProjectError();}if(this[F(0x1e6)][F(0x1e8)]){const j=this[F(0x1e1)]();if(!j)throw new NoMeteorFoundError();}if(typeof this['options']['minArgLength']==='number'){if(a[F(0x20c)]<this[F(0x1e6)][F(0x1be)]){Log['error'](F(0x1d8));throw new UsageError();}}if(typeof this[F(0x1e6)]['maxArgLength']===F(0x1dc)){if(a[F(0x20c)]>this[F(0x1e6)][F(0x1e3)]){Log[F(0x1a6)](F(0x20e));throw new UsageError();}}if(typeof this['options']['minOptsLength']==='number'){if(Object[F(0x1b0)](b)[F(0x20c)]<this['options']['minOptsLength']){Log[F(0x1a6)](F(0x1d3));throw new UsageError();}}if(typeof this[F(0x1e6)]['maxOptsLength']==='number'){if(Object[F(0x1b0)](b)[F(0x20c)]>=this[F(0x1e6)][F(0x1cf)]){Log[F(0x1a6)]('Too\x20many\x20options');throw new UsageError();}}}this['options']['requiredEngines']&&this[F(0x1f7)](this['options'][F(0x195)]);await this[F(0x1bd)](a,b,this[F(0x1e6)]);if(!b[F(0x1b1)]&&!this[F(0x1e6)][F(0x1b4)]){Log['error'](F(0x1a4));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[F(0x1a0)](k),process[F(0x209)](0x1);}return await inside(b['cwd'],async()=>{const G=F;try{if(!b[G(0x200)]&&!this['fsi'][G(0x204)]())throw new MustBeInProjectError();const l=b[G(0x1b1)]?.['replace'](/\\/g,'/')[G(0x1f1)]('/');!b['dir']&&(l?.[G(0x20c)]>0x1?(b[G(0x1b1)]=l[G(0x1f2)](),c[0x0]=b[G(0x1b1)],b['dir']=l[G(0x194)](n=>{return paramCase(n);})[G(0x19b)](a97e[G(0x1aa)])):b[G(0x1de)]='');if(this['options'][G(0x1e4)]){if(!b['where']){const o={'type':G(0x1c9),'name':'colLocAnswer','message':G(0x202),'choices':[{'name':'Client','value':'client'},{'name':'Server','value':G(0x1fc)},{'name':'Both','value':G(0x1af)}]},{colLocAnswer:p}=await Actions[G(0x1e6)](o);p?b['where']=p:b[G(0x1c5)]=G(0x1af);}const n=['both',G(0x20d),'server'];if(!n[G(0x1c4)](b[G(0x1c5)])){Log['error'](G(0x1e5));throw new UsageError();}switch(b[G(0x1c5)]){case G(0x1af):b[G(0x1c7)]=G(0x1eb);break;case'server':b[G(0x1c7)]=G(0x1fc);break;case G(0x20d):b['appPathPrefix']=G(0x20d);break;default:b[G(0x1c7)]='';}}const m=await this[G(0x1d5)]['call'](this,c,b);return this[G(0x1f5)]({'params':{'args':c,'opts':this[G(0x1df)]['deepen'](b)},'success':m?.[G(0x201)],'message':m?.[G(0x1b3)],'details':m?.[G(0x199)]}),m;}catch(q){this[G(0x1a0)](q);}});}[a97u(0x1fd)](){const H=a97u;this[H(0x1dd)](this[H(0x1a8)]);}[a97u(0x1a0)](a){const I=a97u,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[I(0x1e6)];Log[I(0x211)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[I(0x1d9)]('Generators:'),this[I(0x1dd)](this[I(0x1a8)]);else{if(a instanceof MustBeInProjectError)Log[I(0x1a6)](I(0x1ac));else{if(a instanceof NoMeteorFoundError)Log[I(0x1a6)](I(0x1d4)),Log[I(0x1d9)](I(0x1cc));else a instanceof NoMeteorAppFoundError&&Log[I(0x1a6)](I(0x1da));}}}['tableList'](a){const J=a97u,b=new a97g({});b[J(0x1d0)]([J(0x207),'Alias',J(0x1fe)]),a[J(0x1c1)]((c,d)=>{const K=J;return c[K(0x1a9)]['localeCompare'](d[K(0x1a9)]);})['forEach'](c=>{const L=J;b['push']([c[L(0x1a9)],c[L(0x1f6)](),c[L(0x203)]()]);}),Log['bright'](b[J(0x210)]());}}
|