@maka/maka-cli 4.13.7 → 4.13.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +3 -3
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +3 -3
package/bundle/obf/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.10",
|
|
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.",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"bugs": {
|
|
18
18
|
"url": "https://github.com/maka-io/maka-cli/issues",
|
|
19
|
-
"email": "
|
|
19
|
+
"email": "maka@maka-cli.com"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"lint": "eslint src/ --fix",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"prepare": "husky install",
|
|
34
34
|
"install": "maka v"
|
|
35
35
|
},
|
|
36
|
-
"author": "
|
|
36
|
+
"author": "Maka <maka@maka-cli.com>",
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@aws-sdk/client-ec2": "^3.414.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0p=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(0x118))/0x1*(parseInt(n(0xf6))/0x2)+-parseInt(n(0xf9))/0x3*(parseInt(n(0xf4))/0x4)+-parseInt(n(0x101))/0x5+-parseInt(n(0xee))/0x6+-parseInt(n(0x110))/0x7+parseInt(n(0xe1))/0x8+parseInt(n(0x107))/0x9*(parseInt(n(0xf3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x2f8f5));function a0c(){const z=['Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','maxArgLength','exit','(((.+)+)+)+$','match','notice','aliases','Command\x20not\x20found','validateMakaSubscription','827840mmHLWl','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','tableList','error','mustHaveMeteorInstalled','light','name','Alias','constructor','validateMakaProject','toString','_commands','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','922374PuDkfy','Please\x20run\x20\x22maka\x20install\x20meteor\x22','help','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','keys','10750NeWVzq','4RTQBTU','Command\x20requires\x20a\x20name','1118gAmeCZ','LIGHT','minArgLength','158073gwQdiQ','unshift','maxOptsLength','find','Too\x20few\x20options','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','forEach','invoke','1524965pRLAnU','Description','getGlobalConfig','shortDesc','validateUserIsLoggedIn','length','8010VqcJLJ','usage','push','options','bind','Command.create\x20requires\x20a\x20handler\x20function!','mustBeLoggedIn','play','validateMeteorInstall','1429400cvfZAi','Command\x20','fsi','number','_handler','Sub-Commands:','(expermiental)\x20','join','268XmdujG','There\x20is\x20no\x20Meteor\x20application\x20here','localeCompare','generate','split','run','DARK','mustBeInMakaProject','Command\x20requires\x20a\x20handler\x20function','Command\x20format\x20is\x20incorrect','assign','slice','setColorMode','function','pallet','search','Too\x20many\x20arguments','call','Too\x20few\x20arguments'];a0c=function(){return z;};return a0c();}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(0xeb)]()[o(0x127)](o(0x12e))[o(0xeb)]()[o(0xe9)](a0a)[o(0x127)](o(0x12e));});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';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xdd;let f=c[d];return f;},a0d(a,b);}let _prevCmd='';export class Command extends Tool{[a0p(0x10a)];['_commands'];constructor(a,b){const q=a0p;super();if(!a)throw new Error(q(0xe2));if(!a[q(0xe7)])throw new Error(q(0xf5));if(typeof b!==q(0x125))throw new Error(q(0x120));this[q(0x10a)]=Object[q(0x122)]({},a),this[q(0xe7)]=this[q(0x10a)]['name'],this[q(0xec)]=[],this[q(0x114)]=b[q(0x10b)](this);}static['create'](a,b,c){const r=a0p;if(!a)throw new Error('Command.create\x20requires\x20some\x20options!');if(typeof b!=='function')throw new Error(r(0x10c));const d=new Command(a,b);return c=c||a0f,Object[r(0x122)](d,{'parent':c?.['options']?.['name']}),c['addCommand'](d),d;}['addCommand'](a){const s=a0p;if(!(a instanceof Command))throw new Error('addCommand\x20requires\x20a\x20Command\x20instance');this[s(0xec)][s(0x109)](a);}async[a0p(0x11d)](a,b){const t=a0p;try{a=a||[],b=b||{};try{const c=await this[t(0x112)][t(0x103)](),d=c[t(0x126)]===t(0xe6)?ColorMode[t(0xf7)]:ColorMode[t(0x11e)];Log[t(0x124)](d),await this['validateMakaSubscription'](this);}catch(f){Log[t(0xe4)](f),process[t(0x12d)](0x0);}return await this[t(0x100)](a,b);}catch(g){process[t(0x12d)](0x1);}}async[a0p(0x100)](a,b){const u=a0p,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[u(0x10a)];try{if(this['options'][u(0xe7)]!==u(0x11b)){if(!isRoot){const g=(a[0x0]===_prevCmd||a[u(0x106)]===0x0)&&this[u(0xec)][u(0x106)]>=0x0,h=b[u(0xf0)]||b['h'];if(g&&h){if(this['_commands'][u(0x106)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[u(0x10a)][u(0x11f)]){const i=this[u(0xea)]();if(!i)throw new MustBeInProjectError();}if(this[u(0x10a)][u(0x10d)]){const j=await this[u(0x105)]();if(!j)throw new MustBeLoggedIn();}if(this[u(0x10a)][u(0xe5)]){const k=this[u(0x10f)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[u(0x10a)][u(0xf8)]==='number'){if(a[u(0x106)]<this[u(0x10a)]['minArgLength']){Log[u(0xe4)](u(0x12a));throw new UsageError();}}if(typeof this[u(0x10a)][u(0x12c)]==='number'){if(a[u(0x106)]>=this['options'][u(0x12c)]){Log[u(0xe4)](u(0x128));throw new UsageError();}}if(typeof this[u(0x10a)]['minOptsLength']==='number'){if(Object[u(0xf2)](b)[u(0x106)]<this[u(0x10a)]['minOptsLength']){Log['error'](u(0xfd));throw new UsageError();}}if(typeof this[u(0x10a)][u(0xfb)]===u(0x113)){if(Object[u(0xf2)](b)[u(0x106)]>=this['options'][u(0xfb)]){Log[u(0xe4)]('Too\x20many\x20options');throw new UsageError();}}}}b=await this['validateParams'](a,b,this[u(0x10a)]),_prevCmd=a[0x0];}return await this[u(0x114)][u(0x129)](this,a,b);}catch(l){Log[u(0x108)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log['notice'](u(0x115)),this['tableList'](this['_commands']),Log['header'](u(0x12b));else{if(l instanceof MustBeInProjectError)Log[u(0xe4)](u(0xfe));else{if(l instanceof NoMeteorFoundError)Log[u(0xe4)](u(0xf1)),Log[u(0xdd)](u(0xef));else{if(l instanceof NoMeteorAppFoundError)Log[u(0xe4)](u(0x119));else l instanceof MustBeLoggedIn&&(Log[u(0xe4)](u(0xed)),Log[u(0xdd)]('Please\x20run\x20\x22maka\x20login\x22'));}}}process[u(0x12d)](0x1);}}[a0p(0xe3)](a){const v=a0p,b=new a0e({});b['push'](['Name',v(0xe8),v(0x102)]),a['sort']((c,d)=>{const w=v;return c['name'][w(0x11a)](d[w(0xe7)]);})[v(0xff)](c=>{const x=v;if(c[x(0xe7)]!=='murder'&&c[x(0xe7)]!==x(0x10e)){const d=c['experimental'](),e=d?x(0x116)+c['shortDesc']():c[x(0x104)]();b[x(0x109)]([c['name'],c[x(0xde)](),e]);}}),Log['bright'](b[v(0xeb)]());}async['processAndRunCommand'](a,b=[],c={}){const y=a0p;try{const d=a?.[y(0x11c)](':');if(!d||d[y(0x106)]===0x0)throw y(0x121);if(d[0x0]===y(0x11b)||d[0x0]==='g'&&d[y(0x106)]>0x1){const h=this[y(0xec)]['find'](j=>j[y(0x12f)](y(0x11b)));if(!h)throw'Command\x20not\x20found';await this[y(0xe0)](h);const i=d[y(0x123)](0x1)[y(0x117)](':');return b[y(0xfa)](i),await h[y(0x11d)](b,c);}let f=this[y(0xec)],g;for(const j of d){g=f[y(0xfc)](k=>k[y(0x12f)](j));if(!g)try{await this['fsi']['maybeProxyCommandToMeteor']();}catch(k){throw y(0x111)+j+'\x20not\x20found';}g&&(await this[y(0xe0)](g),f=g['_commands']);}if(g){const l=await g['run'](b,c);return l;}else throw y(0xdf);}catch(m){Log[y(0xe4)](m),process[y(0x12d)](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a1d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a1d,c=a();while(!![]){try{var d=parseInt(f(0xe3))/0x1+parseInt(f(0xda))/0x2+parseInt(f(0xd9))/0x3*(-parseInt(f(0xd5))/0x4)+-parseInt(f(0xe0))/0x5+parseInt(f(0xd8))/0x6*(-parseInt(f(0xdf))/0x7)+-parseInt(f(0xdc))/0x8*(parseInt(f(0xd6))/0x9)+parseInt(f(0xdb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x1e706));function a1c(){var i=['(((.+)+)+)+$','apply','11572EdXFlh','4096XdAAOG','81801IMOUuk','constructor','7200TgCicW','246rGXOWQ','173018wThCzt','5445030RZFiSy','88donrNF','search','toString','1246lNqidR','601795ByrfsV'];a1c=function(){return i;};return a1c();}var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0xde)]()[h(0xdd)](h(0xe1))[h(0xde)]()[h(0xd7)](a1a)[h(0xdd)](h(0xe1));});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'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xd5;var f=c[d];return f;},a1d(a,b);}import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./register.js';import'./patreon.js';import'./profile.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=parseInt(h(0xc3))/0x1*(-parseInt(h(0xbd))/0x2)+-parseInt(h(0xb9))/0x3*(-parseInt(h(0xa8))/0x4)+parseInt(h(0xbc))/0x5+-parseInt(h(0xae))/0x6+-parseInt(h(0xcd))/0x7*(parseInt(h(0xbb))/0x8)+parseInt(h(0xc8))/0x9*(parseInt(h(0xc5))/0xa)+-parseInt(h(0xab))/0xb*(-parseInt(h(0xcc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x56f7d));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a[j(0xa7)]()[j(0xb7)]('(((.+)+)+)+$')[j(0xa7)]()[j(0xba)](a2a)[j(0xb7)](j(0xa6));});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 a2c(){const o=['text','create','parse','ChatGPT\x20style\x20AI\x20interface','fsi','stdin','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','search','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','16710fYCNAw','constructor','24mmbVvk','2784500nwhgIP','172gZNFiU','notice','apply','cacert','toLowerCase','question','6959OGnaKB','Using\x20OpenAI\x20Key\x20','188110Hbfgoh','bright','openai','45jEUqWJ','openapikey','exit','trim','324voUMMD','1487367XlIdqT','isFile','error','cert','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','(((.+)+)+)+$','toString','148DslnrT','You:\x20','data','554587YKffxm','Using\x20CA\x20Cert\x20','askGPT','3756996cSXeYn'];a2c=function(){return o;};return a2c();}const startChat=async({openApiKey:a,caCertPath:b})=>{const k=a2d,c=a2e['createInterface']({'input':process[k(0xb4)],'output':process['stdout']});c[k(0xc2)](k(0xa9),async d=>{const l=k;if(d[l(0xc1)]()===l(0xca)){c['close']();return;}try{const e=await HTTPS[l(0xad)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[l(0xb1)](e[l(0xaa)]);if(f[l(0xa3)])throw new Error(f[l(0xa3)]['message']);Log[l(0xc6)]('GPT:\x20'+f?.['choices'][0x0]?.[l(0xaf)][l(0xcb)]());}catch(g){Log[l(0xa3)](g),process[l(0xca)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0xa2;let f=c[d];return f;},a2d(a,b);}Command[a2m(0xb0)]({'name':'ai','description':a2m(0xb2),'validOpts':[a2m(0xc0),a2m(0xc9)],'shortDesc':'ChatGPT\x20style\x20AI\x20interface','isPro':!![]},async function(a,b){const n=a2m;try{let c='';b[n(0xc0)]&&(this['fsi'][n(0xa2)](b['cacert'])?(c=b['cacert'],Log[n(0xbe)](n(0xac)+c)):Log['error'](n(0xa5)+c));const d=await this[n(0xb3)]['getGlobalConfig']();if(d['cert']){if(this['fsi'][n(0xa2)](d[n(0xa4)]))c=d['cert'];else throw Log[n(0xa3)](n(0xb8)+c);}let f='';if(b[n(0xc9)])f=b[n(0xc9)],Log[n(0xbe)](n(0xc4)+f);else{if(d[n(0xc7)])f=d[n(0xc7)];else throw Log[n(0xa3)](n(0xb5));}Log[n(0xc6)](n(0xb6)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[n(0xa3)](g),process['exit'](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(0x7a))/0x1*(parseInt(f(0x7c))/0x2)+parseInt(f(0x73))/0x3+-parseInt(f(0x78))/0x4*(-parseInt(f(0x7d))/0x5)+-parseInt(f(0x74))/0x6+-parseInt(f(0x72))/0x7+-parseInt(f(0x76))/0x8+parseInt(f(0x75))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x4ea0b));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x77)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x79)]()[h(0x7f)]('(((.+)+)+)+$')[h(0x79)]()[h(0x7e)](a3a)['search'](h(0x7b));});a3a();import'./aws.command.js';function a3c(){var i=['16721991tJiMgX','4785280iJwcXt','apply','88492GhHUab','toString','50108XagxsG','(((.+)+)+)+$','18XQmSpB','45pgPPlR','constructor','search','2271374mCSWqN','199842MwoTOu','2568282YhJPBZ'];a3c=function(){return i;};return a3c();}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';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x72;var f=c[d];return f;},a3d(a,b);}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 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4h=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=-parseInt(f(0x181))/0x1*(parseInt(f(0x17c))/0x2)+parseInt(f(0x17e))/0x3+parseInt(f(0x17b))/0x4+parseInt(f(0x184))/0x5*(parseInt(f(0x180))/0x6)+-parseInt(f(0x17a))/0x7+parseInt(f(0x182))/0x8+parseInt(f(0x176))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x1e90a));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(0x17d)]()[g(0x17f)]('(((.+)+)+)+$')['toString']()['constructor'](a4a)[g(0x17f)]('(((.+)+)+)+$');});a4a();import{Command}from'../../command.js';function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x176;let f=c[d];return f;},a4d(a,b);}import{UsageError}from'../../error.js';const AWSCommand=Command[a4h(0x177)]({'name':'aws','usage':a4h(0x178),'validOpts':[],'shortDesc':a4h(0x183),'description':a4h(0x179)},async function(){throw UsageError;});function a4c(){const i=['132oQhwza','44JXbDZD','202992abrlah','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','27125CQyfWT','916371gddinO','create','maka\x20aws:<sub-command>','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','1329468XHYPyp','727016nUuWri','8562OjuAnF','toString','225555DCBLIy','search'];a4c=function(){return i;};return a4c();}export default AWSCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a5j=a5d;(function(a,b){const g=a5d,c=a();while(!![]){try{const d=-parseInt(g(0x86))/0x1+-parseInt(g(0x7b))/0x2+parseInt(g(0x6d))/0x3+-parseInt(g(0x69))/0x4*(-parseInt(g(0x88))/0x5)+-parseInt(g(0x6a))/0x6+parseInt(g(0x75))/0x7*(parseInt(g(0x80))/0x8)+parseInt(g(0x74))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x5a405));function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x68;let f=c[d];return f;},a5d(a,b);}const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a5d;if(c){const e=c[h(0x6f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const i=a5d;return a5a[i(0x84)]()['search'](i(0x7c))['toString']()['constructor'](a5a)[i(0x83)](i(0x7c));});a5a();import a5e from'./aws.command.js';function a5c(){const l=['toString','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','471046gQzZcJ','create-ecr','5kyPeaS','Repository\x20URI:\x20','1865696XStkJz','2322318vyQMPR','repositoryUri','maka\x20aws:create-ecr','1110693jZCUko','success','apply','maka\x20aws:create-ecr\x20--name=my-new-repo','httpStatusCode','ecrCreateRepository','Create\x20an\x20Elastic\x20Container\x20Repository','918396PuMKDW','294yaZPze','error','notice','create','exit','name','117214LXFQru','(((.+)+)+)+$','maka\x20aws:cecr\x20--name=my-new-repo','repository','Repository\x20created\x20successfully.','66224kfQQxp','$metadata','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','search'];a5c=function(){return l;};return a5c();}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a5j(0x78)]({'name':a5j(0x87),'aliases':['cecr'],'usage':a5j(0x6c),'requiredOpts':[a5j(0x7a)],'validOpts':['region'],'shortDesc':a5j(0x73),'examples':[a5j(0x70),a5j(0x7d),a5j(0x82)]},async function(a,b){const k=a5j;try{const c=new AWS(),d=await c[k(0x72)](b);d&&d[k(0x81)][k(0x71)]===0xc8&&d[k(0x7e)]?(Log[k(0x6e)](k(0x7f)),Log[k(0x77)](k(0x68)+d[k(0x7e)][k(0x6b)])):Log[k(0x76)](k(0x85)),process[k(0x79)](0x0);}catch(f){Log[k(0x76)](f),process['exit'](0x1);}},a5e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d=-parseInt(i(
|
|
1
|
+
const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d=-parseInt(i(0x17a))/0x1*(parseInt(i(0x187))/0x2)+-parseInt(i(0x183))/0x3+parseInt(i(0x17e))/0x4+-parseInt(i(0x18a))/0x5+parseInt(i(0x186))/0x6+-parseInt(i(0x191))/0x7*(-parseInt(i(0x18f))/0x8)+parseInt(i(0x18b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x9a39c));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a6d;if(c){const e=c[j(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const k=a6d;return a6a[k(0x185)]()['search'](k(0x18e))[k(0x185)]()[k(0x190)](a6a)[k(0x18d)](k(0x18e));});a6a();import a6e 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';function a6c(){const n=['(((.+)+)+)+$','8ktkOmK','constructor','3378382DbTkrT','confirm','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','route53CreateHostedZone','29xKnxTX','Instance\x20not\x20found','error','chz','2369448PtMzzL','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','maka\x20aws:create-hosted-zone','publicIp','Set\x20hosted\x20zone\x20to\x20an\x20instance?','2113521izqTKa','create-hosted-zone','toString','438618rDpYmp','49042zMFaLl','domain','exit','1921195fmWcSU','11551248oThwdq','apply','search'];a6c=function(){return n;};return a6c();}function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x179;let f=c[d];return f;},a6d(a,b);}Command['create']({'name':a6l(0x184),'aliases':[a6l(0x17d)],'usage':a6l(0x180),'requiredOpts':[a6l(0x188)],'validOpts':[],'shortDesc':a6l(0x17f),'examples':['maka\x20aws:create-hosted-zone\x20--domain=example.com','maka\x20aws:chz\x20--domain=example.com']},async function(a,b){const m=a6l;try{const c=b['domain'],d=new AWS();d[m(0x179)](c);const f=await Actions[m(0x192)](m(0x182));if(f){const g=await d['chooseInstance']();if(g?.['id']){if(!g[m(0x181)])throw Log['error'](m(0x193));d['linkEC2ToRoute53'](g['id'],g[m(0x181)],c);}else throw m(0x17b);}}catch(h){h&&Log[m(0x17c)](h),process[m(0x189)](0x0);}},a6e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(0xb5))/0x1*(parseInt(Y(0xae))/0x2)+-parseInt(Y(0xe0))/0x3*(-parseInt(Y(0xe6))/0x4)+parseInt(Y(0xd6))/0x5+-parseInt(Y(0xc5))/0x6+parseInt(Y(0xc0))/0x7+parseInt(Y(0xc4))/0x8*(parseInt(Y(0xdc))/0x9)+parseInt(Y(0xd7))/0xa*(-parseInt(Y(0xca))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0xcf0cc));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a[a0(0xce)]()[a0(0xc6)](a0(0xef))[a0(0xce)]()[a0(0xb1)](a7a)[a0(0xc6)](a0(0xef));});a7a();function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0xac;let f=c[d];return f;},a7d(a,b);}import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';function a7c(){const a3=['createKeyPair','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','Create\x20new\x20AWS\x20instance','join','created-by','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','readFileSync','(((.+)+)+)+$','Creating\x20user\x20data\x20file\x20in\x20','listAvailableAMIs','Setting\x20the\x20key-pair\x20to:\x20','maka\x20aws:ci\x20--env\x20prod','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','chooseVPC','Key-Pair:\x20','maka\x20aws:create-instance\x20--env\x20dev','isFile','getAppConfigPath','deleteSecurityGroup','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','Web\x20App','6pAzeUE','t3.micro','Security\x20Group\x20Name:\x20[','constructor','User\x20Data:','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','createFile','252881OFzHOm','Remove\x20the\x20keypair\x20','Please\x20choose\x20a\x20key\x20to\x20use:\x20','env','ImageID:','user-data','unlinkSync','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','split','chooseSecurityGroup','Remove\x20the\x20security\x20group\x20','5120423HNwQgj','getMakaProjectConfig','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','getEnvFromShorthand','8prOPIi','4650948IYbXlm','search','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','1:1','apply','11bqLeTe','create','success','deleteKeyPair','toString','EC2\x20Name:\x20[','**\x20Available\x20key-pairs\x20**','listAvailableSubnets','maka\x20aws:create-instance','Name','create-instance','Instance\x20Count:\x20','2002525ZdiKpF','5324090nPUQaK','exit','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','fsi','confirm','4443372aSZGNY','error','22,80,443','ask','175716YkEyOF','No\x20instance\x20has\x20been\x20created.','name','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','notice','number','88jSAYTS','\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'];a7c=function(){return a3;};return a7c();}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(0xcb)]({'name':a7a1(0xd4),'aliases':['ci'],'usage':a7a1(0xd2),'examples':[a7a1(0xf7),a7a1(0xf3)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a1(0xb8)}],'validOpts':[],'shortDesc':a7a1(0xea),'description':a7a1(0xe7)},async function(a,b){const a2=a7a1;try{const c=this['fsi'][a2(0xc1)](),d=new AWS(),f=new FSI(),{appName:g}=c,h=this[a2(0xda)][a2(0xc3)](b['env']),i=this['fsi'][a2(0xf9)](h),j=g+'-'+h,k=await Actions[a2(0xdf)](a2(0xcf)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0xdb)]('Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?',!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await d[a2(0xe8)]({'env':h});r=y,s=z,Log[a2(0xcc)](a2(0xf2)+r);}else try{Log[a2(0xe4)](a2(0xd0));const A=r?r:k,B=await d['ec2describeKeys']({'suggestion':A}),C=await Actions[a2(0xdf)](a2(0xb7))||'-1';if(parseInt(C)<0x0){Log['error'](a2(0xc7)),Log[a2(0xe4)](a2(0xe1));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a2(0xe2)],Log['success'](a2(0xf2)+r);break;}}}catch(E){Log[a2(0xdd)](E);}l=await d['chooseVPC']();const t=await Actions[a2(0xdb)](a2(0xf4),!![]);let u;if(t){const F=l===''?await d[a2(0xf5)]():l;u=await Actions[a2(0xdf)](a2(0xb0)+k+']')||k;const G=await Actions[a2(0xdf)](a2(0xbc))||a2(0xde),H=G['split'](',');await d['ec2createSG']({'description':a2(0xad),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await d[a2(0xbe)](u),n=await d[a2(0xf1)](),p=await d[a2(0xd1)]();const v=0x1,w=0x1;try{const I=await Actions[a2(0xdf)](a2(0xe3))||a2(0xc8),J=I[a2(0xbd)](':')[0x0],K=I[a2(0xbd)](':')[0x1];typeof parseInt(J)===a2(0xe5)&&typeof parseInt(K)===a2(0xe5)&&Log[a2(0xcc)](a2(0xb3)+J+':'+K);}catch(L){Log[a2(0xdd)](L);}try{const M=await Actions[a2(0xdf)]('What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]')||a2(0xaf);typeof M==='string'&&(o=M);}catch(N){Log[a2(0xdd)](N);}let x='';try{const O=await Actions['confirm']('Would\x20you\x20like\x20to\x20include\x20user\x20data?',![]);O&&(x=a7f[a2(0xeb)](i,a2(0xba)),Log[a2(0xe4)](a2(0xf0)+x),await this[a2(0xda)][a2(0xb4)]({'filePath':x,'data':''}),await Actions[a2(0xdb)](a2(0xc2)));}catch(P){Log[a2(0xdd)](P);}try{const Q=await d['getSubnetCidr'](p);Log[a2(0xe4)](a2(0xb9)+n),Log[a2(0xe4)](a2(0xd5)+v+':'+w),Log[a2(0xe4)]('Instace\x20Type:\x20'+o),Log[a2(0xe4)](a2(0xf6)+r),Log[a2(0xe4)]('Security\x20Group:\x20'+m),Log[a2(0xe4)]('Subnet:\x20'+Q);if(x){Log[a2(0xe4)](a2(0xb2)+x);const S=a7g[a2(0xee)](x)[a2(0xce)]();Log['notice'](S);}const R=await Actions[a2(0xdb)](a2(0xac));if(R){const T=await d['ec2create']({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a2(0xec),'Value':'maka-cli'},{'Key':'environment','Value':h},{'Key':a2(0xd3),'Value':k}],...x&&{'userData':x}});T&&(Log[a2(0xcc)](a2(0xed)),Log['bright'](a2(0xd9)));}else{Log['notice'](a2(0xe9));const U=await Actions['confirm'](a2(0xb6)+r+'\x20?',!![]);U&&(d[a2(0xcd)](r),f[a2(0xf8)](s)&&a7g[a2(0xbb)](s));const V=await Actions[a2(0xdb)](a2(0xbf)+m+'\x20?',!![]);V&&d[a2(0xfa)](m);}}catch(W){Log[a2(0xdd)](W);}}catch(X){X&&Log[a2(0xdd)](X),process[a2(0xd8)](0x0);}},a7e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d
|
|
1
|
+
const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0xe5))/0x1*(parseInt(g(0xe4))/0x2)+parseInt(g(0xda))/0x3+-parseInt(g(0xd2))/0x4*(-parseInt(g(0xe2))/0x5)+parseInt(g(0xd6))/0x6*(parseInt(g(0xd8))/0x7)+-parseInt(g(0xe9))/0x8*(-parseInt(g(0xd5))/0x9)+-parseInt(g(0xd9))/0xa*(-parseInt(g(0xd7))/0xb)+-parseInt(g(0xdc))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xcf6e1));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0xd3)]()[i(0xe3)](i(0xe8))['toString']()['constructor'](a8a)['search'](i(0xe8));});function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0xd2;let f=c[d];return f;},a8d(a,b);}a8a();import a8e from'./aws.command.js';import{Command}from'../../command.js';function a8c(){const l=['maka\x20aws:create-key-pair\x20--env\x20prod','4iGiCSM','toString','create','63ECiZAF','18oFYUld','99iOUzAH','143402ccIxXu','140190yEFGFA','4947297pKJBYO','apply','6598452AlCpNj','maka\x20aws:create-key-pair','createKeyPair','ckp','error','getEnvFromShorthand','4337020vuEXhj','search','3396322uAwXdZ','1dHsqtE','maka\x20aws:ckp\x20--env\x20prod','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','(((.+)+)+)+$','449752rXDkaO','create-key-pair','env'];a8c=function(){return l;};return a8c();}import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a8j(0xd4)]({'name':a8j(0xea),'aliases':[a8j(0xdf)],'usage':a8j(0xdd),'examples':[a8j(0xec),a8j(0xe6)],'mustBeInMakaProject':!![],'requiredOpts':[a8j(0xeb)],'validOpts':[],'shortDesc':a8j(0xe7),'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['fsi'][k(0xe1)](b[k(0xeb)]);c[k(0xde)]({'env':d});}catch(f){f&&Log[k(0xe0)](f),process['exit'](0x0);}},a8e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(
|
|
1
|
+
const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(0x1bd))/0x1*(-parseInt(m(0x1d0))/0x2)+-parseInt(m(0x1d1))/0x3+parseInt(m(0x1cf))/0x4+parseInt(m(0x1cd))/0x5*(parseInt(m(0x1c2))/0x6)+parseInt(m(0x1d5))/0x7*(-parseInt(m(0x1d9))/0x8)+parseInt(m(0x1c7))/0x9+-parseInt(m(0x1d8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0xd0564));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a['toString']()[o(0x1c3)](o(0x1ba))['toString']()[o(0x1c4)](a9a)[o(0x1c3)](o(0x1ba));});function a9c(){const s=['ec2createSG','maka\x20aws\x20create-security-group','error','1234062GYfdGO','search','constructor','chooseVPC','22,80,443','15297363pEQADy','apply','exit','\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','fsi','create-security-group','5uZVdVV','getMakaProjectConfig','5741584DgxEJc','750212EnHMhm','1972065UHMpyU','List\x20is\x20not\x20all\x20numbers','maka\x20aws:create-secuirty-group','csg','576478gKzCiC','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','name','12902630LnDQPq','16UjSseW','Web\x20App','(((.+)+)+)+$','Security\x20Group\x20Name:\x20[','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','1vAEyJK','maka\x20aws:csg'];a9c=function(){return s;};return a9c();}a9a();import a9e from'./aws.command.js';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x1b9;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['create']({'name':a9p(0x1cc),'aliases':[a9p(0x1d4)],'usage':a9p(0x1c0),'validOpts':[],'shortDesc':a9p(0x1d6),'description':a9p(0x1ca),'examples':[a9p(0x1d3),a9p(0x1be)]},async function(a,b){const q=a9p;try{const c=new AWS(),d=this[q(0x1cb)][q(0x1ce)](),{appName:f}=d,g=await c[q(0x1c5)](),h=b[q(0x1d7)]?b[q(0x1d7)]:''+f,i=await Actions['ask'](q(0x1bb)+h+']')||h,j=await Actions['ask'](q(0x1bc))||q(0x1c6),k=j['split'](',');k['forEach'](l=>{const r=q;if(!l['match'](/^\d+$/))throw r(0x1d2);}),await c[q(0x1bf)]({'description':q(0x1b9),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[q(0x1c1)](l),process[q(0x1c9)](0x1);}},a9e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d
|
|
1
|
+
const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=-parseInt(f(0x182))/0x1*(parseInt(f(0x18b))/0x2)+parseInt(f(0x18e))/0x3*(-parseInt(f(0x187))/0x4)+-parseInt(f(0x186))/0x5*(-parseInt(f(0x17f))/0x6)+-parseInt(f(0x179))/0x7*(parseInt(f(0x191))/0x8)+-parseInt(f(0x18a))/0x9+parseInt(f(0x17d))/0xa+parseInt(f(0x181))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xb4d1e));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a['toString']()['search']('(((.+)+)+)+$')[h(0x18f)]()[h(0x185)](a10a)[h(0x183)](h(0x17b));});a10a();import a10e from'./aws.command.js';function a10c(){const k=['1lEuBpZ','search','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','constructor','6299785XmEgKV','4TBeOYG','region','exit','7822890kerDNA','235426dhqpyr','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','\x20in\x20region\x20','1732083laHVWA','toString','\x20deleted\x20successfully\x20in\x20region\x20','10867448aHordZ','create','apply','.\x20Error:\x20','delete-ecr','Failed\x20to\x20delete\x20the\x20repository:\x20','7AFndLh','ecrDeleteRepository','(((.+)+)+)+$','name','270290eUQATJ','error','6mpVNHU','Delete\x20an\x20Elastic\x20Container\x20Repository','26140037FgaaKd'];a10c=function(){return k;};return a10c();}import{Command}from'../../command.js';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x174;let f=c[d];return f;},a10d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a10i(0x174)]({'name':a10i(0x177),'aliases':['decr'],'usage':a10i(0x184),'requiredOpts':[a10i(0x17c),a10i(0x188)],'validOpts':[],'shortDesc':a10i(0x180),'examples':['maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1',a10i(0x18c)]},async function(a,b){const j=a10i;try{const c=new AWS();await c[j(0x17a)]({'repoName':b['name'],'region':b[j(0x188)]}),Log['success']('Repository\x20'+b['name']+j(0x190)+b['region']+'.'),process[j(0x189)](0x0);}catch(d){Log[j(0x17e)](j(0x178)+b['name']+j(0x18d)+b[j(0x188)]+j(0x176)+d),process[j(0x189)](0x1);}},a10e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d
|
|
1
|
+
const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0x1d8))/0x1+-parseInt(f(0x1dc))/0x2*(-parseInt(f(0x1d5))/0x3)+-parseInt(f(0x1d1))/0x4*(-parseInt(f(0x1d2))/0x5)+-parseInt(f(0x1cd))/0x6+-parseInt(f(0x1d7))/0x7*(parseInt(f(0x1d4))/0x8)+-parseInt(f(0x1e0))/0x9+parseInt(f(0x1d9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x2a3e4));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0x1cf)]()[h(0x1dd)](h(0x1de))[h(0x1cf)]()[h(0x1d6)](a11a)[h(0x1dd)](h(0x1de));});function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a11d(a,b);}a11a();function a11c(){const k=['create','error','1301910cOlBkX','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','toString','maka\x20aws:di','55932xbdisG','55NuYZRS','ec2describeInstances','14976AjYrHK','2919tBzFbD','constructor','56fltMBv','96982EslZeX','211770rJmoZk','apply','exit','618vMtTOr','search','(((.+)+)+)+$','maka\x20aws:describe-instances','1508760WpEBFZ'];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(0x1e1)]({'name':'describe-instances','aliases':['di'],'usage':'maka\x20aws:describe-instances','validOpts':[],'shortDesc':a11i(0x1ce),'examples':[a11i(0x1df),a11i(0x1d0)],'description':'\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'},async function(){const j=a11i;try{const a=new AWS();a[j(0x1d3)]();}catch(b){b&&Log[j(0x1cc)](b),process[j(0x1db)](0x1);}},a11e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a12c(){const k=['toString','1900842IiMaZM','96mSCmqq','apply','create','2597430zKNTkn','10ucHeCr','(((.+)+)+)+$','6AhbAsX','maka\x20aws:dkp','search','maka\x20aws:describe-key-pairs','dkp','5262397WWwlVh','6612968PlDGZB','7661654yoyLss','200059iIQNlv','describe-key-pairs','constructor','9hnmaiB','error','44872YzGQRW'];a12c=function(){return k;};return a12c();}const a12i=a12d;(function(a,b){const f=a12d,c=a();while(!![]){try{const d=parseInt(f(0xc3))/0x1*(-parseInt(f(0xd1))/0x2)+-parseInt(f(0xcb))/0x3*(parseInt(f(0xc8))/0x4)+-parseInt(f(0xcf))/0x5*(parseInt(f(0xca))/0x6)+parseInt(f(0xc0))/0x7+-parseInt(f(0xc1))/0x8*(-parseInt(f(0xc6))/0x9)+-parseInt(f(0xce))/0xa+parseInt(f(0xc2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x671fc));const a12b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a12d;if(c){const e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){const h=a12d;return a12a[h(0xc9)]()[h(0xbd)]('(((.+)+)+)+$')[h(0xc9)]()[h(0xc5)](a12a)['search'](h(0xd0));});a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';function a12d(a,b){const c=a12c();return a12d=function(d,e){d=d-0xbd;let f=c[d];return f;},a12d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a12i(0xcd)]({'name':a12i(0xc4),'aliases':[a12i(0xbf)],'usage':a12i(0xbe),'validOpts':[],'shortDesc':'List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','examples':[a12i(0xbe),a12i(0xd2)]},async function(){const j=a12i;try{const a=new AWS();a['ec2describeKeys']();}catch(b){b&&Log[j(0xc7)](b),process['exit'](0x0);}},a12e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a13o=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d=parseInt(l(0x146))/0x1*(-parseInt(l(0x164))/0x2)+-parseInt(l(0x15a))/0x3+parseInt(l(0x15f))/0x4*(-parseInt(l(0x153))/0x5)+parseInt(l(0x13f))/0x6+parseInt(l(0x145))/0x7+-parseInt(l(0x151))/0x8+parseInt(l(0x14a))/0x9*(parseInt(l(0x15e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x360be));function a13c(){const r=['getSecurityGroups','success','\x20SGID:\x20','toString','712173fWTLVc','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','Not\x20deleting\x20secuirty\x20group','includes','10JglAjx','8DrSbgU','search','isMakaProject','Deleted\x20','ID:\x20','252962ENImtC','\x20SG\x20NAME:\x20','forEach','2030544rpuFcQ','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','notice','dsg','apply','exit','249424PtHBUu','3OjiwXT','maka\x20aws:delete-sg','bright','constructor','8951526oSLPDq','create','delete-security-group','ask','name','confirm','(((.+)+)+)+$','2155072kJGOHg','error','652695tCjBWW','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','sgId'];a13c=function(){return r;};return a13c();}const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a13d;if(c){const e=c[m(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const n=a13d;return a13a[n(0x159)]()[n(0x160)]('(((.+)+)+)+$')[n(0x159)]()[n(0x149)](a13a)[n(0x160)](n(0x150));});a13a();import a13e from'./aws.command.js';import{Command}from'../../command.js';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x13e;let f=c[d];return f;},a13d(a,b);}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';Command[a13o(0x14b)]({'name':a13o(0x14c),'aliases':[a13o(0x142)],'usage':a13o(0x147),'validOpts':[],'shortDesc':a13o(0x154),'examples':[a13o(0x147),'maka\x20aws:dsg']},async function(){const p=a13o;try{const a=new AWS(),b=new FSI(),c=b[p(0x161)]();let d='';if(c){const j=b['getMakaProjectConfig']();d=j['appName'];}const {sgList:f}=await a[p(0x156)]();f[p(0x13e)](function(k){const q=p;c&&k[q(0x14e)][q(0x15d)](d)?Log[q(0x141)](q(0x163)+k['id']+q(0x165)+k['name']+q(0x158)+k[q(0x155)]):Log[q(0x148)](q(0x163)+k['id']+q(0x165)+k[q(0x14e)]+q(0x158)+k[q(0x155)]);});let g='';const h=await Actions[p(0x14d)](p(0x140));f[p(0x13e)](function(k){k['id']===parseInt(h)&&(g=k['sgId']);});if(!g)throw Log[p(0x152)](p(0x15b));const i=await Actions[p(0x14f)]('Deleting\x20a\x20'+g+'\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?',![]);i?(await a['deleteSecurityGroup'](g),Log[p(0x157)](p(0x162)+g)):Log[p(0x152)](p(0x15c)),process[p(0x144)](0x0);}catch(k){k&&Log['error'](k),process[p(0x144)](0x1);}},a13e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0x177))/0x1+parseInt(f(0x171))/0x2+-parseInt(f(0x182))/0x3+-parseInt(f(0x17f))/0x4*(parseInt(f(0x184))/0x5)+parseInt(f(0x17b))/0x6+-parseInt(f(0x178))/0x7+-parseInt(f(0x183))/0x8*(-parseInt(f(0x186))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x5cabb));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a['toString']()[h(0x185)](h(0x180))[h(0x16e)]()[h(0x173)](a14a)[h(0x185)](h(0x180));});function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x16e;let f=c[d];return f;},a14d(a,b);}a14a();function a14c(){const k=['1434615obaats','regions','apply','64872DfrckU','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','error','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','2272NEKGDx','(((.+)+)+)+$','create','1759743TvdVQI','13749088DbFBcj','5970BLHJxq','search','9Nrrkkx','lecr','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','toString','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','maka\x20aws:lecr\x20--regions=all','967432PyioVW','success','constructor','list-ecr','exit','listAllEcrRepositories','363867vZKAsE'];a14c=function(){return k;};return a14c();}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[a14i(0x181)]({'name':a14i(0x174),'aliases':[a14i(0x187)],'usage':a14i(0x17e),'requiredOpts':[],'validOpts':[a14i(0x179)],'shortDesc':a14i(0x16f),'examples':['maka\x20aws:list-ecr',a14i(0x188),a14i(0x170)]},async function(a,b){const j=a14i;try{const c=new AWS();await c[j(0x176)](b[j(0x179)]),Log[j(0x172)]('Completed\x20listing\x20ECR\x20repositories.'),process[j(0x175)](0x0);}catch(d){Log[j(0x17d)](j(0x17c)+d),process[j(0x175)](0x1);}},a14e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x17c))/0x1*(-parseInt(f(0x180))/0x2)+-parseInt(f(0x176))/0x3*(-parseInt(f(0x16e))/0x4)+-parseInt(f(0x17e))/0x5+-parseInt(f(0x179))/0x6+-parseInt(f(0x16f))/0x7*(-parseInt(f(0x16d))/0x8)+-parseInt(f(0x171))/0x9*(parseInt(f(0x175))/0xa)+parseInt(f(0x165))/0xb*(parseInt(f(0x172))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0xead77));const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a['toString']()['search'](h(0x169))[h(0x173)]()['constructor'](a15a)['search'](h(0x169));});a15a();function a15c(){const k=['reboot-instance','create','189836HQgHzD','apply','7119345JEaXCk','confirm','8tARGjF','rbi','453343VaDcXR','maka\x20aws:rbi','Reboot\x20an\x20EC2\x20instance','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','(((.+)+)+)+$','maka\x20aws:reboot-instance','name','exit','7928aNykZo','6488HmWGGU','6867xBDLCd','error','1298169EgSagb','876sJCKMr','toString','status','70YpIWSx','3288aHRXWz','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','\x20Ready?','9621726mathfy'];a15c=function(){return k;};return a15c();}import a15e from'./aws.command.js';function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x164;let f=c[d];return f;},a15d(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';Command[a15i(0x17b)]({'name':a15i(0x17a),'aliases':[a15i(0x164)],'usage':a15i(0x16a),'validOpts':[],'shortDesc':a15i(0x167),'examples':[a15i(0x16a),a15i(0x166)]},async function(){const j=a15i;try{const a=new AWS(),b=await a['chooseInstance']();if(b?.[j(0x174)]==='running'){const c=await Actions[j(0x17f)](j(0x177)+b['name']+j(0x178));c&&b['instanceId']?a['ec2rebootInstance']({'instanceId':b['instanceId']}):Log[j(0x170)](j(0x168)+b[j(0x16b)]+'\x20is\x20still\x20running.');}else Log[j(0x170)]('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}catch(d){d&&Log[j(0x170)](d),process[j(0x16c)](0x1);}},a15e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16H=a16d;(function(a,b){const E=a16d,c=a();while(!![]){try{const d=parseInt(E(0x18d))/0x1*(-parseInt(E(0x169))/0x2)+parseInt(E(0x16a))/0x3+-parseInt(E(0x191))/0x4*(-parseInt(E(0x18f))/0x5)+-parseInt(E(0x174))/0x6*(parseInt(E(0x184))/0x7)+-parseInt(E(0x16d))/0x8*(-parseInt(E(0x186))/0x9)+parseInt(E(0x18a))/0xa*(parseInt(E(0x162))/0xb)+-parseInt(E(0x193))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x5fb5b));function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x15b;let f=c[d];return f;},a16d(a,b);}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 F=a16d;return a16a[F(0x17e)]()[F(0x16f)](F(0x161))[F(0x17e)]()[F(0x180)](a16a)[F(0x16f)](F(0x161));});a16a();import a16e from'./aws.command.js';import{Command}from'../../command.js';function a16c(){const J=['\x20is\x20available\x20for:','\x20years\x20(','200bptwgB','rdn','search','96816','register-domain-name','maka\x20aws:register-domain-name','State\x20[HI]:\x20','376404WUWycz','Address\x20Line\x202:\x20','Contact\x20Email\x20[mail@example.com]:\x20','Contact\x20First\x20Name\x20[Contact]:\x20','Invalid\x202\x20character\x20country\x20code','ask','includes','ASSOCIATION','maka\x20aws:rdn\x20--domain=example.com','Person','toString','PERSON','constructor','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','\x20/\x20Year\x20\x0a','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','70jHBlLj','error','51021HZsKsc','PUBLIC_BODY','Country\x20Code\x20[US]:\x20','mail@example.com','159290rrfwph','checkDomainAvailability','domain','40dpAZnq','The\x20domain\x20name:\x20','212410TDIjXW','Duration\x20in\x20years\x20[1]:\x20','12lCuJXT','Contact\x20Last\x20Name\x20[Person]:\x20','3701592unNCpz','123\x20Glorious\x20Way','Do\x20you\x20wish\x20to\x20register\x20','warn','RESELLER','exit','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','\x20/\x20Year)','(((.+)+)+)+$','253chKXjC','values','notice','confirm','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','Zip\x20Code\x20[96816]:\x20','1460aFQtMr','2164485GKsvEA'];a16c=function(){return J;};return a16c();}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 G=a16d;return Object[G(0x163)](CountryCode)[G(0x17a)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command['create']({'name':a16H(0x171),'aliases':[a16H(0x16e)],'usage':a16H(0x172),'requiredOpts':[a16H(0x18c)],'validOpts':[],'shortDesc':'Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','examples':['maka\x20aws:register-domain-name\x20--domain=example.com',a16H(0x17c)]},async function(a,b){const I=a16H;try{const c=b[I(0x18c)],d=new AWS(),{available:f,cost:g}=await d[I(0x18b)](c);if(f&&g){Log[I(0x164)](I(0x18e)+c+I(0x16b));const {Price:h,Currency:i}=g;Log[I(0x15c)]('\x20\x20'+h+'\x20'+i+I(0x182));const j=await Actions[I(0x165)](I(0x15b)+c+'\x20?',![]);if(j){const k={'type':'list','name':'contactType','message':'Choose\x20contact\x20type','choices':[I(0x17b),'COMPANY','PERSON',I(0x187),I(0x15d)]},l=await Actions[I(0x179)](I(0x190))||'1',m=await Actions[I(0x179)](I(0x177))||'Contact',n=await Actions[I(0x179)](I(0x192))||I(0x17d),{contactType:o}=await Actions['options'](k),p=await Actions[I(0x179)](I(0x183))||I(0x194),q=await Actions[I(0x179)](I(0x175)),r=await Actions['ask'](I(0x168))||I(0x170),s=await Actions[I(0x179)](I(0x173))||'HI',t=await Actions[I(0x179)](I(0x188))||'US',u=getCountryCodeEnum(t);if(!u)throw Log[I(0x185)](I(0x178));const v=await Actions['ask'](I(0x15f))||'+1.5555555555',w=await Actions[I(0x179)](I(0x166))||'+1.5555555556',x=await Actions['ask'](I(0x176))||I(0x189),y=await Actions[I(0x165)]('Auto\x20Renew:\x20'),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!==I(0x17f)){const C=await Actions['ask'](I(0x181))||'My\x20Comanpy,\x20LLC.';z['OrganizationName']=C;}const A=h||0x0*parseInt(l);Log[I(0x164)](I(0x167)),Log[I(0x15c)](A+'\x20'+i+'\x20for\x20'+l+I(0x16c)+h+'\x20'+i+I(0x160));const B=await Actions[I(0x165)]('Are\x20you\x20sure?');B&&await d['registerDomain'](z,c,parseInt(l),y);}}else throw'Domain\x20name\x20is\x20unavailable';}catch(D){D&&Log['error'](D),process[I(0x15e)](0x0);}},a16e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=parseInt(h(0x1fc))/0x1*(parseInt(h(0x1f7))/0x2)+parseInt(h(0x1f1))/0x3+parseInt(h(0x1ff))/0x4+parseInt(h(0x1fb))/0x5+parseInt(h(0x201))/0x6*(parseInt(h(0x1f3))/0x7)+-parseInt(h(0x1f4))/0x8+-parseInt(h(0x1ee))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xf3cbb));function a17c(){const n=['create','(((.+)+)+)+$','apply','Deleting\x20a\x20','11661363tcZoQZ','constructor','Not\x20deleting\x20keypair','639168cxFbwC','maka\x20aws:remove-key-pair','448847JDXGfA','11523032chwRbD','maka\x20aws:rkp','deleteKeyPair','502nabDKE','Deleted\x20','ec2describeKeys','error','1229215WwuTjt','6558PdWCNP','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','success','3954024jJYzwS','ask','60MeOPPK','\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','name','toString','rkp','search','exit','confirm'];a17c=function(){return n;};return a17c();}const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0x1e5)]()[j(0x1e7)]('(((.+)+)+)+$')['toString']()[j(0x1ef)](a17a)[j(0x1e7)](j(0x1eb));});a17a();import a17e from'./aws.command.js';function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a17d(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';Command[a17k(0x1ea)]({'name':'remove-key-pair','aliases':[a17k(0x1e6)],'usage':a17k(0x1f2),'validOpts':[],'shortDesc':'Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','description':a17k(0x202),'examples':[a17k(0x1f2),a17k(0x1f5)]},async function(){const l=a17k;try{const a=new AWS(),b=await a[l(0x1f9)]();let c=undefined;const d=await Actions[l(0x200)]('Please\x20choose\x20a\x20key\x20to\x20delete:');b?.['forEach'](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0x203)]);});if(!c)throw Log[l(0x1fa)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const f=await Actions[l(0x1e9)](l(0x1ed)+c+l(0x1fd),![]);f?(await a[l(0x1f6)](c),Log[l(0x1fe)](l(0x1f8)+c)):Log[l(0x1fa)](l(0x1f0)),process[l(0x1e8)](0x0);}catch(g){g&&Log['error'](g),process[l(0x1e8)](0x1);}},a17e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18p=a18d;function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0x126;let f=c[d];return f;},a18d(a,b);}(function(a,b){const m=a18d,c=a();while(!![]){try{const d=-parseInt(m(0x149))/0x1*(-parseInt(m(0x12f))/0x2)+parseInt(m(0x134))/0x3+-parseInt(m(0x152))/0x4+parseInt(m(0x144))/0x5*(parseInt(m(0x155))/0x6)+-parseInt(m(0x148))/0x7*(-parseInt(m(0x153))/0x8)+-parseInt(m(0x12c))/0x9+-parseInt(m(0x132))/0xa*(parseInt(m(0x145))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0x4a731));const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a18d;if(c){const e=c[n(0x140)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const o=a18d;return a18a[o(0x129)]()[o(0x13d)]('(((.+)+)+)+$')[o(0x129)]()[o(0x13f)](a18a)[o(0x13d)](o(0x146));});a18a();import a18e from'path';import a18f from'fs';import{execSync}from'child_process';function a18c(){const r=['getEnvFromShorthand','1732680JdNSGw','set-host','privateIp','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','sep','ask','isFile','join','success','search','chooseInstance','constructor','apply','ssh.json','sth','utf8','10BtlijR','946DYgzQY','(((.+)+)+)+$','inherit','49tEqgMw','1wYpvjk','error','\x20IP\x20to\x20','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','config/ssh.json','parse','template','env','host','875832iGLGIn','245112rrLnGQ','create','1675998qcMrVs','maka\x20aws:sth\x20--env\x20prod','maka\x20aws:set-host\x20--env\x20dev','fsi','toString','private','public','3695301qnVhrb','getAppConfigPath','readFileSync','242758PHlPuK','writeFileSync','publicIp','62510nAmzxa'];a18c=function(){return r;};return a18c();}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(0x154)]({'name':a18p(0x135),'aliases':[a18p(0x142)],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':[a18p(0x150)],'validOpts':[],'shortDesc':a18p(0x137),'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(0x127),a18p(0x126)]},async function(a,b){const q=a18p;try{const c=new AWS(),d=this[q(0x128)][q(0x133)](b[q(0x150)]),f=this[q(0x128)][q(0x12d)](d),g=this[q(0x128)]['getMakaProjectConfig'](),h=await c[q(0x13e)](),i=a18e[q(0x13b)](f,q(0x141));!this['fsi'][q(0x13a)](i)&&await this['fsi'][q(0x14f)]({'srcPath':q(0x14d),'destPath':i,'context':{'app':g['appName']},'config':g});const j=JSON[q(0x14e)](a18f[q(0x12e)](i,q(0x143))),k=await Actions[q(0x139)](q(0x14c))||q(0x12b);if(k){if(k==='public'||k===q(0x12a)){if(k===q(0x12b))j[q(0x151)]=h?.[q(0x131)];else k===q(0x12a)&&(j[q(0x151)]=h?.[q(0x136)]);}else throw'That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22';}else j[q(0x151)]=h?.['privateIp'];a18f[q(0x130)](a18e[q(0x13b)](f,q(0x141)),JSON['stringify'](j,null,0x2)),execSync('cat\x20'+a18e['join'](f,'ssh.json'),{'stdio':q(0x147)}),Log[q(0x13c)]('\x0aSaved\x20host\x20'+k+q(0x14b)+f+a18e[q(0x138)]+q(0x141));}catch(l){l&&Log[q(0x14a)](l),process['exit'](0x0);}},a18g);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a19i=a19d;
|
|
1
|
+
const a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=parseInt(f(0xc4))/0x1+-parseInt(f(0xd2))/0x2+parseInt(f(0xcd))/0x3*(parseInt(f(0xd8))/0x4)+-parseInt(f(0xcb))/0x5+-parseInt(f(0xd5))/0x6+parseInt(f(0xd6))/0x7+-parseInt(f(0xd3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0xeed57));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a[h(0xc7)]()['search'](h(0xc3))[h(0xc7)]()[h(0xcf)](a19a)[h(0xd9)]('(((.+)+)+)+$');});a19a();import a19e from'./aws.command.js';function a19c(){const k=['apply','constructor','name','running','82140XyRJbB','3856488hRiftK','maka\x20aws:terminate-instance','9197610TAYrAl','8918371drEpVW','error','4XwRWWe','search','chooseInstance','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','exit','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\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','status','(((.+)+)+)+$','1212919URmctN','create','\x20Ready?','toString','instanceId','terminate-instance','confirm','4724220OPTNCy','Terminate\x20an\x20EC2\x20instance','4476603EWshoc'];a19c=function(){return k;};return a19c();}import{Command}from'../../command.js';function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0xbf;let f=c[d];return f;},a19d(a,b);}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(0xc5)]({'name':a19i(0xc9),'aliases':['ti'],'usage':a19i(0xd4),'validOpts':[],'shortDesc':a19i(0xcc),'description':a19i(0xc1),'examples':['maka\x20aws:terminate-instance','maka\x20aws:ti']},async function(){const j=a19i;try{const a=new AWS(),b=await a[j(0xda)]();if(b?.[j(0xc8)]&&b?.[j(0xc2)]===j(0xd1)){const c=await Actions[j(0xca)]('You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20'+b[j(0xd0)]+j(0xc6));c?a['ec2terminateInstance']({'instanceId':b[j(0xc8)]}):Log['error'](j(0xc0)+b[j(0xd0)]+j(0xdb));}else Log[j(0xd7)](j(0xbf));}catch(d){d&&Log[j(0xd7)](d),process[j(0xdc)](0x1);}},a19e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a20d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a20d,c=a();while(!![]){try{var d=-parseInt(f(0x11f))/0x1*(-parseInt(f(0x11e))/0x2)+-parseInt(f(0x118))/0x3*(-parseInt(f(0x115))/0x4)+parseInt(f(0x11b))/0x5+-parseInt(f(0x122))/0x6+parseInt(f(0x121))/0x7+parseInt(f(0x116))/0x8+-parseInt(f(0x11c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x9a02a));function a20c(){var i=['7354403XEhWCo','799620Bshwyl','156WmiXMY','5295376wCBohD','toString','95658cnpuTR','(((.+)+)+)+$','apply','4072525tCOFJo','28836000ljsqwS','constructor','38xQDMlx','10394eSZbZT','search'];a20c=function(){return i;};return a20c();}var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a[h(0x117)]()['search'](h(0x119))[h(0x117)]()[h(0x11d)](a20a)[h(0x120)](h(0x119));});function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x115;var f=c[d];return f;},a20d(a,b);}a20a();import'./build.js';import'./docker.sub.cmd.js';
|