@maka/maka-cli 4.3.30 → 4.3.31
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/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/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/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x65;let f=c[d];return f;},a36d(a,b);}const a36y=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=parseInt(w(0x81))/0x1*(parseInt(w(0x6e))/0x2)+-parseInt(w(0x88))/0x3*(parseInt(w(0x92))/0x4)+parseInt(w(0x71))/0x5+parseInt(w(0x9c))/0x6*(parseInt(w(0x73))/0x7)+-parseInt(w(0x80))/0x8*(-parseInt(w(0x72))/0x9)+-parseInt(w(0x9a))/0xa*(-parseInt(w(0x6d))/0xb)+-parseInt(w(0x8b))/0xc*(parseInt(w(0x70))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xb7374));const a36b=(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;};}()),a36a=a36b(this,function(){const x=a36d;return a36a['toString']()[x(0x8a)](x(0x77))[x(0x7b)]()[x(0x6a)](a36a)[x(0x8a)](x(0x77));});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';function a36c(){const A=['env','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','password','localhost','login','debug','/api/v1/encodeJwt','fsi','setGlobalConfig','digest','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','constructor','cert','exit','85371Nzjayl','304fpkOHd','Email:','47203qsdcPp','6141120KBCSlE','1179369RKrsag','688877TJvSEk','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','update','failure','(((.+)+)+)+$','withSpinner','True','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','toString','isFile','header','Preflight\x20Check','post','56IGfCIG','3849XqNlWf','ask','cacert','create','https://','Password:\x20','error','131910nAyUfw','start','search','10308TomBxM','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','/api/v1/status','success','parse','getGlobalConfig','Using\x20CA\x20Cert\x20','52DDbUSu','maka\x20login','authToken','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','notice','sha256','assign','maka\x20login\x20<opts>','1570lszRer','email','30SWzWCP'];a36c=function(){return A;};return a36c();}const hostname=process[a36y(0x9d)]['MAKA_DEV']===a36y(0x79)?a36y(0xa0):'www.maka-cli.com';Command[a36y(0x84)]({'name':a36y(0xa1),'validOpts':[a36y(0x9b),'password','help','cacert',a36y(0xa2)],'usage':a36y(0x99),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36y(0x74),'examples':[a36y(0x93),a36y(0x8c)]},async function(a,b){const z=a36y,c=Log[z(0x78)]();try{let d='';b['cacert']&&(this[z(0x66)][z(0x7c)](b[z(0x83)])?(d=b['cacert'],Log[z(0x96)](z(0x91)+d)):Log['error'](z(0x95)+d));const f=await this[z(0x66)][z(0x90)]();if(f['cert']){if(this['fsi'][z(0x7c)](f[z(0x6b)]))d=f[z(0x6b)];else{Log[z(0x87)](z(0x69)+d);return;}}Log[z(0x7d)]('Logging\x20into\x20https://'+hostname);const g={'url':z(0x85)+hostname+z(0x8d)};b[z(0x83)]&&Object[z(0x98)](g,{'cert':d});c['start'](z(0x7e));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c['failure']();throw z(0x9e);}if(h!==0xc8){c[z(0x76)]();throw'https://'+hostname+z(0x7a);}c[z(0x8e)]();const i=b[z(0x9b)]?b[z(0x9b)]:await Actions['ask'](z(0x6f)),j=b['password']?b[z(0x9f)]:await Actions[z(0x82)](z(0x86),!![]),k=a36e['md'][z(0x97)]['create']();k[z(0x75)](j);const l=k[z(0x68)]()['toHex'](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[z(0x83)]&&Object[z(0x98)](m,{'cert':d});c[z(0x89)]('Logging\x20in');const {data:n,statusCode:o}=await HTTPS[z(0x7f)](m);if(o===0x198){c['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;}const p=JSON[z(0x8f)](n);if(p[z(0x94)]){const q={'hostname':hostname,'path':z(0x65),'headers':{'x-auth-token':p[z(0x94)]},'data':{}};b[z(0x83)]&&Object[z(0x98)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0x7f)](q),{token:t}=JSON[z(0x8f)](r);if(s===0x198)throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;const u={'token':p,'hash':t};this[z(0x66)][z(0x67)](u);}else{c[z(0x76)]();throw p;}c[z(0x8e)]();}catch(v){c[z(0x76)](),console[z(0x87)](v),process[z(0x6c)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a37c(){const q=['setGlobalConfig','MAKA_DEV','get','withSpinner','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','fsi','https://','cacert','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','920517phjJKx','localhost','9gFRAbO','30690LyzDze','getGlobalConfig','token','730feUNVR','apply','1837134iLqPjR','toString','maka\x20logout\x20<opts>','212927MgVJwv','failure','Logging\x20out','/api/v1/logoutAll','Preflight\x20Check','Logging\x20out\x20of\x20https://','isFile','error','330672bBJUxm','205845JxZRXI','cert','(((.+)+)+)+$','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','success','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','post','2485714AmOFhJ','12yKmXDe','search','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','assign','start','Using\x20CA\x20Cert\x20','maka\x20logout','logout','4iBZBQY'];a37c=function(){return q;};return a37c();}const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=parseInt(l(0x19d))/0x1*(-parseInt(l(0x19e))/0x2)+-parseInt(l(0x19b))/0x3*(parseInt(l(0x191))/0x4)+parseInt(l(0x181))/0x5*(parseInt(l(0x189))/0x6)+-parseInt(l(0x188))/0x7+parseInt(l(0x180))/0x8+-parseInt(l(0x175))/0x9+-parseInt(l(0x1a1))/0xa*(-parseInt(l(0x178))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x82051));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x1a2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a[n(0x176)]()['search']('(((.+)+)+)+$')[n(0x176)]()['constructor'](a37a)[n(0x18a)](n(0x183));});a37a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x175;let f=c[d];return f;},a37d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a37o(0x193)]==='True'?a37o(0x19c):'www.maka-cli.com';Command['create']({'name':a37o(0x190),'validOpts':[a37o(0x199)],'usage':a37o(0x177),'maxArgLength':0x2,'shortDesc':a37o(0x184),'disableAuthCheck':!![],'examples':[a37o(0x18f)]},async function(a,b){const p=a37o,c=Log[p(0x195)]();try{let d='';b[p(0x199)]&&(this[p(0x197)][p(0x17e)](b[p(0x199)])?(d=b[p(0x199)],Log['notice'](p(0x18e)+d)):Log[p(0x17f)](p(0x196)+d));const f=await this[p(0x197)][p(0x19f)]();if(f['cert']){if(this[p(0x197)][p(0x17e)](f[p(0x182)]))d=f['cert'];else{c['failure']();throw Log[p(0x17f)](p(0x18b)+d);}}Log['header'](p(0x17d)+hostname);const g={'url':p(0x198)+hostname+'/api/v1/status'};b[p(0x199)]&&Object[p(0x18c)](g,{'cert':d});c[p(0x18d)](p(0x17c));const {statusCode:h}=await HTTPS[p(0x194)](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(0x179)]();throw p(0x186);}if(!f?.[p(0x1a0)]?.['authToken'])throw Log[p(0x17f)]('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c[p(0x18d)](p(0x17a));const i={'hostname':hostname,'path':p(0x17b),'data':{},'headers':{'x-auth-token':f[p(0x1a0)]['authToken']}};b['cacert']&&Object[p(0x18c)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x187)](i);if(j===0x198){c[p(0x179)]('\x0a');throw p(0x19a);}this[p(0x197)][p(0x192)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x185)]();}catch(k){k&&console[p(0x17f)](k),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x9f;let f=c[d];return f;},a38d(a,b);}const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0xa4))/0x1*(parseInt(h(0x9f))/0x2)+parseInt(h(0xb0))/0x3*(-parseInt(h(0xb5))/0x4)+parseInt(h(0xb9))/0x5*(-parseInt(h(0xb2))/0x6)+parseInt(h(0xab))/0x7*(-parseInt(h(0xad))/0x8)+-parseInt(h(0xa8))/0x9+parseInt(h(0xa9))/0xa+-parseInt(h(0xa3))/0xb*(-parseInt(h(0xa0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x5577f));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a['toString']()[j(0xa5)](j(0xae))['toString']()[j(0xaa)](a38a)[j(0xa5)](j(0xae));});a38a();import a38e from'fs';import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a38k(0xb4),'aliases':['l',a38k(0xa2)],'usage':a38k(0xa1),'requiredOpts':[a38k(0xa7)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0xba),'examples':[a38k(0xbc),a38k(0xaf),a38k(0xb6)]},function(a,b){const l=a38k,c=l(0xa6),d=this[l(0xbb)][l(0xac)](b[l(0xa7)]),e=a38f[l(0xb8)](d,l(0xb7)),f=a38e['readFileSync'](e),g=JSON['parse'](f['toString']());Object[l(0xb3)](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});function a38c(){const m=['assign','logs','28XhlzzW','maka\x20l\x20-e\x20p','ssh.json','join','5PtwOqb','View\x20the\x20PM2\x20logs','fsi','maka\x20logs\x20--env\x20dev','5700VQCLaw','60JJNkbz','maka\x20logs\x20--env\x20prod','log','3185303BSsyWb','5eIrGZw','search','pm2\x20logs','env','4004514LAEZjs','2191770ZgBtfF','constructor','973iYAffV','getConfigPath','11992pzIDqw','(((.+)+)+)+$','maka\x20logs\x20--env\x20staging','283995PyfyBQ','apply','91506saAfMg'];a38c=function(){return m;};return a38c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a39j=a39d;function a39c(){const l=['maka\
|
|
1
|
+
const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x157))/0x1+parseInt(g(0x15d))/0x2*(-parseInt(g(0x15e))/0x3)+-parseInt(g(0x154))/0x4+parseInt(g(0x14a))/0x5*(parseInt(g(0x14e))/0x6)+parseInt(g(0x15a))/0x7+parseInt(g(0x155))/0x8+-parseInt(g(0x153))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x81e61));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x148;let f=c[d];return f;},a39d(a,b);}function a39c(){const l=['16150qKLVlh','maybeProxyCommandToMeteor','maka\x20run','constructor','1014FLtskg','search','(((.+)+)+)+$','maka\x20install\x20meteor','toString','3984597nVmDHR','3628008RBJgaY','441016kolEJt','maka\x20<command>\x20[<args>]\x20[<opts>]','990699BEYCDi','maka\x20create\x20Todo','apply','3400152DLfMyZ','fsi','maka\x20--help','2NMGdBY','586896IvSwLh','slice','runSubCommand'];a39c=function(){return l;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x152)]()[i(0x14f)](i(0x150))[i(0x152)]()[i(0x14d)](a39a)[i(0x14f)](i(0x150));});a39a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':a39j(0x156),'disableAuthCheck':!![],'examples':[a39j(0x15c),a39j(0x151),a39j(0x158),a39j(0x14c)],'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 k=a39j;try{const c=a[0x0],d=this['findSubCommand'](c);d?this[k(0x149)](c,a[k(0x148)](0x1),b):this[k(0x15b)][k(0x14b)]();}catch(f){console['error'](f),process['exit'](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(0x12f))/0x1*(-parseInt(f(0x130))/0x2)+-parseInt(f(0x12e))/0x3*(parseInt(f(0x135))/0x4)+-parseInt(f(0x132))/0x5+-parseInt(f(0x137))/0x6+parseInt(f(0x140))/0x7+-parseInt(f(0x12a))/0x8+-parseInt(f(0x13d))/0x9*(-parseInt(f(0x133))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x87d45));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0x12b)]()[h(0x12c)](h(0x13c))[h(0x12b)]()[h(0x131)](a40a)[h(0x12c)](h(0x13c));});function a40c(){var k=['log','exit','Murrrrderrrrr','(((.+)+)+)+$','45OzbyUh','error','maka\x20murder','6193019WYTAHN','apply','8446496cVsMnS','toString','search','murder','63vMFspt','1KoXiuy','418520TmVnmi','constructor','468405bKNZow','2720420FqPVod','%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','13252XWglJs','font-family:\x20monospace','4072584DKHaUm','create'];a40c=function(){return k;};return a40c();}a40a();function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x129;var f=c[d];return f;},a40d(a,b);}import{Command}from'../command.js';Command[a40i(0x138)]({'name':a40i(0x12d),'usage':a40i(0x13f),'maxArgLength':0x1,'shortDesc':a40i(0x13b),'validOpts':[]},async function(){var j=a40i;try{console[j(0x139)](j(0x134),j(0x136));}catch(a){console[j(0x13e)](a),process[j(0x13a)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=-parseInt(n(
|
|
1
|
+
const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=-parseInt(n(0x20d))/0x1+parseInt(n(0x1eb))/0x2*(-parseInt(n(0x1f1))/0x3)+-parseInt(n(0x1f4))/0x4*(parseInt(n(0x1e8))/0x5)+parseInt(n(0x1ed))/0x6+-parseInt(n(0x207))/0x7*(-parseInt(n(0x1e5))/0x8)+parseInt(n(0x1f3))/0x9+parseInt(n(0x204))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xc32ba));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a[p(0x210)]()[p(0x200)]('(((.+)+)+)+$')[p(0x210)]()[p(0x1e4)](a41a)[p(0x200)]('(((.+)+)+)+$');});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';import{Command}from'../command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1e3;let f=c[d];return f;},a41d(a,b);}import{Log}from'../tools/log/log.class.js';function a41c(){const s=['invoke','genSSC','localhost','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','701013BcVeIJ','proxy','fsi','toString','mkKeysDir','constructor','89520jJmMEp','.crt','targetPort','4911590ReFOrU','maka\x20proxy\x20<options>','readFileSync','2414YhGuVO','listenPort','5882226dLfNLN','listen','development','.key','3438KtDEAH','createProxyServer','10965942eqCElk','4EvSGxC','\x20to\x20','maka\x20proxy\x20--target-host\x20http://192.168.1.20','targetHost','sslconfig','join','\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','appName','genCSR','utf8','bright','getConfigPath','search','isFile','apply','=>\x20SSL\x20Proxy\x20forwarding\x20','4810220gLiEnD','getProjectConfig','findGenerator','742jsSSRe','maka\x20proxy'];a41c=function(){return s;};return a41c();}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command['create']({'name':a41q(0x20e),'usage':a41q(0x1e9),'mustBeInMakaProject':!![],'validOpts':['help',a41q(0x1e7),a41q(0x1ec),a41q(0x1f7)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a41q(0x1fa),'examples':[a41q(0x208),a41q(0x20c),a41q(0x1f6)]},async function(a,b){const r=a41q,c=this[r(0x20f)][r(0x205)](),d=r(0x1ef),e=this['fsi'][r(0x1ff)](d),f=this[r(0x20f)][r(0x1e3)]({'configPath':e}),g=b['targetPort']?b[r(0x1e7)]:0xbb8,h=b[r(0x1ec)]?b[r(0x1ec)]:0xd73,i=b['targetHost']?b[r(0x1f7)]:r(0x20b),j=a41f[r(0x1f9)](f,c['appName']+r(0x1f0)),k=a41f[r(0x1f9)](f,c[r(0x1fb)]+r(0x1e6));if(!this[r(0x20f)][r(0x201)](j)||!this[r(0x20f)][r(0x201)](k)){const m=a41h[r(0x206)](r(0x1f8));m&&await m[r(0x209)]([r(0x1f8)],{'env':d,'useConfig':!![]}),SSL[r(0x1fc)]({'keyName':c[r(0x1fb)]+'.key','csrName':c[r(0x1fb)]+'.csr','cwd':f}),SSL[r(0x20a)]({'keyName':c[r(0x1fb)]+'.key','crtName':c[r(0x1fb)]+r(0x1e6),'cwd':f});}if(g===h){Log['error']('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a41e[r(0x1ea)](j,r(0x1fd)),'cert':a41e[r(0x1ea)](k,r(0x1fd))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x1f2)](l)[r(0x1ee)](h),Log[r(0x1fe)](r(0x203)+h+r(0x1f5)+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a42q=a42d;
|
|
1
|
+
const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=-parseInt(n(0x197))/0x1*(parseInt(n(0x182))/0x2)+-parseInt(n(0x17f))/0x3*(-parseInt(n(0x185))/0x4)+-parseInt(n(0x184))/0x5*(-parseInt(n(0x181))/0x6)+-parseInt(n(0x17a))/0x7*(parseInt(n(0x1a5))/0x8)+parseInt(n(0x194))/0x9+-parseInt(n(0x17c))/0xa+parseInt(n(0x196))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x19706));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x18d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a[p(0x19d)]()[p(0x18f)](p(0x180))[p(0x19d)]()['constructor'](a42a)[p(0x18f)](p(0x180));});a42a();function a42c(){const s=['(((.+)+)+)+$','4074LIITQO','67966DlnWbM','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','505rTOLTY','36fcPlTF','fsi','sshSync','ssh.json','existsSync','Checking\x20remote\x20host\x20availability','reconfig','ses.json','apply','~/pm2.config.js','search','scp','create','\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','~/ses.json','382032fXUcfC','maka\x20reconfig\x20--env\x20prod','1511521zdDABf','2ldjHPi','getConfigPath','exit','assign','uname\x20-a','ping','toString','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','pm2\x20delete\x20all','env','parse','Remote\x20host\x20connection\x20successful','notice','~/settings.json','1100392zypVYS','join','7TIyyoW','pm2.config.js','573090TpoheW','readFileSync','_keys','39528bbWsgw'];a42c=function(){return s;};return a42c();}import a42e from'fs';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x179;let f=c[d];return f;},a42d(a,b);}import a42f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a42q(0x191)]({'name':a42q(0x18b),'validOpts':[''],'requiredOpts':[a42q(0x1a0)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig\x20--env\x20prod','shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':a42q(0x192),'examples':[a42q(0x195)]},async function(a,b){const r=a42q;try{const c=this[r(0x186)][r(0x198)](b['env']),d=a42f['join'](c,r(0x188)),f=a42e[r(0x17d)](d)['toString'](),g=JSON[r(0x1a1)](f);Object[r(0x19a)](g,{'env':c}),Log[r(0x1a3)](r(0x18a));const h=SSH[r(0x19c)](r(0x19b),g);if(!h)throw r(0x19e);if(h)Log['success'](r(0x1a2));const i=a42f[r(0x179)](c,r(0x17e),r(0x18c));if(a42e[r(0x189)](i)){const l={'source':i,'dest':r(0x193),'verbose':!![]};SSH[r(0x190)](l,{...g});}const j=a42f[r(0x179)](c,r(0x17b));SSH[r(0x190)]({'source':j,'dest':r(0x18e),'verbose':!![]},{...g});const k=a42f[r(0x179)](c,'settings.json');SSH['scp']({'source':k,'dest':r(0x1a4),'verbose':!![]},{...g}),SSH[r(0x187)](r(0x19f),g),await SSH['ssh'](r(0x183),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x199)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a43c(){var i=['8XeiUeR','1466652culTMt','search','39807252ERHjyV','3165048VlJKIW','3471944SIAXBb','1476330jjEkOj','apply','5484508oehYLZ','10uCRJUV','1228078knzssx','5WixfZz','toString'];a43c=function(){return i;};return a43c();}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x176))/0x1+-parseInt(f(0x17a))/0x2+-parseInt(f(0x17d))/0x3+-parseInt(f(0x174))/0x4+parseInt(f(0x177))/0x5*(parseInt(f(0x172))/0x6)+-parseInt(f(0x17e))/0x7*(-parseInt(f(0x179))/0x8)+-parseInt(f(0x17c))/0x9*(-parseInt(f(0x175))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xbdd38));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x178)]()[h(0x17b)]('(((.+)+)+)+$')[h(0x178)]()['constructor'](a43a)['search']('(((.+)+)+)+$');});a43a();import'./run.command.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x172;var f=c[d];return f;},a43d(a,b);}import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=parseInt(i(0x1cf))/0x1*(parseInt(i(0x1c0))/0x2)+-parseInt(i(0x1ce))/0x3*(-parseInt(i(0x1c4))/0x4)+-parseInt(i(0x1c5))/0x5+-parseInt(i(0x1d2))/0x6+parseInt(i(0x1ba))/0x7*(-parseInt(i(0x1bf))/0x8)+-parseInt(i(0x1ca))/0x9+parseInt(i(0x1c1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x95f56));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a[k(0x1c8)]()[k(0x1cc)](k(0x1cd))[k(0x1c8)]()['constructor'](a44a)[k(0x1cc)](k(0x1cd));});a44a();import a44e from'./run.command.js';import{execSync}from'child_process';import a44f from'path';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a44d(a,b);}import a44g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a44l(0x1c9)]({'name':a44l(0x1d5),'aliases':['d'],'shortDesc':a44l(0x1c7),'description':a44l(0x1d0),'usage':'maka\x20run\x20docker','validOpts':['']},async function(){const m=a44l;try{const a=this[m(0x1bb)][m(0x1d1)](),b=this[m(0x1bb)][m(0x1d6)](m(0x1d5)),c=a44f[m(0x1cb)](b,m(0x1be)),d=a44f[m(0x1cb)](b,'pm2.config.js');Log[m(0x1c2)](m(0x1bd)+d),Log[m(0x1c2)](m(0x1d3)+c);if(!a44g[m(0x1d4)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a['appName'])},g=this['fsi']['templateContent']({'srcPath':m(0x1c6),'context':f})+'\x0a';this[m(0x1bb)]['createFile']({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+'\x20up\x20--remove-orphans',{'stdio':'inherit'});}catch(h){process[m(0x1c3)](0x1);}},a44e);function a44c(){const n=['7iPDaAP','fsi','apply','PM2\x20Config\x20File:\x20','docker-compose.yaml','6455216CoQoUE','2219670xhPpKV','13543200OaoJPM','notice','exit','3860ugJgrk','1930330hYkQgx','config/docker-compose.yaml','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','toString','create','3828735phCkRf','join','search','(((.+)+)+)+$','402vtBleq','1iaxdSH','\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','getProjectConfig','2165112eOAXEZ','Docker\x20Compose\x20Path:\x20','existsSync','docker','getConfigPath'];a44c=function(){return n;};return a44c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a45u=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d
|
|
1
|
+
const a45u=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0x21c))/0x1*(parseInt(q(0x1f4))/0x2)+-parseInt(q(0x1e9))/0x3+-parseInt(q(0x20e))/0x4+parseInt(q(0x21b))/0x5*(parseInt(q(0x222))/0x6)+-parseInt(q(0x1eb))/0x7+parseInt(q(0x1f3))/0x8*(parseInt(q(0x1ef))/0x9)+-parseInt(q(0x219))/0xa*(-parseInt(q(0x213))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd543e));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0x203)]()['search'](s(0x1ea))[s(0x203)]()['constructor'](a45a)[s(0x211)]('(((.+)+)+)+$');});a45a();import a45e from'path';import a45f from'fs';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a45d(a,b);}import a45g from'dotenv';function a45c(){const x=['2ezENxk','openSync','warn','sep','concat','findSubCommand','error','fsi','settings.json','--settings','invokeMeteorCommand','notice','env','verbose','exit','toString','join','Node\x20Env\x20Config:\x20','Cannot\x20find\x20Node\x20Environment\x20File:\x20','inspect','Run\x20your\x20Meteor\x20application','split','port','length','isFile','\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.','6555536EuuIKj','slice','run','search','exclude-archs','2706KXndDW','process.env','allowIncompatibleUpdate','forEach','local','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)','208410nyDffx','mobileServer','10KJnPph','1134169QWbpgI','push','isDirectory','getConfigPath','ios','settings','718260LhHFZK','production','splice','docker','development','4387722qINfQW','(((.+)+)+)+$','9037980SxinKr','apply','cordova-build','filter','135hfmSyH','config','compareMakaToLatest','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','551464KRReTY'];a45c=function(){return x;};return a45c();}import a45h from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a45d;a45f[t(0x1f5)](a,'r'),a45g[t(0x1f0)]({'path':a});},Run=Command['create']({'name':a45u(0x210),'mustBeInMakaProject':!![],'shortDesc':a45u(0x208),'description':a45u(0x20d),'validOpts':[a45u(0x200),'docker','r','rawLogs','p',a45u(0x20a),'i',a45u(0x207),'m',a45u(0x21a),'v',a45u(0x201),a45u(0x215),'extraPackages','x',a45u(0x212),a45u(0x223)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this[v(0x1f9)](c);d&&this['runSubCommand'](c,a,b);if(c===v(0x220)){const m=this[v(0x1fb)]['findProjectDirectory'](),n=a45e[v(0x204)](m,'app','.meteor',v(0x217),v(0x1ed));this[v(0x1fb)][v(0x21e)](n)&&await a45h(n,{},()=>{});}if(b['mobile-server']&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw v(0x218);await this['fsi'][v(0x1f1)]();const f=b['env']?b[v(0x200)]:v(0x1e8),g=this['fsi'][v(0x21f)](f),h=a45e['join'](g,v(0x214));let i=a45e[v(0x204)](g,v(0x1fc));b[v(0x221)]?i=b[v(0x221)]:i=a45e[v(0x204)](g,v(0x1fc));if(this['fsi'][v(0x20c)](h)&&!b[v(0x1e7)])Log[v(0x1ff)](v(0x205)+h),syncSource(h);else!b[v(0x1e7)]&&Log[v(0x1f6)](v(0x206)+h);this['fsi'][v(0x20c)](i)?(Log['notice']('Meteor\x20Settings:\x20'+i),a=a[v(0x1f8)]([v(0x1fd),i])):Log['warn'](v(0x1f2)+i);const j=g[v(0x209)](a45e[v(0x1f7)]),k=j[j[v(0x20b)]-0x1];k==='production'&&a[v(0x21d)]('--production');const l=process['argv'][v(0x20f)](0x2)[v(0x1ee)](o=>o!==v(0x210))[v(0x1ee)](o=>o!==a[0x0]);l[v(0x216)]((o,p)=>{const w=v;o==='--env'&&l[w(0x1e6)](p,0x2),o==='-e'&&l[w(0x1e6)](p,0x2);}),this['fsi'][v(0x1fe)](v(0x210),a[v(0x1f8)](l));}catch(o){console[v(0x1fa)](o),process[v(0x202)](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x78;var f=c[d];return f;},a46d(a,b);}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x82))/0x1*(parseInt(f(0x78))/0x2)+-parseInt(f(0x7b))/0x3*(-parseInt(f(0x7d))/0x4)+-parseInt(f(0x87))/0x5+parseInt(f(0x81))/0x6*(parseInt(f(0x7f))/0x7)+parseInt(f(0x85))/0x8*(-parseInt(f(0x7a))/0x9)+-parseInt(f(0x7e))/0xa+parseInt(f(0x79))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x617a6));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x80)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x86)]()[h(0x84)](h(0x7c))[h(0x86)]()[h(0x83)](a46a)[h(0x84)](h(0x7c));});a46a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a46c(){var i=['apply','12CZeSMK','1sdgNrF','constructor','search','8xSMFmi','toString','3855040kJuQMw','478472MKJCnD','16999774zRytGd','2681163mMgLqF','3UBGKUS','(((.+)+)+)+$','2599116mEqOfG','5383940wKCKLW','177107iWpheF'];a46c=function(){return i;};return a46c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=-parseInt(h(0xdc))/0x1*(-parseInt(h(0xe9))/0x2)+-parseInt(h(0xef))/0x3*(parseInt(h(0xe3))/0x4)+-parseInt(h(0x102))/0x5+parseInt(h(0xe6))/0x6*(-parseInt(h(0xec))/0x7)+parseInt(h(0xe5))/0x8*(-parseInt(h(0xea))/0x9)+-parseInt(h(0xed))/0xa+parseInt(h(0xf8))/0xb*(parseInt(h(0xee))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x4ff7b));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a[j(0xff)]()[j(0xf6)](j(0xe2))['toString']()[j(0xfd)](a47a)[j(0xf6)]('(((.+)+)+)+$');});a47a();function a47c(){const m=['Set\x20allowInsecure:\x20','8jcpRdS','6rTmQwa','isFile','maka\x20set:gc\x20--workspace\x20<path>','20146XwFlbX','1819359YVYRbR','help','4147766kANtFY','397530ZIrjZo','23664SQkonR','3JCUPtx','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Set\x20workspace:\x20','create','cacert','isDirectory','Could\x20not\x20find\x20directory','search','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','6941vbLuVd','success','error','global-config','One\x20or\x20the\x20other\x20buddy','constructor','setGlobalConfig','toString','apply','\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','696850vydpzP','exit','Set\x20global\x20Maka-CLI\x20settings','allowInsecure','maka\x20set:global-config\x20--cacert\x20<path>','disallowInsecure','38dukRpP','workspace','maka\x20set:gc\x20--insecure\x20<path>','fsi','resolve','boolean','(((.+)+)+)+$','1302988jWhWhP'];a47c=function(){return m;};return a47c();}import a47e from'path';import a47f from'./set.command.js';import{Command}from'../../command.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xd9;let f=c[d];return f;},a47d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a47k(0xf2)]({'name':a47k(0xfb),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47k(0xf3),a47k(0xd9),a47k(0xdb),a47k(0xdd),a47k(0xeb)],'shortDesc':a47k(0x104),'description':a47k(0x101),'examples':[a47k(0xda),a47k(0xde),a47k(0xe8)]},async function(a,b){const l=a47k;try{if(b['cacert']){if(this[l(0xdf)][l(0xe7)](b[l(0xf3)]))this['fsi'][l(0xfe)]({'cert':b['cacert']}),Log['success']('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0xf3)]);else{const c=typeof b['cacert']===l(0xe1)?l(0xf7):l(0xf0)+b[l(0xf3)];throw Log[l(0xfa)](c);}}if(b[l(0xdd)]){const d=this[l(0xdf)][l(0xf4)](b[l(0xdd)]);if(d)this[l(0xdf)][l(0xfe)]({'workspace':a47e['resolve'](b[l(0xdd)])}),Log['success'](l(0xf1)+a47e[l(0xe0)](b[l(0xdd)]));else throw Log['error'](l(0xf5));}if(b['allowInsecure']){if(b[l(0xd9)]&&b[l(0xdb)])throw Log['error'](l(0xfc));let f=b[l(0xd9)];b[l(0xdb)]&&(f=![]),this['fsi'][l(0xfe)]({'allowInsecure':f}),Log[l(0xf9)](l(0xe4)+f);}}catch(g){console[l(0xfa)](g),process[l(0x103)](0x0);}},a47f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x64;var f=c[d];return f;},a48d(a,b);}var a48h=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=parseInt(f(0x73))/0x1+-parseInt(f(0x6a))/0x2*(-parseInt(f(0x65))/0x3)+-parseInt(f(0x67))/0x4+parseInt(f(0x74))/0x5+parseInt(f(0x6e))/0x6*(-parseInt(f(0x68))/0x7)+-parseInt(f(0x70))/0x8*(parseInt(f(0x77))/0x9)+-parseInt(f(0x69))/0xa*(-parseInt(f(0x66))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x420e8));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var g=a48d;return a48a[g(0x64)]()[g(0x6c)](g(0x76))[g(0x64)]()['constructor'](a48a)[g(0x6c)](g(0x76));});a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a48h(0x6f)]({'name':a48h(0x78),'usage':a48h(0x71),'examples':[a48h(0x75),a48h(0x71)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48h(0x6b),'validOpts':[],'description':a48h(0x6d)},async function(){var i=a48h;Log[i(0x72)]('Sorry,\x20not\x20implemented\x20yet');},a48e);function a48c(){var j=['329HudRCj','10ElMLVS','2lYYLnb','Set\x20local\x20maka\x20app\x20settings','search','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','10932qnnMOi','create','8UZDuYt','maka\x20set:local-config\x20<opts>','notice','265037QiEphq','338310HXsaBb','maka\x20set:lc\x20<opts>','(((.+)+)+)+$','2556639vLdZpl','local-config','toString','912843fRzqzt','3319569cfnPxN','1193944gKeYNv'];a48c=function(){return j;};return a48c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a49i=a49d;function
|
|
1
|
+
const a49i=a49d;function a49c(){const k=['6373480jpoDtK','963518PeBHUu','2237223KJaNuC','9emloNS','search','30xxbpsy','create','981127OpUJEL','15746790cFdJok','apply','runSubCommand','296uXueoL','53673aFXIYQ','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','constructor','help','(((.+)+)+)+$','maka\x20set:<sub-command>\x20<opts>','findSubCommand','49055KxRmnW'];a49c=function(){return k;};return a49c();}(function(a,b){const f=a49d,c=a();while(!![]){try{const d=parseInt(f(0x1c9))/0x1+parseInt(f(0x1be))/0x2+parseInt(f(0x1bf))/0x3+-parseInt(f(0x1c8))/0x4*(parseInt(f(0x1d0))/0x5)+-parseInt(f(0x1c2))/0x6*(parseInt(f(0x1c4))/0x7)+-parseInt(f(0x1d1))/0x8+-parseInt(f(0x1c0))/0x9*(-parseInt(f(0x1c5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x9a61c));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a['toString']()[h(0x1c1)](h(0x1cd))['toString']()[h(0x1cb)](a49a)[h(0x1c1)]('(((.+)+)+)+$');});a49a();function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x1be;let f=c[d];return f;},a49d(a,b);}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49i(0x1c3)]({'name':'set','usage':a49i(0x1ce),'minArgLength':0x1,'shortDesc':a49i(0x1ca),'description':'\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','validOpts':[]},async function(a,b){const j=a49i,c=a[0x0];if(b[j(0x1cc)])throw new UsageError();const d=this[j(0x1cf)](c);d&&this[j(0x1c7)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d
|
|
1
|
+
const a50m=a50d;function a50c(){const o=['parse','exit','maka\x20ssh\x20--env\x20dev','2342328crQFWh','9Rhtkqv','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20prod','7EhfwUm','create','search','112137VFMwZk','1115682uBCOsC','10RhqeiY','assign','3500321AOPtbs','env','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','3123372yStgGO','length','ssh','20YMQXBD','maka\x20ssh\x20--env\x20staging','774997OtnSYF','(((.+)+)+)+$','ssh.json','toString','readFileSync','constructor','383956VimYRW','fsi','10Febjzs','apply'];a50c=function(){return o;};return a50c();}(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0x133))/0x1+-parseInt(j(0x13b))/0x2*(-parseInt(j(0x148))/0x3)+-parseInt(j(0x139))/0x4*(parseInt(j(0x131))/0x5)+-parseInt(j(0x149))/0x6*(-parseInt(j(0x145))/0x7)+-parseInt(j(0x140))/0x8*(-parseInt(j(0x141))/0x9)+parseInt(j(0x129))/0xa*(-parseInt(j(0x12b))/0xb)+-parseInt(j(0x12e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x74be6));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0x136)]()[l(0x147)](l(0x134))[l(0x136)]()[l(0x138)](a50a)[l(0x147)](l(0x134));});a50a();import a50e from'fs';import a50f from'path';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x129;let f=c[d];return f;},a50d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a50m(0x146)]({'name':a50m(0x130),'usage':'maka\x20ssh\x20--env\x20<env>\x20[command]','mustBeInMakaProject':!![],'requiredOpts':[a50m(0x12c)],'validOpts':[a50m(0x12c),'v'],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a50m(0x13f),a50m(0x132),a50m(0x144),a50m(0x142),a50m(0x143),a50m(0x12d)]},async function(a,b){const n=a50m;try{const c=this[n(0x13a)]['getConfigPath'](b['env']);let d='';a[n(0x12f)]>0x0&&(d=a[0x0]);const f=a50f['join'](c,n(0x135)),g=a50e[n(0x137)](f)['toString'](),h=JSON[n(0x13d)](g);Object[n(0x12a)](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console['error'](i),process[n(0x13e)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d
|
|
1
|
+
function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x7f;let f=c[d];return f;},a51d(a,b);}function a51c(){const A=['837954QEifWf','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','ping','ssh','domains','157528jXOoqk','Using\x20saved\x20letsencrypt\x20config','sudo\x20snap\x20install\x20--classic\x20certbot','maka\x20ssl\x20--env\x20dev\x20generate-csr','genSSC','parse','2413384UkPJzz','New\x20CSR\x20written\x20to\x20','.key','mkKeysDir','success','readFileSync','generate-ssc','Create\x20and\x20manage\x20your\x20SSL\x20operations.','exit','ssl','generate-csr','appName','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','email','Remote\x20host\x20connection\x20successful','assign','domainNames','toString','2997228gxhmbi','\x20--email\x20','18BGDdno','11442110nlacbG','5726150DSwZXw','.csr','Checking\x20remote\x20host\x20availability','writeFileSync','Verifying\x20Letsencrypt\x20configuration','notice','/ssh.json','getConfigPath','stringify','.crt','fsi','uname\x20-a','[?]\x20Domains\x20to\x20register:\x20','join','existsSync','constructor','letsencrypt.json','(((.+)+)+)+$','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','ask','maka\x20ssl\x20<opts>\x20[command]','225732KMuLnX','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','env','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','28wyUIvw','Please\x20provide\x20a\x20command.','3dFPPxO','Email\x20to\x20use\x20for\x20auto-updates:\x20','emailUpdate','apply'];a51c=function(){return A;};return a51c();}const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x9a))/0x1+-parseInt(v(0x8b))/0x2+-parseInt(v(0x91))/0x3*(-parseInt(v(0xb2))/0x4)+parseInt(v(0xb6))/0x5+-parseInt(v(0x95))/0x6+-parseInt(v(0x8f))/0x7*(-parseInt(v(0xa0))/0x8)+parseInt(v(0xb4))/0x9*(-parseInt(v(0xb5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xaf3f2));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a['toString']()['search'](x(0x87))['toString']()[x(0x85)](a51a)['search'](x(0x87));});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';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':a51y(0xa9),'usage':a51y(0x8a),'validOpts':['domains',a51y(0xad)],'requiredOpts':[a51y(0x8d)],'shortDesc':a51y(0xa7),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51y(0x9d),a51y(0x8e),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a51y,c=this['fsi']['getProjectConfig'](),d=this[z(0x80)][z(0xbd)](b[z(0x8d)]),f=this[z(0x80)][z(0xa3)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xaa))SSL['genCSR']({'keyName':c['appName']+z(0xa2),'csrName':c[z(0xab)]+z(0xb7),'cwd':f});else{if(g===z(0xa6)){if(!a51e['existsSync'](a51f[z(0x83)](f,c[z(0xab)]+z(0xa2))))throw z(0x96)+a51f[z(0x83)](f,c['appName']+'.key');if(!a51e[z(0x84)](a51f[z(0x83)](f,c[z(0xab)]+'.csr')))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a51f['join'](f,c['appName']+z(0xb7));SSL[z(0x9e)]({'keyName':c['appName']+z(0xa2),'crtName':c[z(0xab)]+z(0x7f),'cwd':f}),Log[z(0xbb)](z(0xa1)+f);}else{if(g==='letsencrypt'){let h=b['domains'],i=b[z(0xad)];try{const p=a51e['readFileSync'](a51f['join'](d,'letsencrypt.json'))[z(0xb1)](),q=JSON['parse'](p);h=b[z(0x99)]?b[z(0x99)]:q[z(0xb0)],i=b[z(0xad)]?b[z(0xad)]:q[z(0x93)],(!b[z(0xad)]||!b['domains'])&&Log[z(0xbb)](z(0x9b));}catch(r){}const j=JSON[z(0x9f)](a51e[z(0xa5)](d+z(0xbc))[z(0xb1)]());Object[z(0xaf)](j,{'env':d}),Log[z(0xbb)](z(0xb8));try{const s=SSH[z(0x97)](z(0x81),j);if(!s)throw z(0x8c);if(s)Log[z(0xa4)](z(0xae));}catch(t){Log['error'](t);return;}const k=Log['withSpinner']();k['start'](z(0xba)),SSH[z(0x98)](z(0xac),{...j}),SSH[z(0x98)](z(0x9c),{...j}),SSH[z(0x98)](z(0x88),{...j}),k['success']();const l=h?h:await Actions[z(0x89)](z(0x82)),m=i?i:await Actions[z(0x89)](z(0x92));SSH[z(0x98)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0xb3)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xbe)](n,null,0x2);a51e[z(0xb9)](a51f[z(0x83)](d,z(0x86)),o);}else throw z(0x90);}}}catch(u){console['error'](u),process[z(0xa8)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(
|
|
1
|
+
const a52q=a52d;function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x11c;let f=c[d];return f;},a52d(a,b);}(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0x156))/0x1*(-parseInt(m(0x129))/0x2)+parseInt(m(0x11c))/0x3*(-parseInt(m(0x120))/0x4)+-parseInt(m(0x11e))/0x5*(-parseInt(m(0x13e))/0x6)+parseInt(m(0x147))/0x7+parseInt(m(0x131))/0x8+-parseInt(m(0x146))/0x9+parseInt(m(0x14f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x6f7cb));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0x128)]()['search'](o(0x11d))[o(0x128)]()['constructor'](a52a)[o(0x14e)](o(0x11d));});a52a();import a52e from'fs';function a52c(){const t=['packages','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','--settings','invokeMeteorCommand','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','isFile','1FDAxPS','development','3CVVxnC','(((.+)+)+)+$','1285EPQEss','driverPackage','1444056RmKoDj','none','env','concat','filter','openSync','process.env','slice','toString','1564144iLGTsO','create','mocha','unit','test','join','.maka','once','4634208jFpuec','--driver','apply','rawLogs','jasmine','engines','getConfigPath','test-packages','fsi','driver','--full-app','port','splice','5982sqoulF','notice','maka\x20test\x20<opts>','utf8','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','argv','sanjo:jasmine','config.json','7345953mYzAFn','402528pUbGvg','Meteor\x20Settings:\x20','--packages','driver-package','--env','error','settings.json','search','15229450ydyHkR'];a52c=function(){return t;};return a52c();}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 p=a52d;a52e[p(0x125)](a,'r'),a52g['config']({'path':a});};Command[a52q(0x12a)]({'name':a52q(0x12d),'mustBeInMakaProject':!![],'validOpts':[a52q(0x130),a52q(0x150),a52q(0x13a),a52q(0x11f),a52q(0x12c),a52q(0x122),a52q(0x134),a52q(0x13c),'inspect','testAppPath'],'usage':a52q(0x140),'shortDesc':a52q(0x154),'examples':[]},function(a,b){const r=a52q;try{let c=this['fsi'][r(0x137)](r(0x157));b[r(0x122)]&&(c=this[r(0x139)][r(0x137)](b[r(0x122)]));(!b[r(0x12c)]||!!b[r(0x130)])&&(a=a[r(0x123)]([r(0x13b)]));b[r(0x12c)]&&delete b[r(0x12c)];let d=b[r(0x14a)]||b['driver']||r(0x121);if(d===r(0x121)){const j=JSON['parse'](a52e['readFileSync'](a52f[r(0x12e)](this['fsi']['findProjectDirectory'](),r(0x12f),r(0x145)),r(0x141)));if(j[r(0x136)]['test']===r(0x135))d=r(0x144);else j[r(0x136)][r(0x12d)]===r(0x12b)&&(d='meteortesting:mocha');}if(d===r(0x121))throw r(0x151);(!b[r(0x14a)]||!b[r(0x13a)])&&(a=a[r(0x123)](['--driver-package',d]));const f=a52f[r(0x12e)](c,r(0x14d));this['fsi'][r(0x155)](f)?(Log[r(0x13f)](r(0x148)+f),a=a[r(0x123)]([r(0x152),f])):Log['warn'](r(0x142)+f);const g=a52f[r(0x12e)](c,r(0x126));this['fsi']['isFile'](g)?(Log[r(0x13f)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[r(0x143)][r(0x127)](0x2)[r(0x124)](k=>k!==r(0x14b))[r(0x124)](k=>k!==r(0x12d))['filter'](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k===s(0x14b)||k===s(0x132))&&h[s(0x13d)](l,0x2),k===s(0x149)&&h[s(0x13d)](l,0x1);});const i=b[r(0x150)]?r(0x138):'test';this[r(0x139)][r(0x153)](i,a[r(0x123)](h));}catch(k){console[r(0x14c)](k),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a53c(){const m=['35NHVnrv','System\x27s\x20Meteor\x20Version\x20','getProjectMeteorVersion','204fZhDjs','4707510iZaStB','664540uVXDCl','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','----------------------System----------------------------','compareMakaToLatest','5587136LmFawG','search','version','isMakaProject',')\x20to\x20at\x20least\x20meteor\x27s\x20(','meteor','fsi','getGlobalMeteorVersion','----------------------Project----------------------------','notice','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','platform','Project\x27s\x20Meteor\x20Version\x20','create','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','517881uDdPfY','11630urgatQ','majestic','7424otlcOS','bright','node\x20-v','15372Hmrjii','meteor.bat','replace','maka\x20version','1326612HUlyKX','win32','\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','warn','toString','constructor','(((.+)+)+)+$','System\x27s\x20Node\x20Version\x20','maka\x20v','Project\x27s\x20Meteor\x20Node\x20Version\x20'];a53c=function(){return m;};return a53c();}const a53k=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=-parseInt(i(0x13f))/0x1+parseInt(i(0x127))/0x2*(parseInt(i(0x13d))/0x3)+-parseInt(i(0x143))/0x4+parseInt(i(0x13a))/0x5*(parseInt(i(0x130))/0x6)+-parseInt(i(0x126))/0x7+parseInt(i(0x129))/0x8*(parseInt(i(0x12c))/0x9)+-parseInt(i(0x13e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xe11f4));const a53b=(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;};}()),a53a=a53b(this,function(){const j=a53d;return a53a[j(0x134)]()['search']('(((.+)+)+)+$')['toString']()[j(0x135)](a53a)[j(0x144)](j(0x136));});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x11b;let f=c[d];return f;},a53d(a,b);}a53a();import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import a53f from'../../package.json';Command[a53k(0x124)]({'name':a53k(0x145),'aliases':['v'],'usage':a53k(0x12f),'maxArgLength':0x1,'validOpts':[],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a53k(0x138),a53k(0x12f)]},async function(){const l=a53k;try{const a=process[l(0x122)]===l(0x131)?l(0x12d):l(0x11c);Log[l(0x128)]('Maka\x20'+a53f[l(0x145)]),await this[l(0x11d)][l(0x142)](),Log[l(0x12a)](l(0x141));const b=this[l(0x11d)][l(0x11e)]();Log[l(0x12a)]((l(0x13b)+b)[l(0x12e)]('\x0a',''));const c=execSync(a+'\x20node\x20-v')[l(0x134)]()[l(0x12e)](/\r?\n|\r/,'')[l(0x12e)]('v','');Log['bright'](l(0x140)+c);const d=execSync(l(0x12b))['toString']()[l(0x12e)](/\r?\n|\r/,'')[l(0x12e)]('v','');a53e['gt'](c,d)?(Log[l(0x133)]('System\x27s\x20Node\x20Version\x20'+d),Log[l(0x133)](l(0x125)+d+l(0x11b)+c+')')):Log[l(0x12a)](l(0x137)+d);if(this[l(0x11d)][l(0x146)]()){Log[l(0x12a)](l(0x11f));const f=this[l(0x11d)][l(0x13c)]();a53e['gt'](b,f)?(Log[l(0x133)](l(0x123)+f[l(0x12e)]('\x0a','')),Log['warn']('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+b+'\x22')):Log[l(0x120)]((l(0x123)+f)[l(0x12e)]('\x0a',''));const g=await this[l(0x11d)]['getProjectsMeteorNodeVersion']();g==='N/A'?(Log[l(0x133)](l(0x139)+g),Log['warn'](l(0x121))):Log['bright']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log[l(0x12a)](l(0x132));}}catch(h){console['error'](h),process['exit'](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x95))/0x1*(parseInt(f(0x8b))/0x2)+parseInt(f(0x87))/0x3*(-parseInt(f(0x89))/0x4)+parseInt(f(0x8d))/0x5+-parseInt(f(0x90))/0x6+-parseInt(f(0x94))/0x7*(parseInt(f(0x88))/0x8)+-parseInt(f(0x8f))/0x9*(parseInt(f(0x92))/0xa)+parseInt(f(0x91))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xe6583));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x8c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x8e)]()[h(0x93)]('(((.+)+)+)+$')[h(0x8e)]()['constructor'](a54a)['search'](h(0x8a));});function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x87;var f=c[d];return f;},a54d(a,b);}function a54c(){var i=['8148410HcvSwc','search','4783583KvkFEd','567kahvaC','3vZZHGo','8pmZUUh','3773724EyyiPZ','(((.+)+)+)+$','4502Vsdyeb','apply','3115510gsdZZk','toString','18KLGZxv','6114276EESNZf','64594574kZLivK'];a54c=function(){return i;};return a54c();}a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a55s=a55d;(function(a,b){const p=a55d,c=a();while(!![]){try{const d=-parseInt(p(0xf8))/0x1+-parseInt(p(0x11b))/0x2*(-parseInt(p(0xd3))/0x3)+parseInt(p(0x121))/0x4*(parseInt(p(0xfc))/0x5)+parseInt(p(0x104))/0x6*(parseInt(p(0xe4))/0x7)+-parseInt(p(0xfd))/0x8*(-parseInt(p(0x100))/0x9)+parseInt(p(0x122))/0xa+-parseInt(p(0xf9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x89a03));const a55b=(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;};}()),a55a=a55b(this,function(){const q=a55d;return a55a[q(0xf2)]()[q(0xdf)]('(((.+)+)+)+$')[q(0xf2)]()[q(0x10f)](a55a)['search'](q(0xde));});a55a();import a55e from'path';function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0xc0;let f=c[d];return f;},a55d(a,b);}import a55f from'cli-table';import{paramCase}from'change-case';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 r=a55d,c=process[r(0x114)]();let d=null;try{process[r(0x11e)](a),d=b();}finally{process[r(0x11e)](c);}return d;}export class Generator extends Tool{[a55s(0x11c)];[a55s(0xef)];constructor(a,b){const t=a55s;super();if(!a)throw new Error(t(0xd9));if(!a['name'])throw new Error(t(0x11f));if(typeof b!==t(0xd6))throw new Error(t(0xf6));this['_generators']=[],this[t(0x11c)]=Object['assign']({},a),this[t(0xe1)]=this['options'][t(0xe1)],this[t(0xfb)]=b[t(0xd1)](this);}static['create'](a,b,c){const u=a55s;if(!a)throw new Error(u(0xff));if(typeof b!==u(0xd6))throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const d=new Generator(a,b);return c=c||a55g,Object[u(0xd0)](d,{'parent':c?.[u(0x11c)]?.[u(0xe1)]}),c[u(0x115)](d),d;}[a55s(0x115)](a){const v=a55s;if(!(a instanceof Generator))throw new Error(v(0x117));this[v(0xef)][v(0x102)](a);}['findGenerator'](a){const w=a55s,b=this['_generators'][w(0xd2)](c=>c[w(0xc7)](a));return b;}async[a55s(0x118)](a,b){const x=a55s,c=this[x(0xc4)](a[0x0]);if(c){const d=c?.['name']||a[0x0],e=c?.[x(0x11d)]||'',f=Object[x(0xe3)](b),g=await this[x(0xd7)]['getPro']();!g&&(Log[x(0xec)](x(0xcb)),process['exit'](0x1));const h=!g?.[x(0xe6)]['includes'](x(0xe8))&&!g?.[x(0xe6)][x(0xcf)]('domainLicense'),i=g?.[x(0xea)]['includes'](d)||g?.[x(0xea)][x(0xcf)](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[x(0xc1)]>0x0){const j=g?.['proFlags']['filter'](k=>f[x(0xcf)](k));if(j&&j[x(0xc1)]>0x0&&h)throw x(0x123)+j?.[x(0x106)](',\x20')+x(0x10b);}}}async[a55s(0xda)](a,b){const y=a55s,{usage:usage='',description:description='',examples:examples=[],shortDesc:c}=this[y(0x11c)];try{await this['validateMakaSubscription'](a,b);}catch(f){Log['error'](f),process[y(0xed)](0x1);}const d=a[y(0x10d)]();b[y(0x10c)]=d[0x0];try{if((a[0x0]===_prevGen||a[y(0xc1)]===0x0)&&b[y(0xc6)])throw new UsageError();if(this[y(0x11c)][y(0xf1)]){const g=this[y(0xeb)]();if(!g)throw new MustBeInProjectError();}if(this[y(0x11c)][y(0x11a)]){const h=this[y(0xd4)]();if(!h)throw new NoMeteorFoundError();}if(typeof this[y(0x11c)][y(0xcd)]===y(0xc2)){if(a[y(0xc1)]<this[y(0x11c)][y(0xcd)]){Log[y(0xec)](y(0xf0));throw new UsageError();}}if(typeof this[y(0x11c)][y(0xe7)]==='number'){if(a['length']>this[y(0x11c)][y(0xe7)]){Log[y(0xec)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[y(0x11c)][y(0xe9)]===y(0xc2)){if(Object['keys'](b)['length']<this[y(0x11c)]['minOptsLength']){Log[y(0xec)](y(0xc8));throw new UsageError();}}if(typeof this[y(0x11c)][y(0xd5)]==='number'){if(Object[y(0xe3)](b)[y(0xc1)]>=this['options'][y(0xd5)]){Log[y(0xec)]('Too\x20many\x20options');throw new UsageError();}}this['validateParams'](a,b,this[y(0x11c)]);if(!b['resourceName']&&!this['options'][y(0xdd)]){Log[y(0xec)](y(0x10e));throw new UsageError();}_prevGen=a[0x0];}catch(i){Log['usage'](description,examples,usage,c);if(i instanceof UsageError)this[y(0xef)]['length']>0x0&&b[y(0xc6)]&&(Log['notice'](y(0xcc)),this[y(0xe2)](this[y(0xef)]));else{if(i instanceof MustBeInProjectError)Log['error'](y(0xc0));else{if(i instanceof NoMeteorFoundError)Log[y(0xec)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[y(0xee)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(i instanceof NoMeteorAppFoundError)Log[y(0xec)](y(0x110));else throw i;}}}process[y(0xed)](0x1);}return new Promise(j=>{const z=y;inside(b[z(0x114)],async()=>{const A=z;try{if(!b[A(0x119)]&&!this[A(0xd7)][A(0xdc)]())throw new MustBeInProjectError();const k=b[A(0x10c)]?.[A(0x105)](/\\/g,'/')[A(0x112)]('/');!b[A(0x107)]&&(k?.[A(0xc1)]>0x1?(b[A(0x10c)]=k[A(0x120)](),d[0x0]=b[A(0x10c)],b[A(0x107)]=k[A(0xdb)](l=>{return paramCase(l);})[A(0x106)](a55e[A(0x103)])):b[A(0x107)]='');if(this[A(0x11c)][A(0xf4)]){if(!b[A(0x109)]){const m={'type':A(0xf3),'name':A(0x108),'message':'Location','choices':[{'name':A(0x101),'value':A(0xca)},{'name':A(0xd8),'value':'server'},{'name':A(0xce),'value':'both'}]},{colLocAnswer:n}=await Actions[A(0x11c)](m);n?b[A(0x109)]=n:b[A(0x109)]=A(0x10a);}const l=[A(0x10a),A(0xca),A(0x116)];if(!l['includes'](b[A(0x109)])){Log[A(0xec)](A(0xfa));throw new UsageError();}switch(b[A(0x109)]){case A(0x10a):b[A(0xc3)]=A(0xe0);break;case A(0x116):b['appPathPrefix']=A(0x116);break;case A(0xca):b['appPathPrefix']=A(0xca);break;default:b[A(0xc3)]='';}}j(this[A(0xfb)][A(0xfe)](this,d,b));}catch(o){console[A(0xec)](o);}});});}[a55s(0x111)](){const B=a55s;this['tableList'](this[B(0xef)]);}[a55s(0xe2)](a){const C=a55s,b=new a55f({});b[C(0x102)]([C(0xe5),C(0xf7),'Description']),a[C(0x113)]()[C(0xc9)](c=>{const D=C;b[D(0x102)]([c[D(0xe1)],c['aliases'](),c[D(0xc5)]()]);}),Log[C(0xf5)](b[C(0xf2)]());}}function a55c(){const E=['mustBeInMakaProject','toString','list','checkWhere','bright','Generator\x20requires\x20a\x20handler\x20function','Alias','786943LPGcNz','6448629dtpGvX','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','_handler','15tqrfVo','2303632BOJuRX','call','Generator.create\x20requires\x20some\x20options!','9bMTpVH','Client','push','sep','6nbsOMc','replace','join','dir','colLocAnswer','where','both','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','resourceName','slice','No\x20resource\x20name\x20specified','constructor','There\x20is\x20no\x20Meteor\x20application\x20here','listGenerators','split','sort','cwd','addGenerator','server','addGenerator\x20requires\x20a\x20Generator\x20instance','validateMakaSubscription','root','mustHaveMeteorInstalled','46cFHgoa','options','parent','chdir','Generator\x20requires\x20a\x20name','pop','348692GPhrLa','7188050QOhIQr','To\x20use\x20these\x20pro\x20flags,\x20\x22','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','length','number','appPathPrefix','findGenerator','shortDesc','help','match','Too\x20few\x20options','forEach','client','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','Generators:','minArgLength','Both','includes','assign','bind','find','78438NsdBOm','validateMeteorInstall','maxOptsLength','function','fsi','Server','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','invoke','map','findProjectDirectory','noResource','(((.+)+)+)+$','search','lib','name','tableList','keys','470827MarnSt','Name','roles','maxArgLength','singleLicense','minOptsLength','proGenerators','validateMakaProject','error','exit','notice','_generators','Too\x20few\x20arguments'];a55c=function(){return E;};return a55c();}
|