@maka/maka-cli 4.5.14 → 4.5.16

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 (108) 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/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/sideQuest/commands.js +1 -0
  27. package/bundle/obf/src/commands/game/sideQuest/door.js +1 -0
  28. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -0
  29. package/bundle/obf/src/commands/game/sideQuest/items.js +1 -0
  30. package/bundle/obf/src/commands/game/sideQuest/player.js +1 -0
  31. package/bundle/obf/src/commands/game/sideQuest/puzzles.js +1 -0
  32. package/bundle/obf/src/commands/game/sideQuest/room.js +1 -0
  33. package/bundle/obf/src/commands/game/sideQuest/rooms.js +1 -0
  34. package/bundle/obf/src/commands/game/sideQuest/types.js +1 -0
  35. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -0
  36. package/bundle/obf/src/commands/game/sideQuest/utilities/eventBus.js +1 -0
  37. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -0
  38. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -0
  39. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  40. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  41. package/bundle/obf/src/commands/generate.js +1 -1
  42. package/bundle/obf/src/commands/get/_index.js +1 -1
  43. package/bundle/obf/src/commands/get/get.command.js +1 -1
  44. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  45. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  46. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  47. package/bundle/obf/src/commands/help.js +1 -1
  48. package/bundle/obf/src/commands/jsdoc.js +1 -1
  49. package/bundle/obf/src/commands/lint.js +1 -1
  50. package/bundle/obf/src/commands/login.js +1 -1
  51. package/bundle/obf/src/commands/logout.js +1 -1
  52. package/bundle/obf/src/commands/logs.js +1 -1
  53. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  54. package/bundle/obf/src/commands/murder.js +1 -1
  55. package/bundle/obf/src/commands/proxy.js +1 -1
  56. package/bundle/obf/src/commands/reconfig.js +1 -1
  57. package/bundle/obf/src/commands/run/_index.js +1 -1
  58. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  59. package/bundle/obf/src/commands/run/run.command.js +1 -1
  60. package/bundle/obf/src/commands/set/_index.js +1 -1
  61. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  62. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/set/set.command.js +1 -1
  64. package/bundle/obf/src/commands/ssh.js +1 -1
  65. package/bundle/obf/src/commands/ssl.js +1 -1
  66. package/bundle/obf/src/commands/test.js +1 -1
  67. package/bundle/obf/src/commands/version.js +1 -1
  68. package/bundle/obf/src/error.js +1 -1
  69. package/bundle/obf/src/generator.js +1 -1
  70. package/bundle/obf/src/generators/_index.js +1 -1
  71. package/bundle/obf/src/generators/api.js +1 -1
  72. package/bundle/obf/src/generators/collection.js +1 -1
  73. package/bundle/obf/src/generators/component.js +1 -1
  74. package/bundle/obf/src/generators/config.js +1 -1
  75. package/bundle/obf/src/generators/dbc.js +1 -1
  76. package/bundle/obf/src/generators/dockerfile.js +1 -1
  77. package/bundle/obf/src/generators/hook.js +1 -1
  78. package/bundle/obf/src/generators/kit.js +1 -1
  79. package/bundle/obf/src/generators/layout.js +1 -1
  80. package/bundle/obf/src/generators/maka.gen.js +1 -1
  81. package/bundle/obf/src/generators/methods.js +1 -1
  82. package/bundle/obf/src/generators/package.js +1 -1
  83. package/bundle/obf/src/generators/page.js +1 -1
  84. package/bundle/obf/src/generators/publish.js +1 -1
  85. package/bundle/obf/src/generators/route.js +1 -1
  86. package/bundle/obf/src/generators/service.js +1 -1
  87. package/bundle/obf/src/generators/services/_index.js +1 -1
  88. package/bundle/obf/src/generators/services/openssl.js +1 -1
  89. package/bundle/obf/src/generators/services/translation.js +1 -1
  90. package/bundle/obf/src/maka.js +1 -1
  91. package/bundle/obf/src/tool.js +1 -1
  92. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  93. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  94. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  95. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  96. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  97. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  98. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  99. package/bundle/obf/src/tools/https/https.class.js +1 -1
  100. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  101. package/bundle/obf/src/tools/log/log.class.js +1 -1
  102. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  103. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  104. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  105. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  106. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  107. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  108. package/package.json +5 -1
@@ -1 +1 @@
1
- const a26i=a26d;(function(a,b){const f=a26d,c=a();while(!![]){try{const d=parseInt(f(0x9c))/0x1*(-parseInt(f(0xab))/0x2)+-parseInt(f(0x9f))/0x3*(-parseInt(f(0xa6))/0x4)+parseInt(f(0xa4))/0x5+-parseInt(f(0xa3))/0x6*(parseInt(f(0xb8))/0x7)+parseInt(f(0xaa))/0x8+-parseInt(f(0xb4))/0x9+-parseInt(f(0xb0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a26c,0x6f2dc));const a26b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a26d;if(c){const e=c[g(0x9d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a26a=a26b(this,function(){const h=a26d;return a26a[h(0xb3)]()[h(0xa0)](h(0xb6))['toString']()[h(0xba)](a26a)['search']('(((.+)+)+)+$');});a26a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import a26e from'../generators/maka.gen.js';import{UsageError}from'../error.js';Command[a26i(0xb7)]({'name':a26i(0xb2),'aliases':['g'],'usage':a26i(0xbc),'validOpts':[a26i(0xbb),a26i(0xae),a26i(0xa9)],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':a26i(0xad),'description':a26i(0xa5),'examples':[a26i(0xa2),'maka\x20g:scaffold\x20todos',a26i(0x9e),a26i(0xa8),a26i(0xa1),'maka\x20g:api\x20trucks',a26i(0xb1)]},async function(a,b){const j=a26i,c=a[0x0],d=a26e['findGenerator'](c);if(!d){b[j(0xa9)]?(Log[j(0xb5)]('Generators:'),a26e[j(0xa7)]()):Log[j(0x9b)](j(0xb9));throw new UsageError();}await d[j(0xac)](a[j(0xaf)](0x1),b);});function a26d(a,b){const c=a26c();return a26d=function(d,e){d=d-0x9b;let f=c[d];return f;},a26d(a,b);}function a26c(){const k=['11fJrRnc','apply','maka\x20g:template\x20todos/todo_item','3WJJuhZ','search','maka\x20g:route\x20todos/edit','maka\x20generate:scaffold\x20todos','149826eZRGRm','1955370IDwMJQ','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','3536004hDVeim','listGenerators','maka\x20g:package\x20package:name','help','5345536OrWUfN','125666ehwOcF','invoke','Scaffold\x20various\x20parts\x20of\x20your\x20application','where','slice','167480NXcvOp','maka\x20g:dbc\x20geoserver\x20--type=pgsql','generate','toString','1850715vLvktL','notice','(((.+)+)+)+$','create','161Seyvfk','Could\x20not\x20find\x20generator','constructor','dir','maka\x20{generate,\x20g}:<generator>\x20<name>','error'];a26c=function(){return k;};return a26c();}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xfa))/0x1+-parseInt(f(0xfe))/0x2*(-parseInt(f(0xf4))/0x3)+-parseInt(f(0xf8))/0x4+parseInt(f(0xf9))/0x5+-parseInt(f(0xfc))/0x6*(-parseInt(f(0xfb))/0x7)+parseInt(f(0x104))/0x8+-parseInt(f(0x102))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xe6acf));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x10b)]()['search'](h(0xf5))[h(0x10b)]()[h(0x108)](a39a)[h(0xfd)]('(((.+)+)+)+$');});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xf3;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import a39e from'../generators/maka.gen.js';import{UsageError}from'../error.js';Command['create']({'name':a39i(0x105),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[a39i(0x103),a39i(0x101),a39i(0xf6)],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':a39i(0x107),'description':a39i(0x100),'examples':[a39i(0x10c),'maka\x20g:scaffold\x20todos',a39i(0xf7),'maka\x20g:package\x20package:name','maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(a,b){const j=a39i,c=a[0x0],d=a39e[j(0x10d)](c);if(!d){b[j(0xf6)]?(Log[j(0x10a)]('Generators:'),a39e[j(0x109)]()):Log['error'](j(0x106));throw new UsageError();}await d[j(0xf3)](a['slice'](0x1),b);});function a39c(){const k=['761780DRHHJc','14wPaEIe','1963212tHEDLg','search','2088808pxnRRV','apply','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','where','24101496fwmqtj','dir','11110168pfkKNm','generate','Could\x20not\x20find\x20generator','Scaffold\x20various\x20parts\x20of\x20your\x20application','constructor','listGenerators','notice','toString','maka\x20generate:scaffold\x20todos','findGenerator','invoke','3fJCVjO','(((.+)+)+)+$','help','maka\x20g:template\x20todos/todo_item','7399612lKbcIt','8116675LNlJAQ'];a39c=function(){return k;};return a39c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a27d,c=a();while(!![]){try{var d=-parseInt(f(0xdd))/0x1*(-parseInt(f(0xcf))/0x2)+-parseInt(f(0xd7))/0x3*(parseInt(f(0xd0))/0x4)+-parseInt(f(0xd8))/0x5+parseInt(f(0xd2))/0x6+parseInt(f(0xd3))/0x7*(parseInt(f(0xd6))/0x8)+parseInt(f(0xdf))/0x9*(-parseInt(f(0xda))/0xa)+-parseInt(f(0xd5))/0xb*(-parseInt(f(0xde))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a27c,0x7cb25));var a27b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a27d;if(c){var e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a27a=a27b(this,function(){var h=a27d;return a27a['toString']()[h(0xd9)](h(0xd4))[h(0xdc)]()[h(0xd1)](a27a)[h(0xd9)]('(((.+)+)+)+$');});function a27c(){var i=['apply','toString','110BDKrFs','2313348QFydGw','1097433gmSogp','14008hYKoZd','120bJCatU','constructor','1152210MLtVNx','6554058FnBtHZ','(((.+)+)+)+$','66vQhqkN','8fiMjcU','63789RDCcoN','4656500zWDhtT','search','80GqCITc'];a27c=function(){return i;};return a27c();}a27a();import'./get.command.js';import'./global.sub.cmd.js';function a27d(a,b){var c=a27c();return a27d=function(d,e){d=d-0xcf;var f=c[d];return f;},a27d(a,b);}import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';
1
+ (function(a,b){var f=a40d,c=a();while(!![]){try{var d=-parseInt(f(0x143))/0x1+parseInt(f(0x13f))/0x2*(-parseInt(f(0x144))/0x3)+-parseInt(f(0x146))/0x4+parseInt(f(0x145))/0x5*(-parseInt(f(0x147))/0x6)+parseInt(f(0x148))/0x7*(-parseInt(f(0x13d))/0x8)+parseInt(f(0x141))/0x9+parseInt(f(0x14a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x88d06));var a40b=(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;};}()),a40a=a40b(this,function(){var g=a40d;return a40a[g(0x142)]()['search'](g(0x149))[g(0x142)]()[g(0x140)](a40a)[g(0x13e)](g(0x149));});a40a();import'./get.command.js';import'./global.sub.cmd.js';function a40c(){var h=['(((.+)+)+)+$','24166860rqUJwd','8rUQmhZ','search','123784ooipCX','constructor','2701206FKXIvJ','toString','955069dhXqyu','12mURkSD','193615cJUzxx','3292508UXztDd','6WZDpzE','643601lmOWWb'];a40c=function(){return h;};return a40c();}function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x13d;var f=c[d];return f;},a40d(a,b);}import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';
@@ -1 +1 @@
1
- const a28i=a28d;function a28d(a,b){const c=a28c();return a28d=function(d,e){d=d-0x131;let f=c[d];return f;},a28d(a,b);}(function(a,b){const f=a28d,c=a();while(!![]){try{const d=-parseInt(f(0x132))/0x1*(-parseInt(f(0x136))/0x2)+parseInt(f(0x143))/0x3*(-parseInt(f(0x13e))/0x4)+parseInt(f(0x142))/0x5*(-parseInt(f(0x13d))/0x6)+parseInt(f(0x13b))/0x7+-parseInt(f(0x134))/0x8+parseInt(f(0x13a))/0x9+parseInt(f(0x144))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xcb43e));const a28b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a28d;if(c){const e=c[g(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a28a=a28b(this,function(){const h=a28d;return a28a[h(0x133)]()[h(0x135)]('(((.+)+)+)+$')[h(0x133)]()[h(0x138)](a28a)[h(0x135)](h(0x137));});a28a();import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{UsageErrorWithSubs}from'../../error.js';const GetCommand=Command['create']({'name':a28i(0x140),'usage':a28i(0x131),'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a28i(0x141),'validOpts':[]},async function(a,b){const j=a28i,c=a[0x0],d=this[j(0x13f)](c);if(d)this['runSubCommand'](c,a,b);else{Log[j(0x139)]('Sub-Command\x20not\x20found');throw new UsageErrorWithSubs();}});function a28c(){const k=['8816216wLIjNC','search','26CVmCEc','(((.+)+)+)+$','constructor','error','14924781fJwHep','7089537ONUtsS','apply','122226NUCrnw','92CVbaaC','findSubCommand','get','Get\x20various\x20Maka\x20variables\x20and\x20configurations','395JENOyu','89415trmRpH','5363820Vatlit','maka\x20get:<sub-command>','78611ypNbuf','toString'];a28c=function(){return k;};return a28c();}export default GetCommand;
1
+ const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x148))/0x1+-parseInt(f(0x14b))/0x2*(-parseInt(f(0x13f))/0x3)+-parseInt(f(0x149))/0x4+-parseInt(f(0x147))/0x5*(-parseInt(f(0x13c))/0x6)+parseInt(f(0x143))/0x7+parseInt(f(0x138))/0x8+-parseInt(f(0x146))/0x9*(parseInt(f(0x140))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x7c32b));function a41c(){const k=['runSubCommand','9MsZjAb','5yIVuSY','457299TzixOo','2562140xJBAsR','apply','78yHKISq','toString','5029232vcTepS','findSubCommand','error','(((.+)+)+)+$','5949618pvVLwH','maka\x20get:<sub-command>','get','45120ohpAAW','18684230qUagRB','create','Get\x20various\x20Maka\x20variables\x20and\x20configurations','2474899kjbVhU','search'];a41c=function(){return k;};return a41c();}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x137)]()[h(0x144)]('(((.+)+)+)+$')[h(0x137)]()['constructor'](a41a)[h(0x144)](h(0x13b));});a41a();import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{UsageErrorWithSubs}from'../../error.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x137;let f=c[d];return f;},a41d(a,b);}const GetCommand=Command[a41i(0x141)]({'name':a41i(0x13e),'usage':a41i(0x13d),'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a41i(0x142),'validOpts':[]},async function(a,b){const j=a41i,c=a[0x0],d=this[j(0x139)](c);if(d)this[j(0x145)](c,a,b);else{Log[j(0x13a)]('Sub-Command\x20not\x20found');throw new UsageErrorWithSubs();}});export default GetCommand;
@@ -1 +1 @@
1
- const a29i=a29d;(function(a,b){const f=a29d,c=a();while(!![]){try{const d=parseInt(f(0x182))/0x1+parseInt(f(0x17b))/0x2*(-parseInt(f(0x181))/0x3)+-parseInt(f(0x183))/0x4+parseInt(f(0x189))/0x5*(-parseInt(f(0x17d))/0x6)+-parseInt(f(0x185))/0x7+-parseInt(f(0x18d))/0x8+-parseInt(f(0x18b))/0x9*(-parseInt(f(0x18e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0x278c0));const a29b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a29d;if(c){const e=c[g(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){const h=a29d;return a29a[h(0x18c)]()[h(0x18a)](h(0x184))[h(0x18c)]()['constructor'](a29a)[h(0x18a)](h(0x184));});function a29c(){const k=['(((.+)+)+)+$','205401XibEuL','global-config','apply','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','15gDGETb','search','6848109xFppVz','toString','227008YXlJjO','10QXlhNk','getGlobalConfig','196534LrUilM','fsi','64068puIBOn','error','maka\x20get:global-config','exit','9MrzBLh','23442FsBmbc','951220FfyTwP'];a29c=function(){return k;};return a29c();}function a29d(a,b){const c=a29c();return a29d=function(d,e){d=d-0x17a;let f=c[d];return f;},a29d(a,b);}a29a();import a29e from'./get.command.js';import{Command}from'../../command.js';Command['create']({'name':a29i(0x186),'usage':a29i(0x17f),'aliases':['gc'],'shortDesc':a29i(0x188),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a29i;try{const a=await this[j(0x17c)][j(0x17a)]();console['log'](a);}catch(b){console[j(0x17e)](b),process[j(0x180)](0x0);}},a29e);
1
+ const a42i=a42d;function a42c(){const k=['2RxFQGm','(((.+)+)+)+$','350397ntKaJV','5MRImCG','global-config','log','error','exit','512255sebqRn','3969RxOpUD','fsi','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','109835ABEqyg','1062273cqpsfY','toString','apply','10NKIWeu','search','create','maka\x20get:global-config','6520392lEdITf','3629428ijgOpQ','15800DdGynd','1644choTDf'];a42c=function(){return k;};return a42c();}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x133))/0x1+-parseInt(f(0x12b))/0x2*(parseInt(f(0x120))/0x3)+-parseInt(f(0x128))/0x4+parseInt(f(0x12e))/0x5*(-parseInt(f(0x127))/0x6)+parseInt(f(0x11c))/0x7*(parseInt(f(0x129))/0x8)+parseInt(f(0x12d))/0x9*(-parseInt(f(0x123))/0xa)+parseInt(f(0x11f))/0xb*(parseInt(f(0x12a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x95a30));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x121)]()[h(0x124)](h(0x12c))['toString']()['constructor'](a42a)[h(0x124)](h(0x12c));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x11c;let f=c[d];return f;},a42d(a,b);}import a42e from'./get.command.js';import{Command}from'../../command.js';Command[a42i(0x125)]({'name':a42i(0x12f),'usage':a42i(0x126),'aliases':['gc'],'shortDesc':a42i(0x11e),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a42i;try{const a=await this[j(0x11d)]['getGlobalConfig']();console[j(0x130)](a);}catch(b){console[j(0x131)](b),process[j(0x132)](0x0);}},a42e);
@@ -1 +1 @@
1
- const a30i=a30d;(function(a,b){const f=a30d,c=a();while(!![]){try{const d=-parseInt(f(0x1c9))/0x1+parseInt(f(0x1c0))/0x2*(-parseInt(f(0x1c2))/0x3)+-parseInt(f(0x1c7))/0x4+parseInt(f(0x1cc))/0x5+parseInt(f(0x1c3))/0x6*(-parseInt(f(0x1cb))/0x7)+-parseInt(f(0x1c5))/0x8+parseInt(f(0x1c1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xd630a));const a30b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a30d;if(c){const e=c[g(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){const h=a30d;return a30a[h(0x1bd)]()[h(0x1c6)](h(0x1be))['toString']()[h(0x1c4)](a30a)[h(0x1c6)]('(((.+)+)+)+$');});a30a();import a30e from'./get.command.js';function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a30d(a,b);}import{Command}from'../../command.js';Command['create']({'name':a30i(0x1cd),'usage':a30i(0x1ca),'mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':a30i(0x1bf),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const a=await this['fsi']['getProjectConfig']();console['log'](a);},a30e);function a30c(){const j=['3960633yiuvNC','75102aJsICK','constructor','11247608GoRDDG','search','4840224NtubAV','apply','64241wsZVbo','maka\x20get:local-config','616OjQvOZ','3567525ZrtOBb','local-config','toString','(((.+)+)+)+$','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','2DppWpG','47391948fxCSHo'];a30c=function(){return j;};return a30c();}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x82))/0x1*(-parseInt(f(0x81))/0x2)+parseInt(f(0x89))/0x3*(parseInt(f(0x79))/0x4)+-parseInt(f(0x7d))/0x5*(parseInt(f(0x87))/0x6)+-parseInt(f(0x7c))/0x7+parseInt(f(0x83))/0x8*(parseInt(f(0x7a))/0x9)+-parseInt(f(0x7b))/0xa+parseInt(f(0x88))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa3668));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0x84)]('(((.+)+)+)+$')[h(0x85)]()[h(0x80)](a43a)[h(0x84)]('(((.+)+)+)+$');});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x79;let f=c[d];return f;},a43d(a,b);}import a43e from'./get.command.js';import{Command}from'../../command.js';function a43c(){const k=['search','toString','fsi','6pbBCiL','21309123BmRYYN','29589PTuTug','maka\x20get:local-config','164vVcUTn','23409iYcifA','882940QESRgz','8358392IlSHsB','2320830ggbLHX','create','apply','constructor','2FhsbZT','120847kRnrfV','600ftvLkF'];a43c=function(){return k;};return a43c();}Command[a43i(0x7e)]({'name':'local-config','usage':a43i(0x8a),'mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':'Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a43i,a=await this[j(0x86)]['getProjectConfig']();console['log'](a);},a43e);
@@ -1 +1 @@
1
- const a31i=a31d;(function(a,b){const g=a31d,c=a();while(!![]){try{const d=-parseInt(g(0x1d2))/0x1*(parseInt(g(0x1d9))/0x2)+parseInt(g(0x1cd))/0x3*(parseInt(g(0x1ce))/0x4)+-parseInt(g(0x1e5))/0x5*(-parseInt(g(0x1e4))/0x6)+parseInt(g(0x1e6))/0x7+parseInt(g(0x1e1))/0x8+parseInt(g(0x1ea))/0x9+parseInt(g(0x1df))/0xa*(-parseInt(g(0x1e0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x2fd75));const a31b=(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;};}()),a31a=a31b(this,function(){const h=a31d;return a31a['toString']()[h(0x1cb)](h(0x1db))[h(0x1d8)]()[h(0x1d1)](a31a)[h(0x1cb)]('(((.+)+)+)+$');});function a31c(){const k=['23010ILGzVg','1182314kkLrTN','maka\x20get:whoami','token','create','301725NEJlvI','decode','search','getGlobalConfig','93SYkvAW','7472BBDZQy','hash','userId','constructor','82QABDba','whoami','user','User\x20Access\x20Token:\x20\x20','notice','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','toString','5758hhnMnD','fsi','(((.+)+)+)+$','error','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','authToken','144640sIpqoN','198Fccsdu','1210640aFuctB','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','join','366IFRrGl'];a31c=function(){return k;};return a31c();}function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x1ca;let f=c[d];return f;},a31d(a,b);}a31a();import a31e from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a31f from'jsonwebtoken';Command[a31i(0x1e9)]({'name':a31i(0x1d3),'usage':a31i(0x1e7),'shortDesc':a31i(0x1d7),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a31i;try{const a=await this[j(0x1da)][j(0x1cc)]();if(a['hash']){const b=a31f[j(0x1ca)](a[j(0x1cf)]);Log['notice'](j(0x1e2)+b?.[j(0x1d4)]),Log[j(0x1d6)]('User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+a[j(0x1e8)]?.[j(0x1d0)]),Log[j(0x1d6)](j(0x1d5)+a['token']?.[j(0x1de)]),Log[j(0x1d6)](j(0x1dd)+b?.['roles'][j(0x1e3)](',\x20'));}}catch(c){console[j(0x1dc)](c),process['exit'](0x0);}},a31e);
1
+ const a44j=a44d;(function(a,b){const g=a44d,c=a();while(!![]){try{const d=-parseInt(g(0x12d))/0x1*(parseInt(g(0x130))/0x2)+parseInt(g(0x11f))/0x3*(-parseInt(g(0x124))/0x4)+-parseInt(g(0x119))/0x5+parseInt(g(0x12c))/0x6+parseInt(g(0x120))/0x7+parseInt(g(0x127))/0x8+parseInt(g(0x128))/0x9*(parseInt(g(0x118))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x821b9));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a44d;if(c){const e=c[h(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const i=a44d;return a44a[i(0x122)]()[i(0x134)](i(0x125))[i(0x122)]()['constructor'](a44a)[i(0x134)](i(0x125));});a44a();import a44e from'./get.command.js';function a44c(){const l=['decode','token','4PJGlBv','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','user','search','roles','getGlobalConfig','569930kyUNWm','1354115NnfCAD','userId','notice','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','exit','96oulGOQ','6900824rLwuJU','fsi','toString','User\x20Access\x20Token:\x20\x20','132968uYCIAc','(((.+)+)+)+$','hash','3440472ftDQBB','63kRXaCN','authToken','create','apply','4884084PFvsrY','380684ZrgpeE'];a44c=function(){return l;};return a44c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a44f from'jsonwebtoken';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x116;let f=c[d];return f;},a44d(a,b);}Command[a44j(0x12a)]({'name':'whoami','usage':'maka\x20get:whoami','shortDesc':a44j(0x132),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const k=a44j;try{const a=await this[k(0x121)][k(0x117)]();if(a[k(0x126)]){const b=a44f[k(0x12e)](a[k(0x126)]);Log[k(0x11b)](k(0x11c)+b?.[k(0x133)]),Log[k(0x11b)](k(0x11d)+a['token']?.[k(0x11a)]),Log[k(0x11b)](k(0x123)+a[k(0x12f)]?.[k(0x129)]),Log[k(0x11b)](k(0x131)+b?.[k(0x116)]['join'](',\x20'));}}catch(c){console['error'](c),process[k(0x11e)](0x0);}},a44e);
@@ -1 +1 @@
1
- var a32i=a32d;(function(a,b){var f=a32d,c=a();while(!![]){try{var d=parseInt(f(0xd9))/0x1*(-parseInt(f(0xd1))/0x2)+-parseInt(f(0xd7))/0x3*(parseInt(f(0xcd))/0x4)+-parseInt(f(0xd6))/0x5*(parseInt(f(0xda))/0x6)+parseInt(f(0xc8))/0x7*(parseInt(f(0xcc))/0x8)+-parseInt(f(0xca))/0x9+-parseInt(f(0xd3))/0xa+parseInt(f(0xc7))/0xb*(parseInt(f(0xd4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x8ff07));var a32b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a32d;if(c){var e=c[g(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){var h=a32d;return a32a[h(0xd8)]()[h(0xd5)](h(0xd0))[h(0xd8)]()[h(0xcb)](a32a)[h(0xd5)](h(0xd0));});function a32d(a,b){var c=a32c();return a32d=function(d,e){d=d-0xc7;var f=c[d];return f;},a32d(a,b);}a32a();function a32c(){var j=['search','311930GllAiM','387UlHXdg','toString','104803iyLHoR','12EvgnFs','22ovocyA','7987YMsTms','apply','3198114kRcYAY','constructor','7256eumkSR','22284kBgKyF','Try,\x20maka\x20--help','create','(((.+)+)+)+$','2kUpiEx','help','178060zWMfni','5256444fBTwpR'];a32c=function(){return j;};return a32c();}import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a32i(0xcf)]({'name':a32i(0xd2),'description':a32i(0xce),'aliases':['h'],'validOpts':[],'shortDesc':'Deprecated:\x20use\x20--help\x20instead'},async function(){throw new UsageError();});
1
+ var a45h=a45d;(function(a,b){var f=a45d,c=a();while(!![]){try{var d=parseInt(f(0xa3))/0x1*(-parseInt(f(0x9f))/0x2)+parseInt(f(0xa9))/0x3*(-parseInt(f(0xac))/0x4)+parseInt(f(0x9d))/0x5*(-parseInt(f(0x9e))/0x6)+parseInt(f(0xa5))/0x7*(-parseInt(f(0xa2))/0x8)+-parseInt(f(0x9c))/0x9*(parseInt(f(0xad))/0xa)+-parseInt(f(0xa6))/0xb+-parseInt(f(0xaa))/0xc*(-parseInt(f(0xa7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x19aa5));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['toString']()[g(0x9b)](g(0xab))[g(0x9a)]()[g(0xa8)](a45a)[g(0x9b)]('(((.+)+)+)+$');});a45a();function a45c(){var i=['create','1391848xHPFlQ','1427xMbePR','Deprecated:\x20use\x20--help\x20instead','7aHAcOW','1014860JzujsU','25857qtgXQN','constructor','6oMIMSQ','4572oeaasL','(((.+)+)+)+$','194548wZanfo','10MWkOSy','help','toString','search','813609jAjakU','46585SDhZvA','60HBhCaT','148dMbGxD','Try,\x20maka\x20--help'];a45c=function(){return i;};return a45c();}import{Command}from'../command.js';import{UsageError}from'../error.js';function a45d(a,b){var c=a45c();return a45d=function(d,e){d=d-0x9a;var f=c[d];return f;},a45d(a,b);}Command[a45h(0xa1)]({'name':a45h(0xae),'description':a45h(0xa0),'aliases':['h'],'validOpts':[],'shortDesc':a45h(0xa4)},async function(){throw new UsageError();});
@@ -1 +1 @@
1
- const a33m=a33d;(function(a,b){const j=a33d,c=a();while(!![]){try{const d=parseInt(j(0xc9))/0x1+parseInt(j(0xc0))/0x2+-parseInt(j(0xcd))/0x3*(-parseInt(j(0xbe))/0x4)+-parseInt(j(0xcf))/0x5*(parseInt(j(0xc7))/0x6)+-parseInt(j(0xc3))/0x7*(parseInt(j(0xd9))/0x8)+-parseInt(j(0xd4))/0x9+-parseInt(j(0xc5))/0xa*(-parseInt(j(0xbb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x4dd57));function a33c(){const o=['constructor','5736762RsTCDj','pathFromProject','fsi','toString','\x0a[+]\x20Documentation\x20written\x20to\x20','1964216vEvoqB','logWithSpinner','plugins/markdown','create','search','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','jsdoc','Running\x20','maka\x20jsdoc','sep','maka\x20jsdoc\x20--init','14806TvgOyP','\x20-r\x20app','app/private','60eZnoMM','join','298072elaTQB','logError','docs','14iLlRRt','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','5530TDRGiz','app/node_modules','4188ouhQmu','apply','630420gmGgQQ','\x20-d\x20','\x20-c\x20','config','95679chOIil','stringify','3975eVTCLU','utf-8','logNotice','(((.+)+)+)+$'];a33c=function(){return o;};return a33c();}const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a33d;if(c){const e=c[k(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const l=a33d;return a33a[l(0xd7)]()[l(0xdd)](l(0xd2))[l(0xd7)]()[l(0xd3)](a33a)[l(0xdd)](l(0xd2));});a33a();function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0xba;let f=c[d];return f;},a33d(a,b);}import a33e from'path';import a33f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a33m(0xdc)]({'name':a33m(0xdf),'usage':a33m(0xe1),'mustBeInMakaProject':!![],'shortDesc':'Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','examples':[a33m(0xba),'maka\x20jsdoc'],'validOpts':[]},function(){const n=a33m,a=a33e[n(0xbf)](this['fsi'][n(0xd5)]({}),n(0xc2)+a33e[n(0xe2)]),b=a33e[n(0xbf)](this[n(0xd6)][n(0xd5)]({}),n(0xcc),'jsdoc-config.json'),c=this[n(0xd6)]['pathFromProject']({}),d=n(0xdf);if(!this['isFile'](b)){const g={'plugins':[n(0xdb)],'tags':{'allowUnknownTags':!![],'dictionaries':[n(0xdf),'closure']},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':n(0xde),'exclude':['app/packages',n(0xc6),'app/public',n(0xbd)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':n(0xd0)}};a33f['writeFileSync'](b,JSON[n(0xce)](g,null,0x4));}const f=this[n(0xda)](n(0xe0)+d);try{const h=d+n(0xcb)+b+n(0xbc)+a33e['sep']+n(0xca)+a;execSync(h,{'cwd':c,'stdio':'inherit'}),this[n(0xd1)](n(0xd8)+a);}catch(i){this[n(0xc1)](i),this[n(0xc1)](n(0xc4));}finally{f['stop']();}});
1
+ const a46m=a46d;function a46c(){const o=['create','stringify','368378MWAXgW','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','41459scwdlR','Running\x20','jsdoc','125oUVWrG','123399KxdrMn','\x20-r\x20app','987833mISeJd','30FeXnyV','logError','docs','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','61276fGcoDt','348ELjGDS','app/private','pathFromProject','maka\x20jsdoc','apply','3ergBgb','.+\x5c.(j|t)s(doc|x)?$','config','search','toString','\x0a[+]\x20Documentation\x20written\x20to\x20','863104IeqIXg','app/node_modules','fsi','stop','app/public','370KHbxTn','\x20-d\x20','constructor','join','maka\x20jsdoc\x20--init','logWithSpinner','sep','753491BDCUFX'];a46c=function(){return o;};return a46c();}(function(a,b){const j=a46d,c=a();while(!![]){try{const d=parseInt(j(0x1b9))/0x1+parseInt(j(0x1bc))/0x2*(-parseInt(j(0x1a7))/0x3)+-parseInt(j(0x1a1))/0x4*(parseInt(j(0x199))/0x5)+parseInt(j(0x19d))/0x6*(parseInt(j(0x19c))/0x7)+parseInt(j(0x1ad))/0x8+-parseInt(j(0x19a))/0x9*(parseInt(j(0x1b2))/0xa)+parseInt(j(0x196))/0xb*(parseInt(j(0x1a2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x92ecc));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a46d;if(c){const e=c[k(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const l=a46d;return a46a[l(0x1ab)]()['search']('(((.+)+)+)+$')[l(0x1ab)]()[l(0x1b4)](a46a)[l(0x1aa)]('(((.+)+)+)+$');});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x195;let f=c[d];return f;},a46d(a,b);}import a46e from'path';import a46f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a46m(0x1ba)]({'name':'jsdoc','usage':a46m(0x1a5),'mustBeInMakaProject':!![],'shortDesc':'Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','examples':[a46m(0x1b6),a46m(0x1a5)],'validOpts':[]},function(){const n=a46m,a=a46e[n(0x1b5)](this[n(0x1af)][n(0x1a4)]({}),n(0x19f)+a46e[n(0x1b8)]),b=a46e[n(0x1b5)](this[n(0x1af)][n(0x1a4)]({}),n(0x1a9),'jsdoc-config.json'),c=this[n(0x1af)][n(0x1a4)]({}),d=n(0x198);if(!this['isFile'](b)){const g={'plugins':['plugins/markdown'],'tags':{'allowUnknownTags':!![],'dictionaries':[n(0x198),'closure']},'source':{'includePattern':n(0x1a8),'excludePattern':n(0x195),'exclude':['app/packages',n(0x1ae),n(0x1b1),n(0x1a3)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};a46f['writeFileSync'](b,JSON[n(0x1bb)](g,null,0x4));}const f=this[n(0x1b7)](n(0x197)+d);try{const h=d+'\x20-c\x20'+b+n(0x19b)+a46e[n(0x1b8)]+n(0x1b3)+a;execSync(h,{'cwd':c,'stdio':'inherit'}),this['logNotice'](n(0x1ac)+a);}catch(i){this[n(0x19e)](i),this[n(0x19e)](n(0x1a0));}finally{f[n(0x1b0)]();}});
@@ -1 +1 @@
1
- const a34r=a34d;(function(a,b){const p=a34d,c=a();while(!![]){try{const d=parseInt(p(0xc8))/0x1*(-parseInt(p(0xba))/0x2)+parseInt(p(0xbf))/0x3*(parseInt(p(0xab))/0x4)+-parseInt(p(0xae))/0x5+-parseInt(p(0xc3))/0x6*(-parseInt(p(0xac))/0x7)+-parseInt(p(0xb0))/0x8+-parseInt(p(0xb7))/0x9*(parseInt(p(0xce))/0xa)+parseInt(p(0xc7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xbdf15));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const q=a34d;return a34a['toString']()[q(0xc2)](q(0xbe))[q(0xb2)]()['constructor'](a34a)['search']('(((.+)+)+)+$');});a34a();import a34e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xaa;let f=c[d];return f;},a34d(a,b);}function a34c(){const t=['334963ZgyDge','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','outputFixes','Lint\x20results\x20for\x20','checkNpmPackage','fix','170bEHrQA','stylish','lint','length','bright','join','/imports','maka\x20lint\x20--fix','\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','4Qlwqal','7pVVaJB','push','5201110OXBrSz','error','9693928eHIuud','fsi','toString','eslint/eslintrc.json','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','loadFormatter','eslint','764352kuIKTY','template','service','8sFLYuZ','eslint-plugin-react','eslint-plugin-css','maka\x20lint','(((.+)+)+)+$','2311584HiSbjX','.eslintrc.json','isFile','search','7831428mmdnkR','notice','installNpmPackage','format','41116130VDIClD'];a34c=function(){return t;};return a34c();}Command['create']({'name':a34r(0xd0),'usage':a34r(0xbd),'maxArgLength':0x1,'validOpts':[a34r(0xcd)],'mustBeInMakaProject':!![],'shortDesc':a34r(0xb4),'description':a34r(0xaa),'examples':[a34r(0xd5)]},async function(a,b){const s=a34r;try{const c=this['fsi']['findAppDirectory'](),d=this[s(0xb1)][s(0xcc)](s(0xb6)),f=this[s(0xb1)][s(0xcc)](s(0xbb)),g=this[s(0xb1)]['checkNpmPackage'](s(0xbc)),h=[];!d&&h[s(0xad)](s(0xb6));!f&&h[s(0xad)]('eslint-plugin-react');!g&&h[s(0xad)](s(0xbc));h['length']>0x0&&await this['fsi'][s(0xc5)](h[s(0xd3)]('\x20'),{'dev':!![]});const i=this['fsi'][s(0xc1)](a34e['join'](c,s(0xc0)));if(!i){const n={'noRename':!![]};await this[s(0xb1)][s(0xb8)]({'srcPath':s(0xb3),'destPath':a34e[s(0xd3)](c,'.eslintrc.json'),'framework':s(0xb9),'context':n});}const j=new ESLint(),k=await j['lintFiles']([a34e[s(0xd3)](c,'imports','**')]),l=await j[s(0xb5)](s(0xcf)),m=l[s(0xc6)](k);m[s(0xd1)]>0x0?Log[s(0xd2)](m):Log['success']('All\x20good!\x20:)'),Log[s(0xc4)](s(0xcb)+c+s(0xd4)),b[s(0xcd)]?await ESLint[s(0xca)](k):Log[s(0xc4)](s(0xc9));}catch(o){console[s(0xaf)](o);}});
1
+ const a47r=a47d;function a47c(){const t=['eslint-plugin-react','stylish','fix','10fKfDqK','outputFixes','join','lintFiles','push','eslint-plugin-css','3TplRqp','template','maka\x20lint','fsi','success','bright','isFile','\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','.eslintrc.json','2739499IWgrXI','notice','eslint','5107184rSmDWz','23845eDFmOj','constructor','816968iorzGe','checkNpmPackage','2243670EQJvXL','search','15568157GOMPpo','imports','2lTnDcA','length','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','5nKixJQ','2522007eYmfdw'];a47c=function(){return t;};return a47c();}(function(a,b){const p=a47d,c=a();while(!![]){try{const d=-parseInt(p(0xc8))/0x1*(parseInt(p(0xad))/0x2)+-parseInt(p(0xbb))/0x3*(-parseInt(p(0xca))/0x4)+-parseInt(p(0xb0))/0x5*(-parseInt(p(0xa9))/0x6)+parseInt(p(0xc4))/0x7+parseInt(p(0xc7))/0x8+parseInt(p(0xb1))/0x9*(parseInt(p(0xb5))/0xa)+-parseInt(p(0xab))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x6da09));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 q=a47d;return a47a['toString']()[q(0xaa)]('(((.+)+)+)+$')['toString']()[q(0xc9)](a47a)[q(0xaa)]('(((.+)+)+)+$');});a47a();function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xa8;let f=c[d];return f;},a47d(a,b);}import a47e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command['create']({'name':'lint','usage':a47r(0xbd),'maxArgLength':0x1,'validOpts':[a47r(0xb4)],'mustBeInMakaProject':!![],'shortDesc':a47r(0xaf),'description':a47r(0xc2),'examples':['maka\x20lint\x20--fix']},async function(a,b){const s=a47r;try{const c=this[s(0xbe)]['findAppDirectory'](),d=this[s(0xbe)]['checkNpmPackage']('eslint'),f=this[s(0xbe)][s(0xa8)](s(0xb2)),g=this[s(0xbe)][s(0xa8)]('eslint-plugin-css'),h=[];!d&&h[s(0xb9)](s(0xc6));!f&&h['push'](s(0xb2));!g&&h[s(0xb9)](s(0xba));h[s(0xae)]>0x0&&await this[s(0xbe)]['installNpmPackage'](h[s(0xb7)]('\x20'),{'dev':!![]});const i=this[s(0xbe)][s(0xc1)](a47e[s(0xb7)](c,s(0xc3)));if(!i){const n={'noRename':!![]};await this[s(0xbe)][s(0xbc)]({'srcPath':'eslint/eslintrc.json','destPath':a47e[s(0xb7)](c,s(0xc3)),'framework':'service','context':n});}const j=new ESLint(),k=await j[s(0xb8)]([a47e['join'](c,s(0xac),'**')]),l=await j['loadFormatter'](s(0xb3)),m=l['format'](k);m[s(0xae)]>0x0?Log[s(0xc0)](m):Log[s(0xbf)]('All\x20good!\x20:)'),Log[s(0xc5)]('Lint\x20results\x20for\x20'+c+'/imports'),b[s(0xb4)]?await ESLint[s(0xb6)](k):Log['notice']('Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix');}catch(o){console['error'](o);}});
@@ -1 +1 @@
1
- const a35z=a35d;(function(a,b){const w=a35d,c=a();while(!![]){try{const d=parseInt(w(0x147))/0x1*(-parseInt(w(0x15e))/0x2)+parseInt(w(0x131))/0x3*(-parseInt(w(0x167))/0x4)+-parseInt(w(0x139))/0x5*(parseInt(w(0x14d))/0x6)+parseInt(w(0x138))/0x7*(-parseInt(w(0x156))/0x8)+-parseInt(w(0x14c))/0x9*(parseInt(w(0x161))/0xa)+-parseInt(w(0x130))/0xb*(parseInt(w(0x155))/0xc)+parseInt(w(0x15a))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x37996));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a35d;if(c){const e=c[x(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const y=a35d;return a35a['toString']()['search']('(((.+)+)+)+$')[y(0x13a)]()[y(0x159)](a35a)[y(0x136)](y(0x13b));});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x12a;let f=c[d];return f;},a35d(a,b);}function a35c(){const B=['localhost','error','33ynvQsJ','204QUOsgT','sha256','authToken','getGlobalConfig','ask','search','email','14tltdJH','1156210xzUfwy','toString','(((.+)+)+)+$','setGlobalConfig','Logging\x20in','isFile','header','parse','get','start','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','password','/api/v1/login','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','39yCriqk','Preflight\x20Check','https://','update','exit','25875zKSyya','6DvgQuD','www.maka-cli.com','apply','debug','create','login','assign','Password:\x20','178596KwERTG','677800PeayRI','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','failure','constructor','11971089eotmHq','MAKA_DEV','Email:','notice','9384eeIexA','success','/api/v1/status','100TChDtJ','env','fsi','withSpinner','cacert','toHex','2120bKSZIb','maka\x20login','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','cert'];a35c=function(){return B;};return a35c();}import a35e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a35z(0x162)][a35z(0x15b)]==='True'?a35z(0x12e):a35z(0x14e);Command[a35z(0x151)]({'name':a35z(0x152),'validOpts':[a35z(0x137),a35z(0x144),'help','cacert',a35z(0x150)],'usage':a35z(0x168),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a35z(0x12c),'examples':['maka\x20login',a35z(0x12b)]},async function(a,b){const A=a35z,c=Log[A(0x164)]();try{let d='';b[A(0x165)]&&(this[A(0x163)][A(0x13e)](b[A(0x165)])?(d=b[A(0x165)],Log[A(0x15d)]('Using\x20CA\x20Cert\x20'+d)):Log[A(0x12f)](A(0x12a)+d));const f=await this[A(0x163)][A(0x134)]();if(f[A(0x12d)]){if(this[A(0x163)][A(0x13e)](f['cert']))d=f[A(0x12d)];else{Log[A(0x12f)](A(0x146)+d);return;}}Log[A(0x13f)]('Logging\x20into\x20https://'+hostname);const g={'url':A(0x149)+hostname+A(0x160)};b[A(0x165)]&&Object['assign'](g,{'cert':d});c[A(0x142)](A(0x148));const {statusCode:h}=await HTTPS[A(0x141)](g);if(h===0x198){c[A(0x158)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}if(h!==0xc8){c['failure']();throw A(0x149)+hostname+A(0x143);}c[A(0x15f)]();const i=b[A(0x137)]?b[A(0x137)]:await Actions[A(0x135)](A(0x15c)),j=b[A(0x144)]?b['password']:await Actions[A(0x135)](A(0x154),!![]),k=a35e['md'][A(0x132)][A(0x151)]();k[A(0x14a)](j);const l=k['digest']()[A(0x166)](),m={'hostname':hostname,'path':A(0x145),'data':{'email':i,'password':l,'hashed':!![]}};b['cacert']&&Object[A(0x153)](m,{'cert':d});c['start'](A(0x13d));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[A(0x158)]('\x0a');throw A(0x157)+hostname;}const p=JSON['parse'](n);if(p[A(0x133)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p['authToken']},'data':{}};b[A(0x165)]&&Object[A(0x153)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS['post'](q),{token:t}=JSON[A(0x140)](r);if(s===0x198)throw A(0x157)+hostname;const u={'token':p,'hash':t};this[A(0x163)][A(0x13c)](u);}else{c[A(0x158)]();throw p;}c[A(0x15f)]();}catch(v){c['failure'](),console['error'](v),process[A(0x14b)](0x0);}});
1
+ const a48z=a48d;(function(a,b){const w=a48d,c=a();while(!![]){try{const d=-parseInt(w(0x82))/0x1+-parseInt(w(0x9f))/0x2+parseInt(w(0x83))/0x3*(parseInt(w(0x9d))/0x4)+-parseInt(w(0x8b))/0x5*(parseInt(w(0xa1))/0x6)+parseInt(w(0x92))/0x7*(parseInt(w(0xa6))/0x8)+parseInt(w(0x9c))/0x9*(parseInt(w(0x6d))/0xa)+parseInt(w(0x6e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x7fd61));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a48d;if(c){const e=c[x(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const y=a48d;return a48a[y(0x84)]()['search'](y(0xa3))[y(0x84)]()[y(0x86)](a48a)[y(0xa4)]('(((.+)+)+)+$');});a48a();import a48e from'node-forge';import{Command}from'../command.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x6a;let f=c[d];return f;},a48d(a,b);}import{Log}from'../tools/log/log.class.js';function a48c(){const B=['https://','isFile','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','notice','assign','get','apply','login','/api/v1/status','create','/api/v1/login','291577Dwoott','182838jUbaTo','toString','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','constructor','cert','email','setGlobalConfig','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','5VWAOJC','post','Password:\x20','True','localhost','password','start','224308WQQTLD','ask','help','MAKA_DEV','Logging\x20in','update','env','fsi','digest','authToken','6947865RbdqlT','40Lwfiit','maka\x20login','1365534uPzwJT','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','4806078XFwHEd','parse','(((.+)+)+)+$','search','www.maka-cli.com','16ibSQtP','error','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','/api/v1/encodeJwt','debug','success','10ldXDQu','9387851dwqFce','sha256','cacert','failure','Logging\x20into\x20https://','Using\x20CA\x20Cert\x20','Email:','exit','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli'];a48c=function(){return B;};return a48c();}import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a48z(0x98)][a48z(0x95)]===a48z(0x8e)?a48z(0x8f):a48z(0xa5);Command[a48z(0x80)]({'name':a48z(0x7e),'validOpts':[a48z(0x88),'password',a48z(0x94),a48z(0x70),a48z(0x6b)],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a48z(0x8a),'examples':[a48z(0x9e),a48z(0x85)]},async function(a,b){const A=a48z,c=Log['withSpinner']();try{let d='';b[A(0x70)]&&(this[A(0x99)][A(0x78)](b[A(0x70)])?(d=b[A(0x70)],Log[A(0x7a)](A(0x73)+d)):Log[A(0xa7)](A(0xa0)+d));const f=await this[A(0x99)]['getGlobalConfig']();if(f[A(0x87)]){if(this[A(0x99)][A(0x78)](f['cert']))d=f['cert'];else{Log[A(0xa7)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log['header'](A(0x72)+hostname);const g={'url':A(0x77)+hostname+A(0x7f)};b[A(0x70)]&&Object[A(0x7b)](g,{'cert':d});c[A(0x91)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[A(0x7c)](g);if(h===0x198){c[A(0x71)]();throw A(0xa8);}if(h!==0xc8){c['failure']();throw'https://'+hostname+A(0x76);}c['success']();const i=b[A(0x88)]?b[A(0x88)]:await Actions[A(0x93)](A(0x74)),j=b[A(0x90)]?b[A(0x90)]:await Actions[A(0x93)](A(0x8d),!![]),k=a48e['md'][A(0x6f)][A(0x80)]();k[A(0x97)](j);const l=k[A(0x9a)]()['toHex'](),m={'hostname':hostname,'path':A(0x81),'data':{'email':i,'password':l,'hashed':!![]}};b['cacert']&&Object[A(0x7b)](m,{'cert':d});c[A(0x91)](A(0x96));const {data:n,statusCode:o}=await HTTPS[A(0x8c)](m);if(o===0x198){c['failure']('\x0a');throw A(0x79)+hostname;}const p=JSON[A(0xa2)](n);if(p[A(0x9b)]){const q={'hostname':hostname,'path':A(0x6a),'headers':{'x-auth-token':p[A(0x9b)]},'data':{}};b[A(0x70)]&&Object[A(0x7b)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x8c)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x79)+hostname;const u={'token':p,'hash':t};this['fsi'][A(0x89)](u);}else{c[A(0x71)]();throw p;}c[A(0x6c)]();}catch(v){c[A(0x71)](),console['error'](v),process[A(0x75)](0x0);}});
@@ -1 +1 @@
1
- const a36n=a36d;(function(a,b){const l=a36d,c=a();while(!![]){try{const d=parseInt(l(0x155))/0x1*(-parseInt(l(0x14a))/0x2)+-parseInt(l(0x15a))/0x3+-parseInt(l(0x142))/0x4*(parseInt(l(0x14f))/0x5)+parseInt(l(0x159))/0x6*(parseInt(l(0x15f))/0x7)+-parseInt(l(0x145))/0x8*(parseInt(l(0x135))/0x9)+-parseInt(l(0x15e))/0xa*(parseInt(l(0x134))/0xb)+-parseInt(l(0x15b))/0xc*(-parseInt(l(0x14e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x99d6b));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const m=a36d;return a36a['toString']()[m(0x154)](m(0x14c))['toString']()['constructor'](a36a)[m(0x154)](m(0x14c));});a36a();import{Command}from'../command.js';function a36c(){const p=['failure','search','1iOUjVU','www.maka-cli.com','exit','header','2694dyBmsY','1392555PCVNRa','1527264QgCdBC','withSpinner','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','10yFmNXv','1855zHRIxy','notice','authToken','12582691RCaiDd','105687VYVxKg','env','cacert','Logging\x20out','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','localhost','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','cert','Logging\x20out\x20of\x20https://','token','error','success','482052rGrhry','Preflight\x20Check','maka\x20logout','88xHXZmF','isFile','assign','setGlobalConfig','MAKA_DEV','661716Ophmou','fsi','(((.+)+)+)+$','start','325YChJFB','25BbtDmM','https://','get','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'];a36c=function(){return p;};return a36c();}import{Log}from'../tools/log/log.class.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x133;let f=c[d];return f;},a36d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36n(0x136)][a36n(0x149)]==='True'?a36n(0x13b):a36n(0x156);Command['create']({'name':'logout','validOpts':[a36n(0x137)],'usage':a36n(0x144),'maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a36n(0x144)]},async function(a,b){const o=a36n,c=Log[o(0x15c)]();try{let d='';b[o(0x137)]&&(this[o(0x14b)][o(0x146)](b['cacert'])?(d=b[o(0x137)],Log[o(0x160)]('Using\x20CA\x20Cert\x20'+d)):Log[o(0x140)](o(0x13a)+d));const f=await this['fsi']['getGlobalConfig']();if(f[o(0x13d)]){if(this['fsi']['isFile'](f[o(0x13d)]))d=f[o(0x13d)];else{c['failure']();throw Log['error'](o(0x152)+d);}}Log[o(0x158)](o(0x13e)+hostname);const g={'url':o(0x150)+hostname+'/api/v1/status'};b['cacert']&&Object[o(0x147)](g,{'cert':d});c[o(0x14d)](o(0x143));const {statusCode:h}=await HTTPS[o(0x151)](g);if(h===0x198){c[o(0x153)]();throw o(0x139);}c[o(0x141)]();if(h!==0xc8){c[o(0x153)]();throw o(0x13c);}if(!f?.[o(0x13f)]?.['authToken'])throw Log[o(0x140)](o(0x15d));c[o(0x14d)](o(0x138));const i={'hostname':hostname,'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':f[o(0x13f)][o(0x133)]}};b[o(0x137)]&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c['failure']('\x0a');throw o(0x139);}this[o(0x14b)][o(0x148)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console[o(0x140)](k),process[o(0x157)](0x0);}});
1
+ const a49o=a49d;(function(a,b){const l=a49d,c=a();while(!![]){try{const d=parseInt(l(0xf1))/0x1+-parseInt(l(0x11c))/0x2+parseInt(l(0x119))/0x3*(-parseInt(l(0xfa))/0x4)+parseInt(l(0xef))/0x5*(parseInt(l(0x118))/0x6)+parseInt(l(0x10c))/0x7*(parseInt(l(0xf9))/0x8)+parseInt(l(0x103))/0x9+-parseInt(l(0xf7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xaa4a7));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a49d;if(c){const e=c[m(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const n=a49d;return a49a[n(0xf3)]()[n(0x10a)]('(((.+)+)+)+$')[n(0xf3)]()[n(0xf8)](a49a)[n(0x10a)](n(0x120));});a49a();import{Command}from'../command.js';function a49c(){const q=['success','env','cert','error','2964NPlRUi','131778UTurgQ','failure','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','446558zXxiWD','MAKA_DEV','Using\x20CA\x20Cert\x20','authToken','(((.+)+)+)+$','setGlobalConfig','8045PJSpyc','getGlobalConfig','999141NmUPEK','isFile','toString','fsi','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','cacert','23910430bJLvuu','constructor','176OwjZZq','12DHbtyc','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','https://','post','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','assign','start','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','logout','9836622YpiUIA','notice','Logging\x20out','Logging\x20out\x20of\x20https://','withSpinner','www.maka-cli.com','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','search','maka\x20logout','177121VaWlvp','localhost','create','/api/v1/logoutAll','token','Preflight\x20Check','apply','/api/v1/status'];a49c=function(){return q;};return a49c();}import{Log}from'../tools/log/log.class.js';function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0xee;let f=c[d];return f;},a49d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a49o(0x115)][a49o(0x11d)]==='True'?a49o(0x10d):a49o(0x108);Command[a49o(0x10e)]({'name':a49o(0x102),'validOpts':['cacert'],'usage':a49o(0x10b),'maxArgLength':0x2,'shortDesc':a49o(0x109),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a49o,c=Log[p(0x107)]();try{let d='';b[p(0xf6)]&&(this[p(0xf4)]['isFile'](b[p(0xf6)])?(d=b[p(0xf6)],Log[p(0x104)](p(0x11e)+d)):Log[p(0x117)](p(0xfe)+d));const f=await this[p(0xf4)][p(0xf0)]();if(f['cert']){if(this['fsi'][p(0xf2)](f[p(0x116)]))d=f[p(0x116)];else{c[p(0x11a)]();throw Log[p(0x117)](p(0x101)+d);}}Log['header'](p(0x106)+hostname);const g={'url':p(0xfc)+hostname+p(0x113)};b[p(0xf6)]&&Object[p(0xff)](g,{'cert':d});c[p(0x100)](p(0x111));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0x11a)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x114)]();if(h!==0xc8){c[p(0x11a)]();throw p(0xf5);}if(!f?.[p(0x110)]?.['authToken'])throw Log[p(0x117)](p(0x11b));c[p(0x100)](p(0x105));const i={'hostname':hostname,'path':p(0x10f),'data':{},'headers':{'x-auth-token':f[p(0x110)][p(0x11f)]}};b[p(0xf6)]&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xfd)](i);if(j===0x198){c[p(0x11a)]('\x0a');throw p(0xfb);}this[p(0xf4)][p(0xee)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console[p(0x117)](k),process['exit'](0x0);}});
@@ -1 +1 @@
1
- function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x104;let f=c[d];return f;},a37d(a,b);}const a37k=a37d;(function(a,b){const h=a37d,c=a();while(!![]){try{const d=-parseInt(h(0x117))/0x1+-parseInt(h(0x10c))/0x2+-parseInt(h(0x10d))/0x3*(parseInt(h(0x118))/0x4)+parseInt(h(0x11c))/0x5*(parseInt(h(0x11d))/0x6)+parseInt(h(0x107))/0x7+-parseInt(h(0x106))/0x8+parseInt(h(0x104))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xa964c));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a37d;if(c){const e=c[i(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const j=a37d;return a37a['toString']()['search'](j(0x11e))[j(0x108)]()[j(0x11f)](a37a)[j(0x112)](j(0x11e));});a37a();import a37e from'fs';import a37f from'path';import{Command}from'../command.js';function a37c(){const m=['constructor','pm2\x20logs','ssh.json','1397538UBGVNP','sshSync','8149440KGVQZD','5396048PqZaYf','toString','fsi','logs','env','397654MLURVH','213IgUyPW','create','maka\x20logs\x20--env\x20dev','maka\x20logs\x20--env\x20staging','log','search','readFileSync','View\x20the\x20PM2\x20logs','maka\x20l\x20-e\x20p','apply','378676iyqRHq','32POLGjX','assign','getConfigPath','maka\x20logs','524785Efcoxr','78UlWyOC','(((.+)+)+)+$'];a37c=function(){return m;};return a37c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a37k(0x10e)]({'name':a37k(0x10a),'aliases':['l',a37k(0x111)],'usage':a37k(0x11b),'requiredOpts':[a37k(0x10b)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a37k(0x114),'examples':[a37k(0x10f),a37k(0x110),a37k(0x115)]},function(a,b){const l=a37k,c=l(0x120),d=this[l(0x109)][l(0x11a)](b[l(0x10b)]),e=a37f['join'](d,l(0x121)),f=a37e[l(0x113)](e),g=JSON['parse'](f[l(0x108)]());Object[l(0x119)](g,{'env':d}),SSH[l(0x105)](c,g,{'tty':!![],'verbose':!![]});});
1
+ const a50j=a50d;(function(a,b){const h=a50d,c=a();while(!![]){try{const d=parseInt(h(0x1f2))/0x1*(-parseInt(h(0x1de))/0x2)+-parseInt(h(0x1dc))/0x3+-parseInt(h(0x1e2))/0x4+-parseInt(h(0x1d7))/0x5+parseInt(h(0x1da))/0x6+-parseInt(h(0x1e4))/0x7*(-parseInt(h(0x1f1))/0x8)+-parseInt(h(0x1e0))/0x9*(-parseInt(h(0x1d8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x67865));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a50d(a,b);}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 i=a50d;return a50a[i(0x1e9)]()[i(0x1e8)](i(0x1ea))[i(0x1e9)]()['constructor'](a50a)[i(0x1e8)](i(0x1ea));});a50a();function a50c(){const l=['(((.+)+)+)+$','View\x20the\x20PM2\x20logs','fsi','maka\x20logs','maka\x20logs\x20--env\x20staging','maka\x20l\x20-e\x20p','maka\x20logs\x20--env\x20dev','104fvSwOO','1249VWqzgJ','3200830aJjucL','10Qgviyb','parse','2087868AguclZ','pm2\x20logs','28944ZOFGFk','join','878TMtEhc','log','9108837sDZKXC','ssh.json','843084rKmwjO','assign','254618bQTkYd','env','logs','readFileSync','search','toString'];a50c=function(){return l;};return a50c();}import a50e from'fs';import a50f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a50j(0x1e6),'aliases':['l',a50j(0x1df)],'usage':a50j(0x1ed),'requiredOpts':[a50j(0x1e5)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a50j(0x1eb),'examples':[a50j(0x1f0),a50j(0x1ee),a50j(0x1ef)]},function(a,b){const k=a50j,c=k(0x1db),d=this[k(0x1ec)]['getConfigPath'](b[k(0x1e5)]),e=a50f[k(0x1dd)](d,k(0x1e1)),f=a50e[k(0x1e7)](e),g=JSON[k(0x1d9)](f['toString']());Object[k(0x1e3)](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const g=a38d,c=a();while(!![]){try{const d=-parseInt(g(0x166))/0x1+-parseInt(g(0x16c))/0x2*(parseInt(g(0x161))/0x3)+parseInt(g(0x15d))/0x4*(-parseInt(g(0x167))/0x5)+parseInt(g(0x16b))/0x6+-parseInt(g(0x160))/0x7+-parseInt(g(0x16a))/0x8+parseInt(g(0x168))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa907a));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x159)]()[h(0x15a)](h(0x157))['toString']()[h(0x15b)](a38a)['search'](h(0x157));});a38a();import{Command}from'../command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x157;let f=c[d];return f;},a38d(a,b);}const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a38i(0x15c),'validOpts':[],'usage':a38i(0x169),'disableAuthCheck':!![],'examples':['maka\x20--help',a38i(0x165),a38i(0x16d),'maka\x20run'],'description':a38i(0x15e)},async function(a,b){const j=a38i;try{const c=a[0x0],d=this[j(0x15f)](c);d?this[j(0x163)](c,a[j(0x158)](0x1),b):this['fsi'][j(0x164)]();}catch(f){console['error'](f),process[j(0x162)](0x1);}});export default Maka;function a38c(){const k=['31035114FqWjlX','maka\x20<command>\x20[<args>]\x20[<opts>]','6168848vfTuXF','5612208NnKyJP','6JGOmor','maka\x20create\x20Todo','(((.+)+)+)+$','slice','toString','search','constructor','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','2276276DRUYyS','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.------\x20.-----:\x20\x20\x20\x20\x20\x20..\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20----.\x20\x20\x20\x20\x20.--\x20\x20-:\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:::\x20:.\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20...\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:..\x20\x20\x20\x20::----::\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-:::::\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20.:::..:::::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20.:\x20--------\x20.-------.::\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:-:\x20\x20-:\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.::::::\x20.::\x20\x20::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','findSubCommand','2156154QFnduM','1086759sIVOrG','exit','runSubCommand','maybeProxyCommandToMeteor','maka\x20install\x20meteor','956412EcuEHW','5XVcdtF'];a38c=function(){return k;};return a38c();}
1
+ const a51j=a51d;(function(a,b){const g=a51d,c=a();while(!![]){try{const d=-parseInt(g(0x186))/0x1*(-parseInt(g(0x193))/0x2)+parseInt(g(0x195))/0x3+parseInt(g(0x18c))/0x4*(parseInt(g(0x188))/0x5)+-parseInt(g(0x18f))/0x6+-parseInt(g(0x192))/0x7+parseInt(g(0x18d))/0x8+parseInt(g(0x19a))/0x9*(parseInt(g(0x190))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xbca16));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a51d;if(c){const e=c[h(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const i=a51d;return a51a[i(0x194)]()[i(0x18e)](i(0x189))[i(0x194)]()[i(0x18b)](a51a)['search'](i(0x189));});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x183;let f=c[d];return f;},a51d(a,b);}a51a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a51j(0x196),'validOpts':[],'usage':a51j(0x197),'disableAuthCheck':!![],'examples':[a51j(0x18a),'maka\x20install\x20meteor',a51j(0x183),'maka\x20run'],'description':a51j(0x187)},async function(a,b){const k=a51j;try{const c=a[0x0],d=this['findSubCommand'](c);d?this[k(0x184)](c,a['slice'](0x1),b):this[k(0x185)][k(0x198)]();}catch(f){console[k(0x191)](f),process['exit'](0x1);}});export default Maka;function a51c(){const l=['maka\x20<command>\x20[<args>]\x20[<opts>]','maybeProxyCommandToMeteor','apply','4167JmRbOM','maka\x20create\x20Todo','runSubCommand','fsi','2SsLiXT','\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','44435jFITvG','(((.+)+)+)+$','maka\x20--help','constructor','244mxXSMi','934536AHFcMM','search','2954898fBSCox','2580ZAqQHv','error','6478087AoLngS','639454Ueyfpz','toString','2318166iFIOlt','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.'];a51c=function(){return l;};return a51c();}
@@ -1 +1 @@
1
- var a39i=a39d;(function(a,b){var f=a39d,c=a();while(!![]){try{var d=-parseInt(f(0xc5))/0x1+-parseInt(f(0xb5))/0x2+-parseInt(f(0xc1))/0x3+-parseInt(f(0xb9))/0x4+-parseInt(f(0xb8))/0x5+-parseInt(f(0xc2))/0x6+parseInt(f(0xb3))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xdc652));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a39d;if(c){var e=c[g(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var h=a39d;return a39a[h(0xb7)]()['search'](h(0xbb))[h(0xb7)]()[h(0xb6)](a39a)[h(0xc3)](h(0xbb));});a39a();import{Command}from'../command.js';function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0xb3;var f=c[d];return f;},a39d(a,b);}function a39c(){var k=['%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','murder','Murrrrderrrrr','apply','2297730gAkTAF','10242702SNQlIZ','search','create','357820QmyNdi','54682054TtSYZd','exit','1919716ZNdPxD','constructor','toString','7358060nwoXqp','6586668gjOZhm','error','(((.+)+)+)+$','font-family:\x20monospace'];a39c=function(){return k;};return a39c();}Command[a39i(0xc4)]({'name':a39i(0xbe),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a39i(0xbf),'validOpts':[]},async function(){var j=a39i;try{console['log'](j(0xbd),j(0xbc));}catch(a){console[j(0xba)](a),process[j(0xb4)](0x0);}});
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1d3))/0x1*(-parseInt(f(0x1da))/0x2)+parseInt(f(0x1d1))/0x3*(-parseInt(f(0x1d0))/0x4)+-parseInt(f(0x1d8))/0x5+parseInt(f(0x1cb))/0x6*(-parseInt(f(0x1d5))/0x7)+-parseInt(f(0x1c9))/0x8+parseInt(f(0x1c8))/0x9*(-parseInt(f(0x1d7))/0xa)+parseInt(f(0x1d4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x71185));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1ce)]()[h(0x1cc)]('(((.+)+)+)+$')['toString']()[h(0x1db)](a52a)[h(0x1cc)](h(0x1d9));});a52a();function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1c8;var f=c[d];return f;},a52d(a,b);}import{Command}from'../command.js';function a52c(){var k=['%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','3214422lXaJGc','7019392gWJCMC','font-family:\x20monospace','102YWLcTg','search','maka\x20murder','toString','create','2310676XKnNmp','3jEUigK','murder','31978pKVtMU','28317630qqfVpa','60914VhyWFK','exit','10sQTOkd','3472670waQJir','(((.+)+)+)+$','34TByLBA','constructor','apply'];a52c=function(){return k;};return a52c();}Command[a52i(0x1cf)]({'name':a52i(0x1d2),'usage':a52i(0x1cd),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a52i;try{console['log'](j(0x1dd),j(0x1ca));}catch(a){console['error'](a),process[j(0x1d6)](0x0);}});
@@ -1 +1 @@
1
- function a40c(){const r=['(((.+)+)+)+$','listenPort','.csr','listen','9611136QjFRNY','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','constructor','utf8','targetPort','genCSR','join','bright','maka\x20proxy\x20--target-host\x20http://192.168.1.20','\x20to\x20','2498585reQtwX','fsi','findGenerator','418326pwLnMs','4bEgNqR','help','1804086xIBRGz','742371EIrqrO','60140axbHpE','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','=>\x20SSL\x20Proxy\x20forwarding\x20','toString','.crt','isFile','targetHost','.key','appName','2351237kmktbW','readFileSync','error','sslconfig','invoke','create','development'];a40c=function(){return r;};return a40c();}const a40p=a40d;(function(a,b){const n=a40d,c=a();while(!![]){try{const d=parseInt(n(0x7f))/0x1+-parseInt(n(0x7a))/0x2+-parseInt(n(0x7e))/0x3+parseInt(n(0x7b))/0x4*(-parseInt(n(0x77))/0x5)+-parseInt(n(0x7d))/0x6+parseInt(n(0x88))/0x7+parseInt(n(0x93))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x531b5));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const o=a40d;return a40a[o(0x82)]()['search'](o(0x8f))[o(0x82)]()[o(0x95)](a40a)['search'](o(0x8f));});a40a();import a40e from'fs';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x71;let f=c[d];return f;},a40d(a,b);}import a40f from'path';import a40g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a40h from'../generators/maka.gen.js';Command[a40p(0x8d)]({'name':'proxy','usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a40p(0x7c),a40p(0x71),a40p(0x90),a40p(0x85)],'maxArgLength':0x1,'shortDesc':a40p(0x94),'description':a40p(0x80),'examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a40p(0x75)]},async function(a,b){const q=a40p,c=this['fsi']['getProjectConfig'](),d=q(0x8e),e=this['fsi']['getConfigPath'](d),f=this[q(0x78)]['mkKeysDir']({'configPath':e}),g=b['targetPort']?Number(b[q(0x71)]):0xbb8,h=b[q(0x90)]?Number(b[q(0x90)]):0xd73,i=b[q(0x85)]?b[q(0x85)]:'localhost',j=a40f['join'](f,c[q(0x87)]+'.key'),k=a40f[q(0x73)](f,c[q(0x87)]+q(0x83));if(!this[q(0x78)]['isFile'](j)||!this[q(0x78)][q(0x84)](k)){const m=a40h[q(0x79)](q(0x8b));m&&await m[q(0x8c)]([q(0x8b)],{'env':d}),SSL[q(0x72)]({'keyName':c['appName']+'.key','csrName':c[q(0x87)]+q(0x91),'cwd':f}),SSL['genSSC']({'keyName':c[q(0x87)]+q(0x86),'crtName':c['appName']+q(0x83),'cwd':f});}if(g===h){Log[q(0x8a)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a40e[q(0x89)](j,q(0x96)),'cert':a40e['readFileSync'](k,q(0x96))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a40g['createProxyServer'](l)[q(0x92)](Number(h)),Log[q(0x74)](q(0x81)+h+q(0x76)+g);});
1
+ const a53q=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a53d(a,b);}(function(a,b){const n=a53d,c=a();while(!![]){try{const d=parseInt(n(0x214))/0x1+parseInt(n(0x1f0))/0x2*(parseInt(n(0x20c))/0x3)+parseInt(n(0x1ed))/0x4+parseInt(n(0x202))/0x5*(parseInt(n(0x1ec))/0x6)+-parseInt(n(0x217))/0x7*(-parseInt(n(0x1fc))/0x8)+-parseInt(n(0x210))/0x9+-parseInt(n(0x1f8))/0xa*(parseInt(n(0x201))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xa3196));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a53d;if(c){const e=c[o(0x216)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const p=a53d;return a53a[p(0x205)]()['search'](p(0x203))[p(0x205)]()[p(0x20f)](a53a)['search'](p(0x203));});a53a();import a53e from'fs';import a53f from'path';import a53g 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';function a53c(){const s=['252470WbnAjp','join','genSSC','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','proxy','mkKeysDir','.key','help','170nEdhQZ','appName','.crt','listen','70624XxxDjW','invoke','create','fsi','bright','263483rUMHXE','5MNRceq','(((.+)+)+)+$','isFile','toString','=>\x20SSL\x20Proxy\x20forwarding\x20','error','findGenerator','.csr','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','targetHost','6GelPIT','getProjectConfig','utf8','constructor','11626704zuzHla','listenPort','maka\x20proxy','readFileSync','147294eVnXZD','createProxyServer','apply','644fOLmPB','targetPort','maka\x20proxy\x20--target-host\x20http://192.168.1.20','4446822POBLif','1656136zxriyV','\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','\x20to\x20'];a53c=function(){return s;};return a53c();}import a53h from'../generators/maka.gen.js';Command[a53q(0x1fe)]({'name':a53q(0x1f4),'usage':a53q(0x212),'mustBeInMakaProject':!![],'validOpts':[a53q(0x1f7),'targetPort',a53q(0x211),'targetHost'],'maxArgLength':0x1,'shortDesc':a53q(0x1f3),'description':a53q(0x1ee),'examples':['maka\x20proxy',a53q(0x20a),a53q(0x1eb)]},async function(a,b){const r=a53q,c=this[r(0x1ff)][r(0x20d)](),d='development',e=this[r(0x1ff)]['getConfigPath'](d),f=this['fsi'][r(0x1f5)]({'configPath':e}),g=b['targetPort']?Number(b[r(0x1ea)]):0xbb8,h=b[r(0x211)]?Number(b[r(0x211)]):0xd73,i=b['targetHost']?b[r(0x20b)]:'localhost',j=a53f[r(0x1f1)](f,c[r(0x1f9)]+r(0x1f6)),k=a53f[r(0x1f1)](f,c[r(0x1f9)]+'.crt');if(!this['fsi']['isFile'](j)||!this[r(0x1ff)][r(0x204)](k)){const m=a53h[r(0x208)]('sslconfig');m&&await m[r(0x1fd)](['sslconfig'],{'env':d}),SSL['genCSR']({'keyName':c['appName']+r(0x1f6),'csrName':c[r(0x1f9)]+r(0x209),'cwd':f}),SSL[r(0x1f2)]({'keyName':c[r(0x1f9)]+r(0x1f6),'crtName':c['appName']+r(0x1fa),'cwd':f});}if(g===h){Log[r(0x207)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a53e['readFileSync'](j,r(0x20e)),'cert':a53e[r(0x213)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a53g[r(0x215)](l)[r(0x1fb)](Number(h)),Log[r(0x200)](r(0x206)+h+r(0x1ef)+g);});
@@ -1 +1 @@
1
- const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0xa9))/0x1+-parseInt(n(0xa4))/0x2*(-parseInt(n(0x8b))/0x3)+parseInt(n(0x8e))/0x4+parseInt(n(0xb2))/0x5+parseInt(n(0xa0))/0x6*(-parseInt(n(0xac))/0x7)+parseInt(n(0x8f))/0x8*(-parseInt(n(0x9e))/0x9)+-parseInt(n(0xa8))/0xa*(-parseInt(n(0x90))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x61d12));function a41c(){const s=['notice','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','pm2.config.js','pm2\x20delete\x20all','~/ses.json','toString','uname\x20-a','Reconfigure\x20your\x20deployed\x20applications','maka\x20reconfig','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','_keys','ssh','join','7227upVGKM','Checking\x20remote\x20host\x20availability','3324498KqhdGZ','readFileSync','existsSync','parse','63676CTMnnS','apply','sshSync','scp','210qXUIdu','152682CILMEk','Remote\x20host\x20connection\x20successful','env','7HOUiCX','search','ssh.json','error','~/settings.json','ping','283270qMOmHN','create','(((.+)+)+)+$','24tZMncT','assign','constructor','236984YXLpar','3344TvcSvi','401819omDUwQ'];a41c=function(){return s;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x8a;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a[p(0x96)]()[p(0xad)](p(0x8a))[p(0x96)]()[p(0x8d)](a41a)[p(0xad)]('(((.+)+)+)+$');});a41a();import a41e from'fs';import a41f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a41q(0xb3)]({'name':'reconfig','validOpts':[''],'requiredOpts':[a41q(0xab)],'mustBeInMakaProject':!![],'usage':a41q(0x99),'shortDesc':a41q(0x98),'description':a41q(0x92),'examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a41q;try{const c=this['fsi']['getConfigPath'](b[r(0xab)]),d=a41f[r(0x9d)](c,r(0xae)),f=a41e[r(0xa1)](d)[r(0x96)](),g=JSON[r(0xa3)](f);Object[r(0x8c)](g,{'env':c}),Log[r(0x91)](r(0x9f));const h=SSH[r(0xb1)](r(0x97),g);if(!h)throw r(0x9a);if(h)Log['success'](r(0xaa));const i=a41f[r(0x9d)](c,r(0x9b),'ses.json');if(a41e[r(0xa2)](i)){const l={'source':i,'dest':r(0x95),'verbose':!![]};SSH['scp'](l,{...g});}const j=a41f[r(0x9d)](c,r(0x93));SSH[r(0xa7)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a41f['join'](c,'settings.json');SSH['scp']({'source':k,'dest':r(0xb0),'verbose':!![]},{...g}),SSH[r(0xa6)](r(0x94),g),await SSH[r(0x9c)]('echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22',{...g},{'verbose':!![]});}catch(m){console[r(0xaf)](m),process['exit'](0x0);}});
1
+ const a54q=a54d;(function(a,b){const n=a54d,c=a();while(!![]){try{const d=parseInt(n(0x11d))/0x1+parseInt(n(0x12a))/0x2+-parseInt(n(0x11b))/0x3+-parseInt(n(0x108))/0x4*(-parseInt(n(0x121))/0x5)+parseInt(n(0x10c))/0x6+-parseInt(n(0x115))/0x7*(-parseInt(n(0x129))/0x8)+parseInt(n(0x10a))/0x9*(-parseInt(n(0x112))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x19161));function a54c(){const s=['success','maka\x20reconfig\x20--env\x20prod','readFileSync','maka\x20reconfig','Remote\x20host\x20connection\x20successful','Reconfigure\x20your\x20deployed\x20applications','pm2\x20delete\x20all','ssh','join','4IdKvay','error','707337wzfgFi','scp','453750JNBbXu','toString','pm2.config.js','\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','(((.+)+)+)+$','sshSync','40RMXyqS','getConfigPath','search','81263EkkwFj','settings.json','existsSync','ses.json','parse','notice','169575jyxTpt','ping','21333xcsUho','apply','~/settings.json','env','972965WJcFoD','uname\x20-a','Checking\x20remote\x20host\x20availability','exit','~/pm2.config.js','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','~/ses.json','constructor','24krhcdf','294544huQNuV','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','ssh.json','fsi','_keys'];a54c=function(){return s;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a54d;if(c){const e=c[o(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const p=a54d;return a54a[p(0x10d)]()[p(0x114)](p(0x110))[p(0x10d)]()[p(0x128)](a54a)[p(0x114)](p(0x110));});a54a();import a54e from'fs';import a54f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x100;let f=c[d];return f;},a54d(a,b);}Command['create']({'name':'reconfig','validOpts':[''],'requiredOpts':[a54q(0x120)],'mustBeInMakaProject':!![],'usage':a54q(0x102),'shortDesc':a54q(0x104),'description':a54q(0x10f),'examples':[a54q(0x100)]},async function(a,b){const r=a54q;try{const c=this[r(0x12d)][r(0x113)](b[r(0x120)]),d=a54f['join'](c,r(0x12c)),f=a54e[r(0x101)](d)[r(0x10d)](),g=JSON[r(0x119)](f);Object['assign'](g,{'env':c}),Log[r(0x11a)](r(0x123));const h=SSH[r(0x11c)](r(0x122),g);if(!h)throw r(0x126);if(h)Log[r(0x12f)](r(0x103));const i=a54f['join'](c,r(0x12e),r(0x118));if(a54e[r(0x117)](i)){const l={'source':i,'dest':r(0x127),'verbose':!![]};SSH[r(0x10b)](l,{...g});}const j=a54f[r(0x107)](c,r(0x10e));SSH[r(0x10b)]({'source':j,'dest':r(0x125),'verbose':!![]},{...g});const k=a54f[r(0x107)](c,r(0x116));SSH[r(0x10b)]({'source':k,'dest':r(0x11f),'verbose':!![]},{...g}),SSH[r(0x111)](r(0x105),g),await SSH[r(0x106)](r(0x12b),{...g},{'verbose':!![]});}catch(m){console[r(0x109)](m),process[r(0x124)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a42d,c=a();while(!![]){try{var d=-parseInt(f(0x13d))/0x1+parseInt(f(0x140))/0x2+-parseInt(f(0x13b))/0x3*(parseInt(f(0x138))/0x4)+-parseInt(f(0x13c))/0x5*(parseInt(f(0x141))/0x6)+-parseInt(f(0x142))/0x7+-parseInt(f(0x13a))/0x8+parseInt(f(0x139))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x55b72));function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0x137;var f=c[d];return f;},a42d(a,b);}function a42c(){var i=['search','1199882UurppF','312TzgaiW','2504936GPQhHG','(((.+)+)+)+$','toString','4lLmWQr','21806451XJLSRf','3618304rbmTVp','2014290VuoRVi','60565ynfWvT','560348XkgToO','apply'];a42c=function(){return i;};return a42c();}var a42b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a42d;if(c){var e=c[g(0x13e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){var h=a42d;return a42a[h(0x137)]()[h(0x13f)](h(0x143))[h(0x137)]()['constructor'](a42a)['search']('(((.+)+)+)+$');});a42a();import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1dc))/0x1*(parseInt(f(0x1d5))/0x2)+-parseInt(f(0x1d8))/0x3*(-parseInt(f(0x1cf))/0x4)+-parseInt(f(0x1d1))/0x5*(-parseInt(f(0x1d6))/0x6)+parseInt(f(0x1d4))/0x7*(parseInt(f(0x1d7))/0x8)+parseInt(f(0x1ce))/0x9*(parseInt(f(0x1cc))/0xa)+-parseInt(f(0x1cd))/0xb+-parseInt(f(0x1d0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x34f74));function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1cc;var f=c[d];return f;},a55d(a,b);}function a55c(){var i=['1559772TWZxov','2015nFwPod','toString','search','15603OPHcDr','446826yvHXbY','4434bGWKng','1216vYnxQa','15XASPJc','(((.+)+)+)+$','apply','constructor','1LPvgLL','8100PHmIFZ','3849208cEUizK','450rnHLQw','194516ZpcKcV'];a55c=function(){return i;};return a55c();}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1d2)]()[h(0x1d3)](h(0x1d9))[h(0x1d2)]()[h(0x1db)](a55a)['search']('(((.+)+)+)+$');});a55a();import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a43l=a43d;(function(a,b){const i=a43d,c=a();while(!![]){try{const d=-parseInt(i(0x1e0))/0x1+-parseInt(i(0x1e3))/0x2*(parseInt(i(0x1e2))/0x3)+parseInt(i(0x1e8))/0x4+-parseInt(i(0x1ef))/0x5*(-parseInt(i(0x1d6))/0x6)+-parseInt(i(0x1ea))/0x7*(parseInt(i(0x1e4))/0x8)+-parseInt(i(0x1ed))/0x9+parseInt(i(0x1da))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa8da6));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a43d;if(c){const e=c[j(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const k=a43d;return a43a[k(0x1d9)]()[k(0x1d8)]('(((.+)+)+)+$')[k(0x1d9)]()['constructor'](a43a)[k(0x1d8)](k(0x1e5));});a43a();import a43e from'./run.command.js';import{execSync}from'child_process';import a43f from'path';import a43g from'fs';import{Log}from'../../tools/log/log.class.js';function a43c(){const n=['search','toString','31056050JuDanR','docker-compose\x20--project-directory\x20','docker-compose.yaml','appName','join','apply','782383AglTKb','\x20up\x20--remove-orphans','234621pToSJE','2FXvaQp','4032984uIJYZV','(((.+)+)+)+$','docker','notice','787156KTdISY','inherit','14RDHfbY','fsi','maka\x20run\x20docker','8221725GWcPfn','getProjectConfig','1045ndgRCp','pm2.config.js','4926kCLdFx','config/docker-compose.yaml'];a43c=function(){return n;};return a43c();}import{Command}from'../../command.js';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a43d(a,b);}import{paramCase}from'change-case';Command['create']({'name':a43l(0x1e6),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a43l(0x1ec),'validOpts':['']},async function(){const m=a43l;try{const a=this[m(0x1eb)][m(0x1ee)](),b=this[m(0x1eb)]['getConfigPath'](m(0x1e6)),c=a43f[m(0x1de)](b,m(0x1dc)),d=a43f[m(0x1de)](b,m(0x1f0));Log['notice']('PM2\x20Config\x20File:\x20'+d),Log[m(0x1e7)]('Docker\x20Compose\x20Path:\x20'+c);if(!a43g['existsSync'](c)){const f={'app':a[m(0x1dd)],'appFileCase':paramCase(a[m(0x1dd)])},g=this[m(0x1eb)]['templateContent']({'srcPath':m(0x1d7),'context':f})+'\x0a';this[m(0x1eb)]['createFile']({'filePath':c,'data':g});}execSync(m(0x1db)+b+m(0x1e1),{'stdio':m(0x1e9)});}catch(h){process['exit'](0x1);}},a43e);
1
+ const a56l=a56d;(function(a,b){const i=a56d,c=a();while(!![]){try{const d=-parseInt(i(0x121))/0x1*(-parseInt(i(0x120))/0x2)+parseInt(i(0x10e))/0x3*(parseInt(i(0x117))/0x4)+parseInt(i(0x10a))/0x5+parseInt(i(0x119))/0x6+-parseInt(i(0x10f))/0x7+parseInt(i(0x106))/0x8+-parseInt(i(0x11e))/0x9*(parseInt(i(0x122))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xaab1d));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a56d;if(c){const e=c[j(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const k=a56d;return a56a[k(0x110)]()[k(0x105)](k(0x118))[k(0x110)]()[k(0x11c)](a56a)['search'](k(0x118));});a56a();import a56e from'./run.command.js';function a56c(){const n=['exit','fsi','appName','6331415ThXaqh','templateContent','Docker\x20Compose\x20Path:\x20','docker','15lHuiIp','7070126gUpgfb','toString','config/docker-compose.yaml','\x20up\x20--remove-orphans','notice','PM2\x20Config\x20File:\x20','inherit','pm2.config.js','539936oomWfU','(((.+)+)+)+$','4047132aTkYYH','existsSync','join','constructor','create','2367mCBXHZ','apply','2pnACMR','915063nHyehx','81970jxELSC','getProjectConfig','\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','search','2673648fihiNg'];a56c=function(){return n;};return a56c();}import{execSync}from'child_process';import a56f from'path';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x105;let f=c[d];return f;},a56d(a,b);}import a56g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a56l(0x11d)]({'name':a56l(0x10d),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a56l(0x124),'usage':'maka\x20run\x20docker','validOpts':['']},async function(){const m=a56l;try{const a=this[m(0x108)][m(0x123)](),b=this[m(0x108)]['getConfigPath'](m(0x10d)),c=a56f[m(0x11b)](b,'docker-compose.yaml'),d=a56f['join'](b,m(0x116));Log[m(0x113)](m(0x114)+d),Log['notice'](m(0x10c)+c);if(!a56g[m(0x11a)](c)){const f={'app':a[m(0x109)],'appFileCase':paramCase(a[m(0x109)])},g=this['fsi'][m(0x10b)]({'srcPath':m(0x111),'context':f})+'\x0a';this['fsi']['createFile']({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+m(0x112),{'stdio':m(0x115)});}catch(h){process[m(0x107)](0x1);}},a56e);
@@ -1 +1 @@
1
- const a44u=a44d;(function(a,b){const q=a44d,c=a();while(!![]){try{const d=-parseInt(q(0xe4))/0x1+parseInt(q(0xd9))/0x2+parseInt(q(0xdd))/0x3+parseInt(q(0xbf))/0x4*(parseInt(q(0xda))/0x5)+parseInt(q(0xc2))/0x6+parseInt(q(0xe2))/0x7*(parseInt(q(0xec))/0x8)+-parseInt(q(0xc0))/0x9*(parseInt(q(0xbc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xe424a));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a44d;if(c){const e=c[r(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const s=a44d;return a44a['toString']()['search'](s(0xe0))[s(0xdb)]()[s(0xd8)](a44a)['search'](s(0xe0));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xba;let f=c[d];return f;},a44d(a,b);}import a44e from'path';import a44f from'fs';import a44g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a44d;a44f[t(0xf1)](a,'r'),a44g[t(0xf6)]({'path':a});},Run=Command[a44u(0xd5)]({'name':a44u(0xf2),'mustBeInMakaProject':!![],'shortDesc':a44u(0xd3),'description':a44u(0xd0),'validOpts':[a44u(0xcd),a44u(0xf7),'r',a44u(0xf5),'p',a44u(0xe3),'i',a44u(0xf3),'m','mobileServer','v',a44u(0xed),'allowIncompatibleUpdate','extraPackages','x',a44u(0xc1),a44u(0xce)]},async function(a,b){const v=a44u;try{const c=a[0x0],d=this[v(0xd6)](c);d&&this[v(0xde)](c,a,b);if(c===v(0xd7)){const m=this[v(0xd2)][v(0xea)](),n=a44e['join'](m,'app',v(0xf0),v(0xe8),v(0xba));this[v(0xd2)][v(0xd4)](n)&&await rimraf(n);}if(b[v(0xc8)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw v(0xc9);await this[v(0xd2)][v(0xc4)]();const f=b[v(0xcd)]?b['env']:v(0xc5),g=this[v(0xd2)]['getConfigPath'](f),h=a44e[v(0xf8)](g,v(0xe5));let i=a44e[v(0xf8)](g,v(0xe9));b[v(0xeb)]?i=b[v(0xeb)]:i=a44e['join'](g,v(0xe9));if(this[v(0xd2)][v(0xbd)](h)&&!b[v(0xf7)])Log['notice']('Node\x20Env\x20Config:\x20'+h),syncSource(h);else!b['docker']&&Log[v(0xc6)](v(0xcb)+h);this['fsi']['isFile'](i)?(Log[v(0xcf)](v(0xf4)+i),a=a[v(0xd1)]([v(0xdf),i])):Log[v(0xc6)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i);const j=g[v(0xe6)](a44e[v(0xbe)]),k=j[j[v(0xca)]-0x1];k==='production'&&a[v(0xe7)](v(0xef));const l=process[v(0xe1)]['slice'](0x2)[v(0xf9)](o=>o!==v(0xf2))[v(0xf9)](o=>o!==a[0x0]);l[v(0xc7)]((o,p)=>{const w=v;o===w(0xee)&&l[w(0xcc)](p,0x2),o==='-e'&&l[w(0xcc)](p,0x2);}),this[v(0xd2)][v(0xc3)](v(0xf2),a['concat'](l));}catch(o){console[v(0xbb)](o),process['exit'](0x1);}});function a44c(){const x=['join','filter','cordova-build','error','822430XGVSXA','isFile','sep','2348GuiENZ','144aehCdY','exclude-archs','5657910rFBXDg','invokeMeteorCommand','compareMakaToLatest','development','warn','forEach','mobile-server','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','length','Cannot\x20find\x20Node\x20Environment\x20File:\x20','splice','env','production','notice','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','concat','fsi','Run\x20your\x20Meteor\x20application','isDirectory','create','findSubCommand','ios','constructor','192910NuIiUG','9565PwoCkv','toString','apply','246744SDDCjl','runSubCommand','--settings','(((.+)+)+)+$','argv','99183IaLLjJ','port','121778vQkrjZ','process.env','split','push','local','settings.json','findProjectDirectory','settings','72ztdXEY','verbose','--env','--production','.meteor','openSync','run','inspect','Meteor\x20Settings:\x20','rawLogs','config','docker'];a44c=function(){return x;};return a44c();}export default Run;
1
+ const a57u=a57d;(function(a,b){const q=a57d,c=a();while(!![]){try{const d=parseInt(q(0x14c))/0x1+-parseInt(q(0x16e))/0x2*(parseInt(q(0x154))/0x3)+-parseInt(q(0x173))/0x4+parseInt(q(0x142))/0x5+parseInt(q(0x170))/0x6+parseInt(q(0x168))/0x7*(parseInt(q(0x15a))/0x8)+-parseInt(q(0x17b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x8f9f6));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a57d;if(c){const e=c[r(0x14d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const s=a57d;return a57a[s(0x141)]()['search'](s(0x145))[s(0x141)]()['constructor'](a57a)[s(0x155)]('(((.+)+)+)+$');});a57a();import a57e from'path';import a57f from'fs';import a57g from'dotenv';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x140;let f=c[d];return f;},a57d(a,b);}import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a57d;a57f['openSync'](a,'r'),a57g[t(0x153)]({'path':a});},Run=Command[a57u(0x146)]({'name':a57u(0x150),'mustBeInMakaProject':!![],'shortDesc':a57u(0x157),'description':a57u(0x147),'validOpts':[a57u(0x143),a57u(0x165),'r',a57u(0x14e),'p',a57u(0x16a),'i','inspect','m',a57u(0x14b),'v',a57u(0x151),a57u(0x140),'extraPackages','x',a57u(0x160),a57u(0x17a)]},async function(a,b){const v=a57u;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this['runSubCommand'](c,a,b);if(c===v(0x149)){const m=this[v(0x179)][v(0x161)](),n=a57e['join'](m,v(0x158),v(0x148),v(0x144),v(0x17c));this[v(0x179)]['isDirectory'](n)&&await rimraf(n);}if(b[v(0x152)]&&b[v(0x152)]===!![]||b['m']&&b['m']===!![])throw v(0x162);await this[v(0x179)][v(0x175)]();const f=b[v(0x143)]?b[v(0x143)]:v(0x156),g=this['fsi'][v(0x167)](f),h=a57e[v(0x14a)](g,'process.env');let i=a57e[v(0x14a)](g,'settings.json');b[v(0x15d)]?i=b[v(0x15d)]:i=a57e[v(0x14a)](g,v(0x163));if(this['fsi'][v(0x16d)](h)&&!b[v(0x165)])Log[v(0x164)](v(0x159)+h),syncSource(h);else!b[v(0x165)]&&Log['warn'](v(0x174)+h);this['fsi'][v(0x16d)](i)?(Log[v(0x164)](v(0x16c)+i),a=a['concat']([v(0x16b),i])):Log[v(0x171)](v(0x15c)+i);const j=g[v(0x172)](a57e['sep']),k=j[j['length']-0x1];k==='production'&&a[v(0x178)](v(0x176));const l=process['argv'][v(0x14f)](0x2)[v(0x169)](o=>o!=='run')[v(0x169)](o=>o!==a[0x0]);l['forEach']((o,p)=>{const w=v;o===w(0x166)&&l['splice'](p,0x2),o==='-e'&&l[w(0x15f)](p,0x2);}),this[v(0x179)][v(0x16f)](v(0x150),a[v(0x15e)](l));}catch(o){console[v(0x177)](o),process[v(0x15b)](0x1);}});function a57c(){const x=['77446WKJLVK','invokeMeteorCommand','1245378VtFHKa','warn','split','3481320CrgtET','Cannot\x20find\x20Node\x20Environment\x20File:\x20','compareMakaToLatest','--production','error','push','fsi','production','2329731nIFEbA','cordova-build','allowIncompatibleUpdate','toString','669650dHPWVd','env','local','(((.+)+)+)+$','create','\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.','.meteor','ios','join','mobileServer','672124mdrgUs','apply','rawLogs','slice','run','verbose','mobile-server','config','3onPAQT','search','development','Run\x20your\x20Meteor\x20application','app','Node\x20Env\x20Config:\x20','456968nVFEOX','exit','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','settings','concat','splice','exclude-archs','findProjectDirectory','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)','settings.json','notice','docker','--env','getConfigPath','91McDdGd','filter','port','--settings','Meteor\x20Settings:\x20','isFile'];a57c=function(){return x;};return a57c();}export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a45d,c=a();while(!![]){try{var d=-parseInt(f(0x136))/0x1*(parseInt(f(0x13e))/0x2)+parseInt(f(0x137))/0x3*(parseInt(f(0x133))/0x4)+-parseInt(f(0x13a))/0x5+-parseInt(f(0x138))/0x6+parseInt(f(0x13f))/0x7*(-parseInt(f(0x13b))/0x8)+-parseInt(f(0x13c))/0x9+parseInt(f(0x13d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xa8640));function a45c(){var i=['toString','200575HlYAVM','1432OEAfZe','6750963sWJRSw','18725940DRyEqW','2QTsIGp','8862ccjSFq','388YEyyoI','(((.+)+)+)+$','apply','173491uGmqXB','11358aXpRIK','2158686RwpDHy'];a45c=function(){return i;};return a45c();}var a45b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a45d;if(c){var e=c[g(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){var h=a45d;return a45a[h(0x139)]()['search'](h(0x134))[h(0x139)]()['constructor'](a45a)['search'](h(0x134));});a45a();import'./set.command.js';function a45d(a,b){var c=a45c();return a45d=function(d,e){d=d-0x133;var f=c[d];return f;},a45d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a58d,c=a();while(!![]){try{var d=-parseInt(f(0x1c8))/0x1+parseInt(f(0x1bf))/0x2+-parseInt(f(0x1c0))/0x3+parseInt(f(0x1bd))/0x4+-parseInt(f(0x1be))/0x5*(parseInt(f(0x1c9))/0x6)+-parseInt(f(0x1cb))/0x7*(parseInt(f(0x1c1))/0x8)+parseInt(f(0x1c4))/0x9*(parseInt(f(0x1c3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0x1f99b));var a58b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a58d;if(c){var e=c[g(0x1ca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a58a=a58b(this,function(){var h=a58d;return a58a[h(0x1c2)]()[h(0x1c7)](h(0x1c6))[h(0x1c2)]()[h(0x1c5)](a58a)[h(0x1c7)](h(0x1c6));});a58a();import'./set.command.js';function a58d(a,b){var c=a58c();return a58d=function(d,e){d=d-0x1bd;var f=c[d];return f;},a58d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a58c(){var i=['constructor','(((.+)+)+)+$','search','58993jwKkus','5502TMChUj','apply','21njGuYe','275300xCaUDb','635qiWmyh','363806zzLHjY','96633itnzFZ','580568xiXjyi','toString','25990DMomAg','1053TzMboO'];a58c=function(){return i;};return a58c();}
@@ -1 +1 @@
1
- function a46c(){const m=['maka\x20set:global-config\x20--cacert\x20<path>','Set\x20allowInsecure:\x20','constructor','exit','4941145qzScNO','search','help','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','error','5275653ENRwIL','setGlobalConfig','25795GBHHQK','1170006iTaAmQ','apply','485744MkgMPG','3222TVBbqO','disallowInsecure','(((.+)+)+)+$','Could\x20not\x20find\x20directory','Set\x20CA\x20Cert\x20Path:\x20','cacert','Set\x20global\x20Maka-CLI\x20settings','5565624IzKyGx','workspace','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','toString','One\x20or\x20the\x20other\x20buddy','fsi','create','213510DcuRzs','global-config','Set\x20workspace:\x20','allowInsecure','maka\x20set:gc\x20--workspace\x20<path>','resolve','isFile'];a46c=function(){return m;};return a46c();}const a46k=a46d;(function(a,b){const h=a46d,c=a();while(!![]){try{const d=parseInt(h(0x98))/0x1+parseInt(h(0xab))/0x2+parseInt(h(0xa8))/0x3+parseInt(h(0x89))/0x4+parseInt(h(0xa3))/0x5+parseInt(h(0x8a))/0x6*(-parseInt(h(0xaa))/0x7)+-parseInt(h(0x91))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xf23b5));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a46d;if(c){const e=c[i(0xac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const j=a46d;return a46a[j(0x94)]()['search'](j(0x8c))[j(0x94)]()[j(0xa1)](a46a)[j(0xa4)](j(0x8c));});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x89;let f=c[d];return f;},a46d(a,b);}import a46e from'path';import a46f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a46k(0x97)]({'name':a46k(0x99),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a46k(0x8f),a46k(0x9b),a46k(0x8b),'workspace',a46k(0xa5)],'shortDesc':a46k(0x90),'description':a46k(0x93),'examples':[a46k(0x9f),'maka\x20set:gc\x20--insecure\x20<path>',a46k(0x9c)]},async function(a,b){const l=a46k;try{if(b['cacert']){if(this[l(0x96)][l(0x9e)](b[l(0x8f)]))this[l(0x96)][l(0xa9)]({'cert':b[l(0x8f)]}),Log['success'](l(0x8e)+b[l(0x8f)]);else{const c=typeof b[l(0x8f)]==='boolean'?l(0xa6):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b['cacert'];throw Log['error'](c);}}if(b['workspace']){const d=this[l(0x96)]['isDirectory'](b[l(0x92)]);if(d)this[l(0x96)]['setGlobalConfig']({'workspace':a46e[l(0x9d)](b[l(0x92)])}),Log['success'](l(0x9a)+a46e['resolve'](b[l(0x92)]));else throw Log['error'](l(0x8d));}if(b[l(0x9b)]){if(b[l(0x9b)]&&b['disallowInsecure'])throw Log['error'](l(0x95));let f=b[l(0x9b)];b[l(0x8b)]&&(f=![]),this[l(0x96)]['setGlobalConfig']({'allowInsecure':f}),Log['success'](l(0xa0)+f);}}catch(g){console[l(0xa7)](g),process[l(0xa2)](0x0);}},a46f);
1
+ const a59j=a59d;(function(a,b){const h=a59d,c=a();while(!![]){try{const d=-parseInt(h(0x14a))/0x1*(-parseInt(h(0x154))/0x2)+-parseInt(h(0x144))/0x3+parseInt(h(0x136))/0x4+-parseInt(h(0x14c))/0x5*(-parseInt(h(0x146))/0x6)+-parseInt(h(0x151))/0x7+-parseInt(h(0x158))/0x8*(-parseInt(h(0x145))/0x9)+-parseInt(h(0x14f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0xd07bc));function a59c(){const l=['Could\x20not\x20find\x20directory','Set\x20workspace:\x20','error','setGlobalConfig','3179571hOOkCY','72ukYuhT','58062RdacXD','global-config','maka\x20set:gc\x20--workspace\x20<path>','fsi','547glaTwM','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','160dLsOAC','allowInsecure','isFile','889630vjdjfN','Set\x20allowInsecure:\x20','5927516GDCvXE','disallowInsecure','resolve','4748clZWoB','Set\x20CA\x20Cert\x20Path:\x20','success','Set\x20global\x20Maka-CLI\x20settings','1004056bvVEkB','search','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','isDirectory','help','949032ZypVFH','toString','create','\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','cacert','(((.+)+)+)+$','workspace','One\x20or\x20the\x20other\x20buddy','exit','boolean'];a59c=function(){return l;};return a59c();}const a59b=(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;};}()),a59a=a59b(this,function(){const i=a59d;return a59a[i(0x137)]()[i(0x159)](i(0x13b))['toString']()['constructor'](a59a)[i(0x159)](i(0x13b));});a59a();function a59d(a,b){const c=a59c();return a59d=function(d,e){d=d-0x135;let f=c[d];return f;},a59d(a,b);}import a59e from'path';import a59f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a59j(0x138)]({'name':a59j(0x147),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert',a59j(0x14d),'disallowInsecure',a59j(0x13c),a59j(0x135)],'shortDesc':a59j(0x157),'description':a59j(0x139),'examples':['maka\x20set:global-config\x20--cacert\x20<path>','maka\x20set:gc\x20--insecure\x20<path>',a59j(0x148)]},async function(a,b){const k=a59j;try{if(b['cacert']){if(this[k(0x149)][k(0x14e)](b[k(0x13a)]))this['fsi'][k(0x143)]({'cert':b[k(0x13a)]}),Log[k(0x156)](k(0x155)+b[k(0x13a)]);else{const c=typeof b[k(0x13a)]===k(0x13f)?k(0x15a):k(0x14b)+b[k(0x13a)];throw Log[k(0x142)](c);}}if(b['workspace']){const d=this[k(0x149)][k(0x15b)](b[k(0x13c)]);if(d)this[k(0x149)][k(0x143)]({'workspace':a59e[k(0x153)](b[k(0x13c)])}),Log[k(0x156)](k(0x141)+a59e[k(0x153)](b[k(0x13c)]));else throw Log[k(0x142)](k(0x140));}if(b[k(0x14d)]){if(b['allowInsecure']&&b[k(0x152)])throw Log[k(0x142)](k(0x13d));let f=b['allowInsecure'];b[k(0x152)]&&(f=![]),this[k(0x149)][k(0x143)]({'allowInsecure':f}),Log[k(0x156)](k(0x150)+f);}}catch(g){console[k(0x142)](g),process[k(0x13e)](0x0);}},a59f);
@@ -1 +1 @@
1
- var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x11b))/0x1+-parseInt(f(0x11e))/0x2+parseInt(f(0x117))/0x3*(-parseInt(f(0x115))/0x4)+-parseInt(f(0x110))/0x5*(parseInt(f(0x11d))/0x6)+parseInt(f(0x112))/0x7*(parseInt(f(0x10c))/0x8)+parseInt(f(0x118))/0x9*(-parseInt(f(0x111))/0xa)+parseInt(f(0x10e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x84e48));function a47c(){var k=['Sorry,\x20not\x20implemented\x20yet','5945nnbdiW','9805820fiSMIW','791QXxZcQ','maka\x20set:local-config\x20<opts>','(((.+)+)+)+$','123748pyrbTD','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','15DPYiIi','9bTJCof','constructor','Set\x20local\x20maka\x20app\x20settings','682337JjuXHj','search','948IUmNRV','1140368DiAnst','apply','create','4496wUArQc','toString','18609778mGYcSV'];a47c=function(){return k;};return a47c();}var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x10d)]()[h(0x11c)]('(((.+)+)+)+$')[h(0x10d)]()[h(0x119)](a47a)['search'](h(0x114));});a47a();import a47e from'./set.command.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x10c;var f=c[d];return f;},a47d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47i(0x120)]({'name':'local-config','usage':'maka\x20set:local-config\x20<opts>','examples':['maka\x20set:lc\x20<opts>',a47i(0x113)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a47i(0x11a),'validOpts':[],'description':a47i(0x116)},async function(){var j=a47i;Log['notice'](j(0x10f));},a47e);
1
+ function a60d(a,b){var c=a60c();return a60d=function(d,e){d=d-0xca;var f=c[d];return f;},a60d(a,b);}var a60i=a60d;(function(a,b){var f=a60d,c=a();while(!![]){try{var d=-parseInt(f(0xd7))/0x1+-parseInt(f(0xda))/0x2+parseInt(f(0xce))/0x3+parseInt(f(0xcb))/0x4+-parseInt(f(0xd3))/0x5+parseInt(f(0xd4))/0x6*(parseInt(f(0xd9))/0x7)+parseInt(f(0xd5))/0x8*(parseInt(f(0xdb))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0x874cc));var a60b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a60d;if(c){var e=c[g(0xca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a60a=a60b(this,function(){var h=a60d;return a60a[h(0xcd)]()[h(0xcc)](h(0xd1))[h(0xcd)]()[h(0xdc)](a60a)['search'](h(0xd1));});a60a();import a60e from'./set.command.js';import{Command}from'../../command.js';function a60c(){var k=['maka\x20set:local-config\x20<opts>','create','(((.+)+)+)+$','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','4162010HQjNxB','2080734sJCGao','12816ByJzfH','maka\x20set:lc\x20<opts>','991775gCgyyl','local-config','14mcfdFY','1533862cgvKqR','8739nASSPY','constructor','Set\x20local\x20maka\x20app\x20settings','notice','apply','743904eokBfe','search','toString','2130600GdiWwY'];a60c=function(){return k;};return a60c();}import{Log}from'../../tools/log/log.class.js';Command[a60i(0xd0)]({'name':a60i(0xd8),'usage':'maka\x20set:local-config\x20<opts>','examples':[a60i(0xd6),a60i(0xcf)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a60i(0xdd),'validOpts':[],'description':a60i(0xd2)},async function(){var j=a60i;Log[j(0xde)]('Sorry,\x20not\x20implemented\x20yet');},a60e);
@@ -1 +1 @@
1
- const a48h=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x134;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x134))/0x1+-parseInt(f(0x13b))/0x2*(-parseInt(f(0x138))/0x3)+parseInt(f(0x13a))/0x4+parseInt(f(0x13e))/0x5+parseInt(f(0x13f))/0x6*(-parseInt(f(0x13c))/0x7)+-parseInt(f(0x145))/0x8+-parseInt(f(0x13d))/0x9*(-parseInt(f(0x137))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xf1a1a));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a['toString']()['search'](g(0x143))[g(0x146)]()[g(0x136)](a48a)[g(0x139)](g(0x143));});a48a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';function a48c(){const j=['26718EydoSy','set','findSubCommand','maka\x20set:<sub-command>\x20<opts>','(((.+)+)+)+$','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','6368840lwYUtH','toString','1082288JYyLPu','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','constructor','10dcAyKA','31893IFTYKD','search','5738124gNYTOu','20FkNvQR','3031IIheKm','3375081OJaIie','3579190jgSGtL'];a48c=function(){return j;};return a48c();}const SetCommand=Command['create']({'name':a48h(0x140),'usage':a48h(0x142),'minArgLength':0x1,'shortDesc':a48h(0x135),'description':a48h(0x144),'validOpts':[]},async function(a,b){const i=a48h,c=a[0x0];if(b['help'])throw new UsageError();const d=this[i(0x141)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
1
+ const a61i=a61d;(function(a,b){const f=a61d,c=a();while(!![]){try{const d=parseInt(f(0xb5))/0x1+parseInt(f(0xad))/0x2*(-parseInt(f(0xb0))/0x3)+parseInt(f(0xbb))/0x4*(-parseInt(f(0xb7))/0x5)+-parseInt(f(0xb1))/0x6+-parseInt(f(0xa8))/0x7*(-parseInt(f(0xaa))/0x8)+parseInt(f(0xae))/0x9*(parseInt(f(0xac))/0xa)+parseInt(f(0xa9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0xe9fa9));const a61b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a61d;if(c){const e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a61a=a61b(this,function(){const h=a61d;return a61a[h(0xb8)]()[h(0xba)](h(0xab))[h(0xb8)]()[h(0xaf)](a61a)[h(0xba)](h(0xab));});a61a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0xa6;let f=c[d];return f;},a61d(a,b);}const SetCommand=Command['create']({'name':a61i(0xa6),'usage':a61i(0xb3),'minArgLength':0x1,'shortDesc':a61i(0xb6),'description':a61i(0xb2),'validOpts':[]},async function(a,b){const j=a61i,c=a[0x0];if(b['help'])throw new UsageError();const d=this[j(0xb9)](c);d&&this[j(0xb4)](c,a,b);});export default SetCommand;function a61c(){const k=['7330316iktHMd','set','apply','37226RGInVh','12677115JbvxSw','792RXXKZp','(((.+)+)+)+$','31820xbgzOu','28800jwrIhK','2862dbqTlj','constructor','12xxbBGC','7855302EvddKI','\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>','runSubCommand','1466950LDiDDR','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','5jxOKFc','toString','findSubCommand','search'];a61c=function(){return k;};return a61c();}