@maka/maka-cli 4.5.14 → 4.5.15

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.
Files changed (102) hide show
  1. package/bundle/obf/package.json +5 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/dunnet/commands.js +1 -0
  25. package/bundle/obf/src/commands/game/dunnet/game.js +1 -0
  26. package/bundle/obf/src/commands/game/dunnet/items.js +1 -0
  27. package/bundle/obf/src/commands/game/dunnet/puzzles.js +1 -0
  28. package/bundle/obf/src/commands/game/dunnet/rooms.js +1 -0
  29. package/bundle/obf/src/commands/game/dunnet/types.js +1 -0
  30. package/bundle/obf/src/commands/game/dunnet.sub.cmd.js +1 -0
  31. package/bundle/obf/src/commands/game/play.command.js +1 -1
  32. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/generate.js +1 -1
  36. package/bundle/obf/src/commands/get/_index.js +1 -1
  37. package/bundle/obf/src/commands/get/get.command.js +1 -1
  38. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  39. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  40. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  41. package/bundle/obf/src/commands/help.js +1 -1
  42. package/bundle/obf/src/commands/jsdoc.js +1 -1
  43. package/bundle/obf/src/commands/lint.js +1 -1
  44. package/bundle/obf/src/commands/login.js +1 -1
  45. package/bundle/obf/src/commands/logout.js +1 -1
  46. package/bundle/obf/src/commands/logs.js +1 -1
  47. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  48. package/bundle/obf/src/commands/murder.js +1 -1
  49. package/bundle/obf/src/commands/proxy.js +1 -1
  50. package/bundle/obf/src/commands/reconfig.js +1 -1
  51. package/bundle/obf/src/commands/run/_index.js +1 -1
  52. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  53. package/bundle/obf/src/commands/run/run.command.js +1 -1
  54. package/bundle/obf/src/commands/set/_index.js +1 -1
  55. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  56. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  57. package/bundle/obf/src/commands/set/set.command.js +1 -1
  58. package/bundle/obf/src/commands/ssh.js +1 -1
  59. package/bundle/obf/src/commands/ssl.js +1 -1
  60. package/bundle/obf/src/commands/test.js +1 -1
  61. package/bundle/obf/src/commands/version.js +1 -1
  62. package/bundle/obf/src/error.js +1 -1
  63. package/bundle/obf/src/generator.js +1 -1
  64. package/bundle/obf/src/generators/_index.js +1 -1
  65. package/bundle/obf/src/generators/api.js +1 -1
  66. package/bundle/obf/src/generators/collection.js +1 -1
  67. package/bundle/obf/src/generators/component.js +1 -1
  68. package/bundle/obf/src/generators/config.js +1 -1
  69. package/bundle/obf/src/generators/dbc.js +1 -1
  70. package/bundle/obf/src/generators/dockerfile.js +1 -1
  71. package/bundle/obf/src/generators/hook.js +1 -1
  72. package/bundle/obf/src/generators/kit.js +1 -1
  73. package/bundle/obf/src/generators/layout.js +1 -1
  74. package/bundle/obf/src/generators/maka.gen.js +1 -1
  75. package/bundle/obf/src/generators/methods.js +1 -1
  76. package/bundle/obf/src/generators/package.js +1 -1
  77. package/bundle/obf/src/generators/page.js +1 -1
  78. package/bundle/obf/src/generators/publish.js +1 -1
  79. package/bundle/obf/src/generators/route.js +1 -1
  80. package/bundle/obf/src/generators/service.js +1 -1
  81. package/bundle/obf/src/generators/services/_index.js +1 -1
  82. package/bundle/obf/src/generators/services/openssl.js +1 -1
  83. package/bundle/obf/src/generators/services/translation.js +1 -1
  84. package/bundle/obf/src/maka.js +1 -1
  85. package/bundle/obf/src/tool.js +1 -1
  86. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  87. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  88. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  89. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  90. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  91. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  92. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  93. package/bundle/obf/src/tools/https/https.class.js +1 -1
  94. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  95. package/bundle/obf/src/tools/log/log.class.js +1 -1
  96. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  97. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  98. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  99. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  100. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  101. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  102. package/package.json +5 -1
@@ -1 +1 @@
1
- const a33m=a33d;(function(a,b){const j=a33d,c=a();while(!![]){try{const d=parseInt(j(0xc9))/0x1+parseInt(j(0xc0))/0x2+-parseInt(j(0xcd))/0x3*(-parseInt(j(0xbe))/0x4)+-parseInt(j(0xcf))/0x5*(parseInt(j(0xc7))/0x6)+-parseInt(j(0xc3))/0x7*(parseInt(j(0xd9))/0x8)+-parseInt(j(0xd4))/0x9+-parseInt(j(0xc5))/0xa*(-parseInt(j(0xbb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x4dd57));function a33c(){const o=['constructor','5736762RsTCDj','pathFromProject','fsi','toString','\x0a[+]\x20Documentation\x20written\x20to\x20','1964216vEvoqB','logWithSpinner','plugins/markdown','create','search','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','jsdoc','Running\x20','maka\x20jsdoc','sep','maka\x20jsdoc\x20--init','14806TvgOyP','\x20-r\x20app','app/private','60eZnoMM','join','298072elaTQB','logError','docs','14iLlRRt','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','5530TDRGiz','app/node_modules','4188ouhQmu','apply','630420gmGgQQ','\x20-d\x20','\x20-c\x20','config','95679chOIil','stringify','3975eVTCLU','utf-8','logNotice','(((.+)+)+)+$'];a33c=function(){return o;};return a33c();}const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a33d;if(c){const e=c[k(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const l=a33d;return a33a[l(0xd7)]()[l(0xdd)](l(0xd2))[l(0xd7)]()[l(0xd3)](a33a)[l(0xdd)](l(0xd2));});a33a();function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0xba;let f=c[d];return f;},a33d(a,b);}import a33e from'path';import a33f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a33m(0xdc)]({'name':a33m(0xdf),'usage':a33m(0xe1),'mustBeInMakaProject':!![],'shortDesc':'Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','examples':[a33m(0xba),'maka\x20jsdoc'],'validOpts':[]},function(){const n=a33m,a=a33e[n(0xbf)](this['fsi'][n(0xd5)]({}),n(0xc2)+a33e[n(0xe2)]),b=a33e[n(0xbf)](this[n(0xd6)][n(0xd5)]({}),n(0xcc),'jsdoc-config.json'),c=this[n(0xd6)]['pathFromProject']({}),d=n(0xdf);if(!this['isFile'](b)){const g={'plugins':[n(0xdb)],'tags':{'allowUnknownTags':!![],'dictionaries':[n(0xdf),'closure']},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':n(0xde),'exclude':['app/packages',n(0xc6),'app/public',n(0xbd)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':n(0xd0)}};a33f['writeFileSync'](b,JSON[n(0xce)](g,null,0x4));}const f=this[n(0xda)](n(0xe0)+d);try{const h=d+n(0xcb)+b+n(0xbc)+a33e['sep']+n(0xca)+a;execSync(h,{'cwd':c,'stdio':'inherit'}),this[n(0xd1)](n(0xd8)+a);}catch(i){this[n(0xc1)](i),this[n(0xc1)](n(0xc4));}finally{f['stop']();}});
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x7e;let f=c[d];return f;},a40d(a,b);}const a40m=a40d;(function(a,b){const j=a40d,c=a();while(!![]){try{const d=-parseInt(j(0x8e))/0x1*(-parseInt(j(0xa4))/0x2)+-parseInt(j(0x8f))/0x3+-parseInt(j(0xac))/0x4+parseInt(j(0x88))/0x5*(parseInt(j(0x91))/0x6)+-parseInt(j(0x9d))/0x7*(-parseInt(j(0x86))/0x8)+-parseInt(j(0xa7))/0x9*(-parseInt(j(0x9a))/0xa)+parseInt(j(0x87))/0xb*(-parseInt(j(0x9c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x69b08));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a40d;if(c){const e=c[k(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const l=a40d;return a40a['toString']()[l(0x8c)](l(0x82))['toString']()[l(0xa9)](a40a)[l(0x8c)](l(0x82));});a40a();import a40e from'path';import a40f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';function a40c(){const o=['jsdoc-config.json','204ZhRnRT','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','7075917jueczl','sep','constructor','maka\x20jsdoc','join','1540448TMjLze','stop','stringify','config','isFile','(((.+)+)+)+$','logError','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','writeFileSync','40fTyRQk','11550671BxnNEf','6780NPhUwK','logNotice','app/node_modules','maka\x20jsdoc\x20--init','search','\x20-d\x20','7873wvNnbI','2384283KWPnGP','plugins/markdown','1404jypYyZ','app/packages','pathFromProject','jsdoc','apply','closure','docs','inherit','\x0a[+]\x20Documentation\x20written\x20to\x20','10eDjgvL','.+\x5c.(j|t)s(doc|x)?$','12eRkKYR','1058785agLmQW','create','fsi','\x20-r\x20app','Running\x20','app/public'];a40c=function(){return o;};return a40c();}Command[a40m(0x9e)]({'name':a40m(0x94),'usage':a40m(0xaa),'mustBeInMakaProject':!![],'shortDesc':a40m(0xa6),'examples':[a40m(0x8b),a40m(0xaa)],'validOpts':[]},function(){const n=a40m,a=a40e['join'](this[n(0x9f)][n(0x93)]({}),n(0x97)+a40e[n(0xa8)]),b=a40e[n(0xab)](this[n(0x9f)][n(0x93)]({}),n(0x80),n(0xa3)),c=this[n(0x9f)][n(0x93)]({}),d=n(0x94);if(!this[n(0x81)](b)){const g={'plugins':[n(0x90)],'tags':{'allowUnknownTags':!![],'dictionaries':[n(0x94),n(0x96)]},'source':{'includePattern':n(0x9b),'excludePattern':n(0xa5),'exclude':[n(0x92),n(0x8a),n(0xa2),'app/private']},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};a40f[n(0x85)](b,JSON[n(0x7f)](g,null,0x4));}const f=this['logWithSpinner'](n(0xa1)+d);try{const h=d+'\x20-c\x20'+b+n(0xa0)+a40e['sep']+n(0x8d)+a;execSync(h,{'cwd':c,'stdio':n(0x98)}),this[n(0x89)](n(0x99)+a);}catch(i){this[n(0x83)](i),this[n(0x83)](n(0x84));}finally{f[n(0x7e)]();}});
@@ -1 +1 @@
1
- const a34r=a34d;(function(a,b){const p=a34d,c=a();while(!![]){try{const d=parseInt(p(0xc8))/0x1*(-parseInt(p(0xba))/0x2)+parseInt(p(0xbf))/0x3*(parseInt(p(0xab))/0x4)+-parseInt(p(0xae))/0x5+-parseInt(p(0xc3))/0x6*(-parseInt(p(0xac))/0x7)+-parseInt(p(0xb0))/0x8+-parseInt(p(0xb7))/0x9*(parseInt(p(0xce))/0xa)+parseInt(p(0xc7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xbdf15));const a34b=(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;};}()),a34a=a34b(this,function(){const q=a34d;return a34a['toString']()[q(0xc2)](q(0xbe))[q(0xb2)]()['constructor'](a34a)['search']('(((.+)+)+)+$');});a34a();import a34e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xaa;let f=c[d];return f;},a34d(a,b);}function a34c(){const t=['334963ZgyDge','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','outputFixes','Lint\x20results\x20for\x20','checkNpmPackage','fix','170bEHrQA','stylish','lint','length','bright','join','/imports','maka\x20lint\x20--fix','\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','4Qlwqal','7pVVaJB','push','5201110OXBrSz','error','9693928eHIuud','fsi','toString','eslint/eslintrc.json','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','loadFormatter','eslint','764352kuIKTY','template','service','8sFLYuZ','eslint-plugin-react','eslint-plugin-css','maka\x20lint','(((.+)+)+)+$','2311584HiSbjX','.eslintrc.json','isFile','search','7831428mmdnkR','notice','installNpmPackage','format','41116130VDIClD'];a34c=function(){return t;};return a34c();}Command['create']({'name':a34r(0xd0),'usage':a34r(0xbd),'maxArgLength':0x1,'validOpts':[a34r(0xcd)],'mustBeInMakaProject':!![],'shortDesc':a34r(0xb4),'description':a34r(0xaa),'examples':[a34r(0xd5)]},async function(a,b){const s=a34r;try{const c=this['fsi']['findAppDirectory'](),d=this[s(0xb1)][s(0xcc)](s(0xb6)),f=this[s(0xb1)][s(0xcc)](s(0xbb)),g=this[s(0xb1)]['checkNpmPackage'](s(0xbc)),h=[];!d&&h[s(0xad)](s(0xb6));!f&&h[s(0xad)]('eslint-plugin-react');!g&&h[s(0xad)](s(0xbc));h['length']>0x0&&await this['fsi'][s(0xc5)](h[s(0xd3)]('\x20'),{'dev':!![]});const i=this['fsi'][s(0xc1)](a34e['join'](c,s(0xc0)));if(!i){const n={'noRename':!![]};await this[s(0xb1)][s(0xb8)]({'srcPath':s(0xb3),'destPath':a34e[s(0xd3)](c,'.eslintrc.json'),'framework':s(0xb9),'context':n});}const j=new ESLint(),k=await j['lintFiles']([a34e[s(0xd3)](c,'imports','**')]),l=await j[s(0xb5)](s(0xcf)),m=l[s(0xc6)](k);m[s(0xd1)]>0x0?Log[s(0xd2)](m):Log['success']('All\x20good!\x20:)'),Log[s(0xc4)](s(0xcb)+c+s(0xd4)),b[s(0xcd)]?await ESLint[s(0xca)](k):Log[s(0xc4)](s(0xc9));}catch(o){console[s(0xaf)](o);}});
1
+ const a41s=a41d;(function(a,b){const p=a41d,c=a();while(!![]){try{const d=parseInt(p(0x162))/0x1+parseInt(p(0x183))/0x2*(-parseInt(p(0x15f))/0x3)+-parseInt(p(0x182))/0x4+-parseInt(p(0x16c))/0x5+-parseInt(p(0x167))/0x6*(-parseInt(p(0x17b))/0x7)+parseInt(p(0x178))/0x8*(-parseInt(p(0x15e))/0x9)+parseInt(p(0x163))/0xa*(parseInt(p(0x160))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xc6b17));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a41d;if(c){const e=c[q(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const r=a41d;return a41a['toString']()[r(0x184)](r(0x166))['toString']()['constructor'](a41a)[r(0x184)](r(0x166));});a41a();import a41e from'path';import{ESLint}from'eslint';function a41c(){const u=['fix','findAppDirectory','format','outputFixes','checkNpmPackage','1280420RMGljC','22yNLyvS','search','maka\x20lint','template','lintFiles','27AjnLvI','190707AFThlY','345169tAntKR','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','478099FKrDLK','620EwTOww','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','All\x20good!\x20:)','(((.+)+)+)+$','6balADT','service','eslint-plugin-react','eslint','join','2550855FZAEmL','eslint-plugin-css','.eslintrc.json','stylish','Lint\x20results\x20for\x20','apply','push','length','lint','installNpmPackage','error','isFile','262024GuduQc','success','/imports','126308XebOak','fsi'];a41c=function(){return u;};return a41c();}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x15d;let f=c[d];return f;},a41d(a,b);}Command['create']({'name':a41s(0x174),'usage':a41s(0x185),'maxArgLength':0x1,'validOpts':[a41s(0x17d)],'mustBeInMakaProject':!![],'shortDesc':a41s(0x161),'description':'\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','examples':['maka\x20lint\x20--fix']},async function(a,b){const t=a41s;try{const c=this['fsi'][t(0x17e)](),d=this['fsi'][t(0x181)](t(0x16a)),f=this[t(0x17c)][t(0x181)](t(0x169)),g=this[t(0x17c)][t(0x181)](t(0x16d)),h=[];!d&&h[t(0x172)](t(0x16a));!f&&h['push'](t(0x169));!g&&h[t(0x172)]('eslint-plugin-css');h['length']>0x0&&await this[t(0x17c)][t(0x175)](h[t(0x16b)]('\x20'),{'dev':!![]});const i=this[t(0x17c)][t(0x177)](a41e[t(0x16b)](c,'.eslintrc.json'));if(!i){const n={'noRename':!![]};await this[t(0x17c)][t(0x186)]({'srcPath':'eslint/eslintrc.json','destPath':a41e[t(0x16b)](c,t(0x16e)),'framework':t(0x168),'context':n});}const j=new ESLint(),k=await j[t(0x15d)]([a41e[t(0x16b)](c,'imports','**')]),l=await j['loadFormatter'](t(0x16f)),m=l[t(0x17f)](k);m[t(0x173)]>0x0?Log['bright'](m):Log[t(0x179)](t(0x165)),Log['notice'](t(0x170)+c+t(0x17a)),b[t(0x17d)]?await ESLint[t(0x180)](k):Log['notice'](t(0x164));}catch(o){console[t(0x176)](o);}});
@@ -1 +1 @@
1
- const a35z=a35d;(function(a,b){const w=a35d,c=a();while(!![]){try{const d=parseInt(w(0x147))/0x1*(-parseInt(w(0x15e))/0x2)+parseInt(w(0x131))/0x3*(-parseInt(w(0x167))/0x4)+-parseInt(w(0x139))/0x5*(parseInt(w(0x14d))/0x6)+parseInt(w(0x138))/0x7*(-parseInt(w(0x156))/0x8)+-parseInt(w(0x14c))/0x9*(parseInt(w(0x161))/0xa)+-parseInt(w(0x130))/0xb*(parseInt(w(0x155))/0xc)+parseInt(w(0x15a))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x37996));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a35d;if(c){const e=c[x(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const y=a35d;return a35a['toString']()['search']('(((.+)+)+)+$')[y(0x13a)]()[y(0x159)](a35a)[y(0x136)](y(0x13b));});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x12a;let f=c[d];return f;},a35d(a,b);}function a35c(){const B=['localhost','error','33ynvQsJ','204QUOsgT','sha256','authToken','getGlobalConfig','ask','search','email','14tltdJH','1156210xzUfwy','toString','(((.+)+)+)+$','setGlobalConfig','Logging\x20in','isFile','header','parse','get','start','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','password','/api/v1/login','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','39yCriqk','Preflight\x20Check','https://','update','exit','25875zKSyya','6DvgQuD','www.maka-cli.com','apply','debug','create','login','assign','Password:\x20','178596KwERTG','677800PeayRI','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','failure','constructor','11971089eotmHq','MAKA_DEV','Email:','notice','9384eeIexA','success','/api/v1/status','100TChDtJ','env','fsi','withSpinner','cacert','toHex','2120bKSZIb','maka\x20login','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','cert'];a35c=function(){return B;};return a35c();}import a35e 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[a35z(0x162)][a35z(0x15b)]==='True'?a35z(0x12e):a35z(0x14e);Command[a35z(0x151)]({'name':a35z(0x152),'validOpts':[a35z(0x137),a35z(0x144),'help','cacert',a35z(0x150)],'usage':a35z(0x168),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a35z(0x12c),'examples':['maka\x20login',a35z(0x12b)]},async function(a,b){const A=a35z,c=Log[A(0x164)]();try{let d='';b[A(0x165)]&&(this[A(0x163)][A(0x13e)](b[A(0x165)])?(d=b[A(0x165)],Log[A(0x15d)]('Using\x20CA\x20Cert\x20'+d)):Log[A(0x12f)](A(0x12a)+d));const f=await this[A(0x163)][A(0x134)]();if(f[A(0x12d)]){if(this[A(0x163)][A(0x13e)](f['cert']))d=f[A(0x12d)];else{Log[A(0x12f)](A(0x146)+d);return;}}Log[A(0x13f)]('Logging\x20into\x20https://'+hostname);const g={'url':A(0x149)+hostname+A(0x160)};b[A(0x165)]&&Object['assign'](g,{'cert':d});c[A(0x142)](A(0x148));const {statusCode:h}=await HTTPS[A(0x141)](g);if(h===0x198){c[A(0x158)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}if(h!==0xc8){c['failure']();throw A(0x149)+hostname+A(0x143);}c[A(0x15f)]();const i=b[A(0x137)]?b[A(0x137)]:await Actions[A(0x135)](A(0x15c)),j=b[A(0x144)]?b['password']:await Actions[A(0x135)](A(0x154),!![]),k=a35e['md'][A(0x132)][A(0x151)]();k[A(0x14a)](j);const l=k['digest']()[A(0x166)](),m={'hostname':hostname,'path':A(0x145),'data':{'email':i,'password':l,'hashed':!![]}};b['cacert']&&Object[A(0x153)](m,{'cert':d});c['start'](A(0x13d));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[A(0x158)]('\x0a');throw A(0x157)+hostname;}const p=JSON['parse'](n);if(p[A(0x133)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p['authToken']},'data':{}};b[A(0x165)]&&Object[A(0x153)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS['post'](q),{token:t}=JSON[A(0x140)](r);if(s===0x198)throw A(0x157)+hostname;const u={'token':p,'hash':t};this[A(0x163)][A(0x13c)](u);}else{c[A(0x158)]();throw p;}c[A(0x15f)]();}catch(v){c['failure'](),console['error'](v),process[A(0x14b)](0x0);}});
1
+ const a42z=a42d;(function(a,b){const w=a42d,c=a();while(!![]){try{const d=parseInt(w(0x16c))/0x1*(parseInt(w(0x19c))/0x2)+-parseInt(w(0x182))/0x3*(-parseInt(w(0x1a0))/0x4)+parseInt(w(0x168))/0x5*(parseInt(w(0x183))/0x6)+-parseInt(w(0x199))/0x7+-parseInt(w(0x17a))/0x8+parseInt(w(0x166))/0x9+-parseInt(w(0x16f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x7c7f2));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x165;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a42d;if(c){const e=c[x(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const y=a42d;return a42a[y(0x17f)]()['search']('(((.+)+)+)+$')['toString']()[y(0x187)](a42a)[y(0x17e)](y(0x1a1));});a42a();import a42e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a42c(){const B=['login','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','setGlobalConfig','True','fsi','/api/v1/login','1464472huBlCb','help','debug','digest','search','toString','authToken','failure','57261NzGnTl','4298778ZjQpNW','email','error','notice','constructor','getGlobalConfig','success','Preflight\x20Check','Email:','maka\x20login','isFile','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','toHex','https://','get','www.maka-cli.com','localhost','post','apply','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','cert','create','162225OgPtXv','start','update','2PREuxl','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','ask','parse','208shrqoF','(((.+)+)+)+$','exit','/api/v1/encodeJwt','2038599RSJJIv','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','5dQaTbT','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','cacert','/api/v1/status','122063JLLvAk','Password:\x20','assign','13413890nwMtoo','sha256','password','MAKA_DEV','Using\x20CA\x20Cert\x20'];a42c=function(){return B;};return a42c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a42z(0x172)]===a42z(0x177)?a42z(0x193):a42z(0x192);Command['create']({'name':a42z(0x174),'validOpts':[a42z(0x184),a42z(0x171),a42z(0x17b),a42z(0x16a),a42z(0x17c)],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a42z(0x196),'examples':[a42z(0x18c),a42z(0x19d)]},async function(a,b){const A=a42z,c=Log['withSpinner']();try{let d='';b[A(0x16a)]&&(this[A(0x178)][A(0x18d)](b[A(0x16a)])?(d=b[A(0x16a)],Log[A(0x186)](A(0x173)+d)):Log['error'](A(0x175)+d));const f=await this[A(0x178)][A(0x188)]();if(f[A(0x197)]){if(this[A(0x178)]['isFile'](f[A(0x197)]))d=f[A(0x197)];else{Log[A(0x185)](A(0x169)+d);return;}}Log['header']('Logging\x20into\x20https://'+hostname);const g={'url':'https://'+hostname+A(0x16b)};b[A(0x16a)]&&Object[A(0x16e)](g,{'cert':d});c[A(0x19a)](A(0x18a));const {statusCode:h}=await HTTPS[A(0x191)](g);if(h===0x198){c[A(0x181)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}if(h!==0xc8){c[A(0x181)]();throw A(0x190)+hostname+A(0x18e);}c[A(0x189)]();const i=b['email']?b[A(0x184)]:await Actions[A(0x19e)](A(0x18b)),j=b[A(0x171)]?b[A(0x171)]:await Actions[A(0x19e)](A(0x16d),!![]),k=a42e['md'][A(0x170)][A(0x198)]();k[A(0x19b)](j);const l=k[A(0x17d)]()[A(0x18f)](),m={'hostname':hostname,'path':A(0x179),'data':{'email':i,'password':l,'hashed':!![]}};b['cacert']&&Object[A(0x16e)](m,{'cert':d});c['start']('Logging\x20in');const {data:n,statusCode:o}=await HTTPS[A(0x194)](m);if(o===0x198){c['failure']('\x0a');throw A(0x167)+hostname;}const p=JSON['parse'](n);if(p['authToken']){const q={'hostname':hostname,'path':A(0x165),'headers':{'x-auth-token':p[A(0x180)]},'data':{}};b[A(0x16a)]&&Object[A(0x16e)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x194)](q),{token:t}=JSON[A(0x19f)](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[A(0x178)][A(0x176)](u);}else{c[A(0x181)]();throw p;}c[A(0x189)]();}catch(v){c[A(0x181)](),console[A(0x185)](v),process[A(0x1a2)](0x0);}});
@@ -1 +1 @@
1
- const a36n=a36d;(function(a,b){const l=a36d,c=a();while(!![]){try{const d=parseInt(l(0x155))/0x1*(-parseInt(l(0x14a))/0x2)+-parseInt(l(0x15a))/0x3+-parseInt(l(0x142))/0x4*(parseInt(l(0x14f))/0x5)+parseInt(l(0x159))/0x6*(parseInt(l(0x15f))/0x7)+-parseInt(l(0x145))/0x8*(parseInt(l(0x135))/0x9)+-parseInt(l(0x15e))/0xa*(parseInt(l(0x134))/0xb)+-parseInt(l(0x15b))/0xc*(-parseInt(l(0x14e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x99d6b));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 m=a36d;return a36a['toString']()[m(0x154)](m(0x14c))['toString']()['constructor'](a36a)[m(0x154)](m(0x14c));});a36a();import{Command}from'../command.js';function a36c(){const p=['failure','search','1iOUjVU','www.maka-cli.com','exit','header','2694dyBmsY','1392555PCVNRa','1527264QgCdBC','withSpinner','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','10yFmNXv','1855zHRIxy','notice','authToken','12582691RCaiDd','105687VYVxKg','env','cacert','Logging\x20out','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','localhost','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','cert','Logging\x20out\x20of\x20https://','token','error','success','482052rGrhry','Preflight\x20Check','maka\x20logout','88xHXZmF','isFile','assign','setGlobalConfig','MAKA_DEV','661716Ophmou','fsi','(((.+)+)+)+$','start','325YChJFB','25BbtDmM','https://','get','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'];a36c=function(){return p;};return a36c();}import{Log}from'../tools/log/log.class.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x133;let f=c[d];return f;},a36d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36n(0x136)][a36n(0x149)]==='True'?a36n(0x13b):a36n(0x156);Command['create']({'name':'logout','validOpts':[a36n(0x137)],'usage':a36n(0x144),'maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a36n(0x144)]},async function(a,b){const o=a36n,c=Log[o(0x15c)]();try{let d='';b[o(0x137)]&&(this[o(0x14b)][o(0x146)](b['cacert'])?(d=b[o(0x137)],Log[o(0x160)]('Using\x20CA\x20Cert\x20'+d)):Log[o(0x140)](o(0x13a)+d));const f=await this['fsi']['getGlobalConfig']();if(f[o(0x13d)]){if(this['fsi']['isFile'](f[o(0x13d)]))d=f[o(0x13d)];else{c['failure']();throw Log['error'](o(0x152)+d);}}Log[o(0x158)](o(0x13e)+hostname);const g={'url':o(0x150)+hostname+'/api/v1/status'};b['cacert']&&Object[o(0x147)](g,{'cert':d});c[o(0x14d)](o(0x143));const {statusCode:h}=await HTTPS[o(0x151)](g);if(h===0x198){c[o(0x153)]();throw o(0x139);}c[o(0x141)]();if(h!==0xc8){c[o(0x153)]();throw o(0x13c);}if(!f?.[o(0x13f)]?.['authToken'])throw Log[o(0x140)](o(0x15d));c[o(0x14d)](o(0x138));const i={'hostname':hostname,'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':f[o(0x13f)][o(0x133)]}};b[o(0x137)]&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c['failure']('\x0a');throw o(0x139);}this[o(0x14b)][o(0x148)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console[o(0x140)](k),process[o(0x157)](0x0);}});
1
+ const a43n=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x71;let f=c[d];return f;},a43d(a,b);}(function(a,b){const l=a43d,c=a();while(!![]){try{const d=-parseInt(l(0x72))/0x1*(parseInt(l(0x96))/0x2)+parseInt(l(0x83))/0x3+parseInt(l(0x90))/0x4+parseInt(l(0x8c))/0x5+-parseInt(l(0x9d))/0x6*(parseInt(l(0x87))/0x7)+parseInt(l(0x93))/0x8+parseInt(l(0x94))/0x9*(-parseInt(l(0x84))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xee77d));const a43b=(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;};}()),a43a=a43b(this,function(){const m=a43d;return a43a[m(0x9e)]()[m(0x9c)](m(0x7e))[m(0x9e)]()[m(0x73)](a43a)[m(0x9c)](m(0x7e));});a43a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a43n(0x76)]['MAKA_DEV']==='True'?'localhost':a43n(0x8a);Command['create']({'name':a43n(0x74),'validOpts':['cacert'],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a43n(0x7f)]},async function(a,b){const o=a43n,c=Log[o(0x7d)]();try{let d='';b['cacert']&&(this[o(0x71)][o(0x9b)](b[o(0x92)])?(d=b[o(0x92)],Log[o(0x8b)](o(0x7b)+d)):Log[o(0x81)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[o(0x71)]['getGlobalConfig']();if(f[o(0x7a)]){if(this[o(0x71)][o(0x9b)](f['cert']))d=f[o(0x7a)];else{c['failure']();throw Log['error'](o(0x91)+d);}}Log[o(0x95)](o(0x9f)+hostname);const g={'url':o(0x85)+hostname+o(0x77)};b[o(0x92)]&&Object[o(0x7c)](g,{'cert':d});c[o(0x8e)](o(0x80));const {statusCode:h}=await HTTPS[o(0x8f)](g);if(h===0x198){c[o(0x99)]();throw o(0x88);}c[o(0x8d)]();if(h!==0xc8){c[o(0x99)]();throw o(0x82);}if(!f?.[o(0x89)]?.[o(0x9a)])throw Log[o(0x81)](o(0x78));c[o(0x8e)](o(0x75));const i={'hostname':hostname,'path':o(0x79),'data':{},'headers':{'x-auth-token':f[o(0x89)][o(0x9a)]}};b[o(0x92)]&&Object[o(0x7c)](i,{'cert':d});const {statusCode:j}=await HTTPS[o(0x98)](i);if(j===0x198){c[o(0x99)]('\x0a');throw o(0x88);}this[o(0x71)][o(0x86)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console[o(0x81)](k),process[o(0x97)](0x0);}});function a43c(){const p=['13580232zEYwQD','9bJkWVD','header','2dSrICB','exit','post','failure','authToken','isFile','search','1010886CYjUUX','toString','Logging\x20out\x20of\x20https://','fsi','165907jAyhue','constructor','logout','Logging\x20out','env','/api/v1/status','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','/api/v1/logoutAll','cert','Using\x20CA\x20Cert\x20','assign','withSpinner','(((.+)+)+)+$','maka\x20logout','Preflight\x20Check','error','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','1080381oRgCVA','29988940WOhjky','https://','setGlobalConfig','14QwxuAp','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','token','www.maka-cli.com','notice','7356380ZWKxDB','success','start','get','3798384aosLyH','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','cacert'];a43c=function(){return p;};return a43c();}
@@ -1 +1 @@
1
- function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x104;let f=c[d];return f;},a37d(a,b);}const a37k=a37d;(function(a,b){const h=a37d,c=a();while(!![]){try{const d=-parseInt(h(0x117))/0x1+-parseInt(h(0x10c))/0x2+-parseInt(h(0x10d))/0x3*(parseInt(h(0x118))/0x4)+parseInt(h(0x11c))/0x5*(parseInt(h(0x11d))/0x6)+parseInt(h(0x107))/0x7+-parseInt(h(0x106))/0x8+parseInt(h(0x104))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xa964c));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a37d;if(c){const e=c[i(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const j=a37d;return a37a['toString']()['search'](j(0x11e))[j(0x108)]()[j(0x11f)](a37a)[j(0x112)](j(0x11e));});a37a();import a37e from'fs';import a37f from'path';import{Command}from'../command.js';function a37c(){const m=['constructor','pm2\x20logs','ssh.json','1397538UBGVNP','sshSync','8149440KGVQZD','5396048PqZaYf','toString','fsi','logs','env','397654MLURVH','213IgUyPW','create','maka\x20logs\x20--env\x20dev','maka\x20logs\x20--env\x20staging','log','search','readFileSync','View\x20the\x20PM2\x20logs','maka\x20l\x20-e\x20p','apply','378676iyqRHq','32POLGjX','assign','getConfigPath','maka\x20logs','524785Efcoxr','78UlWyOC','(((.+)+)+)+$'];a37c=function(){return m;};return a37c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a37k(0x10e)]({'name':a37k(0x10a),'aliases':['l',a37k(0x111)],'usage':a37k(0x11b),'requiredOpts':[a37k(0x10b)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a37k(0x114),'examples':[a37k(0x10f),a37k(0x110),a37k(0x115)]},function(a,b){const l=a37k,c=l(0x120),d=this[l(0x109)][l(0x11a)](b[l(0x10b)]),e=a37f['join'](d,l(0x121)),f=a37e[l(0x113)](e),g=JSON['parse'](f[l(0x108)]());Object[l(0x119)](g,{'env':d}),SSH[l(0x105)](c,g,{'tty':!![],'verbose':!![]});});
1
+ const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x1b9))/0x1+-parseInt(h(0x1b1))/0x2+parseInt(h(0x1ca))/0x3*(-parseInt(h(0x1c1))/0x4)+-parseInt(h(0x1b8))/0x5*(-parseInt(h(0x1ad))/0x6)+-parseInt(h(0x1b3))/0x7*(-parseInt(h(0x1c3))/0x8)+-parseInt(h(0x1c9))/0x9+parseInt(h(0x1b6))/0xa*(parseInt(h(0x1be))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xb5ce6));function a44c(){const m=['ssh.json','toString','4hPrXDr','search','9077528WPNoiY','maka\x20logs\x20--env\x20dev','log','maka\x20l\x20-e\x20p','readFileSync','sshSync','11659338IXWWxQ','1306221pRIDfd','3681378iVTtsy','(((.+)+)+)+$','parse','env','584036jutfFA','fsi','7dGuuTP','assign','getConfigPath','10NQANYY','constructor','10eSxVoM','1366678mRbEru','maka\x20logs','pm2\x20logs','View\x20the\x20PM2\x20logs','apply','19496906GrYpUz'];a44c=function(){return m;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x1bd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x1c0)]()[j(0x1c2)](j(0x1ae))[j(0x1c0)]()[j(0x1b7)](a44a)[j(0x1c2)](j(0x1ae));});a44a();import a44e from'fs';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a44d(a,b);}import a44f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'logs','aliases':['l',a44k(0x1c5)],'usage':a44k(0x1ba),'requiredOpts':[a44k(0x1b0)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a44k(0x1bc),'examples':[a44k(0x1c4),'maka\x20logs\x20--env\x20staging',a44k(0x1c6)]},function(a,b){const l=a44k,c=l(0x1bb),d=this[l(0x1b2)][l(0x1b5)](b[l(0x1b0)]),e=a44f['join'](d,l(0x1bf)),f=a44e[l(0x1c7)](e),g=JSON[l(0x1af)](f['toString']());Object[l(0x1b4)](g,{'env':d}),SSH[l(0x1c8)](c,g,{'tty':!![],'verbose':!![]});});
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const g=a38d,c=a();while(!![]){try{const d=-parseInt(g(0x166))/0x1+-parseInt(g(0x16c))/0x2*(parseInt(g(0x161))/0x3)+parseInt(g(0x15d))/0x4*(-parseInt(g(0x167))/0x5)+parseInt(g(0x16b))/0x6+-parseInt(g(0x160))/0x7+-parseInt(g(0x16a))/0x8+parseInt(g(0x168))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa907a));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 h=a38d;return a38a[h(0x159)]()[h(0x15a)](h(0x157))['toString']()[h(0x15b)](a38a)['search'](h(0x157));});a38a();import{Command}from'../command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x157;let f=c[d];return f;},a38d(a,b);}const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a38i(0x15c),'validOpts':[],'usage':a38i(0x169),'disableAuthCheck':!![],'examples':['maka\x20--help',a38i(0x165),a38i(0x16d),'maka\x20run'],'description':a38i(0x15e)},async function(a,b){const j=a38i;try{const c=a[0x0],d=this[j(0x15f)](c);d?this[j(0x163)](c,a[j(0x158)](0x1),b):this['fsi'][j(0x164)]();}catch(f){console['error'](f),process[j(0x162)](0x1);}});export default Maka;function a38c(){const k=['31035114FqWjlX','maka\x20<command>\x20[<args>]\x20[<opts>]','6168848vfTuXF','5612208NnKyJP','6JGOmor','maka\x20create\x20Todo','(((.+)+)+)+$','slice','toString','search','constructor','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','2276276DRUYyS','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\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..\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20----.\x20\x20\x20\x20\x20.--\x20\x20-:\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:::\x20:.\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20...\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:..\x20\x20\x20\x20::----::\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-:::::\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\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.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20.:\x20--------\x20.-------.::\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:-:\x20\x20-:\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.::::::\x20.::\x20\x20::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','findSubCommand','2156154QFnduM','1086759sIVOrG','exit','runSubCommand','maybeProxyCommandToMeteor','maka\x20install\x20meteor','956412EcuEHW','5XVcdtF'];a38c=function(){return k;};return a38c();}
1
+ function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x114;let f=c[d];return f;},a45d(a,b);}const a45j=a45d;(function(a,b){const g=a45d,c=a();while(!![]){try{const d=parseInt(g(0x120))/0x1+parseInt(g(0x125))/0x2+parseInt(g(0x119))/0x3+parseInt(g(0x127))/0x4+parseInt(g(0x124))/0x5*(-parseInt(g(0x117))/0x6)+parseInt(g(0x12e))/0x7*(-parseInt(g(0x116))/0x8)+-parseInt(g(0x11f))/0x9*(-parseInt(g(0x122))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x2a700));function a45c(){const l=['maka\x20create\x20Todo','maka\x20run','maka\x20--help','60585NgQPdV','runSubCommand','maybeProxyCommandToMeteor','(((.+)+)+)+$','40XNbIXi','56352Ejtbxg','error','109398FdTZyK','findSubCommand','slice','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\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..\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20----.\x20\x20\x20\x20\x20.--\x20\x20-:\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:::\x20:.\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20...\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:..\x20\x20\x20\x20::----::\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-:::::\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\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.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20.:\x20--------\x20.-------.::\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:-:\x20\x20-:\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.::::::\x20.::\x20\x20::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','maka','search','862074TkYupe','1610NTXgDU','maka\x20install\x20meteor','10yhHveK','maka\x20<command>\x20[<args>]\x20[<opts>]','165XJJgji','190412RAEuNp','toString','1191868FfTErq','apply','fsi','exit'];a45c=function(){return l;};return a45c();}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a45d;if(c){const e=c[h(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a[i(0x126)]()[i(0x11e)](i(0x115))['toString']()['constructor'](a45a)['search'](i(0x115));});a45a();import{Command}from'../command.js';const Maka=new Command({'name':a45j(0x11d),'minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':a45j(0x123),'disableAuthCheck':!![],'examples':[a45j(0x12d),a45j(0x121),a45j(0x12b),a45j(0x12c)],'description':a45j(0x11c)},async function(a,b){const k=a45j;try{const c=a[0x0],d=this[k(0x11a)](c);d?this[k(0x12f)](c,a[k(0x11b)](0x1),b):this[k(0x129)][k(0x114)]();}catch(f){console[k(0x118)](f),process[k(0x12a)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a39i=a39d;(function(a,b){var f=a39d,c=a();while(!![]){try{var d=-parseInt(f(0xc5))/0x1+-parseInt(f(0xb5))/0x2+-parseInt(f(0xc1))/0x3+-parseInt(f(0xb9))/0x4+-parseInt(f(0xb8))/0x5+-parseInt(f(0xc2))/0x6+parseInt(f(0xb3))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xdc652));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a39d;if(c){var e=c[g(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var h=a39d;return a39a[h(0xb7)]()['search'](h(0xbb))[h(0xb7)]()[h(0xb6)](a39a)[h(0xc3)](h(0xbb));});a39a();import{Command}from'../command.js';function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0xb3;var f=c[d];return f;},a39d(a,b);}function a39c(){var k=['%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','murder','Murrrrderrrrr','apply','2297730gAkTAF','10242702SNQlIZ','search','create','357820QmyNdi','54682054TtSYZd','exit','1919716ZNdPxD','constructor','toString','7358060nwoXqp','6586668gjOZhm','error','(((.+)+)+)+$','font-family:\x20monospace'];a39c=function(){return k;};return a39c();}Command[a39i(0xc4)]({'name':a39i(0xbe),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a39i(0xbf),'validOpts':[]},async function(){var j=a39i;try{console['log'](j(0xbd),j(0xbc));}catch(a){console[j(0xba)](a),process[j(0xb4)](0x0);}});
1
+ var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x1f9))/0x1*(parseInt(f(0x202))/0x2)+-parseInt(f(0x1fe))/0x3+-parseInt(f(0x209))/0x4*(-parseInt(f(0x1fb))/0x5)+-parseInt(f(0x203))/0x6+-parseInt(f(0x206))/0x7+parseInt(f(0x1f6))/0x8*(-parseInt(f(0x1f5))/0x9)+parseInt(f(0x1f8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x627c1));function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1f4;var f=c[d];return f;},a46d(a,b);}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x1fd)]()[h(0x1ff)](h(0x205))[h(0x1fd)]()[h(0x208)](a46a)[h(0x1ff)]('(((.+)+)+)+$');});a46a();import{Command}from'../command.js';Command[a46i(0x1f7)]({'name':a46i(0x201),'usage':a46i(0x1fa),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a46i;try{console[j(0x1fc)](j(0x1f4),j(0x20a));}catch(a){console[j(0x204)](a),process[j(0x207)](0x0);}});function a46c(){var k=['apply','murder','227542IRaoro','807186kQycPb','error','(((.+)+)+)+$','1485022WHBrrx','exit','constructor','20ljdqSs','font-family:\x20monospace','%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','548757FKSeHa','24utYVMv','create','1198460kOYQiS','7DQkala','maka\x20murder','98830YrKRbf','log','toString','246252drmyIc','search'];a46c=function(){return k;};return a46c();}
@@ -1 +1 @@
1
- function a40c(){const r=['(((.+)+)+)+$','listenPort','.csr','listen','9611136QjFRNY','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','constructor','utf8','targetPort','genCSR','join','bright','maka\x20proxy\x20--target-host\x20http://192.168.1.20','\x20to\x20','2498585reQtwX','fsi','findGenerator','418326pwLnMs','4bEgNqR','help','1804086xIBRGz','742371EIrqrO','60140axbHpE','\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','=>\x20SSL\x20Proxy\x20forwarding\x20','toString','.crt','isFile','targetHost','.key','appName','2351237kmktbW','readFileSync','error','sslconfig','invoke','create','development'];a40c=function(){return r;};return a40c();}const a40p=a40d;(function(a,b){const n=a40d,c=a();while(!![]){try{const d=parseInt(n(0x7f))/0x1+-parseInt(n(0x7a))/0x2+-parseInt(n(0x7e))/0x3+parseInt(n(0x7b))/0x4*(-parseInt(n(0x77))/0x5)+-parseInt(n(0x7d))/0x6+parseInt(n(0x88))/0x7+parseInt(n(0x93))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x531b5));const a40b=(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;};}()),a40a=a40b(this,function(){const o=a40d;return a40a[o(0x82)]()['search'](o(0x8f))[o(0x82)]()[o(0x95)](a40a)['search'](o(0x8f));});a40a();import a40e from'fs';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x71;let f=c[d];return f;},a40d(a,b);}import a40f from'path';import a40g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a40h from'../generators/maka.gen.js';Command[a40p(0x8d)]({'name':'proxy','usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a40p(0x7c),a40p(0x71),a40p(0x90),a40p(0x85)],'maxArgLength':0x1,'shortDesc':a40p(0x94),'description':a40p(0x80),'examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a40p(0x75)]},async function(a,b){const q=a40p,c=this['fsi']['getProjectConfig'](),d=q(0x8e),e=this['fsi']['getConfigPath'](d),f=this[q(0x78)]['mkKeysDir']({'configPath':e}),g=b['targetPort']?Number(b[q(0x71)]):0xbb8,h=b[q(0x90)]?Number(b[q(0x90)]):0xd73,i=b[q(0x85)]?b[q(0x85)]:'localhost',j=a40f['join'](f,c[q(0x87)]+'.key'),k=a40f[q(0x73)](f,c[q(0x87)]+q(0x83));if(!this[q(0x78)]['isFile'](j)||!this[q(0x78)][q(0x84)](k)){const m=a40h[q(0x79)](q(0x8b));m&&await m[q(0x8c)]([q(0x8b)],{'env':d}),SSL[q(0x72)]({'keyName':c['appName']+'.key','csrName':c[q(0x87)]+q(0x91),'cwd':f}),SSL['genSSC']({'keyName':c[q(0x87)]+q(0x86),'crtName':c['appName']+q(0x83),'cwd':f});}if(g===h){Log[q(0x8a)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a40e[q(0x89)](j,q(0x96)),'cert':a40e['readFileSync'](k,q(0x96))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a40g['createProxyServer'](l)[q(0x92)](Number(h)),Log[q(0x74)](q(0x81)+h+q(0x76)+g);});
1
+ const a47p=a47d;(function(a,b){const n=a47d,c=a();while(!![]){try{const d=-parseInt(n(0x12e))/0x1*(parseInt(n(0x111))/0x2)+parseInt(n(0x108))/0x3*(parseInt(n(0x115))/0x4)+-parseInt(n(0x112))/0x5+parseInt(n(0x11e))/0x6*(parseInt(n(0x129))/0x7)+-parseInt(n(0x125))/0x8+parseInt(n(0x12d))/0x9*(-parseInt(n(0x12c))/0xa)+-parseInt(n(0x117))/0xb*(-parseInt(n(0x109))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xb4847));const a47b=(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;};}()),a47a=a47b(this,function(){const o=a47d;return a47a[o(0x123)]()[o(0x116)](o(0x11f))[o(0x123)]()[o(0x124)](a47a)[o(0x116)](o(0x11f));});a47a();function a47c(){const r=['listen','listenPort','localhost','762iTzagY','(((.+)+)+)+$','.key','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','error','toString','constructor','6504824frGHoC','targetPort','genCSR','\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','10129qlrSqW','sslconfig','.csr','70PKMVti','590031fXhzwq','4eTKmVx','appName','targetHost','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','invoke','readFileSync','createProxyServer','3aFvNAO','27983532mYoakV','.crt','fsi','create','utf8','isFile','join','maka\x20proxy','562408FSGUGg','3655210CcQySE','proxy','findGenerator','5406172DLLTgT','search','11CeoomC','\x20to\x20','getConfigPath','bright'];a47c=function(){return r;};return a47c();}import a47e from'fs';import a47f from'path';import a47g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a47h from'../generators/maka.gen.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x103;let f=c[d];return f;},a47d(a,b);}Command[a47p(0x10c)]({'name':a47p(0x113),'usage':a47p(0x110),'mustBeInMakaProject':!![],'validOpts':['help','targetPort',a47p(0x11c),a47p(0x103)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a47p(0x128),'examples':[a47p(0x110),a47p(0x121),'maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const q=a47p,c=this['fsi']['getProjectConfig'](),d='development',e=this[q(0x10b)][q(0x119)](d),f=this['fsi']['mkKeysDir']({'configPath':e}),g=b[q(0x126)]?Number(b[q(0x126)]):0xbb8,h=b['listenPort']?Number(b['listenPort']):0xd73,i=b[q(0x103)]?b[q(0x103)]:q(0x11d),j=a47f[q(0x10f)](f,c[q(0x12f)]+q(0x120)),k=a47f[q(0x10f)](f,c['appName']+'.crt');if(!this[q(0x10b)][q(0x10e)](j)||!this[q(0x10b)][q(0x10e)](k)){const m=a47h[q(0x114)](q(0x12a));m&&await m[q(0x105)]([q(0x12a)],{'env':d}),SSL[q(0x127)]({'keyName':c[q(0x12f)]+q(0x120),'csrName':c[q(0x12f)]+q(0x12b),'cwd':f}),SSL['genSSC']({'keyName':c[q(0x12f)]+'.key','crtName':c[q(0x12f)]+q(0x10a),'cwd':f});}if(g===h){Log[q(0x122)](q(0x104));throw new UsageError();}const l={'ssl':{'key':a47e['readFileSync'](j,q(0x10d)),'cert':a47e[q(0x106)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a47g[q(0x107)](l)[q(0x11b)](Number(h)),Log[q(0x11a)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+q(0x118)+g);});
@@ -1 +1 @@
1
- const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0xa9))/0x1+-parseInt(n(0xa4))/0x2*(-parseInt(n(0x8b))/0x3)+parseInt(n(0x8e))/0x4+parseInt(n(0xb2))/0x5+parseInt(n(0xa0))/0x6*(-parseInt(n(0xac))/0x7)+parseInt(n(0x8f))/0x8*(-parseInt(n(0x9e))/0x9)+-parseInt(n(0xa8))/0xa*(-parseInt(n(0x90))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x61d12));function a41c(){const s=['notice','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','pm2.config.js','pm2\x20delete\x20all','~/ses.json','toString','uname\x20-a','Reconfigure\x20your\x20deployed\x20applications','maka\x20reconfig','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','_keys','ssh','join','7227upVGKM','Checking\x20remote\x20host\x20availability','3324498KqhdGZ','readFileSync','existsSync','parse','63676CTMnnS','apply','sshSync','scp','210qXUIdu','152682CILMEk','Remote\x20host\x20connection\x20successful','env','7HOUiCX','search','ssh.json','error','~/settings.json','ping','283270qMOmHN','create','(((.+)+)+)+$','24tZMncT','assign','constructor','236984YXLpar','3344TvcSvi','401819omDUwQ'];a41c=function(){return s;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x8a;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a[p(0x96)]()[p(0xad)](p(0x8a))[p(0x96)]()[p(0x8d)](a41a)[p(0xad)]('(((.+)+)+)+$');});a41a();import a41e from'fs';import a41f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a41q(0xb3)]({'name':'reconfig','validOpts':[''],'requiredOpts':[a41q(0xab)],'mustBeInMakaProject':!![],'usage':a41q(0x99),'shortDesc':a41q(0x98),'description':a41q(0x92),'examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a41q;try{const c=this['fsi']['getConfigPath'](b[r(0xab)]),d=a41f[r(0x9d)](c,r(0xae)),f=a41e[r(0xa1)](d)[r(0x96)](),g=JSON[r(0xa3)](f);Object[r(0x8c)](g,{'env':c}),Log[r(0x91)](r(0x9f));const h=SSH[r(0xb1)](r(0x97),g);if(!h)throw r(0x9a);if(h)Log['success'](r(0xaa));const i=a41f[r(0x9d)](c,r(0x9b),'ses.json');if(a41e[r(0xa2)](i)){const l={'source':i,'dest':r(0x95),'verbose':!![]};SSH['scp'](l,{...g});}const j=a41f[r(0x9d)](c,r(0x93));SSH[r(0xa7)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a41f['join'](c,'settings.json');SSH['scp']({'source':k,'dest':r(0xb0),'verbose':!![]},{...g}),SSH[r(0xa6)](r(0x94),g),await SSH[r(0x9c)]('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',{...g},{'verbose':!![]});}catch(m){console[r(0xaf)](m),process['exit'](0x0);}});
1
+ function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x187;let f=c[d];return f;},a48d(a,b);}const a48q=a48d;(function(a,b){const n=a48d,c=a();while(!![]){try{const d=parseInt(n(0x1b0))/0x1*(-parseInt(n(0x188))/0x2)+parseInt(n(0x1ac))/0x3*(parseInt(n(0x19d))/0x4)+parseInt(n(0x18f))/0x5+-parseInt(n(0x193))/0x6*(parseInt(n(0x18d))/0x7)+-parseInt(n(0x190))/0x8*(parseInt(n(0x189))/0x9)+-parseInt(n(0x19e))/0xa+parseInt(n(0x1a7))/0xb*(parseInt(n(0x19f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xdfe6e));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a48d;if(c){const e=c[o(0x1ad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const p=a48d;return a48a[p(0x197)]()[p(0x1a0)](p(0x191))[p(0x197)]()[p(0x18a)](a48a)['search'](p(0x191));});a48a();import a48e from'fs';import a48f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a48q(0x199)]({'name':a48q(0x18b),'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a48q(0x1a1),'shortDesc':a48q(0x196),'description':a48q(0x1af),'examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a48q;try{const c=this[r(0x1a3)][r(0x19b)](b[r(0x1a8)]),d=a48f[r(0x1a4)](c,'ssh.json'),f=a48e['readFileSync'](d)[r(0x197)](),g=JSON[r(0x1aa)](f);Object[r(0x195)](g,{'env':c}),Log[r(0x1a2)](r(0x1b3));const h=SSH[r(0x192)](r(0x198),g);if(!h)throw r(0x194);if(h)Log[r(0x19c)]('Remote\x20host\x20connection\x20successful');const i=a48f[r(0x1a4)](c,r(0x1a6),r(0x18c));if(a48e[r(0x187)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[r(0x1b2)](l,{...g});}const j=a48f[r(0x1a4)](c,r(0x1a9));SSH[r(0x1b2)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a48f[r(0x1a4)](c,r(0x1ae));SSH[r(0x1b2)]({'source':k,'dest':r(0x1b1),'verbose':!![]},{...g}),SSH['sshSync'](r(0x1a5),g),await SSH[r(0x18e)](r(0x1ab),{...g},{'verbose':!![]});}catch(m){console[r(0x19a)](m),process['exit'](0x0);}});function a48c(){const s=['1593292GVZpFU','~/settings.json','scp','Checking\x20remote\x20host\x20availability','existsSync','2OWWXAp','27AutWeq','constructor','reconfig','ses.json','7734377fxyLET','ssh','5134525WSbAXs','39224NrDPxU','(((.+)+)+)+$','ping','6FWhqVy','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','assign','Reconfigure\x20your\x20deployed\x20applications','toString','uname\x20-a','create','error','getConfigPath','success','8ekPpBj','7648830WXfQQm','3539208NXppXZ','search','maka\x20reconfig','notice','fsi','join','pm2\x20delete\x20all','_keys','77mUXdaJ','env','pm2.config.js','parse','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','1955181lpBqJn','apply','settings.json','\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'];a48c=function(){return s;};return a48c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a42d,c=a();while(!![]){try{var d=-parseInt(f(0x13d))/0x1+parseInt(f(0x140))/0x2+-parseInt(f(0x13b))/0x3*(parseInt(f(0x138))/0x4)+-parseInt(f(0x13c))/0x5*(parseInt(f(0x141))/0x6)+-parseInt(f(0x142))/0x7+-parseInt(f(0x13a))/0x8+parseInt(f(0x139))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x55b72));function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0x137;var f=c[d];return f;},a42d(a,b);}function a42c(){var i=['search','1199882UurppF','312TzgaiW','2504936GPQhHG','(((.+)+)+)+$','toString','4lLmWQr','21806451XJLSRf','3618304rbmTVp','2014290VuoRVi','60565ynfWvT','560348XkgToO','apply'];a42c=function(){return i;};return a42c();}var a42b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a42d;if(c){var e=c[g(0x13e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){var h=a42d;return a42a[h(0x137)]()[h(0x13f)](h(0x143))[h(0x137)]()['constructor'](a42a)['search']('(((.+)+)+)+$');});a42a();import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x107))/0x1*(parseInt(f(0x100))/0x2)+-parseInt(f(0xfd))/0x3+parseInt(f(0x103))/0x4*(parseInt(f(0xfe))/0x5)+parseInt(f(0xfa))/0x6*(parseInt(f(0xfc))/0x7)+-parseInt(f(0x105))/0x8+parseInt(f(0x102))/0x9+parseInt(f(0xff))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x45fdb));function a49c(){var i=['158562xQKcFU','search','112DXRFrL','1443201NtbrhX','7770QvMmja','2582870BXhUbs','50GtLpEc','toString','566640zTwVCZ','424SYchvH','constructor','3732224zxPOCT','(((.+)+)+)+$','13019trgNxt','apply'];a49c=function(){return i;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x101)]()[h(0xfb)](h(0x106))[h(0x101)]()[h(0x104)](a49a)[h(0xfb)]('(((.+)+)+)+$');});a49a();import'./run.command.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xfa;var f=c[d];return f;},a49d(a,b);}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a43l=a43d;(function(a,b){const i=a43d,c=a();while(!![]){try{const d=-parseInt(i(0x1e0))/0x1+-parseInt(i(0x1e3))/0x2*(parseInt(i(0x1e2))/0x3)+parseInt(i(0x1e8))/0x4+-parseInt(i(0x1ef))/0x5*(-parseInt(i(0x1d6))/0x6)+-parseInt(i(0x1ea))/0x7*(parseInt(i(0x1e4))/0x8)+-parseInt(i(0x1ed))/0x9+parseInt(i(0x1da))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa8da6));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a43d;if(c){const e=c[j(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const k=a43d;return a43a[k(0x1d9)]()[k(0x1d8)]('(((.+)+)+)+$')[k(0x1d9)]()['constructor'](a43a)[k(0x1d8)](k(0x1e5));});a43a();import a43e from'./run.command.js';import{execSync}from'child_process';import a43f from'path';import a43g from'fs';import{Log}from'../../tools/log/log.class.js';function a43c(){const n=['search','toString','31056050JuDanR','docker-compose\x20--project-directory\x20','docker-compose.yaml','appName','join','apply','782383AglTKb','\x20up\x20--remove-orphans','234621pToSJE','2FXvaQp','4032984uIJYZV','(((.+)+)+)+$','docker','notice','787156KTdISY','inherit','14RDHfbY','fsi','maka\x20run\x20docker','8221725GWcPfn','getProjectConfig','1045ndgRCp','pm2.config.js','4926kCLdFx','config/docker-compose.yaml'];a43c=function(){return n;};return a43c();}import{Command}from'../../command.js';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a43d(a,b);}import{paramCase}from'change-case';Command['create']({'name':a43l(0x1e6),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':'\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','usage':a43l(0x1ec),'validOpts':['']},async function(){const m=a43l;try{const a=this[m(0x1eb)][m(0x1ee)](),b=this[m(0x1eb)]['getConfigPath'](m(0x1e6)),c=a43f[m(0x1de)](b,m(0x1dc)),d=a43f[m(0x1de)](b,m(0x1f0));Log['notice']('PM2\x20Config\x20File:\x20'+d),Log[m(0x1e7)]('Docker\x20Compose\x20Path:\x20'+c);if(!a43g['existsSync'](c)){const f={'app':a[m(0x1dd)],'appFileCase':paramCase(a[m(0x1dd)])},g=this[m(0x1eb)]['templateContent']({'srcPath':m(0x1d7),'context':f})+'\x0a';this[m(0x1eb)]['createFile']({'filePath':c,'data':g});}execSync(m(0x1db)+b+m(0x1e1),{'stdio':m(0x1e9)});}catch(h){process['exit'](0x1);}},a43e);
1
+ function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a50d(a,b);}const a50k=a50d;(function(a,b){const i=a50d,c=a();while(!![]){try{const d=-parseInt(i(0x1e8))/0x1+-parseInt(i(0x1ed))/0x2*(parseInt(i(0x1fa))/0x3)+parseInt(i(0x204))/0x4*(-parseInt(i(0x1ff))/0x5)+parseInt(i(0x1f5))/0x6+parseInt(i(0x1fe))/0x7+-parseInt(i(0x1f8))/0x8+-parseInt(i(0x202))/0x9*(-parseInt(i(0x1f7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x76ac9));const a50b=(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;};}()),a50a=a50b(this,function(){const j=a50d;return a50a[j(0x1f1)]()[j(0x1eb)](j(0x207))[j(0x1f1)]()[j(0x1e9)](a50a)[j(0x1eb)](j(0x207));});a50a();import a50e from'./run.command.js';import{execSync}from'child_process';function a50c(){const m=['search','inherit','1063866LQQISG','createFile','existsSync','config/docker-compose.yaml','toString','\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','appName','notice','36690DskDcr','maka\x20run\x20docker','315940ZqyAPP','5392912RBSEIv','getConfigPath','3wDwmnl','docker-compose.yaml','docker','fsi','1535359PqFWmW','55uNOUrY','join','\x20up\x20--remove-orphans','504WpgjNp','create','39976MhoVjN','templateContent','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','(((.+)+)+)+$','192646xuoFDd','constructor','PM2\x20Config\x20File:\x20'];a50c=function(){return m;};return a50c();}import a50f from'path';import a50g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a50k(0x203)]({'name':a50k(0x1fc),'aliases':['d'],'shortDesc':a50k(0x206),'description':a50k(0x1f2),'usage':a50k(0x1f6),'validOpts':['']},async function(){const l=a50k;try{const a=this[l(0x1fd)]['getProjectConfig'](),b=this[l(0x1fd)][l(0x1f9)](l(0x1fc)),c=a50f[l(0x200)](b,l(0x1fb)),d=a50f[l(0x200)](b,'pm2.config.js');Log[l(0x1f4)](l(0x1ea)+d),Log[l(0x1f4)]('Docker\x20Compose\x20Path:\x20'+c);if(!a50g[l(0x1ef)](c)){const f={'app':a[l(0x1f3)],'appFileCase':paramCase(a[l(0x1f3)])},g=this[l(0x1fd)][l(0x205)]({'srcPath':l(0x1f0),'context':f})+'\x0a';this[l(0x1fd)][l(0x1ee)]({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+l(0x201),{'stdio':l(0x1ec)});}catch(h){process['exit'](0x1);}},a50e);
@@ -1 +1 @@
1
- const a44u=a44d;(function(a,b){const q=a44d,c=a();while(!![]){try{const d=-parseInt(q(0xe4))/0x1+parseInt(q(0xd9))/0x2+parseInt(q(0xdd))/0x3+parseInt(q(0xbf))/0x4*(parseInt(q(0xda))/0x5)+parseInt(q(0xc2))/0x6+parseInt(q(0xe2))/0x7*(parseInt(q(0xec))/0x8)+-parseInt(q(0xc0))/0x9*(parseInt(q(0xbc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xe424a));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a44d;if(c){const e=c[r(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const s=a44d;return a44a['toString']()['search'](s(0xe0))[s(0xdb)]()[s(0xd8)](a44a)['search'](s(0xe0));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xba;let f=c[d];return f;},a44d(a,b);}import a44e from'path';import a44f from'fs';import a44g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a44d;a44f[t(0xf1)](a,'r'),a44g[t(0xf6)]({'path':a});},Run=Command[a44u(0xd5)]({'name':a44u(0xf2),'mustBeInMakaProject':!![],'shortDesc':a44u(0xd3),'description':a44u(0xd0),'validOpts':[a44u(0xcd),a44u(0xf7),'r',a44u(0xf5),'p',a44u(0xe3),'i',a44u(0xf3),'m','mobileServer','v',a44u(0xed),'allowIncompatibleUpdate','extraPackages','x',a44u(0xc1),a44u(0xce)]},async function(a,b){const v=a44u;try{const c=a[0x0],d=this[v(0xd6)](c);d&&this[v(0xde)](c,a,b);if(c===v(0xd7)){const m=this[v(0xd2)][v(0xea)](),n=a44e['join'](m,'app',v(0xf0),v(0xe8),v(0xba));this[v(0xd2)][v(0xd4)](n)&&await rimraf(n);}if(b[v(0xc8)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw v(0xc9);await this[v(0xd2)][v(0xc4)]();const f=b[v(0xcd)]?b['env']:v(0xc5),g=this[v(0xd2)]['getConfigPath'](f),h=a44e[v(0xf8)](g,v(0xe5));let i=a44e[v(0xf8)](g,v(0xe9));b[v(0xeb)]?i=b[v(0xeb)]:i=a44e['join'](g,v(0xe9));if(this[v(0xd2)][v(0xbd)](h)&&!b[v(0xf7)])Log['notice']('Node\x20Env\x20Config:\x20'+h),syncSource(h);else!b['docker']&&Log[v(0xc6)](v(0xcb)+h);this['fsi']['isFile'](i)?(Log[v(0xcf)](v(0xf4)+i),a=a[v(0xd1)]([v(0xdf),i])):Log[v(0xc6)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i);const j=g[v(0xe6)](a44e[v(0xbe)]),k=j[j[v(0xca)]-0x1];k==='production'&&a[v(0xe7)](v(0xef));const l=process[v(0xe1)]['slice'](0x2)[v(0xf9)](o=>o!==v(0xf2))[v(0xf9)](o=>o!==a[0x0]);l[v(0xc7)]((o,p)=>{const w=v;o===w(0xee)&&l[w(0xcc)](p,0x2),o==='-e'&&l[w(0xcc)](p,0x2);}),this[v(0xd2)][v(0xc3)](v(0xf2),a['concat'](l));}catch(o){console[v(0xbb)](o),process['exit'](0x1);}});function a44c(){const x=['join','filter','cordova-build','error','822430XGVSXA','isFile','sep','2348GuiENZ','144aehCdY','exclude-archs','5657910rFBXDg','invokeMeteorCommand','compareMakaToLatest','development','warn','forEach','mobile-server','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)','length','Cannot\x20find\x20Node\x20Environment\x20File:\x20','splice','env','production','notice','\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.','concat','fsi','Run\x20your\x20Meteor\x20application','isDirectory','create','findSubCommand','ios','constructor','192910NuIiUG','9565PwoCkv','toString','apply','246744SDDCjl','runSubCommand','--settings','(((.+)+)+)+$','argv','99183IaLLjJ','port','121778vQkrjZ','process.env','split','push','local','settings.json','findProjectDirectory','settings','72ztdXEY','verbose','--env','--production','.meteor','openSync','run','inspect','Meteor\x20Settings:\x20','rawLogs','config','docker'];a44c=function(){return x;};return a44c();}export default Run;
1
+ function a51c(){const x=['openSync','allowIncompatibleUpdate','exclude-archs','Meteor\x20Settings:\x20','276189SKMgzg','forEach','run','docker','Cannot\x20find\x20Node\x20Environment\x20File:\x20','create','963640bbOlqI','settings','597213bANozZ','inspect','join','22888dKerIv','development','isDirectory','(((.+)+)+)+$','warn','compareMakaToLatest','86eiQUmM','filter','fsi','port','settings.json','Run\x20your\x20Meteor\x20application','invokeMeteorCommand','findProjectDirectory','length','1886298zAbulN','findSubCommand','13485WjBxUt','mobileServer','927740REiZYo','env','constructor','push','isFile','production','runSubCommand','argv','Node\x20Env\x20Config:\x20','extraPackages','apply','toString','search','259BaIYcY','verbose','splice','rawLogs','concat','config','notice','--settings','getConfigPath','error','exit','app','split','process.env'];a51c=function(){return x;};return a51c();}const a51u=a51d;(function(a,b){const q=a51d,c=a();while(!![]){try{const d=parseInt(q(0xef))/0x1+-parseInt(q(0x100))/0x2*(parseInt(q(0x10b))/0x3)+-parseInt(q(0x10d))/0x4+parseInt(q(0xf5))/0x5+parseInt(q(0x109))/0x6+parseInt(q(0x11a))/0x7*(-parseInt(q(0xfa))/0x8)+-parseInt(q(0xf7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x2d60a));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xeb;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a51d;if(c){const e=c[r(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const s=a51d;return a51a['toString']()[s(0x119)](s(0xfd))[s(0x118)]()[s(0x10f)](a51a)['search'](s(0xfd));});a51a();import a51e from'path';import a51f from'fs';import a51g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a51d;a51f[t(0xeb)](a,'r'),a51g[t(0x11f)]({'path':a});},Run=Command[a51u(0xf4)]({'name':a51u(0xf1),'mustBeInMakaProject':!![],'shortDesc':a51u(0x105),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':[a51u(0x10e),a51u(0xf2),'r',a51u(0x11d),'p',a51u(0x103),'i',a51u(0xf8),'m',a51u(0x10c),'v',a51u(0x11b),a51u(0xec),a51u(0x116),'x',a51u(0xed),a51u(0x112)]},async function(a,b){const v=a51u;try{const c=a[0x0],d=this[v(0x10a)](c);d&&this[v(0x113)](c,a,b);if(c==='ios'){const m=this[v(0x102)][v(0x107)](),n=a51e['join'](m,v(0x125),'.meteor','local','cordova-build');this[v(0x102)][v(0xfc)](n)&&await rimraf(n);}if(b['mobile-server']&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw'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)';await this[v(0x102)][v(0xff)]();const f=b['env']?b[v(0x10e)]:v(0xfb),g=this[v(0x102)][v(0x122)](f),h=a51e[v(0xf9)](g,v(0x127));let i=a51e['join'](g,v(0x104));b[v(0xf6)]?i=b[v(0xf6)]:i=a51e[v(0xf9)](g,v(0x104));if(this[v(0x102)]['isFile'](h)&&!b[v(0xf2)])Log[v(0x120)](v(0x115)+h),syncSource(h);else!b[v(0xf2)]&&Log[v(0xfe)](v(0xf3)+h);this[v(0x102)][v(0x111)](i)?(Log['notice'](v(0xee)+i),a=a[v(0x11e)]([v(0x121),i])):Log[v(0xfe)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i);const j=g[v(0x126)](a51e['sep']),k=j[j[v(0x108)]-0x1];k===v(0x112)&&a[v(0x110)]('--production');const l=process[v(0x114)]['slice'](0x2)['filter'](o=>o!==v(0xf1))[v(0x101)](o=>o!==a[0x0]);l[v(0xf0)]((o,p)=>{const w=v;o==='--env'&&l[w(0x11c)](p,0x2),o==='-e'&&l['splice'](p,0x2);}),this[v(0x102)][v(0x106)](v(0xf1),a['concat'](l));}catch(o){console[v(0x123)](o),process[v(0x124)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a45d,c=a();while(!![]){try{var d=-parseInt(f(0x136))/0x1*(parseInt(f(0x13e))/0x2)+parseInt(f(0x137))/0x3*(parseInt(f(0x133))/0x4)+-parseInt(f(0x13a))/0x5+-parseInt(f(0x138))/0x6+parseInt(f(0x13f))/0x7*(-parseInt(f(0x13b))/0x8)+-parseInt(f(0x13c))/0x9+parseInt(f(0x13d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xa8640));function a45c(){var i=['toString','200575HlYAVM','1432OEAfZe','6750963sWJRSw','18725940DRyEqW','2QTsIGp','8862ccjSFq','388YEyyoI','(((.+)+)+)+$','apply','173491uGmqXB','11358aXpRIK','2158686RwpDHy'];a45c=function(){return i;};return a45c();}var a45b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a45d;if(c){var e=c[g(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){var h=a45d;return a45a[h(0x139)]()['search'](h(0x134))[h(0x139)]()['constructor'](a45a)['search'](h(0x134));});a45a();import'./set.command.js';function a45d(a,b){var c=a45c();return a45d=function(d,e){d=d-0x133;var f=c[d];return f;},a45d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xa3))/0x1+parseInt(f(0x9d))/0x2+parseInt(f(0xa5))/0x3*(parseInt(f(0xa0))/0x4)+parseInt(f(0xa2))/0x5+parseInt(f(0x9e))/0x6+parseInt(f(0x9b))/0x7*(parseInt(f(0xa4))/0x8)+-parseInt(f(0x9c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x1ca60));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x9b;var f=c[d];return f;},a52d(a,b);}function a52c(){var i=['1232388ESTLqt','(((.+)+)+)+$','92pppzBJ','search','641430NvEAls','33484NbriIt','8YfwUbR','13521tQRsan','apply','544348jnKGSJ','3898008ChwPCC','3726IsyEPd'];a52c=function(){return i;};return a52c();}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0xa1)]('(((.+)+)+)+$')['toString']()['constructor'](a52a)[h(0xa1)](h(0x9f));});a52a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- function a46c(){const m=['maka\x20set:global-config\x20--cacert\x20<path>','Set\x20allowInsecure:\x20','constructor','exit','4941145qzScNO','search','help','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','error','5275653ENRwIL','setGlobalConfig','25795GBHHQK','1170006iTaAmQ','apply','485744MkgMPG','3222TVBbqO','disallowInsecure','(((.+)+)+)+$','Could\x20not\x20find\x20directory','Set\x20CA\x20Cert\x20Path:\x20','cacert','Set\x20global\x20Maka-CLI\x20settings','5565624IzKyGx','workspace','\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','toString','One\x20or\x20the\x20other\x20buddy','fsi','create','213510DcuRzs','global-config','Set\x20workspace:\x20','allowInsecure','maka\x20set:gc\x20--workspace\x20<path>','resolve','isFile'];a46c=function(){return m;};return a46c();}const a46k=a46d;(function(a,b){const h=a46d,c=a();while(!![]){try{const d=parseInt(h(0x98))/0x1+parseInt(h(0xab))/0x2+parseInt(h(0xa8))/0x3+parseInt(h(0x89))/0x4+parseInt(h(0xa3))/0x5+parseInt(h(0x8a))/0x6*(-parseInt(h(0xaa))/0x7)+-parseInt(h(0x91))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xf23b5));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a46d;if(c){const e=c[i(0xac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const j=a46d;return a46a[j(0x94)]()['search'](j(0x8c))[j(0x94)]()[j(0xa1)](a46a)[j(0xa4)](j(0x8c));});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x89;let f=c[d];return f;},a46d(a,b);}import a46e from'path';import a46f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a46k(0x97)]({'name':a46k(0x99),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a46k(0x8f),a46k(0x9b),a46k(0x8b),'workspace',a46k(0xa5)],'shortDesc':a46k(0x90),'description':a46k(0x93),'examples':[a46k(0x9f),'maka\x20set:gc\x20--insecure\x20<path>',a46k(0x9c)]},async function(a,b){const l=a46k;try{if(b['cacert']){if(this[l(0x96)][l(0x9e)](b[l(0x8f)]))this[l(0x96)][l(0xa9)]({'cert':b[l(0x8f)]}),Log['success'](l(0x8e)+b[l(0x8f)]);else{const c=typeof b[l(0x8f)]==='boolean'?l(0xa6):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b['cacert'];throw Log['error'](c);}}if(b['workspace']){const d=this[l(0x96)]['isDirectory'](b[l(0x92)]);if(d)this[l(0x96)]['setGlobalConfig']({'workspace':a46e[l(0x9d)](b[l(0x92)])}),Log['success'](l(0x9a)+a46e['resolve'](b[l(0x92)]));else throw Log['error'](l(0x8d));}if(b[l(0x9b)]){if(b[l(0x9b)]&&b['disallowInsecure'])throw Log['error'](l(0x95));let f=b[l(0x9b)];b[l(0x8b)]&&(f=![]),this[l(0x96)]['setGlobalConfig']({'allowInsecure':f}),Log['success'](l(0xa0)+f);}}catch(g){console[l(0xa7)](g),process[l(0xa2)](0x0);}},a46f);
1
+ const a53k=a53d;(function(a,b){const h=a53d,c=a();while(!![]){try{const d=parseInt(h(0xd5))/0x1*(parseInt(h(0xb4))/0x2)+parseInt(h(0xc9))/0x3+-parseInt(h(0xbb))/0x4+-parseInt(h(0xc4))/0x5*(-parseInt(h(0xb7))/0x6)+parseInt(h(0xb2))/0x7+-parseInt(h(0xc1))/0x8+-parseInt(h(0xd3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x2fd93));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a53d;if(c){const e=c[i(0xbd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const j=a53d;return a53a[j(0xca)]()[j(0xb8)](j(0xc3))[j(0xca)]()[j(0xb6)](a53a)['search'](j(0xc3));});a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xb0;let f=c[d];return f;},a53d(a,b);}import a53e from'path';import a53f from'./set.command.js';import{Command}from'../../command.js';function a53c(){const m=['allowInsecure','cacert','One\x20or\x20the\x20other\x20buddy','1538469aurPBk','Set\x20allowInsecure:\x20','20619dKdWDn','error','create','2249268ETMWSu','help','14LwKKdx','setGlobalConfig','constructor','6LfXzGL','search','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','global-config','604132wlwnTo','success','apply','Set\x20global\x20Maka-CLI\x20settings','boolean','maka\x20set:gc\x20--insecure\x20<path>','2989960PikIwy','fsi','(((.+)+)+)+$','1640515TUQipK','isFile','disallowInsecure','maka\x20set:gc\x20--workspace\x20<path>','resolve','293838YzBfok','toString','workspace','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20set:global-config\x20--cacert\x20<path>','exit','maka\x20set:global-config\x20<args>'];a53c=function(){return m;};return a53c();}import{Log}from'../../tools/log/log.class.js';Command[a53k(0xb1)]({'name':a53k(0xba),'usage':a53k(0xcf),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a53k(0xd1),'allowInsecure',a53k(0xc6),'workspace',a53k(0xb3)],'shortDesc':a53k(0xbe),'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\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','examples':[a53k(0xcd),a53k(0xc0),a53k(0xc7)]},async function(a,b){const l=a53k;try{if(b[l(0xd1)]){if(this[l(0xc2)][l(0xc5)](b[l(0xd1)]))this[l(0xc2)][l(0xb5)]({'cert':b[l(0xd1)]}),Log['success']('Set\x20CA\x20Cert\x20Path:\x20'+b['cacert']);else{const c=typeof b[l(0xd1)]===l(0xbf)?l(0xb9):l(0xcc)+b[l(0xd1)];throw Log[l(0xb0)](c);}}if(b[l(0xcb)]){const d=this[l(0xc2)]['isDirectory'](b[l(0xcb)]);if(d)this[l(0xc2)][l(0xb5)]({'workspace':a53e[l(0xc8)](b[l(0xcb)])}),Log[l(0xbc)]('Set\x20workspace:\x20'+a53e[l(0xc8)](b[l(0xcb)]));else throw Log[l(0xb0)]('Could\x20not\x20find\x20directory');}if(b[l(0xd0)]){if(b[l(0xd0)]&&b[l(0xc6)])throw Log[l(0xb0)](l(0xd2));let f=b['allowInsecure'];b[l(0xc6)]&&(f=![]),this[l(0xc2)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0xbc)](l(0xd4)+f);}}catch(g){console[l(0xb0)](g),process[l(0xce)](0x0);}},a53f);
@@ -1 +1 @@
1
- var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x11b))/0x1+-parseInt(f(0x11e))/0x2+parseInt(f(0x117))/0x3*(-parseInt(f(0x115))/0x4)+-parseInt(f(0x110))/0x5*(parseInt(f(0x11d))/0x6)+parseInt(f(0x112))/0x7*(parseInt(f(0x10c))/0x8)+parseInt(f(0x118))/0x9*(-parseInt(f(0x111))/0xa)+parseInt(f(0x10e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x84e48));function a47c(){var k=['Sorry,\x20not\x20implemented\x20yet','5945nnbdiW','9805820fiSMIW','791QXxZcQ','maka\x20set:local-config\x20<opts>','(((.+)+)+)+$','123748pyrbTD','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','15DPYiIi','9bTJCof','constructor','Set\x20local\x20maka\x20app\x20settings','682337JjuXHj','search','948IUmNRV','1140368DiAnst','apply','create','4496wUArQc','toString','18609778mGYcSV'];a47c=function(){return k;};return a47c();}var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x10d)]()[h(0x11c)]('(((.+)+)+)+$')[h(0x10d)]()[h(0x119)](a47a)['search'](h(0x114));});a47a();import a47e from'./set.command.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x10c;var f=c[d];return f;},a47d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47i(0x120)]({'name':'local-config','usage':'maka\x20set:local-config\x20<opts>','examples':['maka\x20set:lc\x20<opts>',a47i(0x113)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a47i(0x11a),'validOpts':[],'description':a47i(0x116)},async function(){var j=a47i;Log['notice'](j(0x10f));},a47e);
1
+ function a54c(){var k=['1625046IwYcGV','maka\x20set:local-config\x20<opts>','notice','6292773SwXSuI','12oOJPlj','2271738xNEmCi','12pckGjn','16OpczBm','97388hQaWzh','Sorry,\x20not\x20implemented\x20yet','constructor','toString','Set\x20local\x20maka\x20app\x20settings','maka\x20set:lc\x20<opts>','13748207legKaI','16LlmAPm','73279LyuxCO','(((.+)+)+)+$','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','search','14420530dlrHzC','apply','15aggAyH'];a54c=function(){return k;};return a54c();}var a54i=a54d;function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x1f1;var f=c[d];return f;},a54d(a,b);}(function(a,b){var f=a54d,c=a();while(!![]){try{var d=parseInt(f(0x204))/0x1*(parseInt(f(0x203))/0x2)+-parseInt(f(0x1f4))/0x3+parseInt(f(0x1fc))/0x4*(parseInt(f(0x1f3))/0x5)+-parseInt(f(0x1fa))/0x6*(parseInt(f(0x1f9))/0x7)+parseInt(f(0x1fb))/0x8*(-parseInt(f(0x1f7))/0x9)+parseInt(f(0x1f1))/0xa+-parseInt(f(0x202))/0xb*(-parseInt(f(0x1f8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xba0a3));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x1f2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x1ff)]()[h(0x207)](h(0x205))[h(0x1ff)]()[h(0x1fe)](a54a)['search'](h(0x205));});a54a();import a54e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'local-config','usage':a54i(0x1f5),'examples':[a54i(0x201),a54i(0x1f5)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a54i(0x200),'validOpts':[],'description':a54i(0x206)},async function(){var j=a54i;Log[j(0x1f6)](j(0x1fd));},a54e);
@@ -1 +1 @@
1
- const a48h=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x134;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x134))/0x1+-parseInt(f(0x13b))/0x2*(-parseInt(f(0x138))/0x3)+parseInt(f(0x13a))/0x4+parseInt(f(0x13e))/0x5+parseInt(f(0x13f))/0x6*(-parseInt(f(0x13c))/0x7)+-parseInt(f(0x145))/0x8+-parseInt(f(0x13d))/0x9*(-parseInt(f(0x137))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xf1a1a));const a48b=(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;};}()),a48a=a48b(this,function(){const g=a48d;return a48a['toString']()['search'](g(0x143))[g(0x146)]()[g(0x136)](a48a)[g(0x139)](g(0x143));});a48a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';function a48c(){const j=['26718EydoSy','set','findSubCommand','maka\x20set:<sub-command>\x20<opts>','(((.+)+)+)+$','\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','6368840lwYUtH','toString','1082288JYyLPu','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','constructor','10dcAyKA','31893IFTYKD','search','5738124gNYTOu','20FkNvQR','3031IIheKm','3375081OJaIie','3579190jgSGtL'];a48c=function(){return j;};return a48c();}const SetCommand=Command['create']({'name':a48h(0x140),'usage':a48h(0x142),'minArgLength':0x1,'shortDesc':a48h(0x135),'description':a48h(0x144),'validOpts':[]},async function(a,b){const i=a48h,c=a[0x0];if(b['help'])throw new UsageError();const d=this[i(0x141)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
1
+ const a55i=a55d;(function(a,b){const f=a55d,c=a();while(!![]){try{const d=parseInt(f(0x1a8))/0x1*(-parseInt(f(0x199))/0x2)+-parseInt(f(0x1a1))/0x3*(-parseInt(f(0x19d))/0x4)+parseInt(f(0x1a4))/0x5*(parseInt(f(0x1a5))/0x6)+parseInt(f(0x19a))/0x7+parseInt(f(0x19e))/0x8*(parseInt(f(0x1a6))/0x9)+parseInt(f(0x1ad))/0xa*(parseInt(f(0x1a7))/0xb)+-parseInt(f(0x1a0))/0xc*(parseInt(f(0x1aa))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xdfe92));function a55c(){const k=['2RSqRuW','set','26XgqjXu','toString','help','490MhERlK','apply','constructor','search','372304HGAJaJ','9909928MiXYDa','(((.+)+)+)+$','create','4qaFUFk','64peWPIC','findSubCommand','15293496UqoTKG','1595595GZPADe','\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','maka\x20set:<sub-command>\x20<opts>','580fzxtJF','13206OAtzLg','1052667xwOVld','157091HPtceI'];a55c=function(){return k;};return a55c();}const a55b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a55d;if(c){const e=c[g(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){const h=a55d;return a55a[h(0x1ab)]()[h(0x198)](h(0x19b))[h(0x1ab)]()[h(0x197)](a55a)[h(0x198)](h(0x19b));});a55a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0x196;let f=c[d];return f;},a55d(a,b);}const SetCommand=Command[a55i(0x19c)]({'name':a55i(0x1a9),'usage':a55i(0x1a3),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a55i(0x1a2),'validOpts':[]},async function(a,b){const j=a55i,c=a[0x0];if(b[j(0x1ac)])throw new UsageError();const d=this[j(0x19f)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a49l=a49d;function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a49d(a,b);}(function(a,b){const j=a49d,c=a();while(!![]){try{const d=-parseInt(j(0x1c9))/0x1*(-parseInt(j(0x1db))/0x2)+parseInt(j(0x1c8))/0x3+-parseInt(j(0x1cb))/0x4*(parseInt(j(0x1dc))/0x5)+-parseInt(j(0x1d0))/0x6+-parseInt(j(0x1d5))/0x7+parseInt(j(0x1de))/0x8+parseInt(j(0x1df))/0x9*(parseInt(j(0x1c7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x8e400));const a49b=(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;};}()),a49a=a49b(this,function(){const k=a49d;return a49a[k(0x1cf)]()[k(0x1d6)](k(0x1d7))[k(0x1cf)]()[k(0x1e1)](a49a)[k(0x1d6)](k(0x1d7));});a49a();function a49c(){const n=['1443132eogEnj','17409gfabdp','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','804ViBEpc','readFileSync','exit','maka\x20ssh\x20--env\x20prod','toString','1182822oWuinP','ssh','create','ssh.json','length','2522177rRTTPK','search','(((.+)+)+)+$','join','env','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','2AcSPQe','9235ZvgbQR','parse','2548560SNBcsH','3124476aQMRub','fsi','constructor','20zlGSXV'];a49c=function(){return n;};return a49c();}import a49e from'fs';import a49f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a49l(0x1d2)]({'name':a49l(0x1d1),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a49l(0x1d9),'v'],'shortDesc':a49l(0x1da),'examples':['maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging',a49l(0x1ce),a49l(0x1ca),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const m=a49l;try{const c=this[m(0x1e0)]['getConfigPath'](b[m(0x1d9)]);let d='';a[m(0x1d4)]>0x0&&(d=a[0x0]);const f=a49f[m(0x1d8)](c,m(0x1d3)),g=a49e[m(0x1cc)](f)[m(0x1cf)](),h=JSON[m(0x1dd)](g);Object['assign'](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console['error'](i),process[m(0x1cd)](0x0);}});
1
+ const a56m=a56d;(function(a,b){const j=a56d,c=a();while(!![]){try{const d=-parseInt(j(0xe1))/0x1+parseInt(j(0xd1))/0x2+-parseInt(j(0xcf))/0x3*(parseInt(j(0xdf))/0x4)+parseInt(j(0xdb))/0x5+parseInt(j(0xe2))/0x6+-parseInt(j(0xd9))/0x7+parseInt(j(0xe4))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xd43a5));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a56d;if(c){const e=c[k(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const l=a56d;return a56a[l(0xd2)]()['search'](l(0xce))[l(0xd2)]()[l(0xdd)](a56a)[l(0xd5)](l(0xce));});a56a();import a56e from'fs';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0xcb;let f=c[d];return f;},a56d(a,b);}import a56f from'path';import{Command}from'../command.js';function a56c(){const o=['maka\x20ssh\x20--env\x20dev','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','10531647iKNNce','assign','3894795kNCDWh','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','constructor','join','12748FwrDbW','env','916646rUQEZz','9616902QCkQVE','maka\x20ssh\x20<command>','14658752kgBQZM','length','error','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','create','(((.+)+)+)+$','951AqdSZF','sshSync','173222XnyWMT','toString','maka\x20ssh\x20--env\x20prod','apply','search'];a56c=function(){return o;};return a56c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a56m(0xcd)]({'name':'ssh','usage':a56m(0xe3),'mustBeInMakaProject':!![],'requiredOpts':[a56m(0xe0)],'validOpts':[a56m(0xe0),'v'],'shortDesc':a56m(0xd7),'examples':[a56m(0xd6),'maka\x20ssh\x20--env\x20staging',a56m(0xd3),a56m(0xcc),a56m(0xdc),a56m(0xd8)]},async function(a,b){const n=a56m;try{const c=this['fsi']['getConfigPath'](b['env']);let d='';a[n(0xe5)]>0x0&&(d=a[0x0]);const f=a56f[n(0xde)](c,'ssh.json'),g=a56e['readFileSync'](f)[n(0xd2)](),h=JSON['parse'](g);Object[n(0xda)](h,{'env':c}),SSH[n(0xd0)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0xcb)](i),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a50y=a50d;(function(a,b){const v=a50d,c=a();while(!![]){try{const d=parseInt(v(0x14f))/0x1*(parseInt(v(0x149))/0x2)+-parseInt(v(0x14a))/0x3*(parseInt(v(0x16d))/0x4)+parseInt(v(0x130))/0x5+-parseInt(v(0x165))/0x6*(parseInt(v(0x152))/0x7)+-parseInt(v(0x145))/0x8*(-parseInt(v(0x15a))/0x9)+-parseInt(v(0x13c))/0xa+parseInt(v(0x158))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x268d7));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a50d;if(c){const e=c[w(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const x=a50d;return a50a[x(0x147)]()[x(0x15d)](x(0x140))[x(0x147)]()[x(0x15e)](a50a)[x(0x15d)](x(0x140));});a50a();function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x12f;let f=c[d];return f;},a50d(a,b);}import a50e from'fs';import a50f 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';function a50c(){const A=['sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','email','readFileSync','sudo\x20snap\x20install\x20--classic\x20certbot','18nsjgvz','getConfigPath','join','emailUpdate','exit','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','uname\x20-a','maka\x20ssl\x20[command]','1139516GENoBe','success','mkKeysDir','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','apply','Checking\x20remote\x20host\x20availability','850285wYhEfP','create','error','domains','New\x20CSR\x20written\x20to\x20','[?]\x20Domains\x20to\x20register:\x20','Create\x20and\x20manage\x20your\x20SSL\x20operations.','assign','\x20--email\x20','Using\x20saved\x20letsencrypt\x20config','existsSync','domainNames','388990NwAxni','appName','env','writeFileSync','(((.+)+)+)+$','ssl','genSSC','fsi','start','144uAbvRB','letsencrypt','toString','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','17144tKAynO','3pDlkAa','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','ask','notice','19zkaVby','parse','maka\x20ssl\x20--env\x20dev\x20generate-csr','540722NVPbps','generate-ssc','.csr','stringify','.crt','letsencrypt.json','3418668heMZqu','ssh','34857tFJGkg','Email\x20to\x20use\x20for\x20auto-updates:\x20','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','search','constructor','genCSR','.key'];a50c=function(){return A;};return a50c();}import{SSL}from'../tools/ssl/ssl.class.js';Command[a50y(0x131)]({'name':a50y(0x141),'usage':a50y(0x16c),'validOpts':[a50y(0x133),a50y(0x162)],'requiredOpts':['env'],'shortDesc':a50y(0x136),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a50y(0x151),a50y(0x14c),a50y(0x14b)]},async function(a,b){const z=a50y,c=this[z(0x143)]['getProjectConfig'](),d=this['fsi'][z(0x166)](b[z(0x13e)]),f=this['fsi'][z(0x16f)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0x15f)]({'keyName':c[z(0x13d)]+z(0x160),'csrName':c[z(0x13d)]+z(0x154),'cwd':f});else{if(g===z(0x153)){if(!a50e['existsSync'](a50f[z(0x167)](f,c[z(0x13d)]+z(0x160))))throw z(0x15c)+a50f['join'](f,c[z(0x13d)]+z(0x160));if(!a50e[z(0x13a)](a50f['join'](f,c[z(0x13d)]+z(0x154))))throw z(0x170)+a50f[z(0x167)](f,c[z(0x13d)]+z(0x154));SSL[z(0x142)]({'keyName':c['appName']+'.key','crtName':c[z(0x13d)]+z(0x156),'cwd':f}),Log['notice'](z(0x134)+f);}else{if(g===z(0x146)){let h=b['domains'],i=b['email'];try{const p=a50e['readFileSync'](a50f[z(0x167)](d,z(0x157)))[z(0x147)](),q=JSON[z(0x150)](p);h=b[z(0x133)]?b[z(0x133)]:q[z(0x13b)],i=b[z(0x162)]?b[z(0x162)]:q[z(0x168)],(!b[z(0x162)]||!b[z(0x133)])&&Log['notice'](z(0x139));}catch(r){}const j=JSON[z(0x150)](a50e[z(0x163)](d+'/ssh.json')[z(0x147)]());Object[z(0x137)](j,{'env':d}),Log[z(0x14e)](z(0x12f));try{const s=SSH['ping'](z(0x16b),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0x16e)]('Remote\x20host\x20connection\x20successful');}catch(t){Log[z(0x132)](t);return;}const k=Log['withSpinner']();k[z(0x144)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0x159)](z(0x148),{...j}),SSH[z(0x159)](z(0x164),{...j}),SSH[z(0x159)](z(0x161),{...j}),k[z(0x16e)]();const l=h?h:await Actions['ask'](z(0x135)),m=i?i:await Actions[z(0x14d)](z(0x15b));SSH['ssh'](z(0x16a)+l+z(0x138)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x155)](n,null,0x2);a50e[z(0x13f)](a50f['join'](d,z(0x157)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x132)](u),process[z(0x169)](0x0);}});
1
+ const a57x=a57d;function a57c(){const z=['1043PGDVZi','9RcClcM','create','Please\x20provide\x20a\x20command.','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','85LdCiII','generate-csr','start','maka\x20ssl\x20[command]','mkKeysDir','[?]\x20Domains\x20to\x20register:\x20','email','stringify','\x20--email\x20','.csr','851092TJCxnh','.crt','.key','success','Checking\x20remote\x20host\x20availability','Using\x20saved\x20letsencrypt\x20config','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','ssh','ask','(((.+)+)+)+$','New\x20CSR\x20written\x20to\x20','join','appName','sudo\x20snap\x20install\x20--classic\x20certbot','search','getConfigPath','17432FSHxEi','maka\x20ssl\x20--env\x20dev\x20generate-csr','fsi','uname\x20-a','102408KUuamR','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','notice','Email\x20to\x20use\x20for\x20auto-updates:\x20','constructor','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','error','Verifying\x20Letsencrypt\x20configuration','domains','letsencrypt','ssl','54198tMHenu','Remote\x20host\x20connection\x20successful','2413540wYMDVk','generate-ssc','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','/ssh.json','18VZZbqW','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','getProjectConfig','toString','ping','letsencrypt.json','45736ySCkEF','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','parse','env','domainNames','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','genSSC','readFileSync','138296JxlzDR'];a57c=function(){return z;};return a57c();}(function(a,b){const v=a57d,c=a();while(!![]){try{const d=-parseInt(v(0x19b))/0x1+-parseInt(v(0x1ca))/0x2*(-parseInt(v(0x19d))/0x3)+parseInt(v(0x193))/0x4*(parseInt(v(0x1a1))/0x5)+-parseInt(v(0x1bf))/0x6+-parseInt(v(0x19c))/0x7*(parseInt(v(0x1bb))/0x8)+-parseInt(v(0x1d0))/0x9*(-parseInt(v(0x1cc))/0xa)+parseInt(v(0x1ab))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x56d88));const a57b=(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;};}()),a57a=a57b(this,function(){const w=a57d;return a57a[w(0x1d3)]()[w(0x1b9)]('(((.+)+)+)+$')[w(0x1d3)]()[w(0x1c3)](a57a)[w(0x1b9)](w(0x1b4));});a57a();import a57e from'fs';import a57f 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';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x192;let f=c[d];return f;},a57d(a,b);}Command[a57x(0x19e)]({'name':a57x(0x1c9),'usage':a57x(0x1a4),'validOpts':[a57x(0x1c7),a57x(0x1a7)],'requiredOpts':[a57x(0x196)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a57x(0x1bc),a57x(0x1ce),a57x(0x1a0)]},async function(a,b){const y=a57x,c=this[y(0x1bd)][y(0x1d2)](),d=this[y(0x1bd)][y(0x1ba)](b[y(0x196)]),f=this['fsi'][y(0x1a5)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x1a2))SSL['genCSR']({'keyName':c[y(0x1b7)]+y(0x1ad),'csrName':c['appName']+'.csr','cwd':f});else{if(g===y(0x1cd)){if(!a57e['existsSync'](a57f[y(0x1b6)](f,c[y(0x1b7)]+y(0x1ad))))throw y(0x1c4)+a57f[y(0x1b6)](f,c[y(0x1b7)]+'.key');if(!a57e['existsSync'](a57f[y(0x1b6)](f,c[y(0x1b7)]+y(0x1aa))))throw y(0x1d1)+a57f[y(0x1b6)](f,c['appName']+'.csr');SSL[y(0x199)]({'keyName':c['appName']+y(0x1ad),'crtName':c[y(0x1b7)]+y(0x1ac),'cwd':f}),Log[y(0x1c1)](y(0x1b5)+f);}else{if(g===y(0x1c8)){let h=b[y(0x1c7)],i=b[y(0x1a7)];try{const p=a57e['readFileSync'](a57f[y(0x1b6)](d,y(0x192)))[y(0x1d3)](),q=JSON[y(0x195)](p);h=b[y(0x1c7)]?b[y(0x1c7)]:q[y(0x197)],i=b[y(0x1a7)]?b[y(0x1a7)]:q['emailUpdate'],(!b[y(0x1a7)]||!b[y(0x1c7)])&&Log[y(0x1c1)](y(0x1b0));}catch(r){}const j=JSON[y(0x195)](a57e[y(0x19a)](d+y(0x1cf))[y(0x1d3)]());Object['assign'](j,{'env':d}),Log[y(0x1c1)](y(0x1af));try{const s=SSH[y(0x1d4)](y(0x1be),j);if(!s)throw y(0x198);if(s)Log['success'](y(0x1cb));}catch(t){Log['error'](t);return;}const k=Log['withSpinner']();k[y(0x1a3)](y(0x1c6)),SSH[y(0x1b2)](y(0x194),{...j}),SSH[y(0x1b2)](y(0x1b8),{...j}),SSH[y(0x1b2)](y(0x1b1),{...j}),k[y(0x1ae)]();const l=h?h:await Actions[y(0x1b3)](y(0x1a6)),m=i?i:await Actions[y(0x1b3)](y(0x1c2));SSH[y(0x1b2)](y(0x1c0)+l+y(0x1a9)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[y(0x1a8)](n,null,0x2);a57e['writeFileSync'](a57f[y(0x1b6)](d,y(0x192)),o);}else throw y(0x19f);}}}catch(u){console[y(0x1c5)](u),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a51q=a51d;(function(a,b){const m=a51d,c=a();while(!![]){try{const d=-parseInt(m(0x174))/0x1*(parseInt(m(0x169))/0x2)+-parseInt(m(0x17e))/0x3*(parseInt(m(0x18e))/0x4)+-parseInt(m(0x181))/0x5+-parseInt(m(0x177))/0x6+-parseInt(m(0x182))/0x7+parseInt(m(0x197))/0x8+parseInt(m(0x168))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x320fd));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a51d;if(c){const e=c[n(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const o=a51d;return a51a['toString']()[o(0x19d)](o(0x185))[o(0x19b)]()['constructor'](a51a)['search']('(((.+)+)+)+$');});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x162;let f=c[d];return f;},a51d(a,b);}a51a();import a51e from'fs';import a51f from'path';function a51c(){const t=['jasmine','search','getConfigPath','once','join','process.env','meteortesting:mocha','sanjo:jasmine','driver','.maka','invokeMeteorCommand','unit','6910587ORqDWz','74884hZSGvN','argv','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','inspect','isFile','fsi','error','--settings','testAppPath','mocha','test','1QPQNOn','exit','--driver-package','900738aUuUMH','rawLogs','settings.json','Cannot\x20find\x20Node\x20Environment\x20File:\x20','apply','readFileSync','splice','807567qwDFBJ','engines','findProjectDirectory','1068105SolNro','615454FUQXna','notice','driverPackage','(((.+)+)+)+$','config.json','Node\x20Env\x20Config:\x20','packages','Meteor\x20Settings:\x20','port','env','development','test-packages','4TDqvkZ','filter','warn','--env','--packages','forEach','concat','openSync','none','1564056cMqNYc','config','driver-package','create','toString'];a51c=function(){return t;};return a51c();}import a51g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a51d;a51e[p(0x195)](a,'r'),a51g[p(0x198)]({'path':a});};Command[a51q(0x19a)]({'name':a51q(0x173),'mustBeInMakaProject':!![],'validOpts':[a51q(0x19f),'packages',a51q(0x164),a51q(0x184),a51q(0x167),a51q(0x18b),a51q(0x178),a51q(0x18a),a51q(0x16c),a51q(0x171)],'usage':'maka\x20test\x20<opts>','shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const r=a51q;try{let c=this[r(0x16e)][r(0x19e)](r(0x18c));b[r(0x18b)]&&(c=this['fsi'][r(0x19e)](b[r(0x18b)]));(!b[r(0x167)]||!!b['once'])&&(a=a[r(0x194)](['--full-app']));b['unit']&&delete b[r(0x167)];let d=b[r(0x199)]||b[r(0x164)]||r(0x196);if(d===r(0x196)){const j=JSON['parse'](a51e[r(0x17c)](a51f[r(0x1a0)](this[r(0x16e)][r(0x180)](),r(0x165),r(0x186)),'utf8'));if(j[r(0x17f)][r(0x173)]===r(0x19c))d=r(0x163);else j[r(0x17f)][r(0x173)]===r(0x172)&&(d=r(0x162));}if(d===r(0x196))throw r(0x16b);(!b[r(0x199)]||!b[r(0x164)])&&(a=a[r(0x194)]([r(0x176),d]));const f=a51f[r(0x1a0)](c,r(0x179));this[r(0x16e)][r(0x16d)](f)?(Log[r(0x183)](r(0x189)+f),a=a[r(0x194)]([r(0x170),f])):Log[r(0x190)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a51f[r(0x1a0)](c,r(0x1a1));this[r(0x16e)][r(0x16d)](g)?(Log['notice'](r(0x187)+g),syncSource(g)):Log['warn'](r(0x17a)+g);const h=process[r(0x16a)]['slice'](0x2)['filter'](k=>k!==r(0x191))[r(0x18f)](k=>k!==r(0x173))[r(0x18f)](k=>k!==a[0x0]);h[r(0x193)]((k,l)=>{const s=r;(k===s(0x191)||k==='--driver')&&h['splice'](l,0x2),k===s(0x192)&&h[s(0x17d)](l,0x1);});const i=b[r(0x188)]?r(0x18d):'test';this[r(0x16e)][r(0x166)](i,a[r(0x194)](h));}catch(k){console[r(0x16f)](k),process[r(0x175)](0x0);}});
1
+ function a58d(a,b){const c=a58c();return a58d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a58d(a,b);}const a58q=a58d;(function(a,b){const m=a58d,c=a();while(!![]){try{const d=-parseInt(m(0x1f2))/0x1+-parseInt(m(0x1e4))/0x2+-parseInt(m(0x210))/0x3*(parseInt(m(0x1f4))/0x4)+parseInt(m(0x20e))/0x5*(-parseInt(m(0x1f0))/0x6)+parseInt(m(0x1ea))/0x7+-parseInt(m(0x1e5))/0x8*(parseInt(m(0x1e6))/0x9)+parseInt(m(0x20d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0xf2d2c));const a58b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a58d;if(c){const e=c[n(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a58a=a58b(this,function(){const o=a58d;return a58a['toString']()[o(0x1eb)](o(0x1e7))[o(0x1d5)]()[o(0x1f1)](a58a)[o(0x1eb)](o(0x1e7));});a58a();import a58e from'fs';import a58f from'path';import a58g from'dotenv';function a58c(){const t=['settings.json','driver','filter','30346330lUJidB','2150nnOsbn','port','395214TEtXii','fsi','join','warn','driverPackage','sanjo:jasmine','engines','--full-app','toString','notice','development','splice','maka\x20test\x20<opts>','.maka','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','invokeMeteorCommand','Cannot\x20find\x20Node\x20Environment\x20File:\x20','testAppPath','--driver','--env','openSync','inspect','rawLogs','1048978uhtWka','24KKFnfM','1854099HSNLry','(((.+)+)+)+$','mocha','error','13683446iyXrXg','search','once','create','apply','isFile','20238QUNKNW','constructor','84515ywapxC','none','40mmxdav','packages','test','config','concat','test-packages','readFileSync','env','jasmine','forEach','driver-package','getConfigPath','argv','--driver-package','unit','slice','config.json','parse','exit','--packages','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','--settings'];a58c=function(){return t;};return a58c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a58d;a58e[p(0x1e1)](a,'r'),a58g[p(0x1f7)]({'path':a});};Command[a58q(0x1ed)]({'name':a58q(0x1f6),'mustBeInMakaProject':!![],'validOpts':[a58q(0x1ec),a58q(0x1f5),a58q(0x20b),a58q(0x1d1),'unit','env',a58q(0x1e3),a58q(0x20f),a58q(0x1e2),a58q(0x1de)],'usage':a58q(0x1d9),'shortDesc':a58q(0x1db),'examples':[]},function(a,b){const r=a58q;try{let c=this['fsi'][r(0x1ff)](r(0x1d7));b[r(0x1fb)]&&(c=this[r(0x211)][r(0x1ff)](b[r(0x1fb)]));(!b['unit']||!!b[r(0x1ec)])&&(a=a[r(0x1f8)]([r(0x1d4)]));b[r(0x202)]&&delete b[r(0x202)];let d=b[r(0x1fe)]||b['driver']||r(0x1f3);if(d===r(0x1f3)){const j=JSON[r(0x205)](a58e[r(0x1fa)](a58f[r(0x212)](this[r(0x211)]['findProjectDirectory'](),r(0x1da),r(0x204)),'utf8'));if(j[r(0x1d3)]['test']===r(0x1fc))d=r(0x1d2);else j['engines']['test']===r(0x1e8)&&(d='meteortesting:mocha');}if(d===r(0x1f3))throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[r(0x1fe)]||!b[r(0x20b)])&&(a=a['concat']([r(0x201),d]));const f=a58f[r(0x212)](c,r(0x20a));this[r(0x211)][r(0x1ef)](f)?(Log[r(0x1d6)]('Meteor\x20Settings:\x20'+f),a=a[r(0x1f8)]([r(0x209),f])):Log[r(0x1d0)](r(0x208)+f);const g=a58f['join'](c,'process.env');this[r(0x211)][r(0x1ef)](g)?(Log[r(0x1d6)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[r(0x1d0)](r(0x1dd)+g);const h=process[r(0x200)][r(0x203)](0x2)[r(0x20c)](k=>k!==r(0x1e0))['filter'](k=>k!==r(0x1f6))[r(0x20c)](k=>k!==a[0x0]);h[r(0x1fd)]((k,l)=>{const s=r;(k===s(0x1e0)||k===s(0x1df))&&h[s(0x1d8)](l,0x2),k===s(0x207)&&h[s(0x1d8)](l,0x1);});const i=b[r(0x1f5)]?r(0x1f9):'test';this[r(0x211)][r(0x1dc)](i,a[r(0x1f8)](h));}catch(k){console[r(0x1e9)](k),process[r(0x206)](0x0);}});
@@ -1 +1 @@
1
- const a52l=a52d;function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0xca;let f=c[d];return f;},a52d(a,b);}(function(a,b){const i=a52d,c=a();while(!![]){try{const d=-parseInt(i(0xd1))/0x1*(parseInt(i(0xf4))/0x2)+-parseInt(i(0xf7))/0x3*(parseInt(i(0xea))/0x4)+-parseInt(i(0xf2))/0x5*(parseInt(i(0xd2))/0x6)+-parseInt(i(0xd0))/0x7*(-parseInt(i(0xe2))/0x8)+-parseInt(i(0xeb))/0x9*(-parseInt(i(0xf0))/0xa)+-parseInt(i(0xcf))/0xb*(-parseInt(i(0xd3))/0xc)+-parseInt(i(0xcb))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x19499));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a52d;if(c){const e=c[j(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const k=a52d;return a52a[k(0xdf)]()[k(0xe4)](k(0xe7))[k(0xdf)]()[k(0xf8)](a52a)[k(0xe4)](k(0xe7));});a52a();import{execSync}from'child_process';import a52e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a52c(){const n=['search','replace','4.5.14','(((.+)+)+)+$','version','System\x27s\x20Node\x20Version\x20','196304OqEWSu','18uwCrXP','getProjectsMeteorNodeVersion','node\x20-v','getProjectMeteorVersion','win32','652300zkJzYt','platform','2955vXmOof','meteor','1846LscfWt','Maka\x20','warn','3qFUFKQ','constructor','error','\x20node\x20-v','2716519gZIxNP',')\x20to\x20at\x20least\x20meteor\x27s\x20(','exit','meteor.bat','43813ovpJCR','21SzFaUs','41aSiVJj','564kWAacR','420zHPJir','compareMakaToLatest','maka\x20version','\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','getGlobalMeteorVersion','fsi','Project\x27s\x20Meteor\x20Version\x20','notice','create','apply','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','----------------------Project----------------------------','toString','Project\x27s\x20Meteor\x20Node\x20Version\x20','bright','493728uMvgoA','----------------------System----------------------------'];a52c=function(){return n;};return a52c();}const pjson={'version':a52l(0xe6)};Command[a52l(0xdb)]({'name':a52l(0xe8),'aliases':['v'],'usage':a52l(0xd5),'maxArgLength':0x1,'validOpts':[],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':['maka\x20v',a52l(0xd5)]},async function(){const m=a52l;try{const a=process[m(0xf1)]===m(0xef)?m(0xce):m(0xf3);Log['majestic'](m(0xf5)+pjson['version']),await this[m(0xd8)][m(0xd4)](),Log[m(0xe1)](m(0xe3));const b=this[m(0xd8)][m(0xd7)]();Log[m(0xe1)](('System\x27s\x20Meteor\x20Version\x20'+b)['replace']('\x0a',''));const c=execSync(a+m(0xca))[m(0xdf)]()[m(0xe5)](/\r?\n|\r/,'')[m(0xe5)]('v','');Log[m(0xe1)](m(0xdd)+c);const d=execSync(m(0xed))['toString']()[m(0xe5)](/\r?\n|\r/,'')['replace']('v','');a52e['gt'](c,d)?(Log[m(0xf6)](m(0xe9)+d),Log[m(0xf6)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+d+m(0xcc)+c+')')):Log[m(0xe1)](m(0xe9)+d);if(this[m(0xd8)]['isMakaProject']()){Log[m(0xe1)](m(0xde));const f=this['fsi'][m(0xee)]();a52e['gt'](b,f)?(Log[m(0xf6)](m(0xd9)+f[m(0xe5)]('\x0a','')),Log['warn']('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+b+'\x22')):Log[m(0xda)]((m(0xd9)+f)[m(0xe5)]('\x0a',''));const g=await this[m(0xd8)][m(0xec)]();g==='N/A'?(Log[m(0xf6)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log[m(0xf6)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[m(0xe1)](m(0xe0)+g),Log[m(0xe1)](m(0xd6));}}catch(h){console[m(0xf9)](h),process[m(0xcd)](0x0);}});
1
+ const a59l=a59d;(function(a,b){const i=a59d,c=a();while(!![]){try{const d=-parseInt(i(0x93))/0x1+parseInt(i(0xa3))/0x2*(-parseInt(i(0xab))/0x3)+-parseInt(i(0x9c))/0x4*(-parseInt(i(0xa6))/0x5)+-parseInt(i(0x92))/0x6+parseInt(i(0x98))/0x7+parseInt(i(0xb0))/0x8*(-parseInt(i(0xb1))/0x9)+parseInt(i(0x90))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0xb4abb));const a59b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a59d;if(c){const e=c[j(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a59a=a59b(this,function(){const k=a59d;return a59a[k(0x9f)]()[k(0x96)](k(0xa5))[k(0x9f)]()[k(0x97)](a59a)[k(0x96)](k(0xa5));});a59a();import{execSync}from'child_process';import a59e from'semver';import{Command}from'../command.js';function a59c(){const n=['\x20node\x20-v','4154970KHFrEN','create','247926UcNExL','301667KHmqoD','compareMakaToLatest','notice','search','constructor','8198078WNFqfD','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','win32','System\x27s\x20Meteor\x20Version\x20','4TVqoPw','node\x20-v','maka\x20v','toString','Project\x27s\x20Meteor\x20Node\x20Version\x20','\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','getGlobalMeteorVersion','4oSwFHj','warn','(((.+)+)+)+$','5619800fHRapc','Project\x27s\x20Meteor\x20Version\x20','apply','meteor','Maka\x20','710151CrsFMu','maka\x20version','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','bright','meteor.bat','8JlcbLP','10387458tESYkl','N/A','fsi','System\x27s\x20Node\x20Version\x20','exit',')\x20to\x20at\x20least\x20meteor\x27s\x20(','replace','getProjectsMeteorNodeVersion'];a59c=function(){return n;};return a59c();}function a59d(a,b){const c=a59c();return a59d=function(d,e){d=d-0x90;let f=c[d];return f;},a59d(a,b);}import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.5.15'};Command[a59l(0x91)]({'name':'version','aliases':['v'],'usage':a59l(0xac),'maxArgLength':0x1,'validOpts':[],'shortDesc':a59l(0xad),'examples':[a59l(0x9e),'maka\x20version']},async function(){const m=a59l;try{const a=process['platform']===m(0x9a)?m(0xaf):m(0xa9);Log['majestic'](m(0xaa)+pjson['version']),await this[m(0xb3)][m(0x94)](),Log[m(0xae)]('----------------------System----------------------------');const b=this[m(0xb3)][m(0xa2)]();Log[m(0xae)]((m(0x9b)+b)[m(0xb7)]('\x0a',''));const c=execSync(a+m(0xb9))['toString']()['replace'](/\r?\n|\r/,'')[m(0xb7)]('v','');Log[m(0xae)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+c);const d=execSync(m(0x9d))[m(0x9f)]()['replace'](/\r?\n|\r/,'')[m(0xb7)]('v','');a59e['gt'](c,d)?(Log[m(0xa4)](m(0xb4)+d),Log[m(0xa4)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+d+m(0xb6)+c+')')):Log['bright'](m(0xb4)+d);if(this[m(0xb3)]['isMakaProject']()){Log[m(0xae)]('----------------------Project----------------------------');const f=this[m(0xb3)]['getProjectMeteorVersion']();a59e['gt'](b,f)?(Log[m(0xa4)](m(0xa7)+f[m(0xb7)]('\x0a','')),Log[m(0xa4)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+b+'\x22')):Log[m(0x95)]((m(0xa7)+f)[m(0xb7)]('\x0a',''));const g=await this[m(0xb3)][m(0xb8)]();g===m(0xb2)?(Log['warn'](m(0xa0)+g),Log[m(0xa4)](m(0x99))):Log[m(0xae)](m(0xa0)+g),Log[m(0xae)](m(0xa1));}}catch(h){console['error'](h),process[m(0xb5)](0x0);}});