@maka/maka-cli 4.5.13 → 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 (106) 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/templates/meteor/app/server/helmet-csp.js +2 -2
  86. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +2 -2
  87. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +2 -2
  88. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +2 -2
  89. package/bundle/obf/src/tool.js +1 -1
  90. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  91. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  92. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  93. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  94. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  95. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  96. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  97. package/bundle/obf/src/tools/https/https.class.js +1 -1
  98. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  99. package/bundle/obf/src/tools/log/log.class.js +1 -1
  100. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  101. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  102. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  103. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  104. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  105. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  106. package/package.json +5 -1
@@ -1 +1 @@
1
- const a33l=a33d;(function(a,b){const j=a33d,c=a();while(!![]){try{const d=parseInt(j(0x109))/0x1+parseInt(j(0xef))/0x2+-parseInt(j(0xf5))/0x3*(parseInt(j(0x104))/0x4)+-parseInt(j(0xf8))/0x5+-parseInt(j(0xea))/0x6*(parseInt(j(0xfb))/0x7)+-parseInt(j(0xf9))/0x8+parseInt(j(0x10d))/0x9*(parseInt(j(0xff))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xac9a6));const a33b=(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;};}()),a33a=a33b(this,function(){const k=a33d;return a33a[k(0xf6)]()[k(0xf3)]('(((.+)+)+)+$')[k(0xf6)]()[k(0xfa)](a33a)['search'](k(0xfe));});function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0xe9;let f=c[d];return f;},a33d(a,b);}a33a();function a33c(){const n=['56596lSvIJE','\x20-c\x20','\x20-r\x20app','app/public','utf-8','536671zrddeL','docs','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','isFile','99ISNsxM','create','jsdoc-config.json','maka\x20jsdoc','plugins/markdown','658182SrCQFn','writeFileSync','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','config','Running\x20','891886FYSwey','join','logWithSpinner','pathFromProject','search','.+\x5c.(j|t)s(doc|x)?$','33FzzAPm','toString','app/packages','4007185mLfIys','6738720LsRjry','constructor','49oCaVbx','jsdoc','fsi','(((.+)+)+)+$','2083330KCTzFT','inherit','closure','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','sep'];a33c=function(){return n;};return a33c();}import a33e from'path';import a33f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a33l(0x10e)]({'name':a33l(0xfc),'usage':a33l(0x110),'mustBeInMakaProject':!![],'shortDesc':a33l(0xec),'examples':['maka\x20jsdoc\x20--init',a33l(0x110)],'validOpts':[]},function(){const m=a33l,a=a33e[m(0xf0)](this['fsi'][m(0xf2)]({}),m(0x10a)+a33e[m(0x103)]),b=a33e[m(0xf0)](this[m(0xfd)]['pathFromProject']({}),m(0xed),m(0x10f)),c=this[m(0xfd)][m(0xf2)]({}),d=m(0xfc);if(!this[m(0x10c)](b)){const g={'plugins':[m(0xe9)],'tags':{'allowUnknownTags':!![],'dictionaries':[m(0xfc),m(0x101)]},'source':{'includePattern':m(0xf4),'excludePattern':m(0x102),'exclude':[m(0xf7),'app/node_modules',m(0x107),'app/private']},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':m(0x108)}};a33f[m(0xeb)](b,JSON['stringify'](g,null,0x4));}const f=this[m(0xf1)](m(0xee)+d);try{const h=d+m(0x105)+b+m(0x106)+a33e[m(0x103)]+'\x20-d\x20'+a;execSync(h,{'cwd':c,'stdio':m(0x100)}),this['logNotice']('\x0a[+]\x20Documentation\x20written\x20to\x20'+a);}catch(i){this['logError'](i),this['logError'](m(0x10b));}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
- function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1af;let f=c[d];return f;},a34d(a,b);}const a34s=a34d;(function(a,b){const p=a34d,c=a();while(!![]){try{const d=parseInt(p(0x1b7))/0x1*(-parseInt(p(0x1c6))/0x2)+parseInt(p(0x1d1))/0x3+parseInt(p(0x1ce))/0x4+-parseInt(p(0x1bd))/0x5*(-parseInt(p(0x1d2))/0x6)+-parseInt(p(0x1d0))/0x7+parseInt(p(0x1cd))/0x8*(-parseInt(p(0x1d3))/0x9)+parseInt(p(0x1b5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xcf765));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a34d;if(c){const e=c[q(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const r=a34d;return a34a['toString']()[r(0x1c0)]('(((.+)+)+)+$')[r(0x1d8)]()[r(0x1d5)](a34a)[r(0x1c0)]('(((.+)+)+)+$');});a34a();import a34e from'path';import{ESLint}from'eslint';function a34c(){const u=['/imports','outputFixes','2062MhhzlR','bright','push','fix','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','loadFormatter','join','2568OxNdkx','3281076jGYtZk','eslint','5342715NZHAic','3743295pkgKYv','6DZahSy','43767LfFxqU','lintFiles','constructor','service','error','toString','template','.eslintrc.json','notice','\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','apply','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','eslint/eslintrc.json','create','14230860npFwrK','checkNpmPackage','1531KGWrNJ','maka\x20lint','stylish','eslint-plugin-css','imports','findAppDirectory','6306870Jkijoy','fsi','length','search','eslint-plugin-react','isFile','lint'];a34c=function(){return u;};return a34c();}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command[a34s(0x1b4)]({'name':a34s(0x1c3),'usage':a34s(0x1b8),'maxArgLength':0x1,'validOpts':[a34s(0x1c9)],'mustBeInMakaProject':!![],'shortDesc':a34s(0x1b2),'description':a34s(0x1b0),'examples':['maka\x20lint\x20--fix']},async function(a,b){const t=a34s;try{const c=this[t(0x1be)][t(0x1bc)](),d=this[t(0x1be)]['checkNpmPackage'](t(0x1cf)),f=this[t(0x1be)][t(0x1b6)]('eslint-plugin-react'),g=this['fsi'][t(0x1b6)](t(0x1ba)),h=[];!d&&h[t(0x1c8)](t(0x1cf));!f&&h['push'](t(0x1c1));!g&&h[t(0x1c8)]('eslint-plugin-css');h[t(0x1bf)]>0x0&&await this[t(0x1be)]['installNpmPackage'](h['join']('\x20'),{'dev':!![]});const i=this[t(0x1be)][t(0x1c2)](a34e[t(0x1cc)](c,t(0x1da)));if(!i){const n={'noRename':!![]};await this[t(0x1be)][t(0x1d9)]({'srcPath':t(0x1b3),'destPath':a34e[t(0x1cc)](c,t(0x1da)),'framework':t(0x1d6),'context':n});}const j=new ESLint(),k=await j[t(0x1d4)]([a34e[t(0x1cc)](c,t(0x1bb),'**')]),l=await j[t(0x1cb)](t(0x1b9)),m=l['format'](k);m['length']>0x0?Log[t(0x1c7)](m):Log['success']('All\x20good!\x20:)'),Log[t(0x1af)]('Lint\x20results\x20for\x20'+c+t(0x1c4)),b['fix']?await ESLint[t(0x1c5)](k):Log[t(0x1af)](t(0x1ca));}catch(o){console[t(0x1d7)](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
- function a35c(){const A=['maka\x20login','help','assign','create','constructor','header','www.maka-cli.com','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','39855huzhhp','search','5861620HjeaSu','failure','ask','authToken','/api/v1/encodeJwt','password','3105231EwqHcg','toHex','env','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','withSpinner','/api/v1/status','Preflight\x20Check','update','error','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','8HEHoYE','post','start','isFile','(((.+)+)+)+$','6141249EtoiAi','toString','login','Logging\x20in','cert','email','sha256','True','4986348JFAUXQ','digest','cacert','debug','MAKA_DEV','Password:\x20','success','exit','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Using\x20CA\x20Cert\x20','parse','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','fsi','https://','1806700aSVyUm','setGlobalConfig','localhost','2lcrBKu','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','7776510riyTKX'];a35c=function(){return A;};return a35c();}const a35y=a35d;(function(a,b){const w=a35d,c=a();while(!![]){try{const d=parseInt(w(0x149))/0x1+parseInt(w(0x13d))/0x2*(parseInt(w(0x151))/0x3)+parseInt(w(0x13a))/0x4+-parseInt(w(0x14b))/0x5+parseInt(w(0x12c))/0x6+-parseInt(w(0x140))/0x7+-parseInt(w(0x15b))/0x8*(-parseInt(w(0x160))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xb8c24));const a35b=(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;};}()),a35a=a35b(this,function(){const x=a35d;return a35a[x(0x161)]()[x(0x14a)](x(0x15f))['toString']()[x(0x145)](a35a)[x(0x14a)]('(((.+)+)+)+$');});function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x126;let f=c[d];return f;},a35d(a,b);}a35a();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[a35y(0x153)][a35y(0x130)]===a35y(0x12b)?a35y(0x13c):a35y(0x147);Command[a35y(0x144)]({'name':a35y(0x126),'validOpts':['email',a35y(0x150),a35y(0x142),'cacert',a35y(0x12f)],'usage':a35y(0x141),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a35y(0x148),'examples':[a35y(0x141),a35y(0x13e)]},async function(a,b){const z=a35y,c=Log[z(0x155)]();try{let d='';b[z(0x12e)]&&(this[z(0x138)]['isFile'](b['cacert'])?(d=b[z(0x12e)],Log['notice'](z(0x135)+d)):Log[z(0x159)](z(0x134)+d));const f=await this[z(0x138)]['getGlobalConfig']();if(f[z(0x128)]){if(this[z(0x138)][z(0x15e)](f[z(0x128)]))d=f['cert'];else{Log[z(0x159)](z(0x13f)+d);return;}}Log[z(0x146)]('Logging\x20into\x20https://'+hostname);const g={'url':z(0x139)+hostname+z(0x156)};b[z(0x12e)]&&Object[z(0x143)](g,{'cert':d});c[z(0x15d)](z(0x157));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[z(0x14c)]();throw z(0x15a);}if(h!==0xc8){c['failure']();throw z(0x139)+hostname+z(0x137);}c['success']();const i=b[z(0x129)]?b[z(0x129)]:await Actions[z(0x14d)]('Email:'),j=b['password']?b[z(0x150)]:await Actions[z(0x14d)](z(0x131),!![]),k=a35e['md'][z(0x12a)][z(0x144)]();k[z(0x158)](j);const l=k[z(0x12d)]()[z(0x152)](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[z(0x12e)]&&Object[z(0x143)](m,{'cert':d});c[z(0x15d)](z(0x127));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[z(0x14c)]('\x0a');throw z(0x154)+hostname;}const p=JSON[z(0x136)](n);if(p[z(0x14e)]){const q={'hostname':hostname,'path':z(0x14f),'headers':{'x-auth-token':p[z(0x14e)]},'data':{}};b[z(0x12e)]&&Object[z(0x143)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0x15c)](q),{token:t}=JSON[z(0x136)](r);if(s===0x198)throw z(0x154)+hostname;const u={'token':p,'hash':t};this['fsi'][z(0x13b)](u);}else{c[z(0x14c)]();throw p;}c[z(0x132)]();}catch(v){c[z(0x14c)](),console[z(0x159)](v),process[z(0x133)](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 a36o=a36d;(function(a,b){const l=a36d,c=a();while(!![]){try{const d=-parseInt(l(0x12a))/0x1+parseInt(l(0x125))/0x2+parseInt(l(0x12f))/0x3*(-parseInt(l(0x121))/0x4)+-parseInt(l(0x12d))/0x5*(parseInt(l(0x137))/0x6)+parseInt(l(0x114))/0x7+-parseInt(l(0x128))/0x8*(parseInt(l(0x12b))/0x9)+parseInt(l(0x134))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x4059e));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a36d;if(c){const e=c[m(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const n=a36d;return a36a[n(0x130)]()[n(0x118)]('(((.+)+)+)+$')['toString']()[n(0x124)](a36a)[n(0x118)](n(0x13d));});a36a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a36c(){const q=['cacert','978606Ncxide','/api/v1/logoutAll','True','notice','cert','start','(((.+)+)+)+$','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','getGlobalConfig','authToken','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','setGlobalConfig','exit','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','MAKA_DEV','3574186pJSksj','post','localhost','Logging\x20out\x20of\x20https://','search','Preflight\x20Check','isFile','error','logout','env','Logging\x20out','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','withSpinner','6104puSAts','success','fsi','constructor','565502uEVcoe','apply','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','27192MUQYQO','failure','199742rXeEbJ','81pefMou','get','15GIGSXC','header','993NPTWJx','toString','token','Using\x20CA\x20Cert\x20','maka\x20logout','6949750HBGHkL','https://'];a36c=function(){return q;};return a36c();}function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x10d;let f=c[d];return f;},a36d(a,b);}const hostname=process[a36o(0x11d)][a36o(0x113)]===a36o(0x139)?a36o(0x116):'www.maka-cli.com';Command['create']({'name':a36o(0x11c),'validOpts':[a36o(0x136)],'usage':a36o(0x133),'maxArgLength':0x2,'shortDesc':a36o(0x11f),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a36o,c=Log[p(0x120)]();try{let d='';b[p(0x136)]&&(this[p(0x123)][p(0x11a)](b[p(0x136)])?(d=b[p(0x136)],Log[p(0x13a)](p(0x132)+d)):Log[p(0x11b)](p(0x112)+d));const f=await this[p(0x123)][p(0x10d)]();if(f[p(0x13b)]){if(this['fsi'][p(0x11a)](f['cert']))d=f[p(0x13b)];else{c['failure']();throw Log[p(0x11b)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log[p(0x12e)](p(0x117)+hostname);const g={'url':p(0x135)+hostname+'/api/v1/status'};b[p(0x136)]&&Object['assign'](g,{'cert':d});c[p(0x13c)](p(0x119));const {statusCode:h}=await HTTPS[p(0x12c)](g);if(h===0x198){c['failure']();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x122)]();if(h!==0xc8){c[p(0x129)]();throw p(0x13e);}if(!f?.[p(0x131)]?.[p(0x10e)])throw Log[p(0x11b)](p(0x10f));c[p(0x13c)](p(0x11e));const i={'hostname':hostname,'path':p(0x138),'data':{},'headers':{'x-auth-token':f['token'][p(0x10e)]}};b[p(0x136)]&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x115)](i);if(j===0x198){c['failure']('\x0a');throw p(0x127);}this[p(0x123)][p(0x110)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console[p(0x11b)](k),process[p(0x111)](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
- const a37k=a37d;(function(a,b){const h=a37d,c=a();while(!![]){try{const d=-parseInt(h(0x1e6))/0x1*(-parseInt(h(0x1cf))/0x2)+parseInt(h(0x1d3))/0x3*(-parseInt(h(0x1e3))/0x4)+-parseInt(h(0x1d2))/0x5+parseInt(h(0x1e1))/0x6+parseInt(h(0x1e0))/0x7*(-parseInt(h(0x1d5))/0x8)+parseInt(h(0x1d8))/0x9+-parseInt(h(0x1dc))/0xa*(-parseInt(h(0x1d4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xab066));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1ca;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a37d;if(c){const e=c[i(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const j=a37d;return a37a[j(0x1df)]()[j(0x1cd)](j(0x1db))[j(0x1df)]()['constructor'](a37a)[j(0x1cd)](j(0x1db));});a37a();import a37e from'fs';import a37f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a37k(0x1d9)]({'name':a37k(0x1d7),'aliases':['l','log'],'usage':a37k(0x1dd),'requiredOpts':[a37k(0x1de)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a37k(0x1cb),'examples':[a37k(0x1e8),a37k(0x1e5),a37k(0x1e4)]},function(a,b){const l=a37k,c=l(0x1da),d=this['fsi'][l(0x1e7)](b[l(0x1de)]),e=a37f[l(0x1e2)](d,l(0x1ce)),f=a37e[l(0x1d0)](e),g=JSON[l(0x1d1)](f['toString']());Object[l(0x1cc)](g,{'env':d}),SSH[l(0x1ca)](c,g,{'tty':!![],'verbose':!![]});});function a37c(){const m=['toString','161OlnNbz','2018196pmzuCg','join','1501604ttTBqF','maka\x20l\x20-e\x20p','maka\x20logs\x20--env\x20staging','529xKiOQt','getConfigPath','maka\x20logs\x20--env\x20dev','sshSync','View\x20the\x20PM2\x20logs','assign','search','ssh.json','1134dukMFn','readFileSync','parse','6032715Jstlxc','6waBDLj','15345VfFeNT','32824nWAuzC','apply','logs','4517172RReYjm','create','pm2\x20logs','(((.+)+)+)+$','11570CrPTgB','maka\x20logs','env'];a37c=function(){return m;};return a37c();}
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
- function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xec;let f=c[d];return f;},a38d(a,b);}const a38j=a38d;(function(a,b){const g=a38d,c=a();while(!![]){try{const d=parseInt(g(0xf5))/0x1+parseInt(g(0xef))/0x2*(parseInt(g(0xf7))/0x3)+parseInt(g(0xf0))/0x4*(parseInt(g(0x102))/0x5)+parseInt(g(0xfc))/0x6+parseInt(g(0xfa))/0x7*(parseInt(g(0xee))/0x8)+parseInt(g(0x100))/0x9+-parseInt(g(0x104))/0xa*(parseInt(g(0xf6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x8c73c));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a38d;if(c){const e=c[h(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const i=a38d;return a38a['toString']()[i(0xfb)]('(((.+)+)+)+$')['toString']()[i(0xfd)](a38a)[i(0xfb)](i(0x101));});a38a();function a38c(){const l=['2FyARWt','368ymjvsX','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','fsi','error','runSubCommand','74998icqHtj','121ipgwJA','2086620mcmVMi','maka\x20install\x20meteor','apply','119203eRWbus','search','1278252GSvfLi','constructor','maka\x20create\x20Todo','maka\x20run','5150511hqGaDb','(((.+)+)+)+$','45590RBjXkS','maka\x20--help','1808830GgxlUy','maka\x20<command>\x20[<args>]\x20[<opts>]','exit','findSubCommand','80iMEzQW'];a38c=function(){return l;};return a38c();}import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a38j(0xf1),'validOpts':[],'usage':a38j(0x105),'disableAuthCheck':!![],'examples':[a38j(0x103),a38j(0xf8),a38j(0xfe),a38j(0xff)],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\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'},async function(a,b){const k=a38j;try{const c=a[0x0],d=this[k(0xed)](c);d?this[k(0xf4)](c,a['slice'](0x1),b):this[k(0xf2)]['maybeProxyCommandToMeteor']();}catch(f){console[k(0xf3)](f),process[k(0xec)](0x1);}});export default Maka;
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(0x17f))/0x1+-parseInt(f(0x18e))/0x2+-parseInt(f(0x17a))/0x3+-parseInt(f(0x181))/0x4+parseInt(f(0x180))/0x5*(-parseInt(f(0x18d))/0x6)+parseInt(f(0x182))/0x7*(-parseInt(f(0x17b))/0x8)+-parseInt(f(0x185))/0x9*(-parseInt(f(0x18b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x44985));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a39d;if(c){var e=c[g(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var h=a39d;return a39a[h(0x184)]()[h(0x17e)](h(0x187))[h(0x184)]()[h(0x18a)](a39a)[h(0x17e)](h(0x187));});function a39c(){var k=['134662geqwrt','185MPuNIj','2241132DcCVZu','7833TIGXcL','murder','toString','9369oRNRns','Murrrrderrrrr','(((.+)+)+)+$','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','constructor','17530oNUNSS','create','39402phctcc','339898fQLPqn','699423ySGaOk','3376EiaaQW','apply','exit','search'];a39c=function(){return k;};return a39c();}a39a();function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0x17a;var f=c[d];return f;},a39d(a,b);}import{Command}from'../command.js';Command[a39i(0x18c)]({'name':a39i(0x183),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a39i(0x186),'validOpts':[]},async function(){var j=a39i;try{console['log'](j(0x189),j(0x188));}catch(a){console['error'](a),process[j(0x17d)](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 a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x15e;let f=c[d];return f;},a40d(a,b);}const a40q=a40d;(function(a,b){const n=a40d,c=a();while(!![]){try{const d=-parseInt(n(0x17f))/0x1*(-parseInt(n(0x175))/0x2)+-parseInt(n(0x18a))/0x3*(-parseInt(n(0x179))/0x4)+-parseInt(n(0x16d))/0x5+parseInt(n(0x186))/0x6*(-parseInt(n(0x17e))/0x7)+parseInt(n(0x164))/0x8*(parseInt(n(0x167))/0x9)+parseInt(n(0x161))/0xa+parseInt(n(0x17b))/0xb*(parseInt(n(0x180))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x7d50e));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a40d;if(c){const e=c[o(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const p=a40d;return a40a['toString']()[p(0x16b)](p(0x17d))['toString']()['constructor'](a40a)[p(0x16b)]('(((.+)+)+)+$');});a40a();import a40e from'fs';import a40f from'path';function a40c(){const s=['Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','80696rKSCMF','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','getConfigPath','readFileSync','1928kGmBAl','create','1981848UNjSmD','mkKeysDir','(((.+)+)+)+$','2359XassZh','3mPatSS','24XcgwmK','targetHost','.crt','localhost','join','genCSR','2778RtvIsC','sslconfig','isFile','=>\x20SSL\x20Proxy\x20forwarding\x20','69WFPepI','maka\x20proxy','listen','genSSC','listenPort','8179750QyiBRn','targetPort','development','8SDELJk','help','bright','1659825Nwgfvk','maka\x20proxy\x20--target-host\x20http://192.168.1.20','.key','apply','search','fsi','4127705cNMINz','proxy','\x20to\x20','appName','invoke','utf8','\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'];a40c=function(){return s;};return a40c();}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[a40q(0x17a)]({'name':a40q(0x16e),'usage':a40q(0x18b),'mustBeInMakaProject':!![],'validOpts':[a40q(0x165),a40q(0x162),a40q(0x160),a40q(0x181)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a40q(0x173),'examples':[a40q(0x18b),a40q(0x176),a40q(0x168)]},async function(a,b){const r=a40q,c=this[r(0x16c)]['getProjectConfig'](),d=r(0x163),e=this[r(0x16c)][r(0x177)](d),f=this[r(0x16c)][r(0x17c)]({'configPath':e}),g=b[r(0x162)]?Number(b[r(0x162)]):0xbb8,h=b[r(0x160)]?Number(b['listenPort']):0xd73,i=b[r(0x181)]?b[r(0x181)]:r(0x183),j=a40f[r(0x184)](f,c[r(0x170)]+'.key'),k=a40f[r(0x184)](f,c[r(0x170)]+r(0x182));if(!this[r(0x16c)][r(0x188)](j)||!this['fsi'][r(0x188)](k)){const m=a40h['findGenerator'](r(0x187));m&&await m[r(0x171)]([r(0x187)],{'env':d}),SSL[r(0x185)]({'keyName':c['appName']+r(0x169),'csrName':c['appName']+'.csr','cwd':f}),SSL[r(0x15f)]({'keyName':c[r(0x170)]+r(0x169),'crtName':c[r(0x170)]+'.crt','cwd':f});}if(g===h){Log['error'](r(0x174));throw new UsageError();}const l={'ssl':{'key':a40e[r(0x178)](j,r(0x172)),'cert':a40e[r(0x178)](k,r(0x172))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a40g['createProxyServer'](l)[r(0x15e)](Number(h)),Log[r(0x166)](r(0x189)+h+r(0x16f)+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 a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a41d(a,b);}(function(a,b){const n=a41d,c=a();while(!![]){try{const d=-parseInt(n(0x1d1))/0x1+parseInt(n(0x1da))/0x2*(parseInt(n(0x1e7))/0x3)+-parseInt(n(0x1d0))/0x4*(parseInt(n(0x1ef))/0x5)+-parseInt(n(0x1ed))/0x6+parseInt(n(0x1f5))/0x7*(parseInt(n(0x1df))/0x8)+parseInt(n(0x1cc))/0x9*(parseInt(n(0x1d8))/0xa)+-parseInt(n(0x1db))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xd9a46));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a['toString']()[p(0x1ea)](p(0x1d3))['toString']()[p(0x1f4)](a41a)[p(0x1ea)](p(0x1d3));});a41a();import a41e from'fs';import a41f from'path';import{Command}from'../command.js';function a41c(){const s=['6AgvxQl','ssh','reconfig','search','scp','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','8109996TiOqFh','Reconfigure\x20your\x20deployed\x20applications','1065IARyLB','apply','Checking\x20remote\x20host\x20availability','~/pm2.config.js','Remote\x20host\x20connection\x20successful','constructor','581NhdjFP','getConfigPath','\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','_keys','~/ses.json','1746AxASnr','join','toString','assign','5932mQJIPW','1219195etUOgZ','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','(((.+)+)+)+$','fsi','pm2\x20delete\x20all','env','existsSync','81680YoOmUj','success','1111186fGJefi','3941190zdknjD','notice','parse','~/settings.json','138864rFQAng','create','pm2.config.js','ssh.json','maka\x20reconfig','error','ses.json','maka\x20reconfig\x20--env\x20prod'];a41c=function(){return s;};return a41c();}import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a41q(0x1e0)]({'name':a41q(0x1e9),'validOpts':[''],'requiredOpts':[a41q(0x1d6)],'mustBeInMakaProject':!![],'usage':a41q(0x1e3),'shortDesc':a41q(0x1ee),'description':a41q(0x1f7),'examples':[a41q(0x1e6)]},async function(a,b){const r=a41q;try{const c=this[r(0x1d4)][r(0x1f6)](b[r(0x1d6)]),d=a41f[r(0x1cd)](c,r(0x1e2)),f=a41e['readFileSync'](d)[r(0x1ce)](),g=JSON[r(0x1dd)](f);Object[r(0x1cf)](g,{'env':c}),Log[r(0x1dc)](r(0x1f1));const h=SSH['ping']('uname\x20-a',g);if(!h)throw r(0x1ec);if(h)Log[r(0x1d9)](r(0x1f3));const i=a41f['join'](c,r(0x1f8),r(0x1e5));if(a41e[r(0x1d7)](i)){const l={'source':i,'dest':r(0x1f9),'verbose':!![]};SSH[r(0x1eb)](l,{...g});}const j=a41f[r(0x1cd)](c,r(0x1e1));SSH[r(0x1eb)]({'source':j,'dest':r(0x1f2),'verbose':!![]},{...g});const k=a41f[r(0x1cd)](c,'settings.json');SSH[r(0x1eb)]({'source':k,'dest':r(0x1de),'verbose':!![]},{...g}),SSH['sshSync'](r(0x1d5),g),await SSH[r(0x1e8)](r(0x1d2),{...g},{'verbose':!![]});}catch(m){console[r(0x1e4)](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(0x1b6))/0x1*(-parseInt(f(0x1b3))/0x2)+-parseInt(f(0x1ab))/0x3*(-parseInt(f(0x1b7))/0x4)+-parseInt(f(0x1af))/0x5+parseInt(f(0x1b0))/0x6*(parseInt(f(0x1b4))/0x7)+parseInt(f(0x1b8))/0x8*(parseInt(f(0x1b1))/0x9)+-parseInt(f(0x1aa))/0xa*(parseInt(f(0x1b9))/0xb)+-parseInt(f(0x1b5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xea05d));var a42b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a42d;if(c){var e=c[g(0x1ad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){var h=a42d;return a42a['toString']()['search'](h(0x1a9))[h(0x1ae)]()[h(0x1b2)](a42a)[h(0x1ac)](h(0x1a9));});a42a();function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0x1a9;var f=c[d];return f;},a42d(a,b);}import'./run.command.js';function a42c(){var i=['510wCTVSo','9qrQwOZ','constructor','545656busZMY','145243MtHMdm','5763804cMcvVN','3kFQOrw','19768qTKwii','14876272Nmjflo','1585617gibKGU','(((.+)+)+)+$','20QnAmJc','417XSyFaU','search','apply','toString','8822425CsfbMr'];a42c=function(){return i;};return a42c();}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(0x1a3))/0x1+parseInt(i(0x196))/0x2*(-parseInt(i(0x185))/0x3)+-parseInt(i(0x195))/0x4*(-parseInt(i(0x188))/0x5)+-parseInt(i(0x1a2))/0x6+parseInt(i(0x192))/0x7+parseInt(i(0x18b))/0x8*(parseInt(i(0x198))/0x9)+parseInt(i(0x191))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xe7bb4));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a43d;if(c){const e=c[j(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const k=a43d;return a43a[k(0x199)]()[k(0x19e)](k(0x19b))[k(0x199)]()[k(0x189)](a43a)['search']('(((.+)+)+)+$');});a43a();import a43e from'./run.command.js';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x184;let f=c[d];return f;},a43d(a,b);}import{execSync}from'child_process';import a43f from'path';import a43g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';function a43c(){const n=['765fcqprX','constructor','inherit','8OFRJvI','docker','\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','maka\x20run\x20docker','Docker\x20Compose\x20Path:\x20','appName','9418250abpKyv','12653585VVzHlx','getConfigPath','join','48704ZpysiM','78vQnRdC','pm2.config.js','6065181lbPUIP','toString','apply','(((.+)+)+)+$','fsi','notice','search','exit','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','existsSync','5454822BDJLlu','1696486SJGsMk','docker-compose\x20--project-directory\x20','templateContent','133194pVGqqh','docker-compose.yaml','createFile'];a43c=function(){return n;};return a43c();}import{paramCase}from'change-case';Command['create']({'name':a43l(0x18c),'aliases':['d'],'shortDesc':a43l(0x1a0),'description':a43l(0x18d),'usage':a43l(0x18e),'validOpts':['']},async function(){const m=a43l;try{const a=this[m(0x19c)]['getProjectConfig'](),b=this['fsi'][m(0x193)](m(0x18c)),c=a43f[m(0x194)](b,m(0x186)),d=a43f[m(0x194)](b,m(0x197));Log[m(0x19d)]('PM2\x20Config\x20File:\x20'+d),Log[m(0x19d)](m(0x18f)+c);if(!a43g[m(0x1a1)](c)){const f={'app':a[m(0x190)],'appFileCase':paramCase(a[m(0x190)])},g=this[m(0x19c)][m(0x184)]({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this['fsi'][m(0x187)]({'filePath':c,'data':g});}execSync(m(0x1a4)+b+'\x20up\x20--remove-orphans',{'stdio':m(0x18a)});}catch(h){process[m(0x19f)](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 a44t=a44d;(function(a,b){const q=a44d,c=a();while(!![]){try{const d=-parseInt(q(0xaf))/0x1*(-parseInt(q(0x8b))/0x2)+-parseInt(q(0xb7))/0x3+-parseInt(q(0xc0))/0x4+parseInt(q(0xaa))/0x5+-parseInt(q(0xc8))/0x6+parseInt(q(0xa4))/0x7*(parseInt(q(0xb9))/0x8)+-parseInt(q(0xc2))/0x9*(-parseInt(q(0x8e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x4bfa9));const a44b=(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;};}()),a44a=a44b(this,function(){const r=a44d;return a44a[r(0xae)]()[r(0xa3)](r(0xc1))[r(0xae)]()[r(0xb4)](a44a)[r(0xa3)](r(0xc1));});a44a();import a44e from'path';import a44f from'fs';import a44g from'dotenv';function a44c(){const w=['constructor','warn','splice','392103PKFdxv','notice','402704BdNZXr','--production','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','openSync','split','runSubCommand','verbose','1815256cqhnPc','(((.+)+)+)+$','117RQvifu','app','mobileServer','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)','join','config','1140108LJugYV','isFile','.meteor','env','40594xuHbrT','sep','findProjectDirectory','207040ctkiZH','concat','mobile-server','exclude-archs','settings','create','local','inspect','isDirectory','Node\x20Env\x20Config:\x20','\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.','invokeMeteorCommand','docker','fsi','length','push','development','slice','production','Meteor\x20Settings:\x20','run','search','28gWeKIK','settings.json','extraPackages','findSubCommand','port','rawLogs','2771735Bwwrvk','cordova-build','--env','exit','toString','3jKcurx','process.env','compareMakaToLatest','ios','filter'];a44c=function(){return w;};return a44c();}import{rimraf}from'rimraf';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x8b;let f=c[d];return f;},a44d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a44d;a44f[s(0xbc)](a,'r'),a44g[s(0xc7)]({'path':a});},Run=Command[a44t(0x93)]({'name':a44t(0xa2),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a44t(0x98),'validOpts':[a44t(0xcb),'docker','r',a44t(0xa9),'p',a44t(0xa8),'i',a44t(0x95),'m',a44t(0xc4),'v',a44t(0xbf),'allowIncompatibleUpdate',a44t(0xa6),'x',a44t(0x91),'production']},async function(a,b){const u=a44t;try{const c=a[0x0],d=this[u(0xa7)](c);d&&this[u(0xbe)](c,a,b);if(c===u(0xb2)){const m=this['fsi'][u(0x8d)](),n=a44e[u(0xc6)](m,u(0xc3),u(0xca),u(0x94),u(0xab));this[u(0x9b)][u(0x96)](n)&&await rimraf(n);}if(b['mobile-server']&&b[u(0x90)]===!![]||b['m']&&b['m']===!![])throw u(0xc5);await this[u(0x9b)][u(0xb1)]();const f=b['env']?b[u(0xcb)]:u(0x9e),g=this[u(0x9b)]['getConfigPath'](f),h=a44e[u(0xc6)](g,u(0xb0));let i=a44e[u(0xc6)](g,u(0xa5));b['settings']?i=b[u(0x92)]:i=a44e['join'](g,'settings.json');if(this[u(0x9b)][u(0xc9)](h)&&!b[u(0x9a)])Log[u(0xb8)](u(0x97)+h),syncSource(h);else!b[u(0x9a)]&&Log[u(0xb5)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this['fsi'][u(0xc9)](i)?(Log[u(0xb8)](u(0xa1)+i),a=a['concat'](['--settings',i])):Log[u(0xb5)](u(0xbb)+i);const j=g[u(0xbd)](a44e[u(0x8c)]),k=j[j[u(0x9c)]-0x1];k===u(0xa0)&&a[u(0x9d)](u(0xba));const l=process['argv'][u(0x9f)](0x2)[u(0xb3)](o=>o!==u(0xa2))[u(0xb3)](o=>o!==a[0x0]);l['forEach']((o,p)=>{const v=u;o===v(0xac)&&l[v(0xb6)](p,0x2),o==='-e'&&l[v(0xb6)](p,0x2);}),this['fsi'][u(0x99)](u(0xa2),a[u(0x8f)](l));}catch(o){console['error'](o),process[u(0xad)](0x1);}});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(0x1d7))/0x1*(parseInt(f(0x1d3))/0x2)+parseInt(f(0x1d2))/0x3*(-parseInt(f(0x1cd))/0x4)+-parseInt(f(0x1d8))/0x5+-parseInt(f(0x1d5))/0x6*(-parseInt(f(0x1d4))/0x7)+parseInt(f(0x1d1))/0x8+parseInt(f(0x1cc))/0x9+parseInt(f(0x1ce))/0xa*(parseInt(f(0x1d9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xcb601));var a45b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){var g=a45d;return a45a[g(0x1cf)]()['search']('(((.+)+)+)+$')[g(0x1cf)]()[g(0x1d6)](a45a)['search'](g(0x1d0));});a45a();function a45d(a,b){var c=a45c();return a45d=function(d,e){d=d-0x1cc;var f=c[d];return f;},a45d(a,b);}import'./set.command.js';function a45c(){var h=['10676640rzSzCB','297JdaxGb','117030kLQpPJ','287yhafds','147114DsptVU','constructor','25Hhkgdg','3425655WUrhKN','748sXKEBk','5557563mcjxhi','45652dtoIpL','169640VWQems','toString','(((.+)+)+)+$'];a45c=function(){return h;};return a45c();}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 a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x157;let f=c[d];return f;},a46d(a,b);}const a46k=a46d;function a46c(){const m=['allowInsecure','(((.+)+)+)+$','cacert','error','76135wKPRMx','Set\x20global\x20Maka-CLI\x20settings','isFile','390435YIpcmT','maka\x20set:gc\x20--insecure\x20<path>','workspace','search','toString','1456900ByqfnZ','\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','exit','499152ylnTSj','setGlobalConfig','466842oHblXE','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','boolean','isDirectory','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','487734pXwUTb','One\x20or\x20the\x20other\x20buddy','89865uIvpEd','global-config','Set\x20CA\x20Cert\x20Path:\x20','resolve','Set\x20allowInsecure:\x20','18YrErum','maka\x20set:gc\x20--workspace\x20<path>','fsi','44HrcWZT','create','success','14wQYAEZ','help','disallowInsecure','Could\x20not\x20find\x20directory','12XtJWzL','apply','maka\x20set:global-config\x20--cacert\x20<path>'];a46c=function(){return m;};return a46c();}(function(a,b){const h=a46d,c=a();while(!![]){try{const d=-parseInt(h(0x171))/0x1+-parseInt(h(0x17e))/0x2+parseInt(h(0x174))/0x3+parseInt(h(0x16a))/0x4*(parseInt(h(0x15b))/0x5)+parseInt(h(0x159))/0x6*(-parseInt(h(0x166))/0x7)+parseInt(h(0x17c))/0x8*(-parseInt(h(0x160))/0x9)+parseInt(h(0x179))/0xa*(parseInt(h(0x163))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x297ae));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a46d;if(c){const e=c[i(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const j=a46d;return a46a[j(0x178)]()[j(0x177)](j(0x16e))['toString']()['constructor'](a46a)[j(0x177)](j(0x16e));});a46a();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(0x164)]({'name':a46k(0x15c),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a46k(0x16f),'allowInsecure',a46k(0x168),a46k(0x176),a46k(0x167)],'shortDesc':a46k(0x172),'description':a46k(0x17a),'examples':[a46k(0x16c),a46k(0x175),a46k(0x161)]},async function(a,b){const l=a46k;try{if(b[l(0x16f)]){if(this[l(0x162)][l(0x173)](b[l(0x16f)]))this[l(0x162)][l(0x17d)]({'cert':b[l(0x16f)]}),Log['success'](l(0x15d)+b['cacert']);else{const c=typeof b['cacert']===l(0x180)?l(0x158):l(0x17f)+b[l(0x16f)];throw Log[l(0x170)](c);}}if(b['workspace']){const d=this[l(0x162)][l(0x157)](b[l(0x176)]);if(d)this[l(0x162)][l(0x17d)]({'workspace':a46e[l(0x15e)](b[l(0x176)])}),Log[l(0x165)]('Set\x20workspace:\x20'+a46e[l(0x15e)](b[l(0x176)]));else throw Log[l(0x170)](l(0x169));}if(b['allowInsecure']){if(b[l(0x16d)]&&b[l(0x168)])throw Log[l(0x170)](l(0x15a));let f=b['allowInsecure'];b['disallowInsecure']&&(f=![]),this['fsi'][l(0x17d)]({'allowInsecure':f}),Log[l(0x165)](l(0x15f)+f);}}catch(g){console[l(0x170)](g),process[l(0x17b)](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
- function a47c(){var j=['maka\x20set:lc\x20<opts>','2129498gmDMCT','toString','2865628LzPKkv','constructor','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','Set\x20local\x20maka\x20app\x20settings','496585BCUGiW','(((.+)+)+)+$','3892944LCkuEZ','18iKuLwk','2175318HNZoks','apply','local-config','create','maka\x20set:local-config\x20<opts>','50327cKDOdH','9206664gqMbYa'];a47c=function(){return j;};return a47c();}function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x88;var f=c[d];return f;},a47d(a,b);}var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x8a))/0x1*(-parseInt(f(0x96))/0x2)+parseInt(f(0x97))/0x3+-parseInt(f(0x8f))/0x4+parseInt(f(0x93))/0x5+parseInt(f(0x95))/0x6+parseInt(f(0x8d))/0x7+-parseInt(f(0x8b))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x58a9c));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a['toString']()['search']('(((.+)+)+)+$')[h(0x8e)]()[h(0x90)](a47a)['search'](h(0x94));});a47a();import a47e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47i(0x88)]({'name':a47i(0x99),'usage':a47i(0x89),'examples':[a47i(0x8c),'maka\x20set:local-config\x20<opts>'],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a47i(0x92),'validOpts':[],'description':a47i(0x91)},async function(){Log['notice']('Sorry,\x20not\x20implemented\x20yet');},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-0xd3;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0xe3))/0x1*(-parseInt(f(0xdf))/0x2)+-parseInt(f(0xd5))/0x3*(-parseInt(f(0xdb))/0x4)+-parseInt(f(0xe4))/0x5+-parseInt(f(0xd9))/0x6+parseInt(f(0xd8))/0x7+-parseInt(f(0xe7))/0x8+parseInt(f(0xe5))/0x9*(parseInt(f(0xe6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x20cb2));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']()[g(0xde)](g(0xe1))[g(0xd7)]()[g(0xdc)](a48a)[g(0xde)](g(0xe1));});a48a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a48h(0xda)]({'name':a48h(0xe2),'usage':a48h(0xe0),'minArgLength':0x1,'shortDesc':a48h(0xd3),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const i=a48h,c=a[0x0];if(b[i(0xd4)])throw new UsageError();const d=this[i(0xdd)](c);d&&this[i(0xd6)](c,a,b);});export default SetCommand;function a48c(){const j=['3OesFwM','runSubCommand','toString','1433712cEfayr','151830tSoEEj','create','422196DzfgOC','constructor','findSubCommand','search','10zsSeez','maka\x20set:<sub-command>\x20<opts>','(((.+)+)+)+$','set','53702KwnNvF','1267275iYJdLi','729YbLHmn','73260BCVDRb','1777432ndRmvY','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','help'];a48c=function(){return j;};return a48c();}
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 a49m=a49d;(function(a,b){const j=a49d,c=a();while(!![]){try{const d=-parseInt(j(0x197))/0x1+-parseInt(j(0x199))/0x2+parseInt(j(0x182))/0x3+parseInt(j(0x17f))/0x4+-parseInt(j(0x18a))/0x5*(-parseInt(j(0x185))/0x6)+-parseInt(j(0x18e))/0x7+-parseInt(j(0x18d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xb6deb));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a49d;if(c){const e=c[k(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const l=a49d;return a49a[l(0x183)]()['search']('(((.+)+)+)+$')[l(0x183)]()[l(0x191)](a49a)[l(0x18f)]('(((.+)+)+)+$');});a49a();import a49e from'fs';import a49f from'path';import{Command}from'../command.js';function a49c(){const o=['Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','800823VEvMBb','toString','length','96dIiTOP','error','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20<command>','assign','350605XBwWZX','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','1231584UlHdPm','9048627NaNqkl','search','sshSync','constructor','exit','ssh','apply','readFileSync','getConfigPath','197744fbKGDo','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','777584PxUipn','fsi','create','env','maka\x20ssh\x20--env\x20dev','5573212QICbsg'];a49c=function(){return o;};return a49c();}function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x17c;let f=c[d];return f;},a49d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a49m(0x17c)]({'name':a49m(0x193),'usage':a49m(0x188),'mustBeInMakaProject':!![],'requiredOpts':[a49m(0x17d)],'validOpts':['env','v'],'shortDesc':a49m(0x180),'examples':[a49m(0x17e),a49m(0x187),a49m(0x18b),a49m(0x181),a49m(0x18c),a49m(0x198)]},async function(a,b){const n=a49m;try{const c=this[n(0x19a)][n(0x196)](b[n(0x17d)]);let d='';a[n(0x184)]>0x0&&(d=a[0x0]);const f=a49f['join'](c,'ssh.json'),g=a49e[n(0x195)](f)['toString'](),h=JSON['parse'](g);Object[n(0x189)](h,{'env':c}),SSH[n(0x190)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x186)](i),process[n(0x192)](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(0x76))/0x1*(-parseInt(v(0xac))/0x2)+-parseInt(v(0x85))/0x3*(parseInt(v(0x9d))/0x4)+-parseInt(v(0x9e))/0x5+parseInt(v(0xa8))/0x6*(-parseInt(v(0xa5))/0x7)+-parseInt(v(0x7c))/0x8*(-parseInt(v(0xa0))/0x9)+-parseInt(v(0x7a))/0xa+parseInt(v(0xa1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x8016f));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a50d;if(c){const e=c[w(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const x=a50d;return a50a[x(0x93)]()[x(0x96)](x(0x9c))['toString']()['constructor'](a50a)[x(0x96)](x(0x9c));});function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x74;let f=c[d];return f;},a50d(a,b);}a50a();import a50e from'fs';import a50f from'path';function a50c(){const A=['apply','domains','success','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','exit','fsi','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','getConfigPath','2397639TiHwUx','Verifying\x20Letsencrypt\x20configuration','letsencrypt.json','domainNames','Email\x20to\x20use\x20for\x20auto-updates:\x20','appName','error','withSpinner','generate-ssc','getProjectConfig','[?]\x20Domains\x20to\x20register:\x20','Create\x20and\x20manage\x20your\x20SSL\x20operations.','ask','Remote\x20host\x20connection\x20successful','toString','maka\x20ssl\x20[command]','Checking\x20remote\x20host\x20availability','search','parse','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','New\x20CSR\x20written\x20to\x20','/ssh.json','maka\x20ssl\x20--env\x20dev\x20generate-csr','(((.+)+)+)+$','4MauIWO','4809365bextPr','existsSync','27GRGBoj','41496103vhENoT','notice','ssh','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','157787EstGoE','Using\x20saved\x20letsencrypt\x20config','env','174gSdvwo','letsencrypt','ssl','.key','19414BCcqDY','.csr','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','emailUpdate','generate-csr','email','genSSC','\x20--email\x20','create','1OSAHYP','join','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','.crt','10349580SAEGKd','start','564592dcIXVF'];a50c=function(){return A;};return a50c();}import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a50y(0x75)]({'name':a50y(0xaa),'usage':a50y(0x94),'validOpts':[a50y(0x7e),'email'],'requiredOpts':[a50y(0xa7)],'shortDesc':a50y(0x90),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a50y(0x9b),a50y(0xa4),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a50y,c=this['fsi'][z(0x8e)](),d=this[z(0x82)][z(0x84)](b['env']),f=this[z(0x82)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xb0))SSL['genCSR']({'keyName':c[z(0x8a)]+z(0xab),'csrName':c['appName']+z(0xad),'cwd':f});else{if(g===z(0x8d)){if(!a50e[z(0x9f)](a50f[z(0x77)](f,c[z(0x8a)]+z(0xab))))throw z(0x78)+a50f[z(0x77)](f,c['appName']+'.key');if(!a50e[z(0x9f)](a50f[z(0x77)](f,c[z(0x8a)]+'.csr')))throw z(0xae)+a50f[z(0x77)](f,c[z(0x8a)]+z(0xad));SSL[z(0xb2)]({'keyName':c[z(0x8a)]+z(0xab),'crtName':c[z(0x8a)]+z(0x79),'cwd':f}),Log[z(0xa2)](z(0x99)+f);}else{if(g===z(0xa9)){let h=b[z(0x7e)],i=b[z(0xb1)];try{const p=a50e['readFileSync'](a50f[z(0x77)](d,z(0x87)))[z(0x93)](),q=JSON[z(0x97)](p);h=b[z(0x7e)]?b[z(0x7e)]:q[z(0x88)],i=b[z(0xb1)]?b['email']:q[z(0xaf)],(!b[z(0xb1)]||!b['domains'])&&Log[z(0xa2)](z(0xa6));}catch(r){}const j=JSON[z(0x97)](a50e['readFileSync'](d+z(0x9a))[z(0x93)]());Object['assign'](j,{'env':d}),Log[z(0xa2)](z(0x95));try{const s=SSH['ping']('uname\x20-a',j);if(!s)throw z(0x83);if(s)Log['success'](z(0x92));}catch(t){Log['error'](t);return;}const k=Log[z(0x8c)]();k[z(0x7b)](z(0x86)),SSH[z(0xa3)](z(0x98),{...j}),SSH[z(0xa3)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH['ssh'](z(0x80),{...j}),k[z(0x7f)]();const l=h?h:await Actions[z(0x91)](z(0x8f)),m=i?i:await Actions[z(0x91)](z(0x89));SSH[z(0xa3)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0x74)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a50e['writeFileSync'](a50f['join'](d,z(0x87)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x8b)](u),process[z(0x81)](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 a51p=a51d;(function(a,b){const m=a51d,c=a();while(!![]){try{const d=parseInt(m(0x19d))/0x1*(-parseInt(m(0x196))/0x2)+parseInt(m(0x197))/0x3+parseInt(m(0x1a7))/0x4+-parseInt(m(0x1c3))/0x5+-parseInt(m(0x18c))/0x6*(parseInt(m(0x1aa))/0x7)+-parseInt(m(0x194))/0x8*(-parseInt(m(0x189))/0x9)+parseInt(m(0x1bc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xa878e));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a51d;if(c){const e=c[n(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const o=a51d;return a51a[o(0x1ae)]()[o(0x1c0)](o(0x1b6))[o(0x1ae)]()['constructor'](a51a)[o(0x1c0)](o(0x1b6));});a51a();import a51e from'fs';import a51f from'path';import a51g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a51c(){const s=['rawLogs','env','parse','sanjo:jasmine','testAppPath','packages','splice','meteortesting:mocha','158328lmRbWm','--packages','invokeMeteorCommand','6121941idQaaj','Cannot\x20find\x20Node\x20Environment\x20File:\x20','utf8','--driver','toString','warn','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Meteor\x20Settings:\x20','.maka','Node\x20Env\x20Config:\x20','exit','create','(((.+)+)+)+$','unit','once','config.json','test','join','37895430DWbaDK','getConfigPath','--driver-package','--full-app','search','readFileSync','process.env','6207735OwgArA','driver','fsi','inspect','driverPackage','297ptHChH','none','driver-package','6ZPQjRa','forEach','jasmine','concat','error','development','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','35032DFDUPb','--env','1366rcKFzZ','253437KKGTMv','notice','slice','apply','port','findProjectDirectory','1833cxjwZr','isFile'];a51c=function(){return s;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x189;let f=c[d];return f;},a51d(a,b);}const syncSource=function(a){a51e['openSync'](a,'r'),a51g['config']({'path':a});};Command[a51p(0x1b5)]({'name':'test','mustBeInMakaProject':!![],'validOpts':['once',a51p(0x1a4),'driver',a51p(0x1c7),a51p(0x1b7),a51p(0x1a0),a51p(0x19f),a51p(0x19b),a51p(0x1c6),a51p(0x1a3)],'usage':'maka\x20test\x20<opts>','shortDesc':a51p(0x193),'examples':[]},function(a,b){const q=a51p;try{let c=this['fsi']['getConfigPath'](q(0x191));b[q(0x1a0)]&&(c=this[q(0x1c5)][q(0x1bd)](b[q(0x1a0)]));(!b[q(0x1b7)]||!!b[q(0x1b8)])&&(a=a[q(0x18f)]([q(0x1bf)]));b[q(0x1b7)]&&delete b['unit'];let d=b[q(0x18b)]||b[q(0x1c4)]||'none';if(d===q(0x18a)){const j=JSON[q(0x1a1)](a51e[q(0x1c1)](a51f['join'](this[q(0x1c5)][q(0x19c)](),q(0x1b2),q(0x1b9)),q(0x1ac)));if(j['engines'][q(0x1ba)]===q(0x18e))d=q(0x1a2);else j['engines'][q(0x1ba)]==='mocha'&&(d=q(0x1a6));}if(d==='none')throw q(0x192);(!b['driver-package']||!b[q(0x1c4)])&&(a=a['concat']([q(0x1be),d]));const f=a51f[q(0x1bb)](c,'settings.json');this[q(0x1c5)]['isFile'](f)?(Log[q(0x198)](q(0x1b1)+f),a=a[q(0x18f)](['--settings',f])):Log['warn'](q(0x1b0)+f);const g=a51f[q(0x1bb)](c,q(0x1c2));this[q(0x1c5)][q(0x19e)](g)?(Log[q(0x198)](q(0x1b3)+g),syncSource(g)):Log[q(0x1af)](q(0x1ab)+g);const h=process['argv'][q(0x199)](0x2)['filter'](k=>k!==q(0x195))['filter'](k=>k!==q(0x1ba))['filter'](k=>k!==a[0x0]);h[q(0x18d)]((k,l)=>{const r=q;(k===r(0x195)||k===r(0x1ad))&&h[r(0x1a5)](l,0x2),k===r(0x1a8)&&h['splice'](l,0x1);});const i=b[q(0x1a4)]?'test-packages':q(0x1ba);this['fsi'][q(0x1a9)](i,a[q(0x18f)](h));}catch(k){console[q(0x190)](k),process[q(0x1b4)](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);}});