@maka/maka-cli 4.5.3 → 4.5.6
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/README.md +4 -0
- 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/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.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/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.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/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/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/kit.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/app/imports/startup/client/index.js.jsx +20 -6
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +21 -7
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +10 -0
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +10 -0
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +25 -14
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +25 -13
- package/bundle/obf/src/templates/meteor/template/template.js.jsx +1 -1
- package/bundle/obf/src/templates/meteor/template/template.js.tsx +1 -1
- package/bundle/obf/src/templates/react/component/component.js.jsx +2 -6
- package/bundle/obf/src/templates/react/component/component.js.tsx +2 -6
- package/bundle/obf/src/templates/react/hook/hook.js.jsx +1 -5
- package/bundle/obf/src/templates/react/hook/hook.js.tsx +1 -5
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/actions/actions.test.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/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/jest.config.js +11 -0
- package/package.json +5 -4
- package/tsconfig.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36z=a36d;
|
|
1
|
+
const a36z=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=-parseInt(w(0xea))/0x1*(-parseInt(w(0xe6))/0x2)+-parseInt(w(0xe7))/0x3+-parseInt(w(0xf6))/0x4+-parseInt(w(0x103))/0x5*(-parseInt(w(0xe5))/0x6)+parseInt(w(0xfa))/0x7+parseInt(w(0xe0))/0x8+parseInt(w(0xfd))/0x9*(-parseInt(w(0xef))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xb8277));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a[y(0xda)]()[y(0xd7)](y(0x100))['toString']()[y(0xf3)](a36a)[y(0xd7)]('(((.+)+)+)+$');});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xcf;let f=c[d];return f;},a36d(a,b);}function a36c(){const B=['header','toHex','create','parse','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','/api/v1/status','get','localhost','True','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','https://','post','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','fsi','search','exit','email','toString','cacert','Logging\x20into\x20https://','Password:\x20','setGlobalConfig','maka\x20login','2166416SorXAR','getGlobalConfig','/api/v1/login','MAKA_DEV','error','11802PPdanj','1897192NCaSeZ','1614717FnCjYI','assign','isFile','1zyvDMP','authToken','Preflight\x20Check','notice','success','20quuOmk','update','www.maka-cli.com','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','constructor','failure','ask','68668VdvUDO','env','Logging\x20in','cert','6891073mkrfUV','withSpinner','apply','5209713fODmiB','start','Email:','(((.+)+)+)+$','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','debug','670bTBbpf','help','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka'];a36c=function(){return B;};return a36c();}a36a();import a36e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36z(0xf7)][a36z(0xe3)]===a36z(0xd1)?a36z(0xd0):a36z(0xf1);Command['create']({'name':'login','validOpts':[a36z(0xd9),'password',a36z(0x104),a36z(0xdb),a36z(0x102)],'usage':a36z(0xdf),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36z(0x105),'examples':['maka\x20login',a36z(0xf2)]},async function(a,b){const A=a36z,c=Log[A(0xfb)]();try{let d='';b[A(0xdb)]&&(this['fsi'][A(0xe9)](b['cacert'])?(d=b[A(0xdb)],Log[A(0xed)]('Using\x20CA\x20Cert\x20'+d)):Log['error'](A(0xd2)+d));const f=await this[A(0xd6)][A(0xe1)]();if(f[A(0xf9)]){if(this[A(0xd6)][A(0xe9)](f['cert']))d=f[A(0xf9)];else{Log[A(0xe4)](A(0x10a)+d);return;}}Log[A(0x106)](A(0xdc)+hostname);const g={'url':A(0xd3)+hostname+A(0x10b)};b['cacert']&&Object[A(0xe8)](g,{'cert':d});c['start'](A(0xec));const {statusCode:h}=await HTTPS[A(0xcf)](g);if(h===0x198){c[A(0xf4)]();throw A(0xd5);}if(h!==0xc8){c[A(0xf4)]();throw A(0xd3)+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c[A(0xee)]();const i=b['email']?b[A(0xd9)]:await Actions[A(0xf5)](A(0xff)),j=b['password']?b['password']:await Actions[A(0xf5)](A(0xdd),!![]),k=a36e['md']['sha256'][A(0x108)]();k[A(0xf0)](j);const l=k['digest']()[A(0x107)](),m={'hostname':hostname,'path':A(0xe2),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0xdb)]&&Object[A(0xe8)](m,{'cert':d});c[A(0xfe)](A(0xf8));const {data:n,statusCode:o}=await HTTPS[A(0xd4)](m);if(o===0x198){c[A(0xf4)]('\x0a');throw A(0x101)+hostname;}const p=JSON[A(0x109)](n);if(p[A(0xeb)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p[A(0xeb)]},'data':{}};b[A(0xdb)]&&Object['assign'](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0xd4)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x101)+hostname;const u={'token':p,'hash':t};this[A(0xd6)][A(0xde)](u);}else{c['failure']();throw p;}c[A(0xee)]();}catch(v){c[A(0xf4)](),console['error'](v),process[A(0xd8)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(0xfe))/0x1+-parseInt(l(0x114))/0x2*(-parseInt(l(0x11a))/0x3)+parseInt(l(0xf0))/0x4+parseInt(l(0x10c))/0x5*(-parseInt(l(0x10a))/0x6)+-parseInt(l(0xee))/0x7*(-parseInt(l(0x105))/0x8)+parseInt(l(0x119))/0x9+-parseInt(l(0x115))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x20dce));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a['toString']()[n(0xfd)]('(((.+)+)+)+$')[n(0xfc)]()[n(0xf4)](a37a)[n(0xfd)](n(0xf1));});a37a();function a37c(){const q=['CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','exit','toString','search','196038QcuacG','cacert','Preflight\x20Check','authToken','error','assign','getGlobalConfig','2059208KmQdnH','/api/v1/logoutAll','token','header','apply','66cIIJyM','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','97495Upxgtn','cert','create','Logging\x20out\x20of\x20https://','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','maka\x20logout','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','withSpinner','2zYKLgC','2311360leebXf','notice','Logging\x20out','setGlobalConfig','1208718vGwXAG','604026QiEeKH','Using\x20CA\x20Cert\x20','7hKAjdx','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','732896KDqFBl','(((.+)+)+)+$','env','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','constructor','fsi','post','success','isFile','failure'];a37c=function(){return q;};return a37c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0xf2)]['MAKA_DEV']==='True'?'localhost':'www.maka-cli.com';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xed;let f=c[d];return f;},a37d(a,b);}Command[a37o(0x10e)]({'name':'logout','validOpts':['cacert'],'usage':a37o(0x111),'maxArgLength':0x2,'shortDesc':a37o(0x110),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a37o,c=Log[p(0x113)]();try{let d='';b[p(0xff)]&&(this['fsi'][p(0xf8)](b[p(0xff)])?(d=b['cacert'],Log[p(0x116)](p(0xed)+d)):Log[p(0x102)](p(0xf3)+d));const f=await this[p(0xf5)][p(0x104)]();if(f[p(0x10d)]){if(this['fsi'][p(0xf8)](f['cert']))d=f[p(0x10d)];else{c[p(0xf9)]();throw Log[p(0x102)](p(0xfa)+d);}}Log[p(0x108)](p(0x10f)+hostname);const g={'url':'https://'+hostname+'/api/v1/status'};b[p(0xff)]&&Object[p(0x103)](g,{'cert':d});c['start'](p(0x100));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0xf9)]();throw p(0x112);}c[p(0xf7)]();if(h!==0xc8){c[p(0xf9)]();throw p(0xef);}if(!f?.[p(0x107)]?.[p(0x101)])throw Log[p(0x102)](p(0x10b));c['start'](p(0x117));const i={'hostname':hostname,'path':p(0x106),'data':{},'headers':{'x-auth-token':f['token']['authToken']}};b[p(0xff)]&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xf6)](i);if(j===0x198){c[p(0xf9)]('\x0a');throw p(0x112);}this[p(0xf5)][p(0x118)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0xf7)]();}catch(k){k&&console[p(0x102)](k),process[p(0xfb)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a38j=a38d;function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x191;let f=c[d];return f;},a38d(a,b);}(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x1a1))/0x1+-parseInt(h(0x19a))/0x2+-parseInt(h(0x1a8))/0x3+-parseInt(h(0x196))/0x4+parseInt(h(0x1a6))/0x5*(parseInt(h(0x1a7))/0x6)+parseInt(h(0x19e))/0x7+parseInt(h(0x19c))/0x8*(parseInt(h(0x197))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xbf5d3));const a38b=(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;};}()),a38a=a38b(this,function(){const i=a38d;return a38a[i(0x19d)]()[i(0x1aa)](i(0x19b))[i(0x19d)]()[i(0x1a9)](a38a)[i(0x1aa)](i(0x19b));});a38a();import a38e from'fs';import a38f from'path';function a38c(){const l=['sshSync','maka\x20l\x20-e\x20p','430740wPkrCT','18mWsOjV','4301655iqIteE','constructor','search','assign','maka\x20logs','pm2\x20logs','ssh.json','log','668900FWXXUw','15804jjVBnl','env','maka\x20logs\x20--env\x20dev','1232780aqwycF','(((.+)+)+)+$','10104ZdaGlD','toString','3684366qWULDW','join','logs','1283duyiPl','fsi','maka\x20logs\x20--env\x20staging'];a38c=function(){return l;};return a38c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a38j(0x1a0),'aliases':['l',a38j(0x195)],'usage':a38j(0x192),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a38j(0x199),a38j(0x1a3),a38j(0x1a5)]},function(a,b){const k=a38j,c=k(0x193),d=this[k(0x1a2)]['getConfigPath'](b[k(0x198)]),e=a38f[k(0x19f)](d,k(0x194)),f=a38e['readFileSync'](e),g=JSON['parse'](f['toString']());Object[k(0x191)](g,{'env':d}),SSH[k(0x1a4)](c,g,{'tty':!![],'verbose':!![]});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d
|
|
1
|
+
const a39i=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x8f;let f=c[d];return f;},a39d(a,b);}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x92))/0x1*(-parseInt(g(0x9f))/0x2)+-parseInt(g(0xa3))/0x3*(-parseInt(g(0xa1))/0x4)+parseInt(g(0x9a))/0x5*(parseInt(g(0x96))/0x6)+parseInt(g(0xa4))/0x7+parseInt(g(0x91))/0x8+-parseInt(g(0xa8))/0x9*(parseInt(g(0x9b))/0xa)+-parseInt(g(0x9c))/0xb*(parseInt(g(0x9d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xadac7));const a39b=(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;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()['search'](h(0xa0))[h(0x90)]()['constructor'](a39a)[h(0x8f)](h(0xa0));});a39a();function a39c(){const k=['A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','9144QcMDIh','5373753BxRqLO','findSubCommand','exit','maka\x20<command>\x20[<args>]\x20[<opts>]','45emiRPN','slice','search','toString','4345328bWAksI','276077XhTTYZ','maka\x20install\x20meteor','maybeProxyCommandToMeteor','runSubCommand','12yDmlVj','maka\x20--help','error','maka','1647765Nfedfm','1483970gujcSy','22IylmXH','4222908jhPUda','maka\x20create\x20Todo','2FpOIbC','(((.+)+)+)+$','608lxnydb'];a39c=function(){return k;};return a39c();}import{Command}from'../command.js';const Maka=new Command({'name':a39i(0x99),'minArgLength':0x1,'shortDesc':a39i(0xa2),'validOpts':[],'usage':a39i(0xa7),'disableAuthCheck':!![],'examples':[a39i(0x97),a39i(0x93),a39i(0x9e),'maka\x20run'],'description':'\x0a\x20\x20Hi,\x20my\x20name\x20is\x20Matt.\x20I\x27ve\x20spent\x20a\x20long\x20time\x20developing\x20Meteor\x0a\x20\x20applications\x20and\x20I\x27ve\x20tried\x20my\x20very\x20best\x20to\x20collect\x20the\x20most\x0a\x20\x20efficient\x20ways\x20to\x20go\x20about\x20setting\x20up\x20and\x20organizing\x20your\x20project.\x0a\x0a\x20\x20I\x20created\x20Maka-CLI\x20as\x20a\x20need\x20to\x20develop\x20prototypes\x20quickly\x0a\x20\x20for\x20a\x20relatively\x20small\x20consulting\x20firm.\x20We\x20had\x20small\x20budgets\x0a\x20\x20for\x20projects,\x20and\x20even\x20smaller\x20budgets\x20for\x20proposals\x20and\x20prototypes.\x0a\x20\x20Maka-CLI\x20was\x20a\x20way\x20to\x20develop\x20our\x20applications\x20quickly\x20and\x20make\x20very\x0a\x20\x20aggresive\x20deadlines.\x0a\x0a\x20\x20Many\x20features\x20are\x20available\x20in\x20the\x20Free\x20License,\x20enough\x20to\x20get\x20your\x0a\x20\x20application\x20scaffolded\x20and\x20built.\x20The\x20Pro\x20Single-License\x20includes\x0a\x20\x20commands\x20that\x20will\x20allow\x20you\x20to\x20create\x20cloud\x20instances\x20(on\x20AWS),\x0a\x20\x20deploy\x20to\x20remote\x20hosts\x20(Ubuntu)\x20and\x20streamline\x20every\x20day\x20tasks,\x20such\x0a\x20\x20as\x20monitoring\x20your\x20application\x20logs.\x0a\x0a\x20\x20Make-CLI\x20has\x20one\x20main\x20goal\x20--\x20provide\x20simple\x20tools\x20to\x20create\x20a\x0a\x20\x20structure\x20for\x20your\x20application,\x20and\x20build\x20/\x20maintain\x20it\x20in\x20a\x20repeatable\x0a\x20\x20manner.\x20This\x20is\x20the\x20nature\x20of\x20scaffolding.\x0a\x0a\x20\x20Thank\x20you\x20for\x20your\x20interest\x20in\x20Maka-CLI!\x20🙏\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x20\x20https://maka-io.medium.com/build-your-webapp-with-meteor-maka-cli-629b7b16831d\x0a\x0a\x20\x20Please\x20ping\x20me\x20on\x20Gitter\x27s\x20Meteor\x20space\x20if\x20you\x20have\x20any\x20questions:\x0a\x20\x20@maka-io\x0a\x20\x20'},async function(a,b){const j=a39i;try{const c=a[0x0],d=this[j(0xa5)](c);d?this[j(0x95)](c,a[j(0xa9)](0x1),b):this['fsi'][j(0x94)]();}catch(f){console[j(0x98)](f),process[j(0xa6)](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0x15a))/0x1*(parseInt(f(0x165))/0x2)+-parseInt(f(0x156))/0x3+parseInt(f(0x161))/0x4*(parseInt(f(0x157))/0x5)+parseInt(f(0x15b))/0x6+-parseInt(f(0x15e))/0x7*(parseInt(f(0x159))/0x8)+parseInt(f(0x164))/0x9*(-parseInt(f(0x154))/0xa)+parseInt(f(0x166))/0xb*(parseInt(f(0x160))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x2c031));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a['toString']()[h(0x153)]('(((.+)+)+)+$')['toString']()[h(0x162)](a40a)[h(0x153)](h(0x158));});function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x153;var f=c[d];return f;},a40d(a,b);}a40a();function a40c(){var k=['86770gxpSpf','Murrrrderrrrr','909837ZzTGrk','40TWVwjd','(((.+)+)+)+$','752TonIjB','281LQlCgm','116514mPLfNp','maka\x20murder','font-family:\x20monospace','5145HPFTIw','apply','18108jkxrXE','83960yasfWs','constructor','exit','333JFDYcr','2490EWBGgO','2453LJBEBL','log','error','create','search'];a40c=function(){return k;};return a40c();}import{Command}from'../command.js';Command[a40i(0x169)]({'name':'murder','usage':a40i(0x15c),'maxArgLength':0x1,'shortDesc':a40i(0x155),'validOpts':[]},async function(){var j=a40i;try{console[j(0x167)]('%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',j(0x15d));}catch(a){console[j(0x168)](a),process[j(0x163)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d
|
|
1
|
+
const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0xa3))/0x1*(parseInt(n(0xb7))/0x2)+parseInt(n(0xba))/0x3+parseInt(n(0xc0))/0x4+parseInt(n(0xaa))/0x5+parseInt(n(0xa6))/0x6*(-parseInt(n(0xc7))/0x7)+-parseInt(n(0xc6))/0x8+-parseInt(n(0xa0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb0e5a));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a['toString']()[p(0x9e)](p(0xb4))[p(0xa5)]()['constructor'](a41a)[p(0x9e)](p(0xb4));});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';import{Command}from'../command.js';function a41c(){const s=['fsi','localhost','getConfigPath','.csr','error','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','listen','12KbonnV','utf8','.key','4339098rZoUZB','bright','\x20to\x20','isFile','listenPort','createProxyServer','4094440XyqpgX','getProjectConfig','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','invoke','appName','=>\x20SSL\x20Proxy\x20forwarding\x20','10444040zFZwKN','2687657MybbwB','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','create','development','search','.crt','18849960iJdhVn','maka\x20proxy','help','171170YkOjiO','proxy','toString','6AhpCSX','apply','genSSC','mkKeysDir','5057350zXzJaA','targetHost','targetPort','join'];a41c=function(){return s;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x9d;let f=c[d];return f;},a41d(a,b);}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41q(0xc9)]({'name':a41q(0xa4),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a41q(0xa2),a41q(0xac),a41q(0xbe),a41q(0xab)],'maxArgLength':0x1,'shortDesc':a41q(0xc2),'description':a41q(0xb5),'examples':[a41q(0xa1),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a41q,c=this[r(0xae)][r(0xc1)](),d=r(0x9d),e=this['fsi'][r(0xb0)](d),f=this[r(0xae)][r(0xa9)]({'configPath':e}),g=b['targetPort']?b[r(0xac)]:0xbb8,h=b[r(0xbe)]?b['listenPort']:0xd73,i=b[r(0xab)]?b[r(0xab)]:r(0xaf),j=a41f[r(0xad)](f,c[r(0xc4)]+'.key'),k=a41f['join'](f,c[r(0xc4)]+r(0x9f));if(!this[r(0xae)][r(0xbd)](j)||!this[r(0xae)][r(0xbd)](k)){const m=a41h['findGenerator']('sslconfig');m&&await m[r(0xc3)](['sslconfig'],{'env':d}),SSL['genCSR']({'keyName':c[r(0xc4)]+r(0xb9),'csrName':c[r(0xc4)]+r(0xb1),'cwd':f}),SSL[r(0xa8)]({'keyName':c[r(0xc4)]+r(0xb9),'crtName':c[r(0xc4)]+r(0x9f),'cwd':f});}if(g===h){Log[r(0xb2)](r(0xc8));throw new UsageError();}const l={'ssl':{'key':a41e[r(0xb3)](j,r(0xb8)),'cert':a41e[r(0xb3)](k,'utf8')},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0xbf)](l)[r(0xb6)](h),Log[r(0xbb)](r(0xc5)+h+r(0xbc)+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d
|
|
1
|
+
function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x12e;let f=c[d];return f;},a42d(a,b);}const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=-parseInt(n(0x13d))/0x1+parseInt(n(0x153))/0x2*(parseInt(n(0x144))/0x3)+parseInt(n(0x134))/0x4+-parseInt(n(0x15a))/0x5*(parseInt(n(0x158))/0x6)+-parseInt(n(0x131))/0x7+-parseInt(n(0x135))/0x8*(parseInt(n(0x152))/0x9)+parseInt(n(0x140))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x3bd5e));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a[p(0x12e)]()[p(0x130)](p(0x156))['toString']()[p(0x159)](a42a)[p(0x130)]('(((.+)+)+)+$');});a42a();import a42e from'fs';import a42f from'path';function a42c(){const s=['Remote\x20host\x20connection\x20successful','\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\x20\x20','scp','ssh.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','129915sWEDdO','14RAKwWp','create','pm2.config.js','(((.+)+)+)+$','pm2\x20delete\x20all','6gBZtln','constructor','1683725HrNtJX','_keys','Reconfigure\x20your\x20deployed\x20applications','toString','reconfig','search','2402218UBBbPm','~/ses.json','exit','987952PpbmVb','264xdVdas','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','readFileSync','maka\x20reconfig\x20--env\x20prod','~/settings.json','settings.json','success','getConfigPath','339003Phadkn','~/pm2.config.js','uname\x20-a','13741160pdWAOk','Checking\x20remote\x20host\x20availability','ssh','ses.json','51111YmoZZT','assign','env','maka\x20reconfig','existsSync','apply','notice','join','parse'];a42c=function(){return s;};return a42c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a42q(0x154)]({'name':a42q(0x12f),'validOpts':[''],'requiredOpts':[a42q(0x146)],'mustBeInMakaProject':!![],'usage':a42q(0x147),'shortDesc':a42q(0x15c),'description':a42q(0x14e),'examples':[a42q(0x138)]},async function(a,b){const r=a42q;try{const c=this['fsi'][r(0x13c)](b[r(0x146)]),d=a42f[r(0x14b)](c,r(0x150)),f=a42e[r(0x137)](d)['toString'](),g=JSON[r(0x14c)](f);Object[r(0x145)](g,{'env':c}),Log[r(0x14a)](r(0x141));const h=SSH['ping'](r(0x13f),g);if(!h)throw r(0x151);if(h)Log[r(0x13b)](r(0x14d));const i=a42f[r(0x14b)](c,r(0x15b),r(0x143));if(a42e[r(0x148)](i)){const l={'source':i,'dest':r(0x132),'verbose':!![]};SSH['scp'](l,{...g});}const j=a42f[r(0x14b)](c,r(0x155));SSH['scp']({'source':j,'dest':r(0x13e),'verbose':!![]},{...g});const k=a42f[r(0x14b)](c,r(0x13a));SSH[r(0x14f)]({'source':k,'dest':r(0x139),'verbose':!![]},{...g}),SSH['sshSync'](r(0x157),g),await SSH[r(0x142)](r(0x136),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x133)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a43c(){var i=['1077230SqfYlA','48XrfOGl','404OSKfkj','240010IztszI','(((.+)+)+)+$','414TnDAgb','apply','toString','search','13278111yKbIGr','3074220OPBkXM','1261062ejtjyu','2qprQbu','18561rWHsud','834008bpatUo'];a43c=function(){return i;};return a43c();}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0xa9))/0x1*(parseInt(f(0xab))/0x2)+-parseInt(f(0xaa))/0x3*(parseInt(f(0xae))/0x4)+-parseInt(f(0xa7))/0x5+parseInt(f(0xa8))/0x6+parseInt(f(0xac))/0x7*(parseInt(f(0xad))/0x8)+-parseInt(f(0xb1))/0x9*(-parseInt(f(0xaf))/0xa)+-parseInt(f(0xb5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x98863));function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xa7;var f=c[d];return f;},a43d(a,b);}var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0xb2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0xb3)]()[h(0xb4)]('(((.+)+)+)+$')['toString']()['constructor'](a43a)['search'](h(0xb0));});a43a();import'./run.command.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(
|
|
1
|
+
const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(0x19a))/0x1*(-parseInt(i(0x191))/0x2)+-parseInt(i(0x198))/0x3*(-parseInt(i(0x19e))/0x4)+parseInt(i(0x18a))/0x5+parseInt(i(0x18d))/0x6*(-parseInt(i(0x1a0))/0x7)+-parseInt(i(0x197))/0x8+-parseInt(i(0x1a5))/0x9+parseInt(i(0x1a3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x61c19));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a[k(0x19f)]()[k(0x192)]('(((.+)+)+)+$')[k(0x19f)]()[k(0x1a6)](a44a)[k(0x192)](k(0x18e));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x189;let f=c[d];return f;},a44d(a,b);}function a44c(){const n=['153006yjFtJo','(((.+)+)+)+$','templateContent','create','1434446baXSQi','search','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','existsSync','getConfigPath','\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\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','5327368PXgAgD','43791RvFMnM','apply','1AOxqIL','docker-compose.yaml','fsi','\x20up\x20--remove-orphans','20nVYkMr','toString','140VOrABG','Docker\x20Compose\x20Path:\x20','config/docker-compose.yaml','8480420GFRWVa','inherit','3497463yelgjo','constructor','docker-compose\x20--project-directory\x20','notice','join','1633535iAGWtU','docker','maka\x20run\x20docker'];a44c=function(){return n;};return a44c();}import a44e from'./run.command.js';import{execSync}from'child_process';import a44f from'path';import a44g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a44l(0x190)]({'name':a44l(0x18b),'aliases':['d'],'shortDesc':a44l(0x193),'description':a44l(0x196),'usage':a44l(0x18c),'validOpts':['']},async function(){const m=a44l;try{const a=this[m(0x19c)]['getProjectConfig'](),b=this[m(0x19c)][m(0x195)](m(0x18b)),c=a44f['join'](b,m(0x19b)),d=a44f[m(0x189)](b,'pm2.config.js');Log['notice']('PM2\x20Config\x20File:\x20'+d),Log[m(0x1a8)](m(0x1a1)+c);if(!a44g[m(0x194)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a['appName'])},g=this['fsi'][m(0x18f)]({'srcPath':m(0x1a2),'context':f})+'\x0a';this[m(0x19c)]['createFile']({'filePath':c,'data':g});}execSync(m(0x1a7)+b+m(0x19d),{'stdio':m(0x1a4)});}catch(h){process['exit'](0x1);}},a44e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a45u=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0xff))/0x1+parseInt(q(0xf6))/0x2+parseInt(q(0x101))/0x3+-parseInt(q(0x105))/0x4*(parseInt(q(0xfd))/0x5)+parseInt(q(0xf3))/0x6*(parseInt(q(0x109))/0x7)+-parseInt(q(0x111))/0x8+-parseInt(q(0x100))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x63196));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0x119)]()['search'](s(0xf8))[s(0x119)]()[s(0x103)](a45a)[s(0x122)](s(0xf8));});a45a();function a45c(){const x=['warn','allowIncompatibleUpdate','--settings','join','Node\x20Env\x20Config:\x20','toString','Meteor\x20Settings:\x20','filter','env','forEach','findProjectDirectory','create','mobile-server','length','search','split','exit','app','compareMakaToLatest','settings','mobileServer','ios','\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.','error','notice','findSubCommand','development','slice','4261044CJCEoa','concat','openSync','971302GtZznI','run','(((.+)+)+)+$','Run\x20your\x20Meteor\x20application','process.env','apply','--env','35vVYjjF','exclude-archs','107672aEWgpE','3150513gvjQwL','1952097pUBtec','.meteor','constructor','--production','146464pgdqDD','splice','cordova-build','runSubCommand','7dGfduI','extraPackages','fsi','push','isFile','inspect','sep','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)','5812584UagOqr','settings.json','production'];a45c=function(){return x;};return a45c();}import a45e from'path';import a45f from'fs';import a45g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xef;let f=c[d];return f;},a45d(a,b);}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a45d;a45f[t(0xf5)](a,'r'),a45g['config']({'path':a});},Run=Command[a45u(0x11f)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':a45u(0xf9),'description':a45u(0x12a),'validOpts':['env','docker','r','rawLogs','p','port','i',a45u(0x10e),'m',a45u(0x128),'v','verbose',a45u(0x115),a45u(0x10a),'x',a45u(0xfe),a45u(0x113)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this[v(0xf0)](c);d&&this[v(0x108)](c,a,b);if(c===v(0x129)){const m=this[v(0x10b)][v(0x11e)](),n=a45e[v(0x117)](m,v(0x125),v(0x102),'local',v(0x107));this['fsi']['isDirectory'](n)&&await rimraf(n);}if(b[v(0x120)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw v(0x110);await this['fsi'][v(0x126)]();const f=b[v(0x11c)]?b['env']:v(0xf1),g=this['fsi']['getConfigPath'](f),h=a45e[v(0x117)](g,v(0xfa));let i=a45e[v(0x117)](g,'settings.json');b[v(0x127)]?i=b[v(0x127)]:i=a45e[v(0x117)](g,v(0x112));if(this[v(0x10b)][v(0x10d)](h)&&!b['docker'])Log[v(0xef)](v(0x118)+h),syncSource(h);else!b['docker']&&Log[v(0x114)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this[v(0x10b)][v(0x10d)](i)?(Log[v(0xef)](v(0x11a)+i),a=a['concat']([v(0x116),i])):Log[v(0x114)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i);const j=g[v(0x123)](a45e[v(0x10f)]),k=j[j[v(0x121)]-0x1];k===v(0x113)&&a[v(0x10c)](v(0x104));const l=process['argv'][v(0xf2)](0x2)[v(0x11b)](o=>o!=='run')[v(0x11b)](o=>o!==a[0x0]);l[v(0x11d)]((o,p)=>{const w=v;o===w(0xfc)&&l[w(0x106)](p,0x2),o==='-e'&&l[w(0x106)](p,0x2);}),this['fsi']['invokeMeteorCommand'](v(0xf7),a[v(0xf4)](l));}catch(o){console[v(0x12b)](o),process[v(0x124)](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a46d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0xc2))/0x1+parseInt(f(0xca))/0x2*(parseInt(f(0xc8))/0x3)+-parseInt(f(0xc5))/0x4*(parseInt(f(0xce))/0x5)+-parseInt(f(0xcc))/0x6*(parseInt(f(0xc7))/0x7)+-parseInt(f(0xc6))/0x8+parseInt(f(0xcd))/0x9*(parseInt(f(0xc9))/0xa)+parseInt(f(0xbf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xd83f6));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xcb)]()['search'](h(0xc3))[h(0xcb)]()[h(0xc0)](a46a)[h(0xc1)]('(((.+)+)+)+$');});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xbf;var f=c[d];return f;},a46d(a,b);}import'./set.command.js';function a46c(){var i=['21918RyoWnn','2097KiMCCG','20HUeHdO','37266218rApAVJ','constructor','search','766361AbNymZ','(((.+)+)+)+$','apply','1387644bCtfcM','12174728cBKZlx','119oiTPMk','10146tJeBHx','13270wwdkGM','548CKAjtR','toString'];a46c=function(){return i;};return a46c();}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=parseInt(h(0x95))/0x1*(-parseInt(h(0x99))/0x2)+parseInt(h(0x84))/0x3*(parseInt(h(0x88))/0x4)+parseInt(h(0x96))/0x5+parseInt(h(0x8e))/0x6+-parseInt(h(0x83))/0x7+-parseInt(h(0x90))/0x8+parseInt(h(0x8c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xcbd0c));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a[j(0x98)]()['search']('(((.+)+)+)+$')[j(0x98)]()[j(0x93)](a47a)[j(0x94)]('(((.+)+)+)+$');});a47a();import a47e from'path';import a47f from'./set.command.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x82;let f=c[d];return f;},a47d(a,b);}function a47c(){const m=['Set\x20CA\x20Cert\x20Path:\x20','Set\x20allowInsecure:\x20','maka\x20set:global-config\x20--cacert\x20<path>','error','workspace','cacert','Set\x20workspace:\x20','resolve','success','setGlobalConfig','apply','Could\x20not\x20find\x20directory','boolean','exit','maka\x20set:gc\x20--insecure\x20<path>','11654251EbUOMl','3EiFNxe','help','\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','maka\x20set:gc\x20--workspace\x20<path>','4915396nqKhaA','isFile','disallowInsecure','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','4773708xqSNjm','One\x20or\x20the\x20other\x20buddy','3151644hTtZTu','allowInsecure','4380056EYNhBJ','create','fsi','constructor','search','1eUGIFO','6613910NcKEya','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','toString','1120178gcBhsZ'];a47c=function(){return m;};return a47c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47k(0x91)]({'name':'global-config','usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert','allowInsecure','disallowInsecure',a47k(0x9e),a47k(0x85)],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a47k(0x86),'examples':[a47k(0x9c),a47k(0x82),a47k(0x87)]},async function(a,b){const l=a47k;try{if(b['cacert']){if(this[l(0x92)][l(0x89)](b['cacert']))this[l(0x92)][l(0xa3)]({'cert':b[l(0x9f)]}),Log[l(0xa2)](l(0x9a)+b[l(0x9f)]);else{const c=typeof b['cacert']===l(0xa6)?l(0x97):l(0x8b)+b['cacert'];throw Log[l(0x9d)](c);}}if(b[l(0x9e)]){const d=this[l(0x92)]['isDirectory'](b[l(0x9e)]);if(d)this[l(0x92)]['setGlobalConfig']({'workspace':a47e[l(0xa1)](b[l(0x9e)])}),Log[l(0xa2)](l(0xa0)+a47e['resolve'](b[l(0x9e)]));else throw Log['error'](l(0xa5));}if(b[l(0x8f)]){if(b[l(0x8f)]&&b[l(0x8a)])throw Log[l(0x9d)](l(0x8d));let f=b[l(0x8f)];b[l(0x8a)]&&(f=![]),this[l(0x92)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0xa2)](l(0x9b)+f);}}catch(g){console[l(0x9d)](g),process[l(0xa7)](0x0);}},a47f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a48c(){var
|
|
1
|
+
function a48c(){var k=['4484417YuRVXJ','toString','183882WKfTTK','search','20rDPEkh','maka\x20set:local-config\x20<opts>','Sorry,\x20not\x20implemented\x20yet','constructor','12PPKYyq','local-config','345843ypVFqr','apply','notice','3431547UeaFpl','Set\x20local\x20maka\x20app\x20settings','1809724xElRVg','(((.+)+)+)+$','maka\x20set:lc\x20<opts>','2340074wkmxny','50oKhGSc','8ZUhsxh','285612seNUeI'];a48c=function(){return k;};return a48c();}var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x143))/0x1+-parseInt(f(0x141))/0x2*(-parseInt(f(0x13b))/0x3)+parseInt(f(0x132))/0x4+parseInt(f(0x13d))/0x5*(-parseInt(f(0x138))/0x6)+parseInt(f(0x139))/0x7*(-parseInt(f(0x137))/0x8)+-parseInt(f(0x130))/0x9+-parseInt(f(0x136))/0xa*(-parseInt(f(0x135))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x4f844));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x13a)]()[h(0x13c)](h(0x133))[h(0x13a)]()[h(0x140)](a48a)[h(0x13c)](h(0x133));});a48a();import a48e from'./set.command.js';function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x130;var f=c[d];return f;},a48d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a48i(0x142),'usage':a48i(0x13e),'examples':[a48i(0x134),a48i(0x13e)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48i(0x131),'validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a48i;Log[j(0x145)](j(0x13f));},a48e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=parseInt(f(0x11e))/0x1+-parseInt(f(0x116))/0x2+parseInt(f(0x11a))/0x3*(-parseInt(f(0x119))/0x4)+-parseInt(f(0x120))/0x5*(-parseInt(f(0x117))/0x6)+parseInt(f(0x122))/0x7+parseInt(f(0x11f))/0x8+-parseInt(f(0x113))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x58564));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0x11b)]()[h(0x111)]('(((.+)+)+)+$')[h(0x11b)]()[h(0x124)](a49a)[h(0x111)](h(0x115));});function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x111;let f=c[d];return f;},a49d(a,b);}a49a();import{Command}from'../../command.js';function a49c(){const k=['1786320cKpsxT','create','(((.+)+)+)+$','649078fADXgB','4340346vTdDpA','\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','1421052jOLUkt','6gTDXEh','toString','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','set','278275AkwMBO','4068424bOIOaL','5fvshal','help','596078waTxPU','apply','constructor','search','maka\x20set:<sub-command>\x20<opts>'];a49c=function(){return k;};return a49c();}import{UsageError}from'../../error.js';const SetCommand=Command[a49i(0x114)]({'name':a49i(0x11d),'usage':a49i(0x112),'minArgLength':0x1,'shortDesc':a49i(0x11c),'description':a49i(0x118),'validOpts':[]},async function(a,b){const j=a49i,c=a[0x0];if(b[j(0x121)])throw new UsageError();const d=this['findSubCommand'](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x65;let f=c[d];return f;},a50d(a,b);}const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0x87))/0x1+-parseInt(j(0x66))/0x2*(-parseInt(j(0x7d))/0x3)+parseInt(j(0x76))/0x4*(-parseInt(j(0x7b))/0x5)+parseInt(j(0x67))/0x6*(parseInt(j(0x7c))/0x7)+parseInt(j(0x83))/0x8*(-parseInt(j(0x7f))/0x9)+-parseInt(j(0x88))/0xa*(-parseInt(j(0x6e))/0xb)+parseInt(j(0x72))/0xc*(-parseInt(j(0x65))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x62b30));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0x80)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0x73)]()[l(0x7e)](l(0x75))[l(0x73)]()[l(0x85)](a50a)[l(0x7e)]('(((.+)+)+)+$');});a50a();import a50e from'fs';import a50f from'path';import{Command}from'../command.js';function a50c(){const o=['constructor','maka\x20ssh\x20<command>','689020zFtNwh','160wQMPzB','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','264394dPckdh','211264iOiYTt','2078424ihsmiA','ssh.json','create','assign','maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging','getConfigPath','467357tjDZaA','sshSync','length','maka\x20ssh\x20--env\x20prod','624wKriqQ','toString','fsi','(((.+)+)+)+$','1381448szEXdq','readFileSync','ssh','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','5mqsnfT','7NaqXpg','6tVMGFd','search','9lKBuOo','apply','exit','error','954160jQItfg','env'];a50c=function(){return o;};return a50c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a50m(0x69)]({'name':a50m(0x78),'usage':a50m(0x86),'mustBeInMakaProject':!![],'requiredOpts':[a50m(0x84)],'validOpts':[a50m(0x84),'v'],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a50m(0x6b),a50m(0x6c),a50m(0x71),a50m(0x7a),a50m(0x89),a50m(0x79)]},async function(a,b){const n=a50m;try{const c=this[n(0x74)][n(0x6d)](b[n(0x84)]);let d='';a[n(0x70)]>0x0&&(d=a[0x0]);const f=a50f['join'](c,n(0x68)),g=a50e[n(0x77)](f)[n(0x73)](),h=JSON['parse'](g);Object[n(0x6a)](h,{'env':c}),SSH[n(0x6f)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x82)](i),process[n(0x81)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(
|
|
1
|
+
const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x9e))/0x1+-parseInt(v(0xd1))/0x2*(-parseInt(v(0xb9))/0x3)+parseInt(v(0xb5))/0x4*(parseInt(v(0xc3))/0x5)+-parseInt(v(0xaa))/0x6*(-parseInt(v(0xa4))/0x7)+-parseInt(v(0xc2))/0x8+-parseInt(v(0xa6))/0x9*(-parseInt(v(0xc4))/0xa)+parseInt(v(0xc7))/0xb*(-parseInt(v(0xa2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xb5db8));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a['toString']()[x(0xbb)]('(((.+)+)+)+$')[x(0xcc)]()[x(0xac)](a51a)[x(0xbb)]('(((.+)+)+)+$');});a51a();import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x9c;let f=c[d];return f;},a51d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a51y(0xa0)]({'name':a51y(0x9f),'usage':a51y(0xcd),'validOpts':['domains','email'],'requiredOpts':[a51y(0xd4)],'shortDesc':a51y(0xd9),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr',a51y(0xab),a51y(0xb0)]},async function(a,b){const z=a51y,c=this[z(0xd6)][z(0xa9)](),d=this[z(0xd6)][z(0xc5)](b[z(0xd4)]),f=this[z(0xd6)][z(0xc8)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xd7))SSL[z(0xb6)]({'keyName':c[z(0xc0)]+'.key','csrName':c[z(0xc0)]+z(0xaf),'cwd':f});else{if(g===z(0xca)){if(!a51e[z(0xcf)](a51f[z(0xbf)](f,c[z(0xc0)]+z(0xc9))))throw z(0xcb)+a51f[z(0xbf)](f,c[z(0xc0)]+z(0xc9));if(!a51e['existsSync'](a51f[z(0xbf)](f,c[z(0xc0)]+z(0xaf))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a51f['join'](f,c['appName']+'.csr');SSL['genSSC']({'keyName':c[z(0xc0)]+'.key','crtName':c[z(0xc0)]+'.crt','cwd':f}),Log[z(0x9d)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g==='letsencrypt'){let h=b[z(0xd2)],i=b['email'];try{const p=a51e[z(0xba)](a51f[z(0xbf)](d,z(0xa5)))[z(0xcc)](),q=JSON[z(0xbc)](p);h=b[z(0xd2)]?b[z(0xd2)]:q['domainNames'],i=b[z(0xbe)]?b[z(0xbe)]:q['emailUpdate'],(!b[z(0xbe)]||!b[z(0xd2)])&&Log[z(0x9d)](z(0xb4));}catch(r){}const j=JSON[z(0xbc)](a51e[z(0xba)](d+z(0xb8))[z(0xcc)]());Object[z(0xd5)](j,{'env':d}),Log[z(0x9d)](z(0xb7));try{const s=SSH['ping']('uname\x20-a',j);if(!s)throw z(0xa3);if(s)Log[z(0xb3)](z(0xd3));}catch(t){Log[z(0xb2)](t);return;}const k=Log['withSpinner']();k[z(0xc6)](z(0xae)),SSH[z(0xb1)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH[z(0xb1)](z(0xd0),{...j}),SSH['ssh'](z(0x9c),{...j}),k[z(0xb3)]();const l=h?h:await Actions[z(0xa8)](z(0xd8)),m=i?i:await Actions[z(0xa8)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0xb1)](z(0xce)+l+z(0xa7)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xa1)](n,null,0x2);a51e['writeFileSync'](a51f[z(0xbf)](d,'letsencrypt.json'),o);}else throw z(0xbd);}}}catch(u){console['error'](u),process[z(0xad)](0x0);}});function a51c(){const A=['1387427kfSkim','ssl','create','stringify','698940NQFwWI','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','7DJJrMI','letsencrypt.json','1311678iNyisW','\x20--email\x20','ask','getProjectConfig','3367110SHgNNt','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','constructor','exit','Verifying\x20Letsencrypt\x20configuration','.csr','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','ssh','error','success','Using\x20saved\x20letsencrypt\x20config','20UrtgJS','genCSR','Checking\x20remote\x20host\x20availability','/ssh.json','10713WUNMti','readFileSync','search','parse','Please\x20provide\x20a\x20command.','email','join','appName','apply','7185064NxjhdG','1060645jUnMaS','20OcwGFA','getConfigPath','start','539aSvTph','mkKeysDir','.key','generate-ssc','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','toString','maka\x20ssl\x20[command]','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','existsSync','sudo\x20snap\x20install\x20--classic\x20certbot','670XVPaer','domains','Remote\x20host\x20connection\x20successful','env','assign','fsi','generate-csr','[?]\x20Domains\x20to\x20register:\x20','Create\x20and\x20manage\x20your\x20SSL\x20operations.','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','notice'];a51c=function(){return A;};return a51c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a52p=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0x1ee))/0x1*(parseInt(m(0x20a))/0x2)+-parseInt(m(0x1cc))/0x3*(-parseInt(m(0x1dc))/0x4)+parseInt(m(0x1d6))/0x5*(parseInt(m(0x1dd))/0x6)+parseInt(m(0x207))/0x7*(-parseInt(m(0x1ec))/0x8)+-parseInt(m(0x1ea))/0x9+parseInt(m(0x200))/0xa*(parseInt(m(0x1e5))/0xb)+-parseInt(m(0x203))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x76213));function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a52d(a,b);}const a52b=(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;};}()),a52a=a52b(this,function(){const n=a52d;return a52a[n(0x1f9)]()[n(0x205)](n(0x1cf))[n(0x1f9)]()[n(0x1df)](a52a)[n(0x205)](n(0x1cf));});function a52c(){const s=['4974072OrudVl','test-packages','search','readFileSync','5541781mbOOjc','maka\x20test\x20<opts>','driver','32194REmIJK','mocha','6lOmlmz','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','concat','(((.+)+)+)+$','engines','fsi','Meteor\x20Settings:\x20','join','--full-app','exit','1170860qSsQQe','testAppPath','error','Node\x20Env\x20Config:\x20','filter','unit','1203136gPmaoV','18jNCGUn','config.json','constructor','none','openSync','splice','getConfigPath','settings.json','11jEULiu','packages','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','env','port','4908627MKVYgd','test','8eVefAd','invokeMeteorCommand','27qjtYOS','forEach','warn','driver-package','development','create','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','slice','utf8','rawLogs','driverPackage','toString','sanjo:jasmine','config','once','isFile','--env','notice','4967480rfZVbJ','--settings','inspect'];a52c=function(){return s;};return a52c();}a52a();import a52e from'fs';import a52f from'path';import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a52d;a52e[o(0x1e1)](a,'r'),a52g[o(0x1fb)]({'path':a});};Command[a52p(0x1f3)]({'name':a52p(0x1eb),'mustBeInMakaProject':!![],'validOpts':[a52p(0x1fc),a52p(0x1e6),a52p(0x209),a52p(0x1f8),'unit','env',a52p(0x1f7),a52p(0x1e9),a52p(0x202),a52p(0x1d7)],'usage':a52p(0x208),'shortDesc':a52p(0x1e7),'examples':[]},function(a,b){const q=a52p;try{let c=this[q(0x1d1)]['getConfigPath'](q(0x1f2));b[q(0x1e8)]&&(c=this[q(0x1d1)][q(0x1e3)](b[q(0x1e8)]));(!b[q(0x1db)]||!!b[q(0x1fc)])&&(a=a[q(0x1ce)]([q(0x1d4)]));b[q(0x1db)]&&delete b[q(0x1db)];let d=b['driver-package']||b['driver']||q(0x1e0);if(d===q(0x1e0)){const j=JSON['parse'](a52e[q(0x206)](a52f['join'](this[q(0x1d1)]['findProjectDirectory'](),'.maka',q(0x1de)),q(0x1f6)));if(j[q(0x1d0)]['test']==='jasmine')d=q(0x1fa);else j[q(0x1d0)][q(0x1eb)]===q(0x20b)&&(d='meteortesting:mocha');}if(d===q(0x1e0))throw q(0x1f4);(!b[q(0x1f1)]||!b[q(0x209)])&&(a=a[q(0x1ce)](['--driver-package',d]));const f=a52f['join'](c,q(0x1e4));this['fsi']['isFile'](f)?(Log[q(0x1ff)](q(0x1d2)+f),a=a[q(0x1ce)]([q(0x201),f])):Log['warn'](q(0x1cd)+f);const g=a52f[q(0x1d3)](c,'process.env');this[q(0x1d1)][q(0x1fd)](g)?(Log[q(0x1ff)](q(0x1d9)+g),syncSource(g)):Log[q(0x1f0)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process['argv'][q(0x1f5)](0x2)[q(0x1da)](k=>k!==q(0x1fe))[q(0x1da)](k=>k!=='test')[q(0x1da)](k=>k!==a[0x0]);h[q(0x1ef)]((k,l)=>{const r=q;(k==='--env'||k==='--driver')&&h[r(0x1e2)](l,0x2),k==='--packages'&&h['splice'](l,0x1);});const i=b[q(0x1e6)]?q(0x204):q(0x1eb);this[q(0x1d1)][q(0x1ed)](i,a[q(0x1ce)](h));}catch(k){console[q(0x1d8)](k),process[q(0x1d5)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=-parseInt(i(
|
|
1
|
+
function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x8a;let f=c[d];return f;},a53d(a,b);}const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=-parseInt(i(0xa2))/0x1+parseInt(i(0x9b))/0x2*(parseInt(i(0xb0))/0x3)+-parseInt(i(0xa5))/0x4+parseInt(i(0xab))/0x5+-parseInt(i(0x9e))/0x6*(-parseInt(i(0xb4))/0x7)+-parseInt(i(0xb5))/0x8*(parseInt(i(0x95))/0x9)+parseInt(i(0xaa))/0xa*(parseInt(i(0x8b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xa0f1d));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a[k(0x91)]()[k(0xad)](k(0xa9))[k(0x91)]()['constructor'](a53a)[k(0xad)](k(0xa9));});a53a();function a53c(){const n=['apply','6pnBRAd','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','meteor.bat','789630pkkoLb','platform','Project\x27s\x20Meteor\x20Node\x20Version\x20','bright','919444iSlrAt','node\x20-v','isMakaProject','1113784NEVolq','4.5.5','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','----------------------Project----------------------------','(((.+)+)+)+$','60bLYrFB','5751570WEUznV','exit','search','meteor','System\x27s\x20Meteor\x20Version\x20','424215DAluYi','Maka\x20','maka\x20v','compareMakaToLatest','7yyWncj','151928BamCQY','version','warn','System\x27s\x20Node\x20Version\x20','fsi','1286494hQApcq','getGlobalMeteorVersion','getProjectsMeteorNodeVersion','\x20node\x20-v','getProjectMeteorVersion','replace','toString','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','win32','261CsyHHD','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','N/A','\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','notice'];a53c=function(){return n;};return a53c();}import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a53l(0xa6)};Command['create']({'name':'version','aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[],'shortDesc':a53l(0x9c),'examples':[a53l(0xb2),'maka\x20version']},async function(){const m=a53l;try{const a=process[m(0x9f)]===m(0x94)?m(0x9d):m(0xae);Log['majestic'](m(0xb1)+pjson[m(0xb6)]),await this[m(0x8a)][m(0xb3)](),Log['bright']('----------------------System----------------------------');const b=this[m(0x8a)][m(0x8c)]();Log[m(0xa1)]((m(0xaf)+b)[m(0x90)]('\x0a',''));const c=execSync(a+m(0x8e))[m(0x91)]()[m(0x90)](/\r?\n|\r/,'')[m(0x90)]('v','');Log['bright'](m(0x93)+c);const d=execSync(m(0xa3))[m(0x91)]()[m(0x90)](/\r?\n|\r/,'')[m(0x90)]('v','');a53e['gt'](c,d)?(Log[m(0xb7)]('System\x27s\x20Node\x20Version\x20'+d),Log[m(0xb7)](m(0x92)+d+')\x20to\x20at\x20least\x20meteor\x27s\x20('+c+')')):Log[m(0xa1)](m(0xb8)+d);if(this[m(0x8a)][m(0xa4)]()){Log[m(0xa1)](m(0xa8));const f=this['fsi'][m(0x8f)]();a53e['gt'](b,f)?(Log[m(0xb7)]('Project\x27s\x20Meteor\x20Version\x20'+f['replace']('\x0a','')),Log['warn'](m(0xa7)+b+'\x22')):Log[m(0x99)](('Project\x27s\x20Meteor\x20Version\x20'+f)[m(0x90)]('\x0a',''));const g=await this['fsi'][m(0x8d)]();g===m(0x97)?(Log[m(0xb7)](m(0xa0)+g),Log[m(0xb7)](m(0x96))):Log[m(0xa1)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log['bright'](m(0x98));}}catch(h){console['error'](h),process[m(0xac)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a54d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a54d,c=a();while(!![]){try{var d=parseInt(f(0x102))/0x1+-parseInt(f(0x101))/0x2+parseInt(f(0x105))/0x3+parseInt(f(0x100))/0x4+-parseInt(f(0x10a))/0x5*(parseInt(f(0x10b))/0x6)+-parseInt(f(0x109))/0x7+parseInt(f(0x104))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x262bd));function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x100;var f=c[d];return f;},a54d(a,b);}var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a['toString']()['search'](h(0x106))[h(0x103)]()[h(0x107)](a54a)['search']('(((.+)+)+)+$');});a54a();export class UsageError{}function a54c(){var i=['constructor','apply','1240225otjUjZ','5dIpvCL','1174422YRJowz','456428jvrrkD','281170xIkhJE','163265bnoJVm','toString','786872hnJZDO','882345jrborj','(((.+)+)+)+$'];a54c=function(){return i;};return a54c();}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55u=a55d;(function(a,b){const q=a55d,c=a();while(!![]){try{const d
|
|
1
|
+
const a55u=a55d;(function(a,b){const q=a55d,c=a();while(!![]){try{const d=-parseInt(q(0x168))/0x1+parseInt(q(0x139))/0x2+parseInt(q(0x130))/0x3*(parseInt(q(0x16c))/0x4)+-parseInt(q(0x149))/0x5+-parseInt(q(0x13a))/0x6+-parseInt(q(0x153))/0x7+parseInt(q(0x16d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x932fc));const a55b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a55d;if(c){const e=c[r(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){const s=a55d;return a55a[s(0x12b)]()[s(0x13c)]('(((.+)+)+)+$')[s(0x12b)]()[s(0x125)](a55a)[s(0x13c)](s(0x134));});a55a();import a55e from'path';import a55f from'cli-table';import{paramCase}from'change-case';function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0x11b;let f=c[d];return f;},a55d(a,b);}function a55c(){const G=['function','where','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','roles','1540826glIaju','Generator.create\x20requires\x20some\x20options!','forEach','domainLicense','singleLicense','Too\x20many\x20arguments','Both','exit','filter','slice','assign','Generator.create\x20requires\x20a\x20handler\x20function!','length','replace','findGenerator','bind','parent','bright','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','notice','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','751574xYpAZE','map','There\x20is\x20no\x20Meteor\x20application\x20here','validateMakaProject','3683044UjhEzK','5012464UYUsvo','chdir','sep','number','Too\x20few\x20arguments','findProjectDirectory','Too\x20few\x20options','listGenerators','name','client','maxArgLength','_handler','maxOptsLength','sort','checkWhere','mustBeInMakaProject','appPathPrefix','find','_generators','addGenerator','join','validateParams','server','apply','tableList','addGenerator\x20requires\x20a\x20Generator\x20instance','constructor','root','mustHaveMeteorInstalled','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','To\x20use\x20these\x20pro\x20flags,\x20\x22','pop','toString','list','help','Please\x20run\x20\x22maka\x20install\x20meteor\x22','proGenerators','3wqUKlk','cwd','resourceName','noResource','(((.+)+)+)+$','getPro','shortDesc','validateMakaSubscription','Description','1208402TENcAD','169722UsLzAf','Generator\x20requires\x20a\x20handler\x20function','search','includes','Generators:','Server','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','aliases','push','minArgLength','create','options','split','keys','fsi','2743325oXiLky','both','error','Too\x20many\x20options','dir','call'];a55c=function(){return G;};return a55c();}import a55g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const t=a55d,c=process[t(0x131)]();let d=null;try{process['chdir'](a),d=b();}finally{process[t(0x16e)](c);}return d;}export class Generator extends Tool{[a55u(0x145)];[a55u(0x11d)];constructor(a,b){const v=a55u;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[v(0x175)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!=='function')throw new Error(v(0x13b));this[v(0x11d)]=[],this[v(0x145)]=Object[v(0x15d)]({},a),this[v(0x175)]=this[v(0x145)]['name'],this['_handler']=b[v(0x162)](this);}static[a55u(0x144)](a,b,c){const w=a55u;if(!a)throw new Error(w(0x154));if(typeof b!==w(0x14f))throw new Error(w(0x15e));const d=new Generator(a,b);return c=c||a55g,Object['assign'](d,{'parent':c?.[w(0x145)]?.[w(0x175)]}),c[w(0x11e)](d),d;}[a55u(0x11e)](a){const x=a55u;if(!(a instanceof Generator))throw new Error(x(0x124));this[x(0x11d)]['push'](a);}[a55u(0x161)](a){const y=a55u,b=this['_generators'][y(0x11c)](c=>c['match'](a));return b;}async[a55u(0x137)](a,b){const z=a55u,c=this[z(0x161)](a[0x0]);if(c){const d=c?.[z(0x175)]||a[0x0],e=c?.[z(0x163)]||'',f=Object[z(0x147)](b),g=await this['fsi'][z(0x135)]();!g&&(Log['error'](z(0x128)),process[z(0x15a)](0x1));const h=!g?.['roles']['includes'](z(0x157))&&!g?.[z(0x152)][z(0x13d)](z(0x156)),i=g?.[z(0x12f)][z(0x13d)](d)||g?.[z(0x12f)]['includes'](e);if(i&&h)throw'To\x20use\x20this\x20generator,\x20\x22'+d+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';if(f[z(0x15f)]>0x0){const j=g?.['proFlags'][z(0x15b)](k=>f[z(0x13d)](k));if(j&&j[z(0x15f)]>0x0&&h)throw z(0x129)+j?.[z(0x11f)](',\x20')+z(0x167);}}}async['invoke'](a,b){const A=a55u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this['options'];try{await this[A(0x137)](a,b);}catch(g){Log[A(0x14b)](g),process[A(0x15a)](0x1);}const f=a[A(0x15c)]();b[A(0x132)]=f[0x0];try{if((a[0x0]===_prevGen||a[A(0x15f)]===0x0)&&b[A(0x12d)])throw new UsageError();if(this[A(0x145)][A(0x17c)]){const h=this[A(0x16b)]();if(!h)throw new MustBeInProjectError();}if(this['options'][A(0x127)]){const i=this['validateMeteorInstall']();if(!i)throw new NoMeteorFoundError();}if(typeof this[A(0x145)][A(0x143)]===A(0x170)){if(a['length']<this['options']['minArgLength']){Log[A(0x14b)](A(0x171));throw new UsageError();}}if(typeof this[A(0x145)][A(0x177)]==='number'){if(a[A(0x15f)]>this[A(0x145)]['maxArgLength']){Log[A(0x14b)](A(0x158));throw new UsageError();}}if(typeof this['options']['minOptsLength']==='number'){if(Object[A(0x147)](b)['length']<this[A(0x145)]['minOptsLength']){Log[A(0x14b)](A(0x173));throw new UsageError();}}if(typeof this[A(0x145)][A(0x179)]===A(0x170)){if(Object[A(0x147)](b)['length']>=this[A(0x145)][A(0x179)]){Log['error'](A(0x14c));throw new UsageError();}}this[A(0x120)](a,b,this['options']);if(!b[A(0x132)]&&!this['options'][A(0x133)]){Log['error']('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(j){Log['usage'](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0x11d)][A(0x15f)]>0x0&&b[A(0x12d)]&&(Log[A(0x166)](A(0x13e)),this['tableList'](this[A(0x11d)]));else{if(j instanceof MustBeInProjectError)Log[A(0x14b)](A(0x140));else{if(j instanceof NoMeteorFoundError)Log['error'](A(0x165)),Log[A(0x166)](A(0x12e));else{if(j instanceof NoMeteorAppFoundError)Log[A(0x14b)](A(0x16a));else throw j;}}}process['exit'](0x1);}return new Promise(k=>{const B=A;inside(b[B(0x131)],async()=>{const C=B;try{if(!b[C(0x126)]&&!this[C(0x148)][C(0x172)]())throw new MustBeInProjectError();const l=b[C(0x132)]?.[C(0x160)](/\\/g,'/')[C(0x146)]('/');!b[C(0x14d)]&&(l?.[C(0x15f)]>0x1?(b[C(0x132)]=l[C(0x12a)](),f[0x0]=b[C(0x132)],b[C(0x14d)]=l[C(0x169)](m=>{return paramCase(m);})[C(0x11f)](a55e[C(0x16f)])):b[C(0x14d)]='');if(this[C(0x145)][C(0x17b)]){if(!b[C(0x150)]){const n={'type':C(0x12c),'name':'colLocAnswer','message':'Location','choices':[{'name':'Client','value':C(0x176)},{'name':C(0x13f),'value':C(0x121)},{'name':C(0x159),'value':C(0x14a)}]},{colLocAnswer:o}=await Actions[C(0x145)](n);o?b[C(0x150)]=o:b[C(0x150)]=C(0x14a);}const m=['both','client',C(0x121)];if(!m[C(0x13d)](b[C(0x150)])){Log[C(0x14b)](C(0x151));throw new UsageError();}switch(b[C(0x150)]){case'both':b[C(0x11b)]='lib';break;case C(0x121):b[C(0x11b)]='server';break;case C(0x176):b[C(0x11b)]=C(0x176);break;default:b[C(0x11b)]='';}}k(this[C(0x178)][C(0x14e)](this,f,b));}catch(p){console['error'](p);}});});}[a55u(0x174)](){const D=a55u;this['tableList'](this[D(0x11d)]);}[a55u(0x123)](a){const E=a55u,b=new a55f({});b['push'](['Name','Alias',E(0x138)]),a[E(0x17a)]()[E(0x155)](c=>{const F=E;b[F(0x142)]([c[F(0x175)],c[F(0x141)](),c[F(0x136)]()]);}),Log[E(0x164)](b[E(0x12b)]());}}
|