@maka/maka-cli 5.0.10 → 5.0.11

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 (163) hide show
  1. package/bundle/obf/package.json +1 -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/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/options/options.class.js +1 -1
  157. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  163. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maka/maka-cli",
3
- "version": "5.0.10",
3
+ "version": "5.0.11",
4
4
  "type": "module",
5
5
  "summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
6
6
  "description": "A command line tool for scaffolding Meteor 2.x applications using React.",
@@ -1 +1 @@
1
- const a0p=a0d;function a0c(){const z=['error','maybeProxyCommandToMeteor','tableList','Command\x20format\x20is\x20incorrect','130530cIEcNO','maxOptsLength','There\x20is\x20no\x20Meteor\x20application\x20here','setColorMode','639429cANyFl','pallet','Please\x20run\x20\x22maka\x20login\x22','push','21UQKXRC','_handler','usage','Alias','Too\x20few\x20options','minArgLength','run','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','Too\x20many\x20arguments','slice','1248508EcZzBX','keys','length','185HaGiPj','light','Name','(((.+)+)+)+$','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','(expermiental)\x20','487856AMjknk','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','name','murder','Command\x20requires\x20a\x20handler\x20function','options','Command\x20not\x20found','4980140VfQJHS','exit','assign','mustBeLoggedIn','generate','find','number','DARK','minOptsLength','localeCompare','_commands','processAndRunCommand','Command.create\x20requires\x20some\x20options!','Too\x20few\x20arguments','shortDesc','190346Gyfjyz','23518880WkBBLV','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','invoke','experimental','function','mustHaveMeteorInstalled','aliases','Command\x20requires\x20a\x20name','9ziiYtl','constructor','notice','getGlobalConfig','match','bind','validateParams','validateUserIsLoggedIn','Command\x20','3ObQwtS','unshift','call','Sub-Commands:','mustBeInMakaProject','addCommand','play','\x20not\x20found','split','help','toString','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','Description','join'];a0c=function(){return z;};return a0c();}(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(0x222))/0x1*(-parseInt(n(0x210))/0x2)+-parseInt(n(0x238))/0x3+-parseInt(n(0x1f1))/0x4+-parseInt(n(0x1f4))/0x5*(parseInt(n(0x234))/0x6)+-parseInt(n(0x23c))/0x7*(parseInt(n(0x1fa))/0x8)+parseInt(n(0x219))/0x9*(-parseInt(n(0x201))/0xa)+parseInt(n(0x211))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x64b12));const a0b=(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;};}()),a0a=a0b(this,function(){const o=a0d;return a0a[o(0x22c)]()['search'](o(0x1f7))['toString']()[o(0x21a)](a0a)['search'](o(0x1f7));});function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a0d(a,b);}a0a();import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';let _prevCmd='';export class Command extends Tool{[a0p(0x1ff)];[a0p(0x20b)];constructor(a,b){const q=a0p;super();if(!a)throw new Error(q(0x212));if(!a[q(0x1fc)])throw new Error(q(0x218));if(typeof b!==q(0x215))throw new Error(q(0x1fe));this[q(0x1ff)]=Object[q(0x203)]({},a),this[q(0x1fc)]=this['options'][q(0x1fc)],this['_commands']=[],this[q(0x23d)]=b[q(0x21e)](this);}static['create'](a,b,c){const r=a0p;if(!a)throw new Error(r(0x20d));if(typeof b!==r(0x215))throw new Error('Command.create\x20requires\x20a\x20handler\x20function!');const d=new Command(a,b);return c=c||a0f,Object['assign'](d,{'parent':c?.['options']?.[r(0x1fc)]}),c[r(0x227)](d),d;}[a0p(0x227)](a){const s=a0p;if(!(a instanceof Command))throw new Error('addCommand\x20requires\x20a\x20Command\x20instance');this['_commands'][s(0x23b)](a);}async[a0p(0x242)](a,b){const t=a0p;try{a=a||[],b=b||{};try{const c=await this['fsi'][t(0x21c)](),d=c[t(0x239)]===t(0x1f5)?ColorMode['LIGHT']:ColorMode[t(0x208)];Log[t(0x237)](d);}catch(f){Log['error'](f),process[t(0x202)](0x0);}return await this['invoke'](a,b);}catch(g){process['exit'](0x1);}}async[a0p(0x213)](a,b){const u=a0p,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[u(0x1ff)];try{if(this[u(0x1ff)][u(0x1fc)]!==u(0x205)){if(!isRoot){const g=(a[0x0]===_prevCmd||a[u(0x1f3)]===0x0)&&this[u(0x20b)]['length']>=0x0,h=b[u(0x22b)]||b['h'];if(g&&h){if(this[u(0x20b)][u(0x1f3)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[u(0x1ff)][u(0x226)]){const i=this['validateMakaProject']();if(!i)throw new MustBeInProjectError();}if(this[u(0x1ff)][u(0x204)]){const j=await this[u(0x220)]();if(!j)throw new MustBeLoggedIn();}if(this['options'][u(0x216)]){const k=this['validateMeteorInstall']();if(!k)throw new NoMeteorFoundError();}if(typeof this[u(0x1ff)][u(0x241)]===u(0x207)){if(a[u(0x1f3)]<this['options'][u(0x241)]){Log[u(0x230)](u(0x20e));throw new UsageError();}}if(typeof this[u(0x1ff)]['maxArgLength']===u(0x207)){if(a[u(0x1f3)]>=this['options']['maxArgLength']){Log['error'](u(0x244));throw new UsageError();}}if(typeof this[u(0x1ff)][u(0x209)]===u(0x207)){if(Object[u(0x1f2)](b)[u(0x1f3)]<this['options']['minOptsLength']){Log[u(0x230)](u(0x240));throw new UsageError();}}if(typeof this[u(0x1ff)][u(0x235)]==='number'){if(Object[u(0x1f2)](b)['length']>=this[u(0x1ff)][u(0x235)]){Log[u(0x230)]('Too\x20many\x20options');throw new UsageError();}}}}b=await this[u(0x21f)](a,b,this['options']),_prevCmd=a[0x0];}return await this[u(0x23d)][u(0x224)](this,a,b);}catch(l){Log[u(0x23e)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[u(0x21b)](u(0x225)),this[u(0x232)](this[u(0x20b)]),Log['header'](u(0x1f8));else{if(l instanceof MustBeInProjectError)Log[u(0x230)](u(0x243));else{if(l instanceof NoMeteorFoundError)Log[u(0x230)](u(0x1fb)),Log[u(0x21b)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(l instanceof NoMeteorAppFoundError)Log[u(0x230)](u(0x236));else l instanceof MustBeLoggedIn&&(Log[u(0x230)](u(0x22d)),Log[u(0x21b)](u(0x23a)));}}}process['exit'](0x1);}}[a0p(0x232)](a){const v=a0p,b=new a0e({});b['push']([v(0x1f6),v(0x23f),v(0x22e)]),a['sort']((c,d)=>{const w=v;return c[w(0x1fc)][w(0x20a)](d[w(0x1fc)]);})['forEach'](c=>{const x=v;if(c[x(0x1fc)]!==x(0x1fd)&&c[x(0x1fc)]!==x(0x228)){const d=c[x(0x214)](),e=d?x(0x1f9)+c[x(0x20f)]():c[x(0x20f)]();b['push']([c['name'],c[x(0x217)](),e]);}}),Log['bright'](b[v(0x22c)]());}async[a0p(0x20c)](a,b=[],c={}){const y=a0p;try{const d=a?.[y(0x22a)](':');if(!d||d[y(0x1f3)]===0x0)throw y(0x233);if(d[0x0]===y(0x205)||d[0x0]==='g'&&d[y(0x1f3)]>0x1){const h=this[y(0x20b)][y(0x206)](j=>j[y(0x21d)]('generate'));if(!h)throw y(0x200);const i=d[y(0x1f0)](0x1)[y(0x22f)](':');return b[y(0x223)](i),await h[y(0x242)](b,c);}let f=this[y(0x20b)],g;for(const j of d){g=f[y(0x206)](k=>k[y(0x21d)](j));if(!g)try{await this['fsi'][y(0x231)]();}catch(k){throw y(0x221)+j+y(0x229);}g&&(f=g[y(0x20b)]);}if(g){const l=await g['run'](b,c);return l;}else throw y(0x200);}catch(m){Log['error'](m),process['exit'](0x1);}}}
1
+ function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x9c;let f=c[d];return f;},a0d(a,b);}function a0c(){const A=['_commands','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','validateMakaProject','pallet','Alias','4929441PjGuRT','mustBeLoggedIn','117lKlQXb','addCommand','bright','Please\x20run\x20\x22maka\x20login\x22','localeCompare','\x20not\x20found','Too\x20few\x20arguments','_handler','options','698115IxmXok','DARK','Command\x20','error','number','usage','Too\x20many\x20options','assign','maxOptsLength','Command.create\x20requires\x20some\x20options!','addCommand\x20requires\x20a\x20Command\x20instance','call','bind','split','length','Sub-Commands:','sort','generate','toString','194544XKGwwJ','(((.+)+)+)+$','fsi','processAndRunCommand','Description','apply','shortDesc','mustHaveMeteorInstalled','find','keys','slice','3QkrygK','10hZkhtg','constructor','Command.create\x20requires\x20a\x20handler\x20function!','validateUserIsLoggedIn','push','forEach','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','maxArgLength','Command\x20format\x20is\x20incorrect','1141497krLBOQ','name','Too\x20many\x20arguments','minOptsLength','search','validateMeteorInstall','Too\x20few\x20options','10gIsnPS','2084358ETqvkz','672316UQozAI','notice','function','header','Command\x20not\x20found','Command\x20requires\x20a\x20handler\x20function','experimental','minArgLength','Please\x20run\x20\x22maka\x20install\x20meteor\x22','run','murder','maybeProxyCommandToMeteor','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','3562302ZaHkpS','There\x20is\x20no\x20Meteor\x20application\x20here','(expermiental)\x20','match','aliases','exit'];a0c=function(){return A;};return a0c();}const a0q=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(0xdf))/0x1+parseInt(n(0xbb))/0x2*(parseInt(n(0xa9))/0x3)+-parseInt(n(0xbc))/0x4*(parseInt(n(0xaa))/0x5)+parseInt(n(0xc9))/0x6+-parseInt(n(0xb3))/0x7+-parseInt(n(0x9e))/0x8*(parseInt(n(0xd6))/0x9)+-parseInt(n(0xba))/0xa*(-parseInt(n(0xd4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x8b4b5));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x9d)]()[p(0xb7)](p(0x9f))[p(0x9d)]()[p(0xab)](a0a)[p(0xb7)](p(0x9f));});a0a();import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';let _prevCmd='';export class Command extends Tool{['options'];[a0q(0xcf)];constructor(a,b){const r=a0q;super();if(!a)throw new Error(r(0xc8));if(!a[r(0xb4)])throw new Error('Command\x20requires\x20a\x20name');if(typeof b!==r(0xbe))throw new Error(r(0xc1));this[r(0xde)]=Object[r(0xe6)]({},a),this[r(0xb4)]=this[r(0xde)][r(0xb4)],this[r(0xcf)]=[],this['_handler']=b[r(0xeb)](this);}static['create'](a,b,c){const s=a0q;if(!a)throw new Error(s(0xe8));if(typeof b!==s(0xbe))throw new Error(s(0xac));const d=new Command(a,b);return c=c||a0f,Object[s(0xe6)](d,{'parent':c?.[s(0xde)]?.[s(0xb4)]}),c['addCommand'](d),d;}[a0q(0xd7)](a){const t=a0q;if(!(a instanceof Command))throw new Error(t(0xe9));this[t(0xcf)]['push'](a);}async['run'](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this['fsi']['getGlobalConfig'](),d=c[u(0xd2)]==='light'?ColorMode['LIGHT']:ColorMode[u(0xe0)];Log['setColorMode'](d);}catch(f){Log[u(0xe2)](f),process['exit'](0x0);}return await this['invoke'](a,b);}catch(g){process[u(0xce)](0x1);}}async['invoke'](a,b){const v=a0q,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this['options'];try{if(this[v(0xde)][v(0xb4)]!=='generate'){if(!isRoot){const g=(a[0x0]===_prevCmd||a[v(0xed)]===0x0)&&this[v(0xcf)][v(0xed)]>=0x0,h=b['help']||b['h'];if(g&&h){if(this[v(0xcf)][v(0xed)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[v(0xde)]['mustBeInMakaProject']){const i=this[v(0xd1)]();if(!i)throw new MustBeInProjectError();}if(this[v(0xde)][v(0xd5)]){const j=await this[v(0xad)]();if(!j)throw new MustBeLoggedIn();}if(this['options'][v(0xa5)]){const k=this[v(0xb8)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[v(0xde)][v(0xc3)]==='number'){if(a['length']<this['options'][v(0xc3)]){Log[v(0xe2)](v(0xdc));throw new UsageError();}}if(typeof this['options'][v(0xb1)]===v(0xe3)){if(a[v(0xed)]>=this[v(0xde)][v(0xb1)]){Log[v(0xe2)](v(0xb5));throw new UsageError();}}if(typeof this[v(0xde)]['minOptsLength']===v(0xe3)){if(Object[v(0xa7)](b)[v(0xed)]<this[v(0xde)][v(0xb6)]){Log[v(0xe2)](v(0xb9));throw new UsageError();}}if(typeof this[v(0xde)]['maxOptsLength']==='number'){if(Object[v(0xa7)](b)[v(0xed)]>=this[v(0xde)][v(0xe7)]){Log[v(0xe2)](v(0xe5));throw new UsageError();}}}}b=await this['validateParams'](a,b,this['options']),_prevCmd=a[0x0];}return await this[v(0xdd)][v(0xea)](this,a,b);}catch(l){Log[v(0xe4)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[v(0xbd)](v(0xee)),this['tableList'](this[v(0xcf)]),Log[v(0xbf)](v(0xb0));else{if(l instanceof MustBeInProjectError)Log['error']('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command');else{if(l instanceof NoMeteorFoundError)Log[v(0xe2)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[v(0xbd)](v(0xc4));else{if(l instanceof NoMeteorAppFoundError)Log[v(0xe2)](v(0xca));else l instanceof MustBeLoggedIn&&(Log[v(0xe2)](v(0xd0)),Log['notice'](v(0xd9)));}}}process['exit'](0x1);}}['tableList'](a){const w=a0q,b=new a0e({});b[w(0xae)](['Name',w(0xd3),w(0xa2)]),a[w(0xef)]((c,d)=>{const x=w;return c[x(0xb4)][x(0xda)](d[x(0xb4)]);})[w(0xaf)](c=>{const y=w;if(c['name']!==y(0xc6)&&c['name']!=='play'){const d=c[y(0xc2)](),e=d?y(0xcb)+c['shortDesc']():c[y(0xa4)]();b[y(0xae)]([c['name'],c[y(0xcd)](),e]);}}),Log[w(0xd8)](b[w(0x9d)]());}async[a0q(0xa1)](a,b=[],c={}){const z=a0q;try{const d=a?.[z(0xec)](':');if(!d||d[z(0xed)]===0x0)throw z(0xb2);if(d[0x0]==='generate'||d[0x0]==='g'&&d[z(0xed)]>0x1){const h=this[z(0xcf)][z(0xa6)](j=>j[z(0xcc)](z(0x9c)));if(!h)throw z(0xc0);const i=d[z(0xa8)](0x1)['join'](':');return b['unshift'](i),await h['run'](b,c);}let f=this[z(0xcf)],g;for(const j of d){g=f[z(0xa6)](k=>k[z(0xcc)](j));if(!g)try{await this[z(0xa0)][z(0xc7)]();}catch(k){throw z(0xe1)+j+z(0xdb);}g&&(f=g[z(0xcf)]);}if(g){const l=await g[z(0xc5)](b,c);return l;}else throw'Command\x20not\x20found';}catch(m){Log['error'](m),process[z(0xce)](0x1);}}}
@@ -1 +1 @@
1
- (function(a,b){var f=a1d,c=a();while(!![]){try{var d=-parseInt(f(0x1ef))/0x1+parseInt(f(0x1ed))/0x2*(-parseInt(f(0x1ee))/0x3)+parseInt(f(0x1ec))/0x4+-parseInt(f(0x1e5))/0x5+-parseInt(f(0x1e6))/0x6+-parseInt(f(0x1eb))/0x7*(parseInt(f(0x1e3))/0x8)+-parseInt(f(0x1e9))/0x9*(-parseInt(f(0x1f0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x8eb9f));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0x1e7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0x1e4)]()[h(0x1e2)]('(((.+)+)+)+$')['toString']()[h(0x1ea)](a1a)[h(0x1e2)](h(0x1e8));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./deploy/_index.js';function a1c(){var i=['toString','4904265kyvvly','3841476JkyLnT','apply','(((.+)+)+)+$','30199914gRycHc','constructor','11991gpXOwY','3534888LxuxaL','1517174zVacZI','3FbRAIQ','416762RyuJQH','10vvOSEs','search','4008bRfPrE'];a1c=function(){return i;};return a1c();}import'./run/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x1e2;var f=c[d];return f;},a1d(a,b);}import'./lint.js';import'./undo.js';import'./profile.js';
1
+ (function(a,b){var f=a1d,c=a();while(!![]){try{var d=parseInt(f(0xe4))/0x1+parseInt(f(0xe5))/0x2+parseInt(f(0xe2))/0x3*(-parseInt(f(0xe1))/0x4)+-parseInt(f(0xe7))/0x5*(-parseInt(f(0xe0))/0x6)+parseInt(f(0xeb))/0x7+parseInt(f(0xea))/0x8+-parseInt(f(0xe9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x84b04));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0xe8)]()[h(0xdf)](h(0xe3))[h(0xe8)]()['constructor'](a1a)[h(0xdf)]('(((.+)+)+)+$');});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./deploy/_index.js';import'./run/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';function a1c(){var i=['752383qvsZjX','2072786vKIjqr','apply','720IgHFFs','toString','23077710OEBRLm','4788240XWqqPP','2223186OKHwqx','search','44004mGimzT','8WHHRBu','979977ekhBeD','(((.+)+)+)+$'];a1c=function(){return i;};return a1c();}import'./murder.js';import'./proxy.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xdf;var f=c[d];return f;},a1d(a,b);}import'./lint.js';import'./undo.js';import'./profile.js';
@@ -1 +1 @@
1
- function a2c(){const n=['isFile','search','message','cacert','8qigNeA','3hhGRZX','3418596GRsgTA','10DRaixz','constructor','You:\x20','create','Using\x20CA\x20Cert\x20','Using\x20OpenAI\x20Key\x20','9013301nSbJcU','GPT:\x20','1053846CskiqA','ChatGPT\x20style\x20AI\x20interface','close','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','openapikey','text','2199656SGqamS','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','toLowerCase','toString','403336iucDxy','3775yGkGog','openai','(((.+)+)+)+$','exit','notice','stdout','error','cert','choices','bright','7679028TtKzhN','stdin','1602WzzCMb','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','fsi','question','parse','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'];a2c=function(){return n;};return a2c();}const a2l=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0x13e))/0x1+-parseInt(h(0x134))/0x2+parseInt(h(0x12a))/0x3*(-parseInt(h(0x13a))/0x4)+-parseInt(h(0x113))/0x5*(parseInt(h(0x11f))/0x6)+-parseInt(h(0x11d))/0x7*(-parseInt(h(0x129))/0x8)+parseInt(h(0x12b))/0x9+-parseInt(h(0x12c))/0xa*(-parseInt(h(0x132))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x96051));const a2b=(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;};}()),a2a=a2b(this,function(){const i=a2d;return a2a[i(0x13d)]()[i(0x126)](i(0x115))[i(0x13d)]()[i(0x12d)](a2a)[i(0x126)](i(0x115));});a2a();import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';import a2e from'readline';const startChat=async({openApiKey:a,caCertPath:b})=>{const j=a2d,c=a2e['createInterface']({'input':process[j(0x11e)],'output':process[j(0x118)]});c[j(0x122)](j(0x12e),async d=>{const k=j;if(d[k(0x13c)]()===k(0x116)){c[k(0x136)]();return;}try{const e=await HTTPS['askGPT']({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[k(0x123)](e['data']);if(f[k(0x119)])throw new Error(f[k(0x119)][k(0x127)]);Log[k(0x11c)](k(0x133)+f?.[k(0x11b)][0x0]?.[k(0x139)]['trim']());}catch(g){Log[k(0x119)](g),process[k(0x116)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x113;let f=c[d];return f;},a2d(a,b);}Command[a2l(0x12f)]({'name':'ai','description':a2l(0x135),'validOpts':[a2l(0x128),a2l(0x138)],'shortDesc':a2l(0x135),'isPro':!![]},async function(a,b){const m=a2l;try{let c='';b[m(0x128)]&&(this[m(0x121)]['isFile'](b[m(0x128)])?(c=b['cacert'],Log[m(0x117)](m(0x130)+c)):Log[m(0x119)](m(0x120)+c));const d=await this[m(0x121)]['getGlobalConfig']();if(d['cert']){if(this[m(0x121)][m(0x125)](d['cert']))c=d[m(0x11a)];else throw Log[m(0x119)](m(0x124)+c);}let f='';if(b[m(0x138)])f=b['openapikey'],Log[m(0x117)](m(0x131)+f);else{if(d['openai'])f=d[m(0x114)];else throw Log['error'](m(0x13b));}Log[m(0x11c)](m(0x137)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[m(0x119)](g),process[m(0x116)](0x1);}});
1
+ const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=parseInt(h(0x182))/0x1+-parseInt(h(0x170))/0x2+-parseInt(h(0x190))/0x3*(-parseInt(h(0x179))/0x4)+-parseInt(h(0x172))/0x5*(-parseInt(h(0x192))/0x6)+-parseInt(h(0x18d))/0x7*(-parseInt(h(0x16f))/0x8)+-parseInt(h(0x196))/0x9*(-parseInt(h(0x194))/0xa)+-parseInt(h(0x17a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xba5d4));function a2c(){const o=['8yyqvHV','822184Yilogz','data','183415deFfIg','fsi','GPT:\x20','Using\x20OpenAI\x20Key\x20','question','message','cacert','4xlZjaA','22010593dqSVNt','toString','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','stdout','ChatGPT\x20style\x20AI\x20interface','isFile','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','create','831437sxDski','openapikey','toLowerCase','bright','parse','constructor','close','You:\x20','error','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','1986845nXRwgp','exit','askGPT','3449949bdpQdG','openai','18WsHuea','(((.+)+)+)+$','1910inGLJx','search','37701otnNje','cert','apply','Using\x20CA\x20Cert\x20'];a2c=function(){return o;};return a2c();}const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a[j(0x17b)]()['search']('(((.+)+)+)+$')[j(0x17b)]()[j(0x187)](a2a)[j(0x195)](j(0x193));});a2a();import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';import a2e from'readline';function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x16c;let f=c[d];return f;},a2d(a,b);}const startChat=async({openApiKey:a,caCertPath:b})=>{const k=a2d,c=a2e['createInterface']({'input':process['stdin'],'output':process[k(0x17d)]});c[k(0x176)](k(0x189),async d=>{const l=k;if(d[l(0x184)]()===l(0x18e)){c[l(0x188)]();return;}try{const e=await HTTPS[l(0x18f)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[l(0x186)](e[l(0x171)]);if(f[l(0x18a)])throw new Error(f[l(0x18a)][l(0x177)]);Log['bright'](l(0x174)+f?.['choices'][0x0]?.['text']['trim']());}catch(g){Log[l(0x18a)](g),process[l(0x18e)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2m(0x181)]({'name':'ai','description':a2m(0x17e),'validOpts':[a2m(0x178),'openapikey'],'shortDesc':a2m(0x17e),'isPro':!![]},async function(a,b){const n=a2m;try{let c='';b[n(0x178)]&&(this['fsi'][n(0x17f)](b['cacert'])?(c=b[n(0x178)],Log['notice'](n(0x16e)+c)):Log[n(0x18a)](n(0x17c)+c));const d=await this['fsi']['getGlobalConfig']();if(d[n(0x16c)]){if(this[n(0x173)][n(0x17f)](d[n(0x16c)]))c=d[n(0x16c)];else throw Log[n(0x18a)](n(0x180)+c);}let f='';if(b[n(0x183)])f=b[n(0x183)],Log['notice'](n(0x175)+f);else{if(d[n(0x191)])f=d[n(0x191)];else throw Log['error'](n(0x18c));}Log[n(0x185)](n(0x18b)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[n(0x18a)](g),process[n(0x18e)](0x1);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(0x199))/0x1+-parseInt(f(0x192))/0x2+parseInt(f(0x18d))/0x3+-parseInt(f(0x198))/0x4+parseInt(f(0x195))/0x5+parseInt(f(0x191))/0x6*(-parseInt(f(0x196))/0x7)+parseInt(f(0x18f))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x54a89));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x193)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x194)]()[h(0x18e)]('(((.+)+)+)+$')[h(0x194)]()[h(0x197)](a3a)[h(0x18e)](h(0x190));});a3a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dkp.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x18d;var f=c[d];return f;},a3d(a,b);}function a3c(){var i=['apply','toString','369140KedFbk','4481281ZnxQkW','constructor','2297400vfyCRl','320016FWKSQq','913329sWUrtm','search','14945280ZGPkcW','(((.+)+)+)+$','6SakUiA','730242eydHue'];a3c=function(){return i;};return a3c();}import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';import'./lecr.sub.cmd.js';
1
+ (function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(0xdd))/0x1*(parseInt(f(0xe2))/0x2)+parseInt(f(0xde))/0x3*(-parseInt(f(0xe8))/0x4)+parseInt(f(0xe5))/0x5*(-parseInt(f(0xdb))/0x6)+-parseInt(f(0xe7))/0x7*(-parseInt(f(0xe3))/0x8)+-parseInt(f(0xdc))/0x9*(parseInt(f(0xe9))/0xa)+parseInt(f(0xe0))/0xb*(-parseInt(f(0xea))/0xc)+parseInt(f(0xe6))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xd2fb5));var a3b=(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;};}()),a3a=a3b(this,function(){var g=a3d;return a3a[g(0xe4)]()['search'](g(0xdf))[g(0xe4)]()[g(0xe1)](a3a)['search']('(((.+)+)+)+$');});a3a();function a3c(){var h=['1JJwNTb','3tnqryz','(((.+)+)+)+$','6782303neHkKR','constructor','2787012fvkjFU','3349888gMVwcO','toString','347435kRxLrN','60224775sqCGyH','21tMpgCC','4543876ruFKRs','50TSmXrk','24ygnZdw','108yStpgP','20367DDzCgp'];a3c=function(){return h;};return a3c();}import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dkp.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';import'./rkp.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0xdb;var f=c[d];return f;},a3d(a,b);}import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';import'./lecr.sub.cmd.js';
@@ -1 +1 @@
1
- const a4h=a4d;function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x8d;let f=c[d];return f;},a4d(a,b);}(function(a,b){const f=a4d,c=a();while(!![]){try{const d=-parseInt(f(0x97))/0x1+parseInt(f(0x8e))/0x2*(-parseInt(f(0x94))/0x3)+parseInt(f(0x9d))/0x4*(-parseInt(f(0x9c))/0x5)+-parseInt(f(0x96))/0x6*(parseInt(f(0x8d))/0x7)+parseInt(f(0x8f))/0x8*(parseInt(f(0x99))/0x9)+-parseInt(f(0x91))/0xa+parseInt(f(0x93))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xc58eb));const a4b=(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;};}()),a4a=a4b(this,function(){const g=a4d;return a4a[g(0x9b)]()[g(0x95)](g(0x9a))[g(0x9b)]()[g(0x92)](a4a)[g(0x95)](g(0x9a));});a4a();function a4c(){const i=['273344IdlEaC','maka\x20aws:<sub-command>','11204130eKuHqL','constructor','50873471WLixvq','4335lsVamQ','search','8299722ZEtyuX','376861FPuXtG','create','333TrXxBR','(((.+)+)+)+$','toString','15sAkpeZ','1845788AZvavb','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','7VSEnxt','1128tnsium'];a4c=function(){return i;};return a4c();}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4h(0x98)]({'name':'aws','usage':a4h(0x90),'validOpts':[],'shortDesc':'Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','description':a4h(0x9e)},async function(){throw UsageError;});export default AWSCommand;
1
+ const a4i=a4d;function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0xc2;let f=c[d];return f;},a4d(a,b);}(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0xc2))/0x1+parseInt(f(0xd2))/0x2*(parseInt(f(0xcb))/0x3)+-parseInt(f(0xcc))/0x4*(-parseInt(f(0xc9))/0x5)+-parseInt(f(0xc8))/0x6*(-parseInt(f(0xc4))/0x7)+parseInt(f(0xce))/0x8*(-parseInt(f(0xc5))/0x9)+parseInt(f(0xc6))/0xa+parseInt(f(0xca))/0xb*(-parseInt(f(0xc3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xe6ec5));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0xcd)]()[h(0xd1)](h(0xd4))[h(0xcd)]()[h(0xd0)](a4a)[h(0xd1)](h(0xd4));});a4a();function a4c(){const j=['aws','constructor','search','282PqScQF','apply','(((.+)+)+)+$','580181wKtfMQ','2372676RWYJIm','42BJySok','422739RZWycX','18638050rqciYV','create','608088KyYtDT','6315vljeja','99Bunyyc','6399YGbFcP','988jZmGac','toString','160MtdAgv'];a4c=function(){return j;};return a4c();}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0xc7)]({'name':a4i(0xcf),'usage':'maka\x20aws:<sub-command>','validOpts':[],'shortDesc':'Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','description':'\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20'},async function(){throw UsageError;});export default AWSCommand;
@@ -1 +1 @@
1
- const a5j=a5d;(function(a,b){const g=a5d,c=a();while(!![]){try{const d=-parseInt(g(0x89))/0x1*(-parseInt(g(0x94))/0x2)+-parseInt(g(0x92))/0x3+parseInt(g(0xa5))/0x4*(-parseInt(g(0x9d))/0x5)+parseInt(g(0x91))/0x6+-parseInt(g(0x8a))/0x7*(-parseInt(g(0x8d))/0x8)+-parseInt(g(0x8b))/0x9+-parseInt(g(0xa8))/0xa*(-parseInt(g(0x96))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xc2735));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a5d;if(c){const e=c[h(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const i=a5d;return a5a[i(0xa3)]()[i(0xa2)]('(((.+)+)+)+$')[i(0xa3)]()['constructor'](a5a)['search'](i(0x93));});a5a();import a5e from'./aws.command.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x87;let f=c[d];return f;},a5d(a,b);}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a5j(0xa6)]({'name':a5j(0x90),'aliases':[a5j(0xa1)],'usage':a5j(0xa7),'requiredOpts':[a5j(0x87)],'validOpts':[a5j(0x98)],'shortDesc':'Create\x20an\x20Elastic\x20Container\x20Repository','examples':['maka\x20aws:create-ecr\x20--name=my-new-repo',a5j(0x8c),a5j(0xa4)]},async function(a,b){const k=a5j;try{const c=new AWS(),d=await c[k(0xa0)](b);d&&d[k(0x88)][k(0x9f)]===0xc8&&d['repository']?(Log[k(0x9b)](k(0x8e)),Log[k(0x9e)]('Repository\x20URI:\x20'+d[k(0x8f)][k(0x9c)])):Log[k(0x9a)](k(0x95)),process[k(0x99)](0x0);}catch(f){Log[k(0x9a)](f),process[k(0x99)](0x1);}},a5e);function a5c(){const l=['exit','error','success','repositoryUri','185oElDAM','notice','httpStatusCode','ecrCreateRepository','cecr','search','toString','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','37108uzVLyj','create','maka\x20aws:create-ecr','6410dBEGjB','name','$metadata','81875rFmpju','427WbbJbv','5390703ueBolF','maka\x20aws:cecr\x20--name=my-new-repo','77128zEJIec','Repository\x20created\x20successfully.','repository','create-ecr','4409118Awdnec','4419369LAbFZy','(((.+)+)+)+$','2aARfwB','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','31009axJeJW','apply','region'];a5c=function(){return l;};return a5c();}
1
+ const a5i=a5d;(function(a,b){const g=a5d,c=a();while(!![]){try{const d=-parseInt(g(0x111))/0x1+parseInt(g(0xfc))/0x2*(-parseInt(g(0xfe))/0x3)+-parseInt(g(0x115))/0x4*(parseInt(g(0x112))/0x5)+parseInt(g(0x10d))/0x6+parseInt(g(0xfd))/0x7*(parseInt(g(0x101))/0x8)+-parseInt(g(0x102))/0x9*(-parseInt(g(0x109))/0xa)+parseInt(g(0x10c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x8b7b9));const a5b=(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;};}()),a5a=a5b(this,function(){const h=a5d;return a5a[h(0x103)]()[h(0x10f)](h(0x105))[h(0x103)]()[h(0x113)](a5a)[h(0x10f)]('(((.+)+)+)+$');});a5a();import a5e from'./aws.command.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0xfa;let f=c[d];return f;},a5d(a,b);}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a5i(0x117)]({'name':a5i(0xff),'aliases':[a5i(0x119)],'usage':a5i(0x118),'requiredOpts':['name'],'validOpts':[a5i(0x100)],'shortDesc':a5i(0x110),'examples':['maka\x20aws:create-ecr\x20--name=my-new-repo',a5i(0x10a),a5i(0x104)]},async function(a,b){const j=a5i;try{const c=new AWS(),d=await c['ecrCreateRepository'](b);d&&d[j(0x108)][j(0xfa)]===0xc8&&d[j(0x10e)]?(Log['success'](j(0x10b)),Log[j(0x116)](j(0x106)+d['repository'][j(0xfb)])):Log['error']('Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.'),process['exit'](0x0);}catch(f){Log[j(0x107)](f),process[j(0x114)](0x1);}},a5e);function a5c(){const k=['18825202EqnuMl','3665190XBBius','repository','search','Create\x20an\x20Elastic\x20Container\x20Repository','1006828ZJpPqp','488965EWAVtN','constructor','exit','40RZwibI','notice','create','maka\x20aws:create-ecr','cecr','httpStatusCode','repositoryUri','22KNKCta','646807ryFQzC','29451GdorHf','create-ecr','region','24ZocwwD','14184yabMTj','toString','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','(((.+)+)+)+$','Repository\x20URI:\x20','error','$metadata','410PnpUqb','maka\x20aws:cecr\x20--name=my-new-repo','Repository\x20created\x20successfully.'];a5c=function(){return k;};return a5c();}
@@ -1 +1 @@
1
- const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d=parseInt(i(0x107))/0x1+parseInt(i(0x10a))/0x2+parseInt(i(0x117))/0x3*(-parseInt(i(0x103))/0x4)+parseInt(i(0x105))/0x5*(parseInt(i(0x114))/0x6)+parseInt(i(0x116))/0x7+parseInt(i(0x106))/0x8*(parseInt(i(0x110))/0x9)+-parseInt(i(0x10b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xb6802));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a6d;if(c){const e=c[j(0xfe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const k=a6d;return a6a[k(0x119)]()[k(0x112)](k(0x111))[k(0x119)]()[k(0x115)](a6a)[k(0x112)](k(0x111));});a6a();import a6e from'./aws.command.js';import{Command}from'../../command.js';function a6c(){const n=['4569HyKlIH','error','toString','chz','confirm','apply','exit','maka\x20aws:chz\x20--domain=example.com','maka\x20aws:create-hosted-zone','Set\x20hosted\x20zone\x20to\x20an\x20instance?','2460hXMqcV','create-hosted-zone','110xaefEa','8fOqBCt','1048543Dclnwa','create','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','484378PJxgLQ','20997680hiIOmg','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','route53CreateHostedZone','chooseInstance','publicIp','7940574iZzmuG','(((.+)+)+)+$','search','domain','54804MquDtV','constructor','9869783jqbcrN'];a6c=function(){return n;};return a6c();}import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0xfe;let f=c[d];return f;},a6d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a6l(0x108)]({'name':a6l(0x104),'aliases':[a6l(0x11a)],'usage':a6l(0x101),'requiredOpts':['domain'],'validOpts':[],'shortDesc':a6l(0x109),'examples':['maka\x20aws:create-hosted-zone\x20--domain=example.com',a6l(0x100)]},async function(a,b){const m=a6l;try{const c=b[m(0x113)],d=new AWS();d[m(0x10d)](c);const f=await Actions[m(0x11b)](m(0x102));if(f){const g=await d[m(0x10e)]();if(g?.['id']){if(!g[m(0x10f)])throw Log[m(0x118)](m(0x10c));d['linkEC2ToRoute53'](g['id'],g[m(0x10f)],c);}else throw'Instance\x20not\x20found';}}catch(h){h&&Log['error'](h),process[m(0xff)](0x0);}},a6e);
1
+ const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d=parseInt(i(0x1db))/0x1*(parseInt(i(0x1ce))/0x2)+parseInt(i(0x1be))/0x3*(-parseInt(i(0x1c1))/0x4)+-parseInt(i(0x1d9))/0x5*(-parseInt(i(0x1bf))/0x6)+-parseInt(i(0x1d0))/0x7*(parseInt(i(0x1c8))/0x8)+-parseInt(i(0x1d3))/0x9*(parseInt(i(0x1dd))/0xa)+parseInt(i(0x1d6))/0xb+parseInt(i(0x1ca))/0xc*(parseInt(i(0x1c6))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x56142));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a6d;if(c){const e=c[j(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const k=a6d;return a6a[k(0x1c2)]()[k(0x1da)]('(((.+)+)+)+$')[k(0x1c2)]()[k(0x1d2)](a6a)['search'](k(0x1df));});a6a();import a6e from'./aws.command.js';import{Command}from'../../command.js';function a6c(){const n=['create-hosted-zone','constructor','3528711tvdWaL','domain','error','1984840LQNAnI','route53CreateHostedZone','maka\x20aws:chz\x20--domain=example.com','790430tbhXXo','search','663830QaHqcS','chz','10gfhYzA','apply','(((.+)+)+)+$','Instance\x20not\x20found','510QYQbOB','12PbluIA','maka\x20aws:create-hosted-zone\x20--domain=example.com','7196FnzrNr','toString','linkEC2ToRoute53','Set\x20hosted\x20zone\x20to\x20an\x20instance?','maka\x20aws:create-hosted-zone','13TtRGTp','publicIp','856GmZwgs','chooseInstance','3795996OLyuyn','exit','confirm','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','2bevJem','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','27888FLSiGk'];a6c=function(){return n;};return a6c();}import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x1be;let f=c[d];return f;},a6d(a,b);}Command['create']({'name':a6l(0x1d1),'aliases':[a6l(0x1dc)],'usage':a6l(0x1c5),'requiredOpts':[a6l(0x1d4)],'validOpts':[],'shortDesc':a6l(0x1cd),'examples':[a6l(0x1c0),a6l(0x1d8)]},async function(a,b){const m=a6l;try{const c=b['domain'],d=new AWS();d[m(0x1d7)](c);const f=await Actions[m(0x1cc)](m(0x1c4));if(f){const g=await d[m(0x1c9)]();if(g?.['id']){if(!g[m(0x1c7)])throw Log[m(0x1d5)](m(0x1cf));d[m(0x1c3)](g['id'],g[m(0x1c7)],c);}else throw m(0x1e0);}}catch(h){h&&Log[m(0x1d5)](h),process[m(0x1cb)](0x0);}},a6e);
@@ -1 +1 @@
1
- const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(0x1a8))/0x1+-parseInt(Y(0x1a5))/0x2+parseInt(Y(0x1a6))/0x3+parseInt(Y(0x1dc))/0x4*(-parseInt(Y(0x1aa))/0x5)+parseInt(Y(0x19c))/0x6+parseInt(Y(0x1c6))/0x7+parseInt(Y(0x1ba))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x3120e));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a[a0(0x1cc)]()[a0(0x1d5)](a0(0x1d6))[a0(0x1cc)]()['constructor'](a7a)[a0(0x1d5)](a0(0x1d6));});a7a();import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a7c(){const a3=['Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','notice','create','1893479BWjmua','user-data','User\x20Data:','string','create-instance','Key-Pair:\x20','toString','createKeyPair','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','fsi','confirm','environment','ask','Security\x20Group\x20Name:\x20[','search','(((.+)+)+)+$','ImageID:','ec2createSG','Subnet:\x20','unlinkSync','join','848pyxwDT','apply','chooseSecurityGroup','\x0a\x20\x20Walk\x20through\x20a\x20list\x20of\x20questions\x20that\x20will\x20properly\x20provision\x20a\x20new\x20EC2\x0a\x20\x20instance.\x0a\x0a\x20\x20Once\x20created,\x20you\x20will\x20begin\x20to\x20be\x20billed\x20for\x20the\x20resource!\x0a\x20\x20','Create\x20new\x20AWS\x20instance','readFileSync','Remove\x20the\x20security\x20group\x20','Instace\x20Type:\x20','maka\x20aws:create-instance','isFile','deleteKeyPair','Would\x20you\x20like\x20to\x20include\x20user\x20data?','548994Objjqh','You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key','22,80,443','createFile','maka\x20aws:create-instance\x20--env\x20dev','bright','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','Web\x20App','t3.micro','326014rejKmV','34866EMQEvU','Setting\x20the\x20key-pair\x20to:\x20','146890ftspgC','chooseVPC','6715vLDgsx','maka-cli','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','No\x20instance\x20has\x20been\x20created.','Remove\x20the\x20keypair\x20','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','Please\x20choose\x20a\x20key\x20to\x20use:\x20','ec2describeKeys','Name','success','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','deleteSecurityGroup','name','maka\x20aws:ci\x20--env\x20prod','split','3377800vMzESQ','getSubnetCidr','env','getMakaProjectConfig','getAppConfigPath','listAvailableSubnets','error','listAvailableAMIs','EC2\x20Name:\x20['];a7c=function(){return a3;};return a7c();}function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x19c;let f=c[d];return f;},a7d(a,b);}import{FSI}from'../../tools/fsi/fsi.class.js';Command[a7a1(0x1c5)]({'name':a7a1(0x1ca),'aliases':['ci'],'usage':a7a1(0x1e4),'examples':[a7a1(0x1a0),a7a1(0x1b8)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a1(0x1bc)}],'validOpts':[],'shortDesc':a7a1(0x1e0),'description':a7a1(0x1df)},async function(a,b){const a2=a7a1;try{const c=this[a2(0x1d0)][a2(0x1bd)](),d=new AWS(),f=new FSI(),{appName:g}=c,h=this[a2(0x1d0)]['getEnvFromShorthand'](b[a2(0x1bc)]),i=this[a2(0x1d0)][a2(0x1be)](h),j=g+'-'+h,k=await Actions[a2(0x1d3)](a2(0x1c2)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0x1d1)](a2(0x1b0),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await d[a2(0x1cd)]({'env':h});r=y,s=z,Log['success'](a2(0x1a7)+r);}else try{Log[a2(0x1c4)]('**\x20Available\x20key-pairs\x20**');const A=r?r:k,B=await d[a2(0x1b2)]({'suggestion':A}),C=await Actions[a2(0x1d3)](a2(0x1b1))||'-1';if(parseInt(C)<0x0){Log[a2(0x1c0)](a2(0x19d)),Log[a2(0x1c4)](a2(0x1ad));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a2(0x1b7)],Log['success'](a2(0x1a7)+r);break;}}}catch(E){Log[a2(0x1c0)](E);}l=await d['chooseVPC']();const t=await Actions[a2(0x1d1)](a2(0x1c3),!![]);let u;if(t){const F=l===''?await d[a2(0x1a9)]():l;u=await Actions['ask'](a2(0x1d4)+k+']')||k;const G=await Actions[a2(0x1d3)](a2(0x1b5))||a2(0x19e),H=G[a2(0x1b9)](',');await d[a2(0x1d8)]({'description':a2(0x1a3),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await d[a2(0x1de)](u),n=await d[a2(0x1c1)](),p=await d[a2(0x1bf)]();const v=0x1,w=0x1;try{const I=await Actions[a2(0x1d3)](a2(0x1cf))||'1:1',J=I['split'](':')[0x0],K=I[a2(0x1b9)](':')[0x1];typeof parseInt(J)==='number'&&typeof parseInt(K)==='number'&&Log['success'](a2(0x1ac)+J+':'+K);}catch(L){Log[a2(0x1c0)](L);}try{const M=await Actions[a2(0x1d3)](a2(0x1ce))||a2(0x1a4);typeof M===a2(0x1c9)&&(o=M);}catch(N){Log['error'](N);}let x='';try{const O=await Actions['confirm'](a2(0x1e7),![]);O&&(x=a7f[a2(0x1db)](i,a2(0x1c7)),Log[a2(0x1c4)]('Creating\x20user\x20data\x20file\x20in\x20'+x),await this[a2(0x1d0)][a2(0x19f)]({'filePath':x,'data':''}),await Actions[a2(0x1d1)]('Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?'));}catch(P){Log['error'](P);}try{const Q=await d[a2(0x1bb)](p);Log['notice'](a2(0x1d7)+n),Log[a2(0x1c4)]('Instance\x20Count:\x20'+v+':'+w),Log['notice'](a2(0x1e3)+o),Log[a2(0x1c4)](a2(0x1cb)+r),Log[a2(0x1c4)]('Security\x20Group:\x20'+m),Log[a2(0x1c4)](a2(0x1d9)+Q);if(x){Log[a2(0x1c4)](a2(0x1c8)+x);const S=a7g[a2(0x1e1)](x)['toString']();Log['notice'](S);}const R=await Actions['confirm'](a2(0x1a2));if(R){const T=await d['ec2create']({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':'created-by','Value':a2(0x1ab)},{'Key':a2(0x1d2),'Value':h},{'Key':a2(0x1b3),'Value':k}],...x&&{'userData':x}});T&&(Log[a2(0x1b4)]('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log[a2(0x1a1)]('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file'));}else{Log[a2(0x1c4)](a2(0x1af));const U=await Actions[a2(0x1d1)](a2(0x1ae)+r+'\x20?',!![]);U&&(d[a2(0x1e6)](r),f[a2(0x1e5)](s)&&a7g[a2(0x1da)](s));const V=await Actions['confirm'](a2(0x1e2)+m+'\x20?',!![]);V&&d[a2(0x1b6)](m);}}catch(W){Log['error'](W);}}catch(X){X&&Log[a2(0x1c0)](X),process['exit'](0x0);}},a7e);
1
+ const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=parseInt(Y(0x13d))/0x1*(parseInt(Y(0x137))/0x2)+-parseInt(Y(0x162))/0x3*(parseInt(Y(0x171))/0x4)+parseInt(Y(0x172))/0x5+parseInt(Y(0x16e))/0x6+parseInt(Y(0x174))/0x7+parseInt(Y(0x177))/0x8+-parseInt(Y(0x15a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x5f061));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a['toString']()[a0(0x139)](a0(0x156))[a0(0x178)]()[a0(0x176)](a7a)[a0(0x139)]('(((.+)+)+)+$');});a7a();import a7e from'./aws.command.js';import a7f from'path';function a7c(){const a3=['deleteKeyPair','chooseSecurityGroup','fsi','maka\x20aws:ci\x20--env\x20prod','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','t3.micro','1239696hiMbXd','created-by','Security\x20Group\x20Name:\x20[','20ectHje','2210370eRBXHk','ask','3359972krhZuj','unlinkSync','constructor','4991448MjUalN','toString','You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key','listAvailableAMIs','Web\x20App','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','string','split','ec2createSG','createFile','Subnet:\x20','Remove\x20the\x20keypair\x20','Security\x20Group:\x20','\x0a\x20\x20Walk\x20through\x20a\x20list\x20of\x20questions\x20that\x20will\x20properly\x20provision\x20a\x20new\x20EC2\x0a\x20\x20instance.\x0a\x0a\x20\x20Once\x20created,\x20you\x20will\x20begin\x20to\x20be\x20billed\x20for\x20the\x20resource!\x0a\x20\x20','1296686sRYpEn','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','search','listAvailableSubnets','Setting\x20the\x20key-pair\x20to:\x20','EC2\x20Name:\x20[','1sLSWQd','confirm','isFile','createKeyPair','ImageID:','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','notice','name','success','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','bright','getMakaProjectConfig','maka\x20aws:create-instance\x20--env\x20dev','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','error','exit','ec2describeKeys','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','**\x20Available\x20key-pairs\x20**','Create\x20new\x20AWS\x20instance','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','maka\x20aws:create-instance','create','join','User\x20Data:','(((.+)+)+)+$','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','env','Please\x20choose\x20a\x20key\x20to\x20use:\x20','14788512GdDdSg','deleteSecurityGroup','number','readFileSync','getAppConfigPath','chooseVPC','environment','Instance\x20Count:\x20','221145XBVMwg','Key-Pair:\x20','maka-cli','getSubnetCidr','apply','Remove\x20the\x20security\x20group\x20'];a7c=function(){return a3;};return a7c();}import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x12f;let f=c[d];return f;},a7d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';Command[a7a1(0x153)]({'name':'create-instance','aliases':['ci'],'usage':a7a1(0x152),'examples':[a7a1(0x149),a7a1(0x16b)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'env'}],'validOpts':[],'shortDesc':a7a1(0x150),'description':a7a1(0x136)},async function(a,b){const a2=a7a1;try{const c=this[a2(0x16a)][a2(0x148)](),d=new AWS(),f=new FSI(),{appName:g}=c,h=this['fsi']['getEnvFromShorthand'](b[a2(0x158)]),i=this[a2(0x16a)][a2(0x15e)](h),j=g+'-'+h,k=await Actions[a2(0x173)](a2(0x13c)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0x13e)](a2(0x138),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await d[a2(0x140)]({'env':h});r=y,s=z,Log[a2(0x145)](a2(0x13b)+r);}else try{Log[a2(0x143)](a2(0x14f));const A=r?r:k,B=await d[a2(0x14d)]({'suggestion':A}),C=await Actions[a2(0x173)](a2(0x159))||'-1';if(parseInt(C)<0x0){Log['error'](a2(0x179)),Log[a2(0x143)]('No\x20instance\x20has\x20been\x20created.');return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a2(0x144)],Log['success']('Setting\x20the\x20key-pair\x20to:\x20'+r);break;}}}catch(E){Log['error'](E);}l=await d[a2(0x15f)]();const t=await Actions['confirm'](a2(0x151),!![]);let u;if(t){const F=l===''?await d[a2(0x15f)]():l;u=await Actions[a2(0x173)](a2(0x170)+k+']')||k;const G=await Actions[a2(0x173)](a2(0x142))||'22,80,443',H=G[a2(0x130)](',');await d[a2(0x131)]({'description':a2(0x17b),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await d[a2(0x169)](u),n=await d[a2(0x17a)](),p=await d[a2(0x13a)]();const v=0x1,w=0x1;try{const I=await Actions[a2(0x173)]('How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20')||'1:1',J=I[a2(0x130)](':')[0x0],K=I[a2(0x130)](':')[0x1];typeof parseInt(J)===a2(0x15c)&&typeof parseInt(K)===a2(0x15c)&&Log[a2(0x145)](a2(0x14e)+J+':'+K);}catch(L){Log[a2(0x14b)](L);}try{const M=await Actions[a2(0x173)]('What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]')||a2(0x16d);typeof M===a2(0x12f)&&(o=M);}catch(N){Log[a2(0x14b)](N);}let x='';try{const O=await Actions[a2(0x13e)]('Would\x20you\x20like\x20to\x20include\x20user\x20data?',![]);O&&(x=a7f[a2(0x154)](i,'user-data'),Log[a2(0x143)]('Creating\x20user\x20data\x20file\x20in\x20'+x),await this[a2(0x16a)][a2(0x132)]({'filePath':x,'data':''}),await Actions[a2(0x13e)](a2(0x16c)));}catch(P){Log[a2(0x14b)](P);}try{const Q=await d[a2(0x165)](p);Log['notice'](a2(0x141)+n),Log[a2(0x143)](a2(0x161)+v+':'+w),Log[a2(0x143)]('Instace\x20Type:\x20'+o),Log[a2(0x143)](a2(0x163)+r),Log[a2(0x143)](a2(0x135)+m),Log[a2(0x143)](a2(0x133)+Q);if(x){Log[a2(0x143)](a2(0x155)+x);const S=a7g[a2(0x15d)](x)[a2(0x178)]();Log['notice'](S);}const R=await Actions[a2(0x13e)](a2(0x146));if(R){const T=await d['ec2create']({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a2(0x16f),'Value':a2(0x164)},{'Key':a2(0x160),'Value':h},{'Key':'Name','Value':k}],...x&&{'userData':x}});T&&(Log[a2(0x145)](a2(0x14a)),Log[a2(0x147)](a2(0x157)));}else{Log['notice'](a2(0x17c));const U=await Actions[a2(0x13e)](a2(0x134)+r+'\x20?',!![]);U&&(d[a2(0x168)](r),f[a2(0x13f)](s)&&a7g[a2(0x175)](s));const V=await Actions[a2(0x13e)](a2(0x167)+m+'\x20?',!![]);V&&d[a2(0x15b)](m);}}catch(W){Log[a2(0x14b)](W);}}catch(X){X&&Log[a2(0x14b)](X),process[a2(0x14c)](0x0);}},a7e);
@@ -1 +1 @@
1
- const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=parseInt(g(0x1c0))/0x1+parseInt(g(0x1d2))/0x2+-parseInt(g(0x1cf))/0x3+-parseInt(g(0x1ce))/0x4+parseInt(g(0x1c7))/0x5+-parseInt(g(0x1be))/0x6*(parseInt(g(0x1c4))/0x7)+parseInt(g(0x1d0))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xc1633));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a['toString']()['search'](i(0x1c1))[i(0x1c3)]()[i(0x1c9)](a8a)[i(0x1c6)]('(((.+)+)+)+$');});function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x1be;let f=c[d];return f;},a8d(a,b);}a8a();function a8c(){const l=['6591325kSQtkk','create-key-pair','constructor','createKeyPair','fsi','maka\x20aws:create-key-pair','getEnvFromShorthand','3523456TUmoBc','1870893NIlMfg','2843368sMxaIS','error','2219538tYvcHr','create','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','maka\x20aws:ckp\x20--env\x20prod','env','576CcdppT','apply','459619wdYeKN','(((.+)+)+)+$','maka\x20aws:create-key-pair\x20--env\x20prod','toString','69013jGwOZC','exit','search'];a8c=function(){return l;};return a8c();}import a8e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a8j(0x1d3)]({'name':a8j(0x1c8),'aliases':['ckp'],'usage':a8j(0x1cc),'examples':[a8j(0x1c2),a8j(0x1d5)],'mustBeInMakaProject':!![],'requiredOpts':[a8j(0x1d6)],'validOpts':[],'shortDesc':a8j(0x1d4),'description':'\x0a\x0a\x20\x20In\x20AWS,\x20follow\x20a\x20few\x20questions\x20to\x20create\x20a\x20new\x20Key\x20Pair.\x0a\x20\x20The\x20public\x20key\x20is\x20stored\x20in\x20AWS\x20while\x20the\x20private\x20key\x20is\x20saved\x0a\x20\x20to\x20the\x20_keys\x20directory\x20for\x20the\x20envronment\x20(--env)\x20provided.\x0a\x0a\x20\x20This\x20key\x20cannot\x20be\x20replaced\x20(without\x20support\x20from\x20AWS),\x20and\x20should\x20be\x0a\x20\x20kept\x20safe.\x0a\x0a\x20\x20Maka\x20automatically\x20ignores\x20the\x20_keys\x20directory,\x20so\x20it\x20will\x20not\x20be\x0a\x20\x20stored\x20in\x20version\x20control\x20by\x20default.\x20You\x20may\x20change\x20this\x20in\x20the\x0a\x20\x20.gitignore\x20file\x20at\x20the\x20root\x20of\x20this\x20project,\x20but\x20it\x27s\x20not\x20recommended.\x0a\x20\x20'},async function(a,b){const k=a8j;try{const c=new AWS(),d=this[k(0x1cb)][k(0x1cd)](b['env']);c[k(0x1ca)]({'env':d});}catch(f){f&&Log[k(0x1d1)](f),process[k(0x1c5)](0x0);}},a8e);
1
+ function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x132;let f=c[d];return f;},a8d(a,b);}const a8i=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0x13c))/0x1*(-parseInt(g(0x140))/0x2)+parseInt(g(0x147))/0x3*(-parseInt(g(0x14c))/0x4)+-parseInt(g(0x137))/0x5*(parseInt(g(0x135))/0x6)+parseInt(g(0x134))/0x7+parseInt(g(0x144))/0x8*(parseInt(g(0x146))/0x9)+-parseInt(g(0x13e))/0xa+-parseInt(g(0x145))/0xb*(parseInt(g(0x133))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x62a8d));const a8b=(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;};}()),a8a=a8b(this,function(){const h=a8d;return a8a[h(0x14d)]()[h(0x14a)]('(((.+)+)+)+$')['toString']()[h(0x149)](a8a)['search'](h(0x13a));});a8a();import a8e from'./aws.command.js';function a8c(){const k=['5741196clRSec','1752128hqgvhb','276BYrmIz','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','8405KNFKbq','create-key-pair','ckp','(((.+)+)+)+$','\x0a\x0a\x20\x20In\x20AWS,\x20follow\x20a\x20few\x20questions\x20to\x20create\x20a\x20new\x20Key\x20Pair.\x0a\x20\x20The\x20public\x20key\x20is\x20stored\x20in\x20AWS\x20while\x20the\x20private\x20key\x20is\x20saved\x0a\x20\x20to\x20the\x20_keys\x20directory\x20for\x20the\x20envronment\x20(--env)\x20provided.\x0a\x0a\x20\x20This\x20key\x20cannot\x20be\x20replaced\x20(without\x20support\x20from\x20AWS),\x20and\x20should\x20be\x0a\x20\x20kept\x20safe.\x0a\x0a\x20\x20Maka\x20automatically\x20ignores\x20the\x20_keys\x20directory,\x20so\x20it\x20will\x20not\x20be\x0a\x20\x20stored\x20in\x20version\x20control\x20by\x20default.\x20You\x20may\x20change\x20this\x20in\x20the\x0a\x20\x20.gitignore\x20file\x20at\x20the\x20root\x20of\x20this\x20project,\x20but\x20it\x27s\x20not\x20recommended.\x0a\x20\x20','74345XiiMTA','maka\x20aws:ckp\x20--env\x20prod','903550VgApYZ','create','8ZVNjIh','maka\x20aws:create-key-pair\x20--env\x20prod','error','getEnvFromShorthand','375688AhAbVz','11LDxiih','126tQGRQV','15GRIMUw','fsi','constructor','search','maka\x20aws:create-key-pair','123932PWtVBk','toString','env'];a8c=function(){return k;};return a8c();}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a8i(0x13f)]({'name':a8i(0x138),'aliases':[a8i(0x139)],'usage':a8i(0x14b),'examples':[a8i(0x141),a8i(0x13d)],'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':a8i(0x136),'description':a8i(0x13b)},async function(a,b){const j=a8i;try{const c=new AWS(),d=this[j(0x148)][j(0x143)](b[j(0x132)]);c['createKeyPair']({'env':d});}catch(f){f&&Log[j(0x142)](f),process['exit'](0x0);}},a8e);
@@ -1 +1 @@
1
- function a9c(){const r=['List\x20is\x20not\x20all\x20numbers','145afYyjX','22,80,443','ec2createSG','3437178BMzPus','1169jbPFEe','2097306qFdSYT','(((.+)+)+)+$','Web\x20App','12159334nzBUBy','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','116786BKNoIA','fsi','name','maka\x20aws:csg','ask','33VKufdT','\x0a\x20\x20Create\x20a\x20secuirty\x20group\x20on\x20a\x20Virtual\x20Private\x20Cloud\x20(VPC)\x20which\x0a\x20\x20can\x20be\x20used\x20with\x20a\x20new\x20EC2\x20instance.\x0a\x20\x20','469058aPrvlR','split','maka\x20aws:create-secuirty-group','Security\x20Group\x20Name:\x20[','forEach','100208JPPpyP','getMakaProjectConfig','error','chooseVPC','search','constructor','match','create-security-group','10jkcnrk','create','toString','26360ybSVdz'];a9c=function(){return r;};return a9c();}const a9o=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(0x94))/0x1+-parseInt(m(0x8d))/0x2*(parseInt(m(0x92))/0x3)+-parseInt(m(0x99))/0x4*(-parseInt(m(0x83))/0x5)+-parseInt(m(0x86))/0x6+parseInt(m(0x87))/0x7*(parseInt(m(0x81))/0x8)+parseInt(m(0x88))/0x9*(-parseInt(m(0xa1))/0xa)+parseInt(m(0x8b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x717f9));const a9b=(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;};}()),a9a=a9b(this,function(){const n=a9d;return a9a[n(0x80)]()[n(0x9d)](n(0x89))[n(0x80)]()[n(0x9e)](a9a)['search'](n(0x89));});a9a();import a9e from'./aws.command.js';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x80;let f=c[d];return f;},a9d(a,b);}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a9o(0xa2)]({'name':a9o(0xa0),'aliases':['csg'],'usage':'maka\x20aws\x20create-security-group','validOpts':[],'shortDesc':a9o(0x8c),'description':a9o(0x93),'examples':[a9o(0x96),a9o(0x90)]},async function(a,b){const p=a9o;try{const c=new AWS(),d=this[p(0x8e)][p(0x9a)](),{appName:f}=d,g=await c[p(0x9c)](),h=b[p(0x8f)]?b['name']:''+f,i=await Actions[p(0x91)](p(0x97)+h+']')||h,j=await Actions[p(0x91)]('Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20')||p(0x84),k=j[p(0x95)](',');k[p(0x98)](l=>{const q=p;if(!l[q(0x9f)](/^\d+$/))throw q(0x82);}),await c[p(0x85)]({'description':p(0x8a),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[p(0x9b)](l),process['exit'](0x1);}},a9e);
1
+ const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(0x74))/0x1*(-parseInt(m(0x88))/0x2)+parseInt(m(0x87))/0x3+parseInt(m(0x8b))/0x4+parseInt(m(0x77))/0x5+-parseInt(m(0x83))/0x6+-parseInt(m(0x7f))/0x7*(-parseInt(m(0x8a))/0x8)+-parseInt(m(0x78))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x48052));function a9c(){const s=['split','(((.+)+)+)+$','19383IUVzgI','Web\x20App','csg','match','2179152hoBmXh','\x0a\x20\x20Create\x20a\x20secuirty\x20group\x20on\x20a\x20Virtual\x20Private\x20Cloud\x20(VPC)\x20which\x0a\x20\x20can\x20be\x20used\x20with\x20a\x20new\x20EC2\x20instance.\x0a\x20\x20','error','toString','912954BELCCo','74346scMkoh','apply','1080GWKkvV','368824KxFJwK','getMakaProjectConfig','create','maka\x20aws\x20create-security-group','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','exit','ask','Security\x20Group\x20Name:\x20[','1ROhmrU','maka\x20aws:create-secuirty-group','create-security-group','2716465mCNrOR','5564457nLTIGx','search','name','constructor','List\x20is\x20not\x20all\x20numbers'];a9c=function(){return s;};return a9c();}const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a['toString']()[o(0x79)](o(0x7e))[o(0x86)]()[o(0x7b)](a9a)[o(0x79)](o(0x7e));});a9a();import a9e from'./aws.command.js';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x6f;let f=c[d];return f;},a9d(a,b);}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a9p(0x8d)]({'name':a9p(0x76),'aliases':[a9p(0x81)],'usage':a9p(0x6f),'validOpts':[],'shortDesc':'Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','description':a9p(0x84),'examples':[a9p(0x75),'maka\x20aws:csg']},async function(a,b){const q=a9p;try{const c=new AWS(),d=this['fsi'][q(0x8c)](),{appName:f}=d,g=await c['chooseVPC'](),h=b[q(0x7a)]?b[q(0x7a)]:''+f,i=await Actions[q(0x72)](q(0x73)+h+']')||h,j=await Actions[q(0x72)](q(0x70))||'22,80,443',k=j[q(0x7d)](',');k['forEach'](l=>{const r=q;if(!l[r(0x82)](/^\d+$/))throw r(0x7c);}),await c['ec2createSG']({'description':q(0x80),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[q(0x85)](l),process[q(0x71)](0x1);}},a9e);
@@ -1 +1 @@
1
- const a10i=a10d;function a10c(){const k=['2TbvGNn','ecrDeleteRepository','.\x20Error:\x20','631655yRHJOt','2915073XQfuQQ','10902TxagTL','410874rHgHYM','name','5876936VCbBPx','success','delete-ecr','\x20in\x20region\x20','region','exit','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','1396qTQOwj','toString','error','146090SzEjoV','150AVvOoU','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','Delete\x20an\x20Elastic\x20Container\x20Repository','Repository\x20','13625380hhdURF','constructor','search','apply','\x20deleted\x20successfully\x20in\x20region\x20','(((.+)+)+)+$'];a10c=function(){return k;};return a10c();}(function(a,b){const f=a10d,c=a();while(!![]){try{const d=-parseInt(f(0x1b2))/0x1*(parseInt(f(0x1ac))/0x2)+parseInt(f(0x1b1))/0x3*(parseInt(f(0x1bb))/0x4)+parseInt(f(0x1af))/0x5+-parseInt(f(0x1bf))/0x6*(parseInt(f(0x1be))/0x7)+-parseInt(f(0x1b4))/0x8+-parseInt(f(0x1b0))/0x9+parseInt(f(0x1c3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xbb02d));function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x1a7;let f=c[d];return f;},a10d(a,b);}const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a['toString']()[h(0x1a8)]('(((.+)+)+)+$')[h(0x1bc)]()[h(0x1a7)](a10a)[h(0x1a8)](h(0x1ab));});a10a();import a10e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a10i(0x1b6),'aliases':['decr'],'usage':a10i(0x1c0),'requiredOpts':[a10i(0x1b3),a10i(0x1b8)],'validOpts':[],'shortDesc':a10i(0x1c1),'examples':['maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1',a10i(0x1ba)]},async function(a,b){const j=a10i;try{const c=new AWS();await c[j(0x1ad)]({'repoName':b['name'],'region':b[j(0x1b8)]}),Log[j(0x1b5)](j(0x1c2)+b[j(0x1b3)]+j(0x1aa)+b[j(0x1b8)]+'.'),process['exit'](0x0);}catch(d){Log[j(0x1bd)]('Failed\x20to\x20delete\x20the\x20repository:\x20'+b['name']+j(0x1b7)+b[j(0x1b8)]+j(0x1ae)+d),process[j(0x1b9)](0x1);}},a10e);
1
+ const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=-parseInt(f(0x13d))/0x1*(-parseInt(f(0x135))/0x2)+-parseInt(f(0x14b))/0x3*(-parseInt(f(0x143))/0x4)+-parseInt(f(0x14a))/0x5*(parseInt(f(0x131))/0x6)+-parseInt(f(0x12c))/0x7+parseInt(f(0x13c))/0x8+parseInt(f(0x13b))/0x9*(parseInt(f(0x13f))/0xa)+parseInt(f(0x140))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x9a8c0));function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x12c;let f=c[d];return f;},a10d(a,b);}const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x146)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a[h(0x13e)]()[h(0x132)](h(0x136))[h(0x13e)]()[h(0x144)](a10a)[h(0x132)](h(0x136));});function a10c(){const k=['\x20deleted\x20successfully\x20in\x20region\x20','8319997kONVzo','exit','create','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','6Fbefds','search','Repository\x20','delete-ecr','598CajPKU','(((.+)+)+)+$','Delete\x20an\x20Elastic\x20Container\x20Repository','region','.\x20Error:\x20','success','48537EcvePR','5010952XtvezN','2683vvpxiM','toString','1130OWYkTh','478599YGfNxx','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','Failed\x20to\x20delete\x20the\x20repository:\x20','488VrVmAK','constructor','name','apply','ecrDeleteRepository','decr','error','3697455GfWWer','11793eopdKV'];a10c=function(){return k;};return a10c();}a10a();import a10e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a10i(0x12e)]({'name':a10i(0x134),'aliases':[a10i(0x148)],'usage':a10i(0x12f),'requiredOpts':[a10i(0x145),a10i(0x138)],'validOpts':[],'shortDesc':a10i(0x137),'examples':[a10i(0x130),a10i(0x141)]},async function(a,b){const j=a10i;try{const c=new AWS();await c[j(0x147)]({'repoName':b['name'],'region':b[j(0x138)]}),Log[j(0x13a)](j(0x133)+b[j(0x145)]+j(0x14c)+b[j(0x138)]+'.'),process['exit'](0x0);}catch(d){Log[j(0x149)](j(0x142)+b[j(0x145)]+'\x20in\x20region\x20'+b[j(0x138)]+j(0x139)+d),process[j(0x12d)](0x1);}},a10e);
@@ -1 +1 @@
1
- const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0x157))/0x1*(parseInt(f(0x153))/0x2)+parseInt(f(0x15a))/0x3*(-parseInt(f(0x158))/0x4)+-parseInt(f(0x15f))/0x5*(-parseInt(f(0x149))/0x6)+-parseInt(f(0x148))/0x7*(parseInt(f(0x15c))/0x8)+-parseInt(f(0x14e))/0x9+-parseInt(f(0x155))/0xa*(parseInt(f(0x146))/0xb)+parseInt(f(0x14b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xa96b2));function a11c(){const k=['error','6423228ZwOUMQ','(((.+)+)+)+$','constructor','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','maka\x20aws:di','2643310oUttWo','describe-instances','20110mmPaKX','apply','1qfcoTR','110492NNjIJN','toString','147Ycvmhb','\x0a\x20\x20List\x20all\x20EC2\x20instances\x20that\x20have\x20been\x20created\x20with\x20\x22maka\x20aws:ci\x22\x20associated\x0a\x20\x20with\x20the\x20logged\x20in\x20AWS-CLI\x20account.\x0a\x0a\x20\x20Will\x20pull\x20back\x20the\x20instance\x20ID,\x20state,\x20and\x20IP\x20addresses.\x0a\x20\x20Ex:\x0a\x0a\x20\x20ID:\x200\x20NAME:\x20<NAME>\x20ENV:\x20production\x20STATUS:\x20running\x20INSTANCE_ID:\x20i-xxx\x20PUB_IP:\x20x.x.x.x\x20PRIV_IP:\x20y.y.y.y\x0a\x20\x20','8959736denQln','exit','search','15UDjWhP','2464xsOxHz','ec2describeInstances','7MPtlRO','2392356oXuvIn','maka\x20aws:describe-instances','21765060laiwyl','create'];a11c=function(){return k;};return a11c();}const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a['toString']()['search'](h(0x14f))[h(0x159)]()[h(0x150)](a11a)[h(0x15e)](h(0x14f));});a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x146;let f=c[d];return f;},a11d(a,b);}Command[a11i(0x14c)]({'name':a11i(0x154),'aliases':['di'],'usage':a11i(0x14a),'validOpts':[],'shortDesc':a11i(0x151),'examples':['maka\x20aws:describe-instances',a11i(0x152)],'description':a11i(0x15b)},async function(){const j=a11i;try{const a=new AWS();a[j(0x147)]();}catch(b){b&&Log[j(0x14d)](b),process[j(0x15d)](0x1);}},a11e);
1
+ const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=-parseInt(f(0xde))/0x1*(-parseInt(f(0xea))/0x2)+parseInt(f(0xec))/0x3+parseInt(f(0xe1))/0x4*(parseInt(f(0xe9))/0x5)+-parseInt(f(0xd8))/0x6+parseInt(f(0xd6))/0x7+-parseInt(f(0xe2))/0x8*(-parseInt(f(0xd7))/0x9)+-parseInt(f(0xdb))/0xa*(parseInt(f(0xe8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xe08fc));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a['toString']()[h(0xe3)](h(0xdf))['toString']()[h(0xdd)](a11a)[h(0xe3)](h(0xdf));});function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0xd6;let f=c[d];return f;},a11d(a,b);}a11a();function a11c(){const k=['maka\x20aws:di','apply','24948ziwjSO','5FCJrUX','8JseTOH','create','1558806nISjud','1229879zntSSV','418023sqqlDh','3334566uKMGzk','ec2describeInstances','\x0a\x20\x20List\x20all\x20EC2\x20instances\x20that\x20have\x20been\x20created\x20with\x20\x22maka\x20aws:ci\x22\x20associated\x0a\x20\x20with\x20the\x20logged\x20in\x20AWS-CLI\x20account.\x0a\x0a\x20\x20Will\x20pull\x20back\x20the\x20instance\x20ID,\x20state,\x20and\x20IP\x20addresses.\x0a\x20\x20Ex:\x0a\x0a\x20\x20ID:\x200\x20NAME:\x20<NAME>\x20ENV:\x20production\x20STATUS:\x20running\x20INSTANCE_ID:\x20i-xxx\x20PUB_IP:\x20x.x.x.x\x20PRIV_IP:\x20y.y.y.y\x0a\x20\x20','16970XyAUWm','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','constructor','435691wHkDul','(((.+)+)+)+$','exit','5414188UWETPV','264UtadIg','search','describe-instances','maka\x20aws:describe-instances'];a11c=function(){return k;};return a11c();}import a11e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a11i(0xeb)]({'name':a11i(0xe4),'aliases':['di'],'usage':a11i(0xe5),'validOpts':[],'shortDesc':a11i(0xdc),'examples':[a11i(0xe5),a11i(0xe6)],'description':a11i(0xda)},async function(){const j=a11i;try{const a=new AWS();a[j(0xd9)]();}catch(b){b&&Log['error'](b),process[j(0xe0)](0x1);}},a11e);
@@ -1 +1 @@
1
- const a12h=a12d;(function(a,b){const f=a12d,c=a();while(!![]){try{const d=-parseInt(f(0x1f6))/0x1+-parseInt(f(0x201))/0x2+-parseInt(f(0x203))/0x3+-parseInt(f(0x1f8))/0x4+-parseInt(f(0x1f4))/0x5+parseInt(f(0x1f9))/0x6+parseInt(f(0x200))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x76c63));const a12b=(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;};}()),a12a=a12b(this,function(){const g=a12d;return a12a['toString']()[g(0x1ff)](g(0x1f7))[g(0x1fd)]()[g(0x202)](a12a)[g(0x1ff)](g(0x1f7));});a12a();function a12c(){const j=['constructor','2044560FeTVIq','ec2describeKeys','describe-key-pairs','1723910NsPmnX','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','52551qAzKCK','(((.+)+)+)+$','3381260TJBRwN','4110930cqrSvo','dkp','exit','error','toString','maka\x20aws:describe-key-pairs','search','13947318YXaGpg','533924RfWjje'];a12c=function(){return j;};return a12c();}import a12e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a12d(a,b){const c=a12c();return a12d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a12d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a12h(0x1f3),'aliases':[a12h(0x1fa)],'usage':a12h(0x1fe),'validOpts':[],'shortDesc':a12h(0x1f5),'examples':[a12h(0x1fe),'maka\x20aws:dkp']},async function(){const i=a12h;try{const a=new AWS();a[i(0x204)]();}catch(b){b&&Log[i(0x1fc)](b),process[i(0x1fb)](0x0);}},a12e);
1
+ const a12i=a12d;(function(a,b){const f=a12d,c=a();while(!![]){try{const d=-parseInt(f(0xe3))/0x1*(-parseInt(f(0xe0))/0x2)+parseInt(f(0xe8))/0x3+-parseInt(f(0xe4))/0x4+-parseInt(f(0xe6))/0x5+-parseInt(f(0xd7))/0x6*(-parseInt(f(0xd3))/0x7)+parseInt(f(0xdd))/0x8*(-parseInt(f(0xd5))/0x9)+parseInt(f(0xe2))/0xa*(parseInt(f(0xd6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x19a9f));const a12b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a12d;if(c){const e=c[g(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){const h=a12d;return a12a['toString']()[h(0xd4)]('(((.+)+)+)+$')['toString']()[h(0xe9)](a12a)[h(0xd4)](h(0xe7));});a12a();function a12c(){const k=['328905iUBwiI','constructor','maka\x20aws:describe-key-pairs','87913gwlwmN','search','138582iUWtrV','1357829rXtkEz','42NWwdiY','dkp','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','apply','ec2describeKeys','exit','24IGjjqJ','describe-key-pairs','create','1636QaADXq','maka\x20aws:dkp','10fYTBRJ','171ojxtkQ','421712zAgGrL','error','1020620AEKRpy','(((.+)+)+)+$'];a12c=function(){return k;};return a12c();}import a12e from'./aws.command.js';function a12d(a,b){const c=a12c();return a12d=function(d,e){d=d-0xd2;let f=c[d];return f;},a12d(a,b);}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a12i(0xdf)]({'name':a12i(0xde),'aliases':[a12i(0xd8)],'usage':a12i(0xd2),'validOpts':[],'shortDesc':a12i(0xd9),'examples':[a12i(0xd2),a12i(0xe1)]},async function(){const j=a12i;try{const a=new AWS();a[j(0xdb)]();}catch(b){b&&Log[j(0xe5)](b),process[j(0xdc)](0x0);}},a12e);
@@ -1 +1 @@
1
- const a13o=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d=parseInt(l(0xbc))/0x1+-parseInt(l(0xd0))/0x2+parseInt(l(0xd3))/0x3*(-parseInt(l(0xc9))/0x4)+parseInt(l(0xca))/0x5+-parseInt(l(0xc3))/0x6*(-parseInt(l(0xbd))/0x7)+-parseInt(l(0xdd))/0x8*(-parseInt(l(0xcf))/0x9)+-parseInt(l(0xd5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0xc62c9));function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0xb8;let f=c[d];return f;},a13d(a,b);}const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a13d;if(c){const e=c[m(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const n=a13d;return a13a['toString']()['search'](n(0xc6))[n(0xc5)]()[n(0xbb)](a13a)['search'](n(0xc6));});a13a();import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a13c(){const s=['241344plUCvC','1753708NcoKxy','confirm','success','9zgFyJL','includes','18690010GmGHTc','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','sgId','\x20SGID:\x20','create','forEach','exit','getSecurityGroups','424hxluyN','notice','ask','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','ID:\x20','constructor','647188rdtRTV','28GkMqAF','appName','name','error','\x20SG\x20NAME:\x20','apply','2244894ZdhlpS','Deleting\x20a\x20','toString','(((.+)+)+)+$','Deleted\x20','deleteSecurityGroup','272036ewgGNo','982855NuBrbO','Not\x20deleting\x20secuirty\x20group','maka\x20aws:delete-sg','getMakaProjectConfig','maka\x20aws:dsg'];a13c=function(){return s;};return a13c();}Command[a13o(0xd9)]({'name':'delete-security-group','aliases':['dsg'],'usage':a13o(0xcc),'validOpts':[],'shortDesc':'Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','examples':[a13o(0xcc),a13o(0xce)]},async function(){const p=a13o;try{const a=new AWS(),b=new FSI(),c=b['isMakaProject']();let d='';if(c){const j=b[p(0xcd)]();d=j[p(0xbe)];}const {sgList:f}=await a[p(0xdc)]();f['forEach'](function(k){const q=p;c&&k['name'][q(0xd4)](d)?Log[q(0xde)](q(0xba)+k['id']+q(0xc1)+k[q(0xbf)]+q(0xd8)+k[q(0xd7)]):Log['bright'](q(0xba)+k['id']+'\x20SG\x20NAME:\x20'+k[q(0xbf)]+q(0xd8)+k['sgId']);});let g='';const h=await Actions[p(0xb8)](p(0xd6));f[p(0xda)](function(k){const r=p;k['id']===parseInt(h)&&(g=k[r(0xd7)]);});if(!g)throw Log['error']('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const i=await Actions[p(0xd1)](p(0xc4)+g+p(0xb9),![]);i?(await a[p(0xc8)](g),Log[p(0xd2)](p(0xc7)+g)):Log['error'](p(0xcb)),process['exit'](0x0);}catch(k){k&&Log[p(0xc0)](k),process[p(0xdb)](0x1);}},a13e);
1
+ const a13o=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d=parseInt(l(0x98))/0x1+-parseInt(l(0x80))/0x2*(-parseInt(l(0x7b))/0x3)+parseInt(l(0x9c))/0x4+parseInt(l(0x89))/0x5+-parseInt(l(0x88))/0x6+-parseInt(l(0x85))/0x7*(parseInt(l(0x8a))/0x8)+-parseInt(l(0x7d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x833e8));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a13d;if(c){const e=c[m(0x83)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const n=a13d;return a13a[n(0x96)]()['search'](n(0x81))['toString']()[n(0x8c)](a13a)['search'](n(0x81));});a13a();import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a13c(){const r=['appName','\x20SG\x20NAME:\x20','sgId','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','dsg','toString','maka\x20aws:delete-sg','610753lwEjgq','bright','\x20SGID:\x20','ask','4036172qKbczV','create','772545BMLZQN','includes','11127537XmPvvU','notice','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','6Orgyml','(((.+)+)+)+$','Deleted\x20','apply','Not\x20deleting\x20secuirty\x20group','7aNkFoG','error','success','3382344nqWJjJ','2027345EtPHIw','3680936AzqUyS','forEach','constructor','name','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','getMakaProjectConfig','exit'];a13c=function(){return r;};return a13c();}import{FSI}from'../../tools/fsi/fsi.class.js';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x7b;let f=c[d];return f;},a13d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a13o(0x9d)]({'name':'delete-security-group','aliases':[a13o(0x95)],'usage':'maka\x20aws:delete-sg','validOpts':[],'shortDesc':a13o(0x7f),'examples':[a13o(0x97),'maka\x20aws:dsg']},async function(){const p=a13o;try{const a=new AWS(),b=new FSI(),c=b['isMakaProject']();let d='';if(c){const j=b[p(0x8f)]();d=j[p(0x91)];}const {sgList:f}=await a['getSecurityGroups']();f[p(0x8b)](function(k){const q=p;c&&k[q(0x8d)][q(0x7c)](d)?Log[q(0x7e)]('ID:\x20'+k['id']+q(0x92)+k[q(0x8d)]+q(0x9a)+k[q(0x93)]):Log[q(0x99)]('ID:\x20'+k['id']+q(0x92)+k[q(0x8d)]+q(0x9a)+k[q(0x93)]);});let g='';const h=await Actions[p(0x9b)](p(0x94));f['forEach'](function(k){k['id']===parseInt(h)&&(g=k['sgId']);});if(!g)throw Log[p(0x86)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const i=await Actions['confirm']('Deleting\x20a\x20'+g+p(0x8e),![]);i?(await a['deleteSecurityGroup'](g),Log[p(0x87)](p(0x82)+g)):Log[p(0x86)](p(0x84)),process[p(0x90)](0x0);}catch(k){k&&Log[p(0x86)](k),process[p(0x90)](0x1);}},a13e);
@@ -1 +1 @@
1
- const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0x164))/0x1+-parseInt(f(0x168))/0x2*(parseInt(f(0x154))/0x3)+-parseInt(f(0x15d))/0x4+parseInt(f(0x157))/0x5+parseInt(f(0x162))/0x6+-parseInt(f(0x15a))/0x7+parseInt(f(0x166))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xc8336));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a[h(0x16a)]()[h(0x169)](h(0x15e))[h(0x16a)]()[h(0x158)](a14a)[h(0x169)](h(0x15e));});a14a();function a14c(){const k=['lecr','10726415QPDKWi','regions','apply','5476716JcPpWW','(((.+)+)+)+$','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','create','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','2542908revplj','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','1118982dvpACA','exit','25642600lGhmwX','list-ecr','4TUibgq','search','toString','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','maka\x20aws:list-ecr','93261xneuKW','maka\x20aws:lecr\x20--regions=all','Completed\x20listing\x20ECR\x20repositories.','6367795vdCcad','constructor'];a14c=function(){return k;};return a14c();}import a14e from'./aws.command.js';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x152;let f=c[d];return f;},a14d(a,b);}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a14i(0x160)]({'name':a14i(0x167),'aliases':[a14i(0x159)],'usage':a14i(0x161),'requiredOpts':[],'validOpts':[a14i(0x15b)],'shortDesc':a14i(0x163),'examples':[a14i(0x153),a14i(0x152),a14i(0x155)]},async function(a,b){const j=a14i;try{const c=new AWS();await c['listAllEcrRepositories'](b['regions']),Log['success'](j(0x156)),process[j(0x165)](0x0);}catch(d){Log['error'](j(0x15f)+d),process[j(0x165)](0x1);}},a14e);
1
+ const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0x85))/0x1+-parseInt(f(0x6f))/0x2*(-parseInt(f(0x73))/0x3)+-parseInt(f(0x79))/0x4*(parseInt(f(0x7f))/0x5)+parseInt(f(0x74))/0x6*(parseInt(f(0x7e))/0x7)+parseInt(f(0x75))/0x8*(parseInt(f(0x81))/0x9)+-parseInt(f(0x7d))/0xa+-parseInt(f(0x80))/0xb*(parseInt(f(0x83))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x47207));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0x72)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a[h(0x6e)]()['search'](h(0x84))[h(0x6e)]()[h(0x78)](a14a)[h(0x86)](h(0x84));});a14a();function a14c(){const k=['toString','51202pmAVlj','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','maka\x20aws:lecr\x20--regions=all','apply','42bVTYLS','78LAGJkR','536zhvQJk','exit','Completed\x20listing\x20ECR\x20repositories.','constructor','192yfAgeA','lecr','maka\x20aws:list-ecr','regions','2177970MvhBAX','39823UtWIiK','4815gSFvXC','11lUJMqO','58329pxOzgH','listAllEcrRepositories','3367176cFQKYe','(((.+)+)+)+$','30644SIEZdP','search','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]'];a14c=function(){return k;};return a14c();}function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x6e;let f=c[d];return f;},a14d(a,b);}import a14e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'list-ecr','aliases':[a14i(0x7a)],'usage':a14i(0x87),'requiredOpts':[],'validOpts':[a14i(0x7c)],'shortDesc':a14i(0x70),'examples':[a14i(0x7b),'maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1',a14i(0x71)]},async function(a,b){const j=a14i;try{const c=new AWS();await c[j(0x82)](b[j(0x7c)]),Log['success'](j(0x77)),process[j(0x76)](0x0);}catch(d){Log['error']('An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20'+d),process[j(0x76)](0x1);}},a14e);
@@ -1 +1 @@
1
- const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x16c))/0x1*(-parseInt(f(0x16a))/0x2)+parseInt(f(0x178))/0x3+-parseInt(f(0x164))/0x4+parseInt(f(0x167))/0x5*(parseInt(f(0x16b))/0x6)+-parseInt(f(0x175))/0x7*(parseInt(f(0x166))/0x8)+-parseInt(f(0x165))/0x9+-parseInt(f(0x176))/0xa*(-parseInt(f(0x177))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x33cc5));const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a[h(0x168)]()['search'](h(0x15f))[h(0x168)]()[h(0x17a)](a15a)[h(0x174)](h(0x15f));});function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x15f;let f=c[d];return f;},a15d(a,b);}a15a();function a15c(){const k=['confirm','search','14neiFKg','4490430gFFWqs','11mqwrIn','179934vWOFlr','apply','constructor','(((.+)+)+)+$','chooseInstance','error','rbi','running','483480koVTsx','736713jkqYYy','358216eAXAYT','75265dTnrni','toString','maka\x20aws:reboot-instance','551058VptnEM','108WMxjJc','1yJYFqq','Reboot\x20an\x20EC2\x20instance','name','ec2rebootInstance','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','instanceId','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.'];a15c=function(){return k;};return a15c();}import a15e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'reboot-instance','aliases':[a15i(0x162)],'usage':a15i(0x169),'validOpts':[],'shortDesc':a15i(0x16d),'examples':['maka\x20aws:reboot-instance','maka\x20aws:rbi']},async function(){const j=a15i;try{const a=new AWS(),b=await a[j(0x160)]();if(b?.['status']===j(0x163)){const c=await Actions[j(0x173)]('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b[j(0x16e)]+'\x20Ready?');c&&b[j(0x171)]?a[j(0x16f)]({'instanceId':b[j(0x171)]}):Log[j(0x161)](j(0x170)+b[j(0x16e)]+'\x20is\x20still\x20running.');}else Log['error'](j(0x172));}catch(d){d&&Log['error'](d),process['exit'](0x1);}},a15e);
1
+ const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x204))/0x1*(parseInt(f(0x1f7))/0x2)+parseInt(f(0x1f6))/0x3+-parseInt(f(0x1fd))/0x4*(-parseInt(f(0x1f5))/0x5)+parseInt(f(0x200))/0x6+parseInt(f(0x205))/0x7+parseInt(f(0x212))/0x8*(-parseInt(f(0x1f2))/0x9)+-parseInt(f(0x203))/0xa*(parseInt(f(0x201))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x5d973));function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x1f2;let f=c[d];return f;},a15d(a,b);}const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x207)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a[h(0x20a)]()[h(0x20b)](h(0x1f9))[h(0x20a)]()[h(0x202)](a15a)[h(0x20b)](h(0x1f9));});a15a();function a15c(){const k=['11159970eekTOp','2mWszez','4293821VfNPxA','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','apply','\x20is\x20still\x20running.','\x20Ready?','toString','search','reboot-instance','name','confirm','maka\x20aws:reboot-instance','status','running','8usoxoa','4275252CYHFjW','error','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','1130WdBfxm','1041693hRkUyw','96676CfkvPx','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','(((.+)+)+)+$','rbi','ec2rebootInstance','chooseInstance','11348UPGJAu','create','instanceId','1655400ubtvQt','11EVLGvD','constructor'];a15c=function(){return k;};return a15c();}import a15e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a15i(0x1fe)]({'name':a15i(0x20c),'aliases':[a15i(0x1fa)],'usage':a15i(0x20f),'validOpts':[],'shortDesc':'Reboot\x20an\x20EC2\x20instance','examples':[a15i(0x20f),'maka\x20aws:rbi']},async function(){const j=a15i;try{const a=new AWS(),b=await a[j(0x1fc)]();if(b?.[j(0x210)]===j(0x211)){const c=await Actions[j(0x20e)](j(0x1f4)+b['name']+j(0x209));c&&b[j(0x1ff)]?a[j(0x1fb)]({'instanceId':b[j(0x1ff)]}):Log['error'](j(0x1f8)+b[j(0x20d)]+j(0x208));}else Log[j(0x1f3)](j(0x206));}catch(d){d&&Log['error'](d),process['exit'](0x1);}},a15e);
@@ -1 +1 @@
1
- const a16I=a16d;(function(a,b){const E=a16d,c=a();while(!![]){try{const d=-parseInt(E(0x1f8))/0x1+parseInt(E(0x206))/0x2+parseInt(E(0x1f0))/0x3*(-parseInt(E(0x1e8))/0x4)+-parseInt(E(0x20b))/0x5*(parseInt(E(0x207))/0x6)+parseInt(E(0x1e6))/0x7*(parseInt(E(0x1d5))/0x8)+-parseInt(E(0x1d8))/0x9+parseInt(E(0x202))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x7be06));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a16d;if(c){const e=c[F(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const G=a16d;return a16a[G(0x1fb)]()['search'](G(0x205))[G(0x1fb)]()[G(0x208)](a16a)[G(0x1d1)](G(0x205));});a16a();import a16e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function a16c(){const K=['The\x20domain\x20name:\x20','113360FeWIFB','Contact','ASSOCIATION','2275389MDbxSJ','list','\x20years\x20(','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','notice','maka\x20aws:register-domain-name','maka\x20aws:rdn\x20--domain=example.com','warn','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','Person','PUBLIC_BODY','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','Zip\x20Code\x20[96816]:\x20','119tFhRVr','maka\x20aws:register-domain-name\x20--domain=example.com','164qphQdl','RESELLER','register-domain-name','OrganizationName','123\x20Glorious\x20Way','contactType','error','domain','1149gekNKK','Contact\x20Email\x20[mail@example.com]:\x20','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','Are\x20you\x20sure?','ask','Do\x20you\x20wish\x20to\x20register\x20','96816','checkDomainAvailability','107165bTWEbt','Address\x20Line\x202:\x20','values','toString','\x20/\x20Year\x20\x0a','+1.5555555556','includes','apply','rdn','Country\x20Code\x20[US]:\x20','5460620yjuCol','Auto\x20Renew:\x20','PERSON','(((.+)+)+)+$','750616oMJmUk','1675038VAmUGh','constructor','exit','confirm','5gYIagw','Contact\x20Last\x20Name\x20[Person]:\x20','Choose\x20contact\x20type','State\x20[HI]:\x20','search','registerDomain','Domain\x20name\x20is\x20unavailable'];a16c=function(){return K;};return a16c();}function isValidCountryCode(a){const H=a16d;return Object[H(0x1fa)](CountryCode)[H(0x1fe)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a16d(a,b);}Command['create']({'name':a16I(0x1ea),'aliases':[a16I(0x200)],'usage':a16I(0x1dd),'requiredOpts':[a16I(0x1ef)],'validOpts':[],'shortDesc':a16I(0x1e0),'examples':[a16I(0x1e7),a16I(0x1de)]},async function(a,b){const J=a16I;try{const c=b[J(0x1ef)],d=new AWS(),{available:f,cost:g}=await d[J(0x1f7)](c);if(f&&g){Log[J(0x1dc)](J(0x1d4)+c+'\x20is\x20available\x20for:');const {Price:h,Currency:i}=g;Log[J(0x1df)]('\x20\x20'+h+'\x20'+i+J(0x1fc));const j=await Actions[J(0x20a)](J(0x1f5)+c+'\x20?',![]);if(j){const k={'type':J(0x1d9),'name':J(0x1ed),'message':J(0x1cf),'choices':[J(0x1d7),'COMPANY',J(0x204),J(0x1e2),J(0x1e9)]},l=await Actions['ask']('Duration\x20in\x20years\x20[1]:\x20')||'1',m=await Actions[J(0x1f4)]('Contact\x20First\x20Name\x20[Contact]:\x20')||J(0x1d6),n=await Actions[J(0x1f4)](J(0x1ce))||J(0x1e1),{contactType:o}=await Actions['options'](k),p=await Actions[J(0x1f4)](J(0x1e4))||J(0x1ec),q=await Actions[J(0x1f4)](J(0x1f9)),r=await Actions[J(0x1f4)](J(0x1e5))||J(0x1f6),s=await Actions['ask'](J(0x1d0))||'HI',t=await Actions['ask'](J(0x201))||'US',u=getCountryCodeEnum(t);if(!u)throw Log['error']('Invalid\x202\x20character\x20country\x20code');const v=await Actions['ask']('Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20')||'+1.5555555555',w=await Actions['ask'](J(0x1f2))||J(0x1fd),x=await Actions[J(0x1f4)](J(0x1f1))||'mail@example.com',y=await Actions[J(0x20a)](J(0x203)),z={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':u,'AddressLine1':p,'AddressLine2':q,'ZipCode':r,'PhoneNumber':v,'Fax':w,'State':s,'Email':x};if(o!==J(0x204)){const C=await Actions['ask'](J(0x1e3))||'My\x20Comanpy,\x20LLC.';z[J(0x1eb)]=C;}const A=h||0x0*parseInt(l);Log[J(0x1dc)](J(0x1db)),Log[J(0x1df)](A+'\x20'+i+'\x20for\x20'+l+J(0x1da)+h+'\x20'+i+'\x20/\x20Year)');const B=await Actions[J(0x20a)](J(0x1f3));B&&await d[J(0x1d2)](z,c,parseInt(l),y);}}else throw J(0x1d3);}catch(D){D&&Log[J(0x1ee)](D),process[J(0x209)](0x0);}},a16e);
1
+ const a16I=a16d;(function(a,b){const F=a16d,c=a();while(!![]){try{const d=-parseInt(F(0xb4))/0x1*(-parseInt(F(0xd3))/0x2)+parseInt(F(0xa5))/0x3*(-parseInt(F(0xc2))/0x4)+parseInt(F(0xad))/0x5+-parseInt(F(0xd5))/0x6*(parseInt(F(0xb9))/0x7)+-parseInt(F(0xab))/0x8*(parseInt(F(0xc4))/0x9)+-parseInt(F(0xca))/0xa*(parseInt(F(0xa6))/0xb)+parseInt(F(0xc8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x9d03c));function a16c(){const K=['28mfOhjJ','create','OrganizationName','(((.+)+)+)+$','Duration\x20in\x20years\x20[1]:\x20','ask','96816','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','maka\x20aws:register-domain-name','4NiPDsF','Contact\x20Last\x20Name\x20[Person]:\x20','165492NgOljv','list','includes','Zip\x20Code\x20[96816]:\x20','21760800mSbwZk','notice','770ZChrTp','Contact','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','mail@example.com','Are\x20you\x20sure?','COMPANY','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','Contact\x20Email\x20[mail@example.com]:\x20','\x20for\x20','82266nzhTBE','maka\x20aws:rdn\x20--domain=example.com','1637706vAiGnB','checkDomainAvailability','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','error','contactType','Person','exit','domain','search','\x20is\x20available\x20for:','314703TWnIHt','56298oHmjiN','options','Choose\x20contact\x20type','constructor','My\x20Company,\x20LLC.','120yXXppM','ASSOCIATION','1836395pventf','\x20/\x20Year\x20\x0a','register-domain-name','RESELLER','\x20years\x20(','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','8BRvKID','Invalid\x202\x20character\x20country\x20code','confirm','PERSON','warn'];a16c=function(){return K;};return a16c();}const a16b=(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;};}()),a16a=a16b(this,function(){const G=a16d;return a16a['toString']()[G(0xa3)](G(0xbc))['toString']()[G(0xa9)](a16a)[G(0xa3)]('(((.+)+)+)+$');});a16a();import a16e from'./aws.command.js';function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x9e;let f=c[d];return f;},a16d(a,b);}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const H=a16d;return Object['values'](CountryCode)[H(0xc6)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16I(0xba)]({'name':a16I(0xaf),'aliases':['rdn'],'usage':a16I(0xc1),'requiredOpts':[a16I(0xa2)],'validOpts':[],'shortDesc':a16I(0xb2),'examples':['maka\x20aws:register-domain-name\x20--domain=example.com',a16I(0xd4)]},async function(a,b){const J=a16I;try{const c=b['domain'],d=new AWS(),{available:f,cost:g}=await d[J(0xd6)](c);if(f&&g){Log[J(0xc9)]('The\x20domain\x20name:\x20'+c+J(0xa4));const {Price:h,Currency:i}=g;Log['warn']('\x20\x20'+h+'\x20'+i+J(0xae));const j=await Actions[J(0xb6)]('Do\x20you\x20wish\x20to\x20register\x20'+c+'\x20?',![]);if(j){const k={'type':J(0xc5),'name':J(0x9f),'message':J(0xa8),'choices':[J(0xac),J(0xcf),'PERSON','PUBLIC_BODY',J(0xb0)]},l=await Actions['ask'](J(0xbd))||'1',m=await Actions[J(0xbe)]('Contact\x20First\x20Name\x20[Contact]:\x20')||J(0xcb),n=await Actions[J(0xbe)](J(0xc3))||J(0xa0),{contactType:o}=await Actions[J(0xa7)](k),p=await Actions[J(0xbe)](J(0xcc))||'123\x20Glorious\x20Way',q=await Actions[J(0xbe)]('Address\x20Line\x202:\x20'),r=await Actions[J(0xbe)]('City\x20[Honolulu]:\x20')||'Honolulu',s=await Actions['ask'](J(0xc7))||J(0xbf),t=await Actions['ask']('State\x20[HI]:\x20')||'HI',u=await Actions['ask']('Country\x20Code\x20[US]:\x20')||'US',v=getCountryCodeEnum(u);if(!v)throw Log[J(0x9e)](J(0xb5));const w=await Actions['ask'](J(0xb3))||'+1.5555555555',x=await Actions[J(0xbe)](J(0xc0))||'+1.5555555556',y=await Actions[J(0xbe)](J(0xd1))||J(0xcd),z=await Actions[J(0xb6)]('Auto\x20Renew:\x20'),A={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':v,'AddressLine1':p,'AddressLine2':q,'City':r,'ZipCode':s,'PhoneNumber':w,'Fax':x,'State':t,'Email':y};if(o!==J(0xb7)){const D=await Actions[J(0xbe)](J(0xd0))||J(0xaa);A[J(0xbb)]=D;}const B=h||0x0*parseInt(l);Log[J(0xc9)](J(0xd7)),Log[J(0xb8)](B+'\x20'+i+J(0xd2)+l+J(0xb1)+h+'\x20'+i+'\x20/\x20Year)');const C=await Actions[J(0xb6)](J(0xce));C&&await d['registerDomain'](A,c,parseInt(l),z);}}else throw'Domain\x20name\x20is\x20unavailable';}catch(E){E&&Log['error'](E),process[J(0xa1)](0x0);}},a16e);
@@ -1 +1 @@
1
- const a17k=a17d;function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a17d(a,b);}(function(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(0x1f1))/0x1+parseInt(h(0x1ee))/0x2+parseInt(h(0x1f0))/0x3+-parseInt(h(0x209))/0x4*(parseInt(h(0x1f6))/0x5)+parseInt(h(0x20c))/0x6*(parseInt(h(0x1f5))/0x7)+-parseInt(h(0x206))/0x8*(parseInt(h(0x1f4))/0x9)+parseInt(h(0x1f9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xbaa9f));const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0x208)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0x1f8)]()[j(0x1fe)](j(0x205))[j(0x1f8)]()['constructor'](a17a)[j(0x1fe)]('(((.+)+)+)+$');});a17a();import a17e from'./aws.command.js';function a17c(){const m=['4553262zZWhfs','6438341wxURQt','525QqdlZr','rkp','toString','7099010mwMfmq','\x0a\x20\x20After\x20being\x20show\x20a\x20list\x20of\x20available\x20key\x20pairs,\x20provide\x20the\x20name\x0a\x20\x20of\x20the\x20key\x20pair\x20that\x20you\x27d\x20like\x20to\x20delete.\x0a\x0a\x20\x20This\x20cannot\x20be\x20undone!\x0a\x20\x20','forEach','maka\x20aws:remove-key-pair','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','search','deleteKeyPair','create','maka\x20aws:rkp','Deleted\x20','error','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','(((.+)+)+)+$','16sThzNd','Please\x20choose\x20a\x20key\x20to\x20delete:','apply','27764UURraM','remove-key-pair','ec2describeKeys','6qDLHjG','Deleting\x20a\x20','674254zbrDhv','success','2763987ELmiMq','382904PGOjKR','confirm','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?'];a17c=function(){return m;};return a17c();}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a17k(0x200)]({'name':a17k(0x20a),'aliases':[a17k(0x1f7)],'usage':a17k(0x1fc),'validOpts':[],'shortDesc':a17k(0x204),'description':a17k(0x1fa),'examples':['maka\x20aws:remove-key-pair',a17k(0x201)]},async function(){const l=a17k;try{const a=new AWS(),b=await a[l(0x20b)]();let c=undefined;const d=await Actions['ask'](l(0x207));b?.[l(0x1fb)](function(g){g['id']===parseInt(d)&&(c=g['name']);});if(!c)throw Log[l(0x203)](l(0x1fd));const f=await Actions[l(0x1f2)](l(0x20d)+c+l(0x1f3),![]);f?(await a[l(0x1ff)](c),Log[l(0x1ef)](l(0x202)+c)):Log['error']('Not\x20deleting\x20keypair'),process['exit'](0x0);}catch(g){g&&Log['error'](g),process['exit'](0x1);}},a17e);
1
+ const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=parseInt(h(0x92))/0x1*(parseInt(h(0xa5))/0x2)+parseInt(h(0x9b))/0x3*(-parseInt(h(0x83))/0x4)+-parseInt(h(0xa0))/0x5+parseInt(h(0x95))/0x6+-parseInt(h(0x93))/0x7+parseInt(h(0x8d))/0x8*(-parseInt(h(0x89))/0x9)+parseInt(h(0xa2))/0xa*(parseInt(h(0x88))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xb3e8d));const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0x96)]()[j(0x97)]('(((.+)+)+)+$')[j(0x96)]()['constructor'](a17a)[j(0x97)](j(0x8f));});function a17c(){const n=['rkp','exit','257140KsNPMC','Not\x20deleting\x20keypair','30ZUrGCT','ask','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','60276buOLuv','4hsMYiP','forEach','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','confirm','\x0a\x20\x20After\x20being\x20show\x20a\x20list\x20of\x20available\x20key\x20pairs,\x20provide\x20the\x20name\x0a\x20\x20of\x20the\x20key\x20pair\x20that\x20you\x27d\x20like\x20to\x20delete.\x0a\x0a\x20\x20This\x20cannot\x20be\x20undone!\x0a\x20\x20','3867765nPQvJy','63oqoptG','name','remove-key-pair','create','1006512cwVXse','success','(((.+)+)+)+$','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','apply','19vpFiBk','4516106ZqtBVS','deleteKeyPair','6840750BzYuyw','toString','search','Deleting\x20a\x20','Please\x20choose\x20a\x20key\x20to\x20delete:','error','1360197VoYatT','ec2describeKeys','maka\x20aws:remove-key-pair'];a17c=function(){return n;};return a17c();}a17a();function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x83;let f=c[d];return f;},a17d(a,b);}import a17e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a17k(0x8c)]({'name':a17k(0x8b),'aliases':[a17k(0x9e)],'usage':'maka\x20aws:remove-key-pair','validOpts':[],'shortDesc':a17k(0x90),'description':a17k(0x87),'examples':[a17k(0x9d),'maka\x20aws:rkp']},async function(){const l=a17k;try{const a=new AWS(),b=await a[l(0x9c)]();let c=undefined;const d=await Actions[l(0xa3)](l(0x99));b?.[l(0x84)](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0x8a)]);});if(!c)throw Log[l(0x9a)](l(0x85));const f=await Actions[l(0x86)](l(0x98)+c+l(0xa4),![]);f?(await a[l(0x94)](c),Log[l(0x8e)]('Deleted\x20'+c)):Log[l(0x9a)](l(0xa1)),process[l(0x9f)](0x0);}catch(g){g&&Log[l(0x9a)](g),process[l(0x9f)](0x1);}},a17e);
@@ -1 +1 @@
1
- function a18c(){const r=['maka\x20aws:set-host\x20--env\x20dev','success','\x0aSaved\x20host\x20','readFileSync','6bvRHbH','getAppConfigPath','public','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','inherit','maka\x20aws:sth\x20--env\x20prod','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','1968664QJLhBS','private','1622859GtRISB','apply','getMakaProjectConfig','utf8','getEnvFromShorthand','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','464396QtiXcJ','ask','error','parse','ssh.json','48ZhvIbq','template','writeFileSync','env','5lTBptN','config/ssh.json','15426917OGtHfk','311717OpQyPy','fsi','appName','sth','toString','(((.+)+)+)+$','185747vZdaBo','18QMTHJq','stringify','1297440ODhrmp','join','set-host','host','exit','isFile','constructor','privateIp','chooseInstance','search'];a18c=function(){return r;};return a18c();}const a18p=a18d;(function(a,b){const m=a18d,c=a();while(!![]){try{const d=parseInt(m(0xae))/0x1*(-parseInt(m(0xbf))/0x2)+parseInt(m(0xc8))/0x3+-parseInt(m(0xce))/0x4*(parseInt(m(0xd7))/0x5)+parseInt(m(0xd3))/0x6*(-parseInt(m(0xa8))/0x7)+parseInt(m(0xc6))/0x8*(-parseInt(m(0xaf))/0x9)+-parseInt(m(0xb1))/0xa+parseInt(m(0xa7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0x4743e));const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a18d;if(c){const e=c[n(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const o=a18d;return a18a[o(0xac)]()[o(0xba)](o(0xad))[o(0xac)]()[o(0xb7)](a18a)[o(0xba)](o(0xad));});a18a();import a18e from'path';import a18f from'fs';import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0xa6;let f=c[d];return f;},a18d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a18p(0xb3),'aliases':[a18p(0xab)],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':[a18p(0xd6)],'validOpts':[],'shortDesc':a18p(0xc2),'description':'\x0a\x20\x20Get\x20a\x20list\x20of\x20AWS\x20EC2\x20instances\x20running,\x20and\x20choose\x20a\x20public\x20or\x20private\x20IP\x20to\x0a\x20\x20set\x20the\x20specified\x20environment\x27s\x20ssh.json\x20file\x20to\x20point\x20to\x20that\x20IP.\x0a\x20\x20','examples':[a18p(0xbb),a18p(0xc4)]},async function(a,b){const q=a18p;try{const c=new AWS(),d=this[q(0xa9)][q(0xcc)](b['env']),f=this[q(0xa9)][q(0xc0)](d),g=this[q(0xa9)][q(0xca)](),h=await c[q(0xb9)](),i=a18e[q(0xb2)](f,q(0xd2));!this[q(0xa9)][q(0xb6)](i)&&await this[q(0xa9)][q(0xd4)]({'srcPath':q(0xa6),'destPath':i,'context':{'app':g[q(0xaa)]},'config':g});const j=JSON[q(0xd1)](a18f[q(0xbe)](i,q(0xcb))),k=await Actions[q(0xcf)](q(0xc5))||q(0xc1);if(k){if(k===q(0xc1)||k===q(0xc7)){if(k===q(0xc1))j[q(0xb4)]=h?.['publicIp'];else k==='private'&&(j[q(0xb4)]=h?.['privateIp']);}else throw q(0xcd);}else j[q(0xb4)]=h?.[q(0xb8)];a18f[q(0xd5)](a18e[q(0xb2)](f,q(0xd2)),JSON[q(0xb0)](j,null,0x2)),execSync('cat\x20'+a18e[q(0xb2)](f,q(0xd2)),{'stdio':q(0xc3)}),Log[q(0xbc)](q(0xbd)+k+'\x20IP\x20to\x20'+f+a18e['sep']+q(0xd2));}catch(l){l&&Log[q(0xd0)](l),process[q(0xb5)](0x0);}},a18g);
1
+ const a18p=a18d;(function(a,b){const m=a18d,c=a();while(!![]){try{const d=parseInt(m(0x1f2))/0x1+-parseInt(m(0x1d8))/0x2+parseInt(m(0x1dd))/0x3+-parseInt(m(0x1f8))/0x4*(parseInt(m(0x1dc))/0x5)+-parseInt(m(0x1e7))/0x6*(-parseInt(m(0x1f1))/0x7)+-parseInt(m(0x1de))/0x8*(-parseInt(m(0x1e6))/0x9)+parseInt(m(0x1fe))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0x4b502));const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a18d;if(c){const e=c[n(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const o=a18d;return a18a[o(0x1f9)]()[o(0x1da)](o(0x1d5))[o(0x1f9)]()['constructor'](a18a)['search']('(((.+)+)+)+$');});a18a();import a18e from'path';import a18f from'fs';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a18d(a,b);}import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a18p(0x1f3)]({'name':a18p(0x1ff),'aliases':['sth'],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':[a18p(0x1fa)],'validOpts':[],'shortDesc':'Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','description':a18p(0x1f6),'examples':[a18p(0x1e8),a18p(0x1d7)]},async function(a,b){const q=a18p;try{const c=new AWS(),d=this['fsi'][q(0x1df)](b['env']),f=this[q(0x1eb)][q(0x1ea)](d),g=this[q(0x1eb)][q(0x1e2)](),h=await c[q(0x1f5)](),i=a18e[q(0x1db)](f,q(0x1fd));!this[q(0x1eb)][q(0x1e5)](i)&&await this['fsi'][q(0x1ef)]({'srcPath':'config/ssh.json','destPath':i,'context':{'app':g[q(0x1e9)]},'config':g});const j=JSON[q(0x1fc)](a18f[q(0x1ec)](i,q(0x1ed))),k=await Actions[q(0x1f0)]('Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]')||q(0x1ee);if(k){if(k===q(0x1ee)||k===q(0x1e4)){if(k===q(0x1ee))j[q(0x1fb)]=h?.['publicIp'];else k===q(0x1e4)&&(j[q(0x1fb)]=h?.[q(0x1f4)]);}else throw q(0x1e3);}else j[q(0x1fb)]=h?.[q(0x1f4)];a18f[q(0x1d9)](a18e['join'](f,q(0x1fd)),JSON[q(0x1d6)](j,null,0x2)),execSync(q(0x1e1)+a18e[q(0x1db)](f,q(0x1fd)),{'stdio':'inherit'}),Log['success'](q(0x1f7)+k+'\x20IP\x20to\x20'+f+a18e['sep']+q(0x1fd));}catch(l){l&&Log['error'](l),process['exit'](0x0);}},a18g);function a18c(){const r=['255290hvbGMC','writeFileSync','search','join','200TkpKnd','91956zJmepW','19512TyEOly','getEnvFromShorthand','apply','cat\x20','getMakaProjectConfig','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','private','isFile','351HWrWSn','426xlTWgH','maka\x20aws:set-host\x20--env\x20dev','appName','getAppConfigPath','fsi','readFileSync','utf8','public','template','ask','25473kPwdsl','338966sCGmJI','create','privateIp','chooseInstance','\x0a\x20\x20Get\x20a\x20list\x20of\x20AWS\x20EC2\x20instances\x20running,\x20and\x20choose\x20a\x20public\x20or\x20private\x20IP\x20to\x0a\x20\x20set\x20the\x20specified\x20environment\x27s\x20ssh.json\x20file\x20to\x20point\x20to\x20that\x20IP.\x0a\x20\x20','\x0aSaved\x20host\x20','37624EbmvIQ','toString','env','host','parse','ssh.json','892590xRFmxP','set-host','(((.+)+)+)+$','stringify','maka\x20aws:sth\x20--env\x20prod'];a18c=function(){return r;};return a18c();}
@@ -1 +1 @@
1
- const a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=-parseInt(f(0xe0))/0x1+parseInt(f(0xe3))/0x2+-parseInt(f(0xd9))/0x3*(-parseInt(f(0xdc))/0x4)+parseInt(f(0xef))/0x5+-parseInt(f(0xe4))/0x6*(-parseInt(f(0xf2))/0x7)+-parseInt(f(0xee))/0x8*(parseInt(f(0xf3))/0x9)+-parseInt(f(0xf1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0x9d969));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a[h(0xd7)]()[h(0xec)](h(0xe7))['toString']()['constructor'](a19a)[h(0xec)](h(0xe7));});a19a();import a19e from'./aws.command.js';function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0xd7;let f=c[d];return f;},a19d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{AWS}from'../../tools/aws/aws.class.js';function a19c(){const k=['1054168YRZNeU','confirm','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','\x0a\x20\x20After\x20being\x20provided\x20a\x20list\x20of\x20EC2\x20instances\x20created\x20by\x20Maka-CLI,\x0a\x20\x20choose\x20the\x20ID\x20of\x20an\x20instance\x20to\x20terminate.\x0a\x0a\x20\x20This\x20optation\x20cannot\x20be\x20undone!\x0a\x20\x20','261483lotXRM','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','1763842dEvHnj','6JMPbFC','instanceId','create','(((.+)+)+)+$','status','Terminate\x20an\x20EC2\x20instance','apply','\x20Ready?','search','error','8eZBJwo','1151190SBeLvO','name','1431260xWuvsZ','2922157gPupwK','9059436xLajjf','toString','terminate-instance','6AzfCwE','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','chooseInstance'];a19c=function(){return k;};return a19c();}import{Actions}from'../../tools/actions/actions.class.js';Command[a19i(0xe6)]({'name':a19i(0xd8),'aliases':['ti'],'usage':'maka\x20aws:terminate-instance','validOpts':[],'shortDesc':a19i(0xe9),'description':a19i(0xdf),'examples':['maka\x20aws:terminate-instance','maka\x20aws:ti']},async function(){const j=a19i;try{const a=new AWS(),b=await a[j(0xdb)]();if(b?.[j(0xe5)]&&b?.[j(0xe8)]==='running'){const c=await Actions[j(0xdd)](j(0xde)+b[j(0xf0)]+j(0xeb));c?a['ec2terminateInstance']({'instanceId':b[j(0xe5)]}):Log[j(0xed)](j(0xda)+b[j(0xf0)]+j(0xe2));}else Log[j(0xed)](j(0xe1));}catch(d){d&&Log['error'](d),process['exit'](0x1);}},a19e);
1
+ const a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=-parseInt(f(0xe9))/0x1+-parseInt(f(0xe1))/0x2*(parseInt(f(0xdc))/0x3)+-parseInt(f(0xe6))/0x4+parseInt(f(0xd9))/0x5*(parseInt(f(0xd1))/0x6)+parseInt(f(0xd7))/0x7+-parseInt(f(0xe3))/0x8*(parseInt(f(0xcb))/0x9)+parseInt(f(0xe7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0x6d5e3));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a[h(0xce)]()['search'](h(0xe8))['toString']()[h(0xe0)](a19a)[h(0xd5)](h(0xe8));});a19a();function a19c(){const k=['2867459bkhXSR','maka\x20aws:terminate-instance','45jBfPhO','chooseInstance','ec2terminateInstance','4017hRwPMJ','confirm','create','apply','constructor','338AXKDSn','exit','51320tayhuv','instanceId','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','455732Jyemry','4999420tJVmXS','(((.+)+)+)+$','296645ALvMzX','\x20Ready?','\x0a\x20\x20After\x20being\x20provided\x20a\x20list\x20of\x20EC2\x20instances\x20created\x20by\x20Maka-CLI,\x0a\x20\x20choose\x20the\x20ID\x20of\x20an\x20instance\x20to\x20terminate.\x0a\x0a\x20\x20This\x20optation\x20cannot\x20be\x20undone!\x0a\x20\x20','18JYIIgV','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','toString','status','terminate-instance','125394wUySUL','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','name','maka\x20aws:ti','search','error'];a19c=function(){return k;};return a19c();}function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0xc9;let f=c[d];return f;},a19d(a,b);}import a19e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a19i(0xde)]({'name':a19i(0xd0),'aliases':['ti'],'usage':a19i(0xd8),'validOpts':[],'shortDesc':'Terminate\x20an\x20EC2\x20instance','description':a19i(0xca),'examples':[a19i(0xd8),a19i(0xd4)]},async function(){const j=a19i;try{const a=new AWS(),b=await a[j(0xda)]();if(b?.[j(0xe4)]&&b?.[j(0xcf)]==='running'){const c=await Actions[j(0xdd)](j(0xd2)+b[j(0xd3)]+j(0xc9));c?a[j(0xdb)]({'instanceId':b[j(0xe4)]}):Log['error'](j(0xe5)+b[j(0xd3)]+j(0xcc));}else Log[j(0xd6)](j(0xcd));}catch(d){d&&Log[j(0xd6)](d),process[j(0xe2)](0x1);}},a19e);
@@ -1 +1 @@
1
- function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x88;var f=c[d];return f;},a20d(a,b);}(function(a,b){var f=a20d,c=a();while(!![]){try{var d=parseInt(f(0x89))/0x1*(-parseInt(f(0x94))/0x2)+parseInt(f(0x8b))/0x3+parseInt(f(0x92))/0x4+parseInt(f(0x8e))/0x5+-parseInt(f(0x8f))/0x6+parseInt(f(0x88))/0x7*(-parseInt(f(0x8a))/0x8)+parseInt(f(0x8c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0xcc0ba));var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a[h(0x95)]()[h(0x93)](h(0x8d))[h(0x95)]()[h(0x90)](a20a)[h(0x93)](h(0x8d));});function a20c(){var i=['8173896FMnFNF','constructor','apply','3813064genpXZ','search','14368PFFRBs','toString','21qOUBTJ','79mXHvLb','3305904wkGCms','4150929WEqWfL','6191091dQbFCR','(((.+)+)+)+$','4902640WjlLUk'];a20c=function(){return i;};return a20c();}a20a();import'./build.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a20d,c=a();while(!![]){try{var d=-parseInt(f(0x192))/0x1*(parseInt(f(0x19b))/0x2)+parseInt(f(0x197))/0x3*(-parseInt(f(0x196))/0x4)+-parseInt(f(0x190))/0x5*(-parseInt(f(0x191))/0x6)+-parseInt(f(0x18e))/0x7+-parseInt(f(0x199))/0x8*(-parseInt(f(0x193))/0x9)+-parseInt(f(0x19c))/0xa+parseInt(f(0x18d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x8f261));var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a[h(0x18f)]()[h(0x194)](h(0x195))[h(0x18f)]()[h(0x19a)](a20a)[h(0x194)](h(0x195));});function a20c(){var i=['apply','5754632mekrDA','constructor','18636KltDHp','599320nbHpbY','13051676HNsPZh','7463183IQCsMN','toString','1814320EeNHCY','12ATiNXT','58UwlGRX','9npFOcS','search','(((.+)+)+)+$','1514764OAGBRu','3guiwlJ'];a20c=function(){return i;};return a20c();}a20a();import'./build.js';function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x18d;var f=c[d];return f;},a20d(a,b);}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a21m=a21d;function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0xee;let f=c[d];return f;},a21d(a,b);}(function(a,b){const j=a21d,c=a();while(!![]){try{const d=parseInt(j(0xf4))/0x1*(parseInt(j(0x100))/0x2)+-parseInt(j(0xef))/0x3*(parseInt(j(0xf8))/0x4)+parseInt(j(0xf0))/0x5*(parseInt(j(0x112))/0x6)+parseInt(j(0xfb))/0x7*(-parseInt(j(0x109))/0x8)+-parseInt(j(0xf7))/0x9+-parseInt(j(0x10c))/0xa*(parseInt(j(0x103))/0xb)+parseInt(j(0xf1))/0xc*(parseInt(j(0x101))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x5a714));const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a21d;if(c){const e=c[k(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const l=a21d;return a21a['toString']()[l(0x10f)](l(0x104))[l(0x108)]()[l(0x102)](a21a)[l(0x10f)](l(0x104));});a21a();import a21e from'path';import a21f from'fs';import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';function a21c(){const p=['toString','3632HKBDdu','invokeMeteorCommand','splice','538460hWuHAH','join','argv','search','build','\x0a\x20\x20Using\x20Meteor\x27s\x20build\x20system,\x20create\x20a\x20bundle\x20to\x20be\x20stored\x20in\x20the\x0a\x20\x20build/\x20directory\x20as\x20a\x20tar.gz\x20file.\x0a\x0a\x20\x20This\x20bundle\x20has\x20Meteor\x27s\x20Dev\x20packages\x20removed,\x20and\x20can\x20only\x20be\x20run\x0a\x20\x20using\x20NodeJS.\x0a\x20\x20','224394UaVfFK','create','warn','3vWfrKB','40dJDfMw','228wjjgpw','force','error','65710sGiDyf','pathFromProject','inherit','5135364QMuCvg','1202356CugDxg','confirm','autoupdate','301mQiThS','--force','fsi','maka\x20build','concat','4eOTLPa','641953ajTAAU','constructor','22vVECrx','(((.+)+)+)+$','app.tar.gz','apply','isMeteorInstalled'];a21c=function(){return p;};return a21c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a21m(0x113)]({'name':'build','usage':a21m(0xfe),'validOpts':[a21m(0xf2)],'aliases':['b'],'shortDesc':'Build\x20your\x20application\x20into\x20the\x20build\x20folder.','mustBeInMakaProject':!![],'description':a21m(0x111),'examples':['maka\x20build']},async function(a,b){const n=a21m;try{this['fsi'][n(0x107)]()?Log['notice']('Meteor\x20is\x20installed.'):(Log[n(0xee)]('Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...'),execSync('maka\x20install\x20--force',{'stdio':n(0xf6)}));await this['fsi']['checkMeteorPackage'](n(0xfa),{'shouldInstall':!![]});const c=b[n(0xf2)],d=[this[n(0xfd)][n(0xf5)]({'pathParts':['build']})][n(0xff)](process[n(0x10e)]['slice'](0x3)),f=a21e[n(0x10d)](this[n(0xfd)][n(0xf5)]({}),n(0x110),n(0x105));if(a21f['existsSync'](f)){const g=c??await Actions[n(0xf9)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?');if(!g)throw Log[n(0xf3)]('Aborted.');}d['forEach']((h,i)=>{const o=n;h===o(0xfc)&&d[o(0x10b)](i,0x2);}),this[n(0xfd)][n(0x10a)](n(0x110),d);}catch(h){console[n(0xf3)](h),process['exit'](0x0);}});export default BuildCommand;
1
+ const a21m=a21d;(function(a,b){const j=a21d,c=a();while(!![]){try{const d=-parseInt(j(0xdc))/0x1+-parseInt(j(0xc9))/0x2+-parseInt(j(0xc3))/0x3*(-parseInt(j(0xd6))/0x4)+parseInt(j(0xcf))/0x5+-parseInt(j(0xd3))/0x6*(-parseInt(j(0xc0))/0x7)+parseInt(j(0xe0))/0x8+-parseInt(j(0xe2))/0x9*(parseInt(j(0xd1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x6c1a0));const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a21d;if(c){const e=c[k(0xdd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const l=a21d;return a21a[l(0xd4)]()[l(0xce)](l(0xca))[l(0xd4)]()[l(0xc1)](a21a)[l(0xce)](l(0xca));});function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0xbe;let f=c[d];return f;},a21d(a,b);}a21a();import a21e from'path';import a21f from'fs';import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a21m(0xc8)]({'name':a21m(0xc7),'usage':a21m(0xd2),'validOpts':['force'],'aliases':['b'],'shortDesc':'Build\x20your\x20application\x20into\x20the\x20build\x20folder.','mustBeInMakaProject':!![],'description':a21m(0xc6),'examples':[a21m(0xd2)]},async function(a,b){const n=a21m;try{this[n(0xe1)][n(0xc2)]()?Log['notice']('Meteor\x20is\x20installed.'):(Log['warn'](n(0xd7)),execSync(n(0xd0),{'stdio':n(0xdf)}));await this['fsi']['checkMeteorPackage'](n(0xda),{'shouldInstall':!![]});const c=b['force'],d=[this[n(0xe1)]['pathFromProject']({'pathParts':['build']})][n(0xd5)](process['argv']['slice'](0x3)),f=a21e[n(0xc5)](this[n(0xe1)][n(0xd9)]({}),n(0xc7),n(0xc4));if(a21f[n(0xcc)](f)){const g=c??await Actions['confirm'](n(0xde));if(!g)throw Log[n(0xcb)](n(0xcd));}d[n(0xbe)]((h,i)=>{const o=n;h==='--force'&&d[o(0xdb)](i,0x2);}),this['fsi'][n(0xbf)](n(0xc7),d);}catch(h){console['error'](h),process[n(0xd8)](0x0);}});export default BuildCommand;function a21c(){const p=['existsSync','Aborted.','search','2828030tSDiYM','maka\x20install\x20--force','5410490bHgKJq','maka\x20build','132rGfyip','toString','concat','2179644tOWYXU','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','exit','pathFromProject','autoupdate','splice','616243lIpgUY','apply','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','inherit','5454144bPbIGG','fsi','9uaFNrQ','forEach','invokeMeteorCommand','181118lTdKZS','constructor','isMeteorInstalled','3PGRusC','app.tar.gz','join','\x0a\x20\x20Using\x20Meteor\x27s\x20build\x20system,\x20create\x20a\x20bundle\x20to\x20be\x20stored\x20in\x20the\x0a\x20\x20build/\x20directory\x20as\x20a\x20tar.gz\x20file.\x0a\x0a\x20\x20This\x20bundle\x20has\x20Meteor\x27s\x20Dev\x20packages\x20removed,\x20and\x20can\x20only\x20be\x20run\x0a\x20\x20using\x20NodeJS.\x0a\x20\x20','build','create','1522874kicGMC','(((.+)+)+)+$','error'];a21c=function(){return p;};return a21c();}