@maka/maka-cli 5.0.12 → 5.0.14
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 +2 -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/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/cfg/cfg.class.js +1 -0
- 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/mpi/mpi.class.js +1 -0
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -0
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -0
- 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 +2 -3
- package/bundle/obf/src/commands/patreon.js +0 -1
package/bundle/obf/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.14",
|
|
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.",
|
|
@@ -30,8 +30,7 @@
|
|
|
30
30
|
"es-build": "esbuild ./bundle/typescript/src/maka.js --bundle --platform=node --outfile=bundle/maka.cjs",
|
|
31
31
|
"package": "pkg ./bundle/maka.cjs -d --bundle --out-path=\"bundle/compiled\" --compress GZip",
|
|
32
32
|
"distribute": "mkdir -p compiled/macos compiled/linux compiled/win && mv bundle/compiled/maka-linux compiled/linux/maka && mv bundle/compiled/maka-macos compiled/macos/maka && mv bundle/compiled/maka-win.exe compiled/win/maka.exe",
|
|
33
|
-
"prepare": "husky install"
|
|
34
|
-
"install": "maka v"
|
|
33
|
+
"prepare": "husky install"
|
|
35
34
|
},
|
|
36
35
|
"author": "Maka <maka@maka-cli.com>",
|
|
37
36
|
"license": "MIT",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0q=a0d;function a0c(){const A=['
|
|
1
|
+
const a0q=a0d;function a0c(){const A=['join','27wjebFz','forEach','length','match','setColorMode','exit','murder','function','getGlobalConfig','(experimental)\x20','invoke','126408OTIarQ','projectConfig','56wTNJOZ','search','Please\x20run\x20\x22maka\x20install\x20meteor\x22','\x20not\x20found','Too\x20many\x20arguments','split','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','983885iWCqVf','create','Command\x20requires\x20a\x20handler\x20function','validateParams','Command\x20','minArgLength','maybeProxyCommandToMeteor','20302lHccSL','mustBeLoggedIn','run','play','15xJEsCs','getMakaProjectConfig','Command\x20format\x20is\x20incorrect','notice','You\x20must\x20be\x20in\x20a\x20Maka\x20project\x20to\x20run\x20this\x20command','name','Too\x20few\x20arguments','_handler','Sub-Commands:','sort','maxArgLength','options','keys','error','115256LfSinT','tableList','call','LIGHT','1275370tzgISY','minOptsLength','slice','validateUserIsLoggedIn','(((.+)+)+)+$','mustBeInMakaProject','validateMakaProject','aliases','apply','find','help','mpi','cfg','generate','239497nPDtDX','_commands','pallet','processAndRunCommand','Command.create\x20requires\x20some\x20options!','Command\x20requires\x20a\x20name','There\x20is\x20no\x20Meteor\x20application\x20here','Command\x20not\x20found','943324PsfoUB','header','shortDesc','localeCompare','experimental','light','toString','validateMeteorInstall','Command.create\x20requires\x20a\x20handler\x20function!','number','Please\x20run\x20\x22maka\x20login\x22','push','Description','addCommand\x20requires\x20a\x20Command\x20instance','assign','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','maxOptsLength','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details'];a0c=function(){return A;};return a0c();}(function(a,b){const n=a0d,c=a();while(!![]){try{const d=parseInt(n(0x120))/0x1+parseInt(n(0xfc))/0x2*(parseInt(n(0x100))/0x3)+parseInt(n(0x128))/0x4+-parseInt(n(0xf5))/0x5+parseInt(n(0x146))/0x6*(parseInt(n(0x148))/0x7)+parseInt(n(0x10e))/0x8+parseInt(n(0x13b))/0x9*(-parseInt(n(0x112))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x1fa6e));function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xf2;let f=c[d];return f;},a0d(a,b);}const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x12e)]()[p(0x149)](p(0x116))['toString']()['constructor'](a0a)[p(0x149)](p(0x116));});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{[a0q(0x10b)];[a0q(0x147)];['_commands'];[a0q(0x107)];constructor(a,b){const r=a0q;super();if(!a)throw new Error(r(0xf4));if(!a['name'])throw new Error(r(0x125));if(typeof b!=='function')throw new Error(r(0xf7));this[r(0x10b)]=Object[r(0x136)]({},a),this[r(0x105)]=this[r(0x10b)][r(0x105)],this[r(0x121)]=[],this[r(0x107)]=b['bind'](this);}static[a0q(0xf6)](a,b,c){const s=a0q;if(!a)throw new Error(s(0x124));if(typeof b!==s(0x142))throw new Error(s(0x130));const d=new Command(a,b);return c=c||a0f,Object[s(0x136)](d,{'parent':c?.[s(0x10b)]?.[s(0x105)]}),c['addCommand'](d),d;}['addCommand'](a){const t=a0q;if(!(a instanceof Command))throw new Error(t(0x135));this[t(0x121)]['push'](a);}async['run'](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this['cfg'][u(0x143)](),d=c[u(0x122)]===u(0x12d)?ColorMode[u(0x111)]:ColorMode['DARK'];Log[u(0x13f)](d);}catch(f){Log[u(0x10d)](f),process[u(0x140)](0x0);}return await this[u(0x145)](a,b);}catch(g){process[u(0x140)](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[v(0x10b)];try{if(this['options']['name']!==v(0x11f)){if(!isRoot){const g=(a[0x0]===_prevCmd||a[v(0x13d)]===0x0)&&this['_commands'][v(0x13d)]>=0x0,h=b[v(0x11c)]||b['h'];if(g&&h){if(this['_commands'][v(0x13d)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[v(0x10b)][v(0x117)]){const i=this[v(0x118)]();if(!i)throw new MustBeInProjectError();this[v(0x147)]=this[v(0x11e)][v(0x101)]();}if(this['options'][v(0xfd)]){const j=await this[v(0x115)]();if(!j)throw new MustBeLoggedIn();}if(this['options']['mustHaveMeteorInstalled']){const k=this[v(0x12f)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[v(0x10b)][v(0xfa)]===v(0x131)){if(a[v(0x13d)]<this[v(0x10b)][v(0xfa)]){Log[v(0x10d)](v(0x106));throw new UsageError();}}if(typeof this[v(0x10b)][v(0x10a)]===v(0x131)){if(a[v(0x13d)]>=this[v(0x10b)][v(0x10a)]){Log[v(0x10d)](v(0xf2));throw new UsageError();}}if(typeof this['options']['minOptsLength']===v(0x131)){if(Object[v(0x10c)](b)[v(0x13d)]<this[v(0x10b)][v(0x113)]){Log[v(0x10d)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[v(0x10b)][v(0x138)]===v(0x131)){if(Object[v(0x10c)](b)[v(0x13d)]>=this['options'][v(0x138)]){Log[v(0x10d)]('Too\x20many\x20options');throw new UsageError();}}}}b=await this[v(0xf8)](a,b,this['options']),_prevCmd=a[0x0];}return await this[v(0x107)][v(0x110)](this,a,b);}catch(l){Log['usage'](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[v(0x103)](v(0x108)),this['tableList'](this['_commands']),Log[v(0x129)](v(0x139));else{if(l instanceof MustBeInProjectError)Log['error'](v(0x104));else{if(l instanceof NoMeteorFoundError)Log['error']('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[v(0x103)](v(0x14a));else{if(l instanceof NoMeteorAppFoundError)Log[v(0x10d)](v(0x126));else l instanceof MustBeLoggedIn&&(Log['error'](v(0x137)),Log[v(0x103)](v(0x132)));}}}process[v(0x140)](0x1);}}[a0q(0x10f)](a){const w=a0q,b=new a0e({});b[w(0x133)](['Name','Alias',w(0x134)]),a[w(0x109)]((c,d)=>{const x=w;return c['name'][x(0x12b)](d[x(0x105)]);})[w(0x13c)](c=>{const y=w;if(c[y(0x105)]!==y(0x141)&&c[y(0x105)]!==y(0xff)){const d=c[y(0x12c)](),e=d?y(0x144)+c[y(0x12a)]():c[y(0x12a)]();b[y(0x133)]([c[y(0x105)],c[y(0x119)](),e]);}}),Log['bright'](b[w(0x12e)]());}async[a0q(0x123)](a,b=[],c={}){const z=a0q;try{const d=a?.[z(0xf3)](':');if(!d||d[z(0x13d)]===0x0)throw z(0x102);if(d[0x0]==='generate'||d[0x0]==='g'&&d[z(0x13d)]>0x1){const h=this['_commands'][z(0x11b)](j=>j[z(0x13e)](z(0x11f)));if(!h)throw z(0x127);const i=d[z(0x114)](0x1)[z(0x13a)](':');return b['unshift'](i),await h[z(0xfe)](b,c);}let f=this[z(0x121)],g;for(const j of d){g=f[z(0x11b)](k=>k[z(0x13e)](j));if(!g)try{await this[z(0x11d)][z(0xfb)]();}catch(k){throw z(0xf9)+j+z(0x14b);}g&&(f=g[z(0x121)]);}if(g){const l=await g[z(0xfe)](b,c);return l;}else throw z(0x127);}catch(m){Log['error'](m),process[z(0x140)](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a1d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a1d,c=a();while(!![]){try{var d=parseInt(f(0x71))/0x1*(-parseInt(f(0x6a))/0x2)+parseInt(f(0x75))/0x3+parseInt(f(0x73))/0x4*(-parseInt(f(0x69))/0x5)+-parseInt(f(0x72))/0x6+-parseInt(f(0x6b))/0x7*(-parseInt(f(0x6c))/0x8)+-parseInt(f(0x6d))/0x9*(parseInt(f(0x70))/0xa)+parseInt(f(0x6f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0xb60a4));var a1b=(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;};}()),a1a=a1b(this,function(){var g=a1d;return a1a[g(0x74)]()[g(0x67)](g(0x68))[g(0x74)]()[g(0x6e)](a1a)['search'](g(0x68));});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';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x67;var f=c[d];return f;},a1d(a,b);}import'./generate.js';import'./help.js';import'./install.js';import'./logs.js';function a1c(){var h=['14mCnvdO','1250368JqdNkH','54PgKABe','constructor','34002122aphdHW','1416280HzcMAx','679719stvMNz','6426PDXuEL','1206364mlFZbl','toString','2275749balBuH','search','(((.+)+)+)+$','20tMMgHe','4dDSKGg'];a1c=function(){return h;};return a1c();}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';import'./lint.js';import'./undo.js';import'./profile.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2l=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
const a2l=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=parseInt(h(0x107))/0x1*(-parseInt(h(0x123))/0x2)+-parseInt(h(0xfd))/0x3+-parseInt(h(0xfc))/0x4+-parseInt(h(0x111))/0x5*(-parseInt(h(0x11f))/0x6)+-parseInt(h(0x11d))/0x7*(-parseInt(h(0x110))/0x8)+-parseInt(h(0x10b))/0x9+parseInt(h(0xfb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x75908));function a2c(){const n=['cacert','stdout','You:\x20','notice','parse','1kfBhIV','openai','getGlobalConfig','ChatGPT\x20style\x20AI\x20interface','6038010fyiPQb','toString','bright','fsi','Using\x20CA\x20Cert\x20','80AvZQhs','5lfDmYO','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','data','createInterface','cert','(((.+)+)+)+$','trim','toLowerCase','isFile','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','message','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','241549HGHGnL','search','5162358kquzEB','error','cfg','constructor','811892vvToEB','create','12402040bWKMXz','3243508PbIDni','229230UPDHbM','choices','exit','openapikey','Using\x20OpenAI\x20Key\x20'];a2c=function(){return n;};return a2c();}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(0x10c)]()[i(0x11e)]('(((.+)+)+)+$')[i(0x10c)]()[i(0x122)](a2a)['search'](i(0x116));});a2a();import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0xfa;let f=c[d];return f;},a2d(a,b);}import a2e from'readline';const startChat=async({openApiKey:a,caCertPath:b})=>{const j=a2d,c=a2e[j(0x114)]({'input':process['stdin'],'output':process[j(0x103)]});c['question'](j(0x104),async d=>{const k=j;if(d[k(0x118)]()===k(0xff)){c['close']();return;}try{const e=await HTTPS['askGPT']({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[k(0x106)](e[k(0x113)]);if(f['error'])throw new Error(f['error'][k(0x11b)]);Log[k(0x10d)]('GPT:\x20'+f?.[k(0xfe)][0x0]?.['text'][k(0x117)]());}catch(g){Log[k(0x120)](g),process[k(0xff)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2l(0xfa)]({'name':'ai','description':'ChatGPT\x20style\x20AI\x20interface','validOpts':[a2l(0x102),a2l(0x100)],'shortDesc':a2l(0x10a),'isPro':!![]},async function(a,b){const m=a2l;try{let c='';b[m(0x102)]&&(this[m(0x10e)][m(0x119)](b[m(0x102)])?(c=b[m(0x102)],Log[m(0x105)](m(0x10f)+c)):Log[m(0x120)](m(0x11a)+c));const d=await this[m(0x121)][m(0x109)]();if(d[m(0x115)]){if(this[m(0x10e)][m(0x119)](d[m(0x115)]))c=d['cert'];else throw Log['error'](m(0x11c)+c);}let f='';if(b[m(0x100)])f=b[m(0x100)],Log[m(0x105)](m(0x101)+f);else{if(d[m(0x108)])f=d[m(0x108)];else throw Log[m(0x120)]('OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json');}Log['bright'](m(0x112)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console['error'](g),process[m(0xff)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a3c(){var i=['230672xjoFiD','4971582MODMdY','897112RXZUdU','2ICIwtH','toString','736855VJTpaS','158659RzQFhg','search','apply','(((.+)+)+)+$','3EaTZyn','constructor','640941jAxhhL','563946XtfiHl'];a3c=function(){return i;};return a3c();}(function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(0x112))/0x1*(-parseInt(f(0x10f))/0x2)+-parseInt(f(0x108))/0x3*(-parseInt(f(0x10e))/0x4)+parseInt(f(0x111))/0x5+parseInt(f(0x10b))/0x6+parseInt(f(0x10a))/0x7+-parseInt(f(0x10c))/0x8+-parseInt(f(0x10d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x20de6));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x114)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x110)]()['search']('(((.+)+)+)+$')[h(0x110)]()[h(0x109)](a3a)[h(0x113)](h(0x107));});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';import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x107;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 a4i=a4d;function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x17e;let f=c[d];return f;},a4d(a,b);}function a4c(){const j=['Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','27SfOcLr','9bZDYIM','constructor','(((.+)+)+)+$','10754990ISpJUe','1221306Amezxx','8685832XIsWCn','63837609yvwuMD','create','toString','1842772QSViQZ','search','8521360xCmtPE','401988SREFaw','35uWItWm','apply','1bDyGPB'];a4c=function(){return j;};return a4c();}(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0x18c))/0x1*(parseInt(f(0x186))/0x2)+-parseInt(f(0x18e))/0x3*(parseInt(f(0x189))/0x4)+-parseInt(f(0x188))/0x5+-parseInt(f(0x181))/0x6*(parseInt(f(0x18a))/0x7)+-parseInt(f(0x182))/0x8+-parseInt(f(0x18f))/0x9*(parseInt(f(0x180))/0xa)+parseInt(f(0x183))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xe4c75));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x18b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0x185)]()[h(0x187)](h(0x17f))[h(0x185)]()[h(0x17e)](a4a)[h(0x187)](h(0x17f));});a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0x184)]({'name':'aws','usage':'maka\x20aws:<sub-command>','validOpts':[],'shortDesc':a4i(0x18d),'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
|
|
1
|
+
const a5i=a5d;(function(a,b){const f=a5d,c=a();while(!![]){try{const d=-parseInt(f(0xf3))/0x1*(parseInt(f(0x104))/0x2)+-parseInt(f(0xf7))/0x3*(-parseInt(f(0xfa))/0x4)+-parseInt(f(0x101))/0x5+parseInt(f(0xf4))/0x6+-parseInt(f(0x108))/0x7*(parseInt(f(0x10e))/0x8)+parseInt(f(0x10a))/0x9*(parseInt(f(0xf9))/0xa)+parseInt(f(0x10c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x371c9));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a5d;if(c){const e=c[g(0x103)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const h=a5d;return a5a['toString']()[h(0xf6)](h(0x10d))[h(0xf2)]()['constructor'](a5a)[h(0xf6)](h(0x10d));});a5a();function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0xf1;let f=c[d];return f;},a5d(a,b);}import a5e from'./aws.command.js';function a5c(){const k=['repository','50qLcVXJ','48edSKRj','notice','$metadata','aws','region','error','create-ecr','1151425qbcTgc','create','apply','2SBVcAn','exit','Repository\x20created\x20successfully.','Repository\x20URI:\x20','18179gJfXxz','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','608589yaImxP','success','1283150ZhhfbN','(((.+)+)+)+$','376riqOzL','ecrCreateRepository','toString','354865NcBdrt','1949778AHQryN','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','search','38307VMCHxx'];a5c=function(){return k;};return a5c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a5i(0x102)]({'name':a5i(0x100),'aliases':['cecr'],'usage':'maka\x20aws:create-ecr','requiredOpts':['name'],'validOpts':[a5i(0xfe)],'shortDesc':'Create\x20an\x20Elastic\x20Container\x20Repository','examples':['maka\x20aws:create-ecr\x20--name=my-new-repo','maka\x20aws:cecr\x20--name=my-new-repo',a5i(0x109)]},async function(a,b){const j=a5i;try{const c=await this[j(0xfd)][j(0xf1)](b);c&&c[j(0xfc)]['httpStatusCode']===0xc8&&c[j(0xf8)]?(Log[j(0x10b)](j(0x106)),Log[j(0xfb)](j(0x107)+c[j(0xf8)]['repositoryUri'])):Log[j(0xff)](j(0xf5)),process[j(0x105)](0x0);}catch(d){Log[j(0xff)](d),process[j(0x105)](0x1);}},a5e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a6k=a6d;function a6c(){const m=['linkEC2ToRoute53','1239IphEow','280uqAZUy','7615044QiTXYk','756425aXGZwQ','(((.+)+)+)+$','aws','create','283006GLuITB','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','confirm','Set\x20hosted\x20zone\x20to\x20an\x20instance?','5036SgwRZk','maka\x20aws:create-hosted-zone\x20--domain=example.com','apply','maka\x20aws:chz\x20--domain=example.com','15qRGAkO','60403vSIdRi','domain','286542fRofdb','610280hXZtvl','chz','publicIp','error','search','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','create-hosted-zone','toString','Instance\x20not\x20found','chooseInstance','exit','constructor'];a6c=function(){return m;};return a6c();}(function(a,b){const h=a6d,c=a();while(!![]){try{const d=-parseInt(h(0x174))/0x1+-parseInt(h(0x178))/0x2+parseInt(h(0x171))/0x3*(parseInt(h(0x17c))/0x4)+parseInt(h(0x180))/0x5*(parseInt(h(0x183))/0x6)+-parseInt(h(0x181))/0x7*(-parseInt(h(0x172))/0x8)+parseInt(h(0x173))/0x9+-parseInt(h(0x184))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xd01bd));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a6d;if(c){const e=c[i(0x17e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const j=a6d;return a6a['toString']()[j(0x188)](j(0x175))[j(0x16b)]()[j(0x16f)](a6a)[j(0x188)](j(0x175));});function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x169;let f=c[d];return f;},a6d(a,b);}a6a();import a6e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a6k(0x177)]({'name':a6k(0x16a),'aliases':[a6k(0x185)],'usage':'maka\x20aws:create-hosted-zone','requiredOpts':[a6k(0x182)],'validOpts':[],'shortDesc':a6k(0x179),'examples':[a6k(0x17d),a6k(0x17f)]},async function(a,b){const l=a6k;try{const c=b[l(0x182)];this[l(0x176)]['route53CreateHostedZone'](c);const d=await Actions[l(0x17a)](l(0x17b));if(d){const f=await this[l(0x176)][l(0x16d)]();if(f?.['id']){if(!f[l(0x186)])throw Log[l(0x187)](l(0x169));this['aws'][l(0x170)](f['id'],f[l(0x186)],c);}else throw l(0x16c);}}catch(g){g&&Log['error'](g),process[l(0x16e)](0x0);}},a6e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a7a0=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(0x149))/0x1+-parseInt(Y(0x17b))/0x2*(parseInt(Y(0x15c))/0x3)+parseInt(Y(0x146))/0x4*(-parseInt(Y(0x147))/0x5)+parseInt(Y(0x17a))/0x6+-parseInt(Y(0x164))/0x7*(parseInt(Y(0x156))/0x8)+parseInt(Y(0x165))/0x9*(parseInt(Y(0x181))/0xa)+parseInt(Y(0x14b))/0xb*(parseInt(Y(0x14a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x4b61e));const a7b=(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;};}()),a7a=a7b(this,function(){const Z=a7d;return a7a[Z(0x160)]()[Z(0x176)](Z(0x17d))['toString']()[Z(0x152)](a7a)[Z(0x176)](Z(0x17d));});a7a();import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a7a0(0x15f)]({'name':'create-instance','aliases':['ci'],'usage':a7a0(0x15d),'examples':[a7a0(0x159),a7a0(0x16a)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a0(0x15b)}],'validOpts':[],'shortDesc':a7a0(0x163),'description':'\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'},async function(a,b){const a1=a7a0;try{const {projectConfig:c,fsi:d,cfg:f}=this,{appName:g}=c,h=f[a1(0x178)](b[a1(0x15b)]),i=f['getAppConfigPath'](h),j=g+'-'+h,k=await Actions[a1(0x182)](a1(0x188)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a1(0x180)](a1(0x186),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await this[a1(0x174)]['createKeyPair']({'env':h});r=y,s=z,Log[a1(0x170)]('Setting\x20the\x20key-pair\x20to:\x20'+r);}else try{Log[a1(0x153)]('**\x20Available\x20key-pairs\x20**');const A=r?r:k,B=await this[a1(0x174)]['ec2describeKeys']({'suggestion':A}),C=await Actions[a1(0x182)](a1(0x15a))||'-1';if(parseInt(C)<0x0){Log['error']('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'),Log[a1(0x153)](a1(0x166));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a1(0x16b)],Log[a1(0x170)](a1(0x145)+r);break;}}}catch(E){Log[a1(0x17e)](E);}l=await this[a1(0x174)]['chooseVPC']();const t=await Actions[a1(0x180)](a1(0x16e),!![]);let u;if(t){const F=l===''?await this[a1(0x174)][a1(0x16d)]():l;u=await Actions[a1(0x182)](a1(0x14d)+k+']')||k;const G=await Actions[a1(0x182)](a1(0x173))||'22,80,443',H=G[a1(0x175)](',');await this[a1(0x174)][a1(0x150)]({'description':a1(0x15e),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await this[a1(0x174)]['chooseSecurityGroup'](u),n=await this[a1(0x174)][a1(0x158)](),p=await this['aws'][a1(0x154)]();const v=0x1,w=0x1;try{const I=await Actions[a1(0x182)](a1(0x161))||'1:1',J=I[a1(0x175)](':')[0x0],K=I[a1(0x175)](':')[0x1];typeof parseInt(J)==='number'&&typeof parseInt(K)==='number'&&Log[a1(0x170)](a1(0x185)+J+':'+K);}catch(L){Log['error'](L);}try{const M=await Actions[a1(0x182)](a1(0x183))||'t3.micro';typeof M==='string'&&(o=M);}catch(N){Log['error'](N);}let x='';try{const O=await Actions['confirm'](a1(0x184),![]);O&&(x=a7f['join'](i,a1(0x167)),Log[a1(0x153)](a1(0x172)+x),await this[a1(0x168)][a1(0x17c)]({'filePath':x,'data':''}),await Actions[a1(0x180)](a1(0x179)));}catch(P){Log['error'](P);}try{const Q=await this[a1(0x174)][a1(0x162)](p);Log[a1(0x153)]('ImageID:'+n),Log[a1(0x153)](a1(0x16f)+v+':'+w),Log[a1(0x153)]('Instace\x20Type:\x20'+o),Log[a1(0x153)](a1(0x177)+r),Log[a1(0x153)](a1(0x14c)+m),Log[a1(0x153)](a1(0x16c)+Q);if(x){Log[a1(0x153)](a1(0x155)+x);const S=a7g['readFileSync'](x)[a1(0x160)]();Log[a1(0x153)](S);}const R=await Actions[a1(0x180)]('Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.');if(R){const T=await this['aws'][a1(0x144)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a1(0x151),'Value':'maka-cli'},{'Key':a1(0x171),'Value':h},{'Key':a1(0x187),'Value':k}],...x&&{'userData':x}});T&&(Log['success'](a1(0x148)),Log['bright'](a1(0x157)));}else{Log[a1(0x153)]('ABORTED!\x20No\x20instance\x20has\x20been\x20created!');const U=await Actions[a1(0x180)]('Remove\x20the\x20keypair\x20'+r+'\x20?',!![]);U&&(this['aws'][a1(0x14f)](r),d[a1(0x14e)](s)&&a7g[a1(0x17f)](s));const V=await Actions['confirm'](a1(0x169)+m+'\x20?',!![]);V&&this['aws']['deleteSecurityGroup'](m);}}catch(W){Log[a1(0x17e)](W);}}catch(X){X&&Log[a1(0x17e)](X),process['exit'](0x0);}},a7e);function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x144;let f=c[d];return f;},a7d(a,b);}function a7c(){const a2=['env','472170tTAWcI','maka\x20aws:create-instance','Web\x20App','create','toString','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','getSubnetCidr','Create\x20new\x20AWS\x20instance','124453dOBkkt','12114LdElwf','No\x20instance\x20has\x20been\x20created.','user-data','fsi','Remove\x20the\x20security\x20group\x20','maka\x20aws:ci\x20--env\x20prod','name','Subnet:\x20','chooseVPC','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','Instance\x20Count:\x20','success','environment','Creating\x20user\x20data\x20file\x20in\x20','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','aws','split','search','Key-Pair:\x20','getEnvFromShorthand','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','2922342ouREEB','2XeWMDs','createFile','(((.+)+)+)+$','error','unlinkSync','confirm','3710awxSFV','ask','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','Would\x20you\x20like\x20to\x20include\x20user\x20data?','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','Name','EC2\x20Name:\x20[','ec2create','Setting\x20the\x20key-pair\x20to:\x20','12SzNzqw','480330OvXuFt','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','287244EmzlYq','540ceTakl','56947jVAURz','Security\x20Group:\x20','Security\x20Group\x20Name:\x20[','isFile','deleteKeyPair','ec2createSG','created-by','constructor','notice','listAvailableSubnets','User\x20Data:','80uNBCEv','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','listAvailableAMIs','maka\x20aws:create-instance\x20--env\x20dev','Please\x20choose\x20a\x20key\x20to\x20use:\x20'];a7c=function(){return a2;};return a7c();}
|
|
@@ -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(0x1c1))/0x1*(-parseInt(g(0x1b3))/0x2)+parseInt(g(0x1b9))/0x3*(-parseInt(g(0x1bc))/0x4)+-parseInt(g(0x1c6))/0x5+parseInt(g(0x1b4))/0x6*(-parseInt(g(0x1bd))/0x7)+-parseInt(g(0x1b7))/0x8+-parseInt(g(0x1be))/0x9+parseInt(g(0x1b8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xbc45a));function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x1af;let f=c[d];return f;},a8d(a,b);}const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0x1c5)]()['search'](i(0x1bb))[i(0x1c5)]()[i(0x1c2)](a8a)['search'](i(0x1bb));});a8a();import a8e from'./aws.command.js';function a8c(){const l=['6zuUgPh','\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','cfg','4302480cuQHCN','51188940zdpKkt','537qeUDMf','maka\x20aws:create-key-pair\x20--env\x20prod','(((.+)+)+)+$','23812CEjwwL','8191925TpYizO','9927324KhQljW','env','createKeyPair','72bizXIb','constructor','apply','ckp','toString','774360eJEzvP','getEnvFromShorthand','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','error','create','8782QskoTY'];a8c=function(){return l;};return a8c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a8j(0x1b2)]({'name':'create-key-pair','aliases':[a8j(0x1c4)],'usage':'maka\x20aws:create-key-pair','examples':[a8j(0x1ba),'maka\x20aws:ckp\x20--env\x20prod'],'mustBeInMakaProject':!![],'requiredOpts':[a8j(0x1bf)],'validOpts':[],'shortDesc':a8j(0x1b0),'description':a8j(0x1b5)},async function(a,b){const k=a8j;try{const {aws:c}=this,d=this[k(0x1b6)][k(0x1af)](b[k(0x1bf)]);c[k(0x1c0)]({'env':d});}catch(f){f&&Log[k(0x1b1)](f),process['exit'](0x0);}},a8e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d
|
|
1
|
+
const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(0x1ac))/0x1+parseInt(m(0x1be))/0x2*(parseInt(m(0x1bc))/0x3)+-parseInt(m(0x1b5))/0x4*(-parseInt(m(0x1c2))/0x5)+parseInt(m(0x1b2))/0x6*(-parseInt(m(0x1a7))/0x7)+parseInt(m(0x1a9))/0x8*(parseInt(m(0x1b7))/0x9)+-parseInt(m(0x1b0))/0xa+-parseInt(m(0x1b3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x6a351));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x1bd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a['toString']()[o(0x1a4)](o(0x1b8))['toString']()[o(0x1ba)](a9a)['search'](o(0x1b8));});a9a();import a9e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';function a9c(){const s=['106868zDuoON','ask','name','create','509120cOAAdV','forEach','113394qVDadM','5150277GZvWIh','match','28VmLDux','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','369HRHeGR','(((.+)+)+)+$','error','constructor','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','225174VcCakO','apply','16SXnqrm','chooseVPC','22,80,443','Web\x20App','583570xxuyty','maka\x20aws:csg','search','ec2createSG','maka\x20aws:create-secuirty-group','301abhDcJ','exit','89016dcrGUW','create-security-group','csg'];a9c=function(){return s;};return a9c();}import{Log}from'../../tools/log/log.class.js';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a9d(a,b);}Command[a9p(0x1af)]({'name':a9p(0x1aa),'aliases':[a9p(0x1ab)],'usage':'maka\x20aws\x20create-security-group','validOpts':[],'shortDesc':a9p(0x1b6),'mustBeInMakaProject':!![],'description':'\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','examples':[a9p(0x1a6),a9p(0x1a3)]},async function(a,b){const q=a9p,{projectConfig:c,aws:d}=this;try{const {appName:f}=c,g=await d[q(0x1bf)](),h=b['name']?b[q(0x1ae)]:''+f,i=await Actions['ask']('Security\x20Group\x20Name:\x20['+h+']')||h,j=await Actions[q(0x1ad)](q(0x1bb))||q(0x1c0),k=j['split'](',');k[q(0x1b1)](l=>{const r=q;if(!l[r(0x1b4)](/^\d+$/))throw'List\x20is\x20not\x20all\x20numbers';}),await d[q(0x1a5)]({'description':q(0x1c1),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[q(0x1b9)](l),process[q(0x1a8)](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(0xdd))/0x1+-parseInt(f(0xdb))/0x2+-parseInt(f(0xde))/0x3*(-parseInt(f(0xe3))/0x4)+-parseInt(f(0xcc))/0x5+-parseInt(f(0xd4))/0x6+-parseInt(f(0xd8))/0x7+-parseInt(f(0xd0))/0x8*(-parseInt(f(0xcd))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xe73a2));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a[h(0xcf)]()['search'](h(0xd3))[h(0xcf)]()[h(0xe4)](a10a)[h(0xdc)]('(((.+)+)+)+$');});a10a();function a10c(){const k=['(((.+)+)+)+$','5402328qykdKj','delete-ecr','Failed\x20to\x20delete\x20the\x20repository:\x20','Delete\x20an\x20Elastic\x20Container\x20Repository','1735678ILXiWv','.\x20Error:\x20','Repository\x20','1229778JvuYAt','search','495273IbtFjg','21jsRaVK','success','region','exit','name','60668RxNRSg','constructor','create','7227985xOJmVB','9RDiNUV','apply','toString','36360304xUYfgt','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','ecrDeleteRepository'];a10c=function(){return k;};return a10c();}import a10e from'./aws.command.js';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0xcc;let f=c[d];return f;},a10d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a10i(0xe5)]({'name':a10i(0xd5),'aliases':['decr'],'usage':a10i(0xd1),'requiredOpts':[a10i(0xe2),'region'],'validOpts':[],'shortDesc':a10i(0xd7),'examples':['maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1']},async function(a,b){const j=a10i,{aws:c}=this;try{await c[j(0xd2)]({'repoName':b[j(0xe2)],'region':b[j(0xe0)]}),Log[j(0xdf)](j(0xda)+b[j(0xe2)]+'\x20deleted\x20successfully\x20in\x20region\x20'+b['region']+'.'),process['exit'](0x0);}catch(d){Log['error'](j(0xd6)+b[j(0xe2)]+'\x20in\x20region\x20'+b[j(0xe0)]+j(0xd9)+d),process[j(0xe1)](0x1);}},a10e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11h=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0x77))/0x1*(-parseInt(f(0x7f))/0x2)+parseInt(f(0x74))/0x3+-parseInt(f(0x6f))/0x4+-parseInt(f(0x75))/0x5*(parseInt(f(0x7c))/0x6)+-parseInt(f(0x73))/0x7*(-parseInt(f(0x78))/0x8)+parseInt(f(0x71))/0x9+-parseInt(f(0x70))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xb05a5));const a11b=(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;};}()),a11a=a11b(this,function(){const g=a11d;return a11a[g(0x72)]()['search']('(((.+)+)+)+$')[g(0x72)]()[g(0x7b)](a11a)[g(0x6d)](g(0x7d));});a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x6d;let f=c[d];return f;},a11d(a,b);}Command[a11h(0x7a)]({'name':'describe-instances','aliases':['di'],'usage':a11h(0x76),'validOpts':[],'shortDesc':'Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','examples':[a11h(0x76),'maka\x20aws:di'],'description':a11h(0x79)},async function(){const i=a11h;try{const {aws:a}=this;a['ec2describeInstances']();}catch(b){b&&Log[i(0x7e)](b),process[i(0x6e)](0x1);}},a11e);function a11c(){const j=['14GSfDEv','3954318NjGeON','10YCIxLq','maka\x20aws:describe-instances','41161qujFtm','5092784ZypApw','\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','create','constructor','1638966rZlCTx','(((.+)+)+)+$','error','60WwNhlC','search','exit','2044340mlgHFp','650380PtPviw','4394826WLuCvG','toString'];a11c=function(){return j;};return a11c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a12i=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=parseInt(f(0xe8))/0x1*(-parseInt(f(0xe3))/0x2)+parseInt(f(0xdf))/0x3*(parseInt(f(0xda))/0x4)+parseInt(f(0xe5))/0x5+-parseInt(f(0xe0))/0x6*(parseInt(f(0xd4))/0x7)+parseInt(f(0xe2))/0x8*(-parseInt(f(0xd7))/0x9)+-parseInt(f(0xdb))/0xa+parseInt(f(0xdd))/0xb*(-parseInt(f(0xd3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0xcc23c));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a12d;if(c){var e=c[g(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var h=a12d;return a12a['toString']()['search'](h(0xd2))['toString']()['constructor'](a12a)[h(0xe1)]('(((.+)+)+)+$');});function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0xd2;var f=c[d];return f;},a12d(a,b);}a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a12c(){var k=['4017424nVbMnb','2LGpxnh','exit','5719750ycaRHf','dkp','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','1405qPpDzt','(((.+)+)+)+$','28740HRgJOX','4305wGrOwh','maka\x20aws:describe-key-pairs','describe-key-pairs','9ayWYJI','aws','create','8DazReQ','8596420fHDlWJ','apply','1210yaBnmn','error','1979244ENqaux','6FfWrvz','search'];a12c=function(){return k;};return a12c();}Command[a12i(0xd9)]({'name':a12i(0xd6),'aliases':[a12i(0xe6)],'usage':a12i(0xd5),'validOpts':[],'shortDesc':a12i(0xe7),'examples':[a12i(0xd5),'maka\x20aws:dkp']},async function(){var j=a12i;try{this[j(0xd8)]['ec2describeKeys']();}catch(a){a&&Log[j(0xde)](a),process[j(0xe4)](0x0);}},a12e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a13m=a13d;(function(a,b){const j=a13d,c=a();while(!![]){try{const d=-parseInt(j(0x20b))/0x1*(parseInt(j(0x203))/0x2)+-parseInt(j(0x211))/0x3*(-parseInt(j(0x1fc))/0x4)+-parseInt(j(0x1e7))/0x5+-parseInt(j(0x210))/0x6*(-parseInt(j(0x209))/0x7)+-parseInt(j(0x1ed))/0x8*(-parseInt(j(0x1ef))/0x9)+-parseInt(j(0x20e))/0xa+parseInt(j(0x1ee))/0xb*(parseInt(j(0x1f7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x5962c));function a13c(){const p=['notice','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','exit','delete-security-group','create','\x20SGID:\x20','1357066bjtJVh','confirm','maka\x20aws:dsg','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','success','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','5073222KWxLtS','name','1DJbnTG','error','Deleting\x20a\x20','2343030Awcbuj','ask','6dxMKYw','13383mNVOUh','2847270bbZxLE','search','ID:\x20','deleteSecurityGroup','\x20SG\x20NAME:\x20','toString','1576YWaaWX','6520349xmsVbf','11619hPchPj','Not\x20deleting\x20secuirty\x20group','Deleted\x20','apply','(((.+)+)+)+$','constructor','maka\x20aws:delete-sg','appName','12oEtslV','getSecurityGroups','forEach','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','sgId','248LTabYT'];a13c=function(){return p;};return a13c();}const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a13d;if(c){const e=c[k(0x1f2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const l=a13d;return a13a[l(0x1ec)]()['search'](l(0x1f3))[l(0x1ec)]()[l(0x1f4)](a13a)[l(0x1e8)](l(0x1f3));});a13a();import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a13d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';Command[a13m(0x201)]({'name':a13m(0x200),'aliases':['dsg'],'usage':'maka\x20aws:delete-sg','mustBeInMakaProject':!![],'validOpts':[],'shortDesc':a13m(0x1fa),'examples':[a13m(0x1f5),a13m(0x205)]},async function(){const n=a13m;try{const {projectConfig:a,aws:b}=this;let c='';c=a[n(0x1f6)];const {sgList:d}=await b[n(0x1f8)]();d[n(0x1f9)](function(i){const o=n;i['name']['includes'](c)?Log[o(0x1fd)](o(0x1e9)+i['id']+o(0x1eb)+i[o(0x20a)]+o(0x202)+i[o(0x1fb)]):Log['bright'](o(0x1e9)+i['id']+'\x20SG\x20NAME:\x20'+i['name']+'\x20SGID:\x20'+i[o(0x1fb)]);});let f='';const g=await Actions[n(0x20f)](n(0x1fe));d[n(0x1f9)](function(i){i['id']===parseInt(g)&&(f=i['sgId']);});if(!f)throw Log['error'](n(0x206));const h=await Actions[n(0x204)](n(0x20d)+f+n(0x208),![]);h?(await b[n(0x1ea)](f),Log[n(0x207)](n(0x1f1)+f)):Log[n(0x20c)](n(0x1f0)),process[n(0x1ff)](0x0);}catch(i){i&&Log[n(0x20c)](i),process['exit'](0x1);}},a13e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14h=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0x1d2))/0x1+-parseInt(f(0x1d6))/0x2*(-parseInt(f(0x1c1))/0x3)+-parseInt(f(0x1ca))/0x4*(-parseInt(f(0x1d1))/0x5)+parseInt(f(0x1d4))/0x6+parseInt(f(0x1c6))/0x7*(-parseInt(f(0x1c0))/0x8)+parseInt(f(0x1d5))/0x9+-parseInt(f(0x1d7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xb5ab7));const a14b=(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;};}()),a14a=a14b(this,function(){const g=a14d;return a14a[g(0x1c9)]()[g(0x1cf)]('(((.+)+)+)+$')['toString']()[g(0x1c8)](a14a)[g(0x1cf)]('(((.+)+)+)+$');});function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a14d(a,b);}a14a();import a14e from'./aws.command.js';function a14c(){const j=['34626380nDBjvQ','8096PkTCwS','140223BrLpok','Completed\x20listing\x20ECR\x20repositories.','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','error','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','560LQljDm','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','constructor','toString','4lNCmca','lecr','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','maka\x20aws:list-ecr','success','search','listAllEcrRepositories','4888955yNExoB','25125CwGhDh','exit','6531522qaRKsv','13066803BnLsyV','34EWHKPh'];a14c=function(){return j;};return a14c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'list-ecr','aliases':[a14h(0x1cb)],'usage':a14h(0x1c7),'requiredOpts':[],'validOpts':['regions'],'shortDesc':a14h(0x1c3),'examples':[a14h(0x1cd),a14h(0x1cc),'maka\x20aws:lecr\x20--regions=all']},async function(a,b){const i=a14h;try{const {aws:c}=this;await c[i(0x1d0)](b['regions']),Log[i(0x1ce)](i(0x1c2)),process[i(0x1d3)](0x0);}catch(d){Log[i(0x1c4)](i(0x1c5)+d),process['exit'](0x1);}},a14e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d
|
|
1
|
+
const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x1b8))/0x1+parseInt(f(0x1b7))/0x2*(-parseInt(f(0x1ae))/0x3)+parseInt(f(0x1a3))/0x4+parseInt(f(0x1b1))/0x5+-parseInt(f(0x1ad))/0x6*(-parseInt(f(0x1b4))/0x7)+-parseInt(f(0x1a7))/0x8+parseInt(f(0x1a5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x3df4f));const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x1aa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a['toString']()[h(0x19e)](h(0x1a1))[h(0x1ba)]()[h(0x1ac)](a15a)['search'](h(0x1a1));});a15a();function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x19e;let f=c[d];return f;},a15d(a,b);}function a15c(){const k=['ec2rebootInstance','reboot-instance','673565csNlDz','\x20Ready?','confirm','141106EcOmJc','chooseInstance','name','6284xcnCVd','182749PKDpST','exit','toString','error','search','instanceId','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','(((.+)+)+)+$','maka\x20aws:reboot-instance','272508NRbmZu','maka\x20aws:rbi','1066032fvsNvK','Reboot\x20an\x20EC2\x20instance','3524640KagJit','\x20is\x20still\x20running.','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','apply','running','constructor','66MlQQrB','30nbKehW'];a15c=function(){return k;};return a15c();}import a15e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a15i(0x1b0),'aliases':['rbi'],'usage':a15i(0x1a2),'validOpts':[],'shortDesc':a15i(0x1a6),'examples':[a15i(0x1a2),a15i(0x1a4)]},async function(){const j=a15i;try{const {aws:a}=this,b=await a[j(0x1b5)]();if(b?.['status']===j(0x1ab)){const c=await Actions[j(0x1b3)]('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b['name']+j(0x1b2));c&&b['instanceId']?a[j(0x1af)]({'instanceId':b[j(0x19f)]}):Log[j(0x1bb)](j(0x1a0)+b[j(0x1b6)]+j(0x1a8));}else Log[j(0x1bb)](j(0x1a9));}catch(d){d&&Log[j(0x1bb)](d),process[j(0x1b9)](0x1);}},a15e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x137;let f=c[d];return f;},a16d(a,b);}const a16I=a16d;(function(a,b){const F=a16d,c=a();while(!![]){try{const d=-parseInt(F(0x155))/0x1*(-parseInt(F(0x140))/0x2)+-parseInt(F(0x159))/0x3+-parseInt(F(0x152))/0x4+-parseInt(F(0x151))/0x5*(-parseInt(F(0x14a))/0x6)+parseInt(F(0x15c))/0x7+-parseInt(F(0x149))/0x8+parseInt(F(0x14e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x76c60));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[G(0x158)]()[G(0x162)](G(0x16a))[G(0x158)]()[G(0x15a)](a16a)[G(0x162)](G(0x16a));});function a16c(){const K=['maka\x20aws:rdn\x20--domain=example.com','list','checkDomainAvailability','Do\x20you\x20wish\x20to\x20register\x20','create','search','PUBLIC_BODY','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','error','+1.5555555555','\x20years\x20(','96816','RESELLER','(((.+)+)+)+$','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','exit','confirm','Are\x20you\x20sure?','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','warn','maka\x20aws:register-domain-name','domain','rdn','City\x20[Honolulu]:\x20','includes','ASSOCIATION','maka\x20aws:register-domain-name\x20--domain=example.com','2scteAj','COMPANY','My\x20Company,\x20LLC.','Address\x20Line\x202:\x20','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','Honolulu','Choose\x20contact\x20type','Contact\x20Last\x20Name\x20[Person]:\x20','options','5719904YqhSzZ','70062exRXgj','Auto\x20Renew:\x20','values','notice','12168972MkXoWY','\x20for\x20','+1.5555555556','55MDhDYh','412364sUrjIa','ask','OrganizationName','229451ZcprYl','The\x20domain\x20name:\x20','State\x20[HI]:\x20','toString','2650116xeEyuE','constructor','Contact\x20Email\x20[mail@example.com]:\x20','3345587iSphze'];a16c=function(){return K;};return a16c();}a16a();import a16e from'./aws.command.js';import{Command}from'../../command.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[H(0x14c)](CountryCode)[H(0x13d)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16I(0x161)]({'name':'register-domain-name','aliases':[a16I(0x13b)],'usage':a16I(0x139),'requiredOpts':[a16I(0x13a)],'validOpts':[],'shortDesc':a16I(0x144),'examples':[a16I(0x13f),a16I(0x15d)]},async function(a,b){const J=a16I,{aws:c}=this;try{const d=b[J(0x13a)],{available:f,cost:g}=await c[J(0x15f)](d);if(f&&g){Log[J(0x14d)](J(0x156)+d+'\x20is\x20available\x20for:');const {Price:h,Currency:i}=g;Log[J(0x138)]('\x20\x20'+h+'\x20'+i+'\x20/\x20Year\x20\x0a');const j=await Actions[J(0x16d)](J(0x160)+d+'\x20?',![]);if(j){const k={'type':J(0x15e),'name':'contactType','message':J(0x146),'choices':[J(0x13e),J(0x141),'PERSON',J(0x163),J(0x169)]},l=await Actions[J(0x153)]('Duration\x20in\x20years\x20[1]:\x20')||'1',m=await Actions[J(0x153)]('Contact\x20First\x20Name\x20[Contact]:\x20')||'Contact',n=await Actions[J(0x153)](J(0x147))||'Person',{contactType:o}=await Actions[J(0x148)](k),p=await Actions['ask']('Address\x20Line\x201\x20[123\x20Glorious\x20Way]:')||'123\x20Glorious\x20Way',q=await Actions[J(0x153)](J(0x143)),r=await Actions[J(0x153)](J(0x13c))||J(0x145),s=await Actions[J(0x153)]('Zip\x20Code\x20[96816]:\x20')||J(0x168),t=await Actions['ask'](J(0x157))||'HI',u=await Actions[J(0x153)]('Country\x20Code\x20[US]:\x20')||'US',v=getCountryCodeEnum(u);if(!v)throw Log[J(0x165)]('Invalid\x202\x20character\x20country\x20code');const w=await Actions[J(0x153)]('Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20')||J(0x166),x=await Actions['ask'](J(0x164))||J(0x150),y=await Actions[J(0x153)](J(0x15b))||'mail@example.com',z=await Actions[J(0x16d)](J(0x14b)),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!=='PERSON'){const D=await Actions[J(0x153)](J(0x16b))||J(0x142);A[J(0x154)]=D;}const B=h||0x0*parseInt(l);Log[J(0x14d)](J(0x137)),Log['warn'](B+'\x20'+i+J(0x14f)+l+J(0x167)+h+'\x20'+i+'\x20/\x20Year)');const C=await Actions[J(0x16d)](J(0x16e));C&&await c['registerDomain'](A,d,parseInt(l),z);}}else throw'Domain\x20name\x20is\x20unavailable';}catch(E){E&&Log[J(0x165)](E),process[J(0x16c)](0x0);}},a16e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
function a17c(){const n=['deleteKeyPair','596297khyMFZ','11541396whLwaH','33937660UZqPhr','9cEdlkm','rkp','remove-key-pair','confirm','error','search','exit','(((.+)+)+)+$','maka\x20aws:remove-key-pair','name','12426471oRDKFi','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','ask','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','create','3793345QZrDeP','Please\x20choose\x20a\x20key\x20to\x20delete:','toString','4GFWswh','constructor','apply','Deleted\x20','6212096yJOmjL','maka\x20aws:rkp','ec2describeKeys','2350892TspBNo','Not\x20deleting\x20keypair','7JdGvwt','\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'];a17c=function(){return n;};return a17c();}const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=parseInt(h(0x128))/0x1*(-parseInt(h(0x13d))/0x2)+-parseInt(h(0x12b))/0x3*(parseInt(h(0x123))/0x4)+parseInt(h(0x13a))/0x5+-parseInt(h(0x129))/0x6*(-parseInt(h(0x125))/0x7)+-parseInt(h(0x120))/0x8+-parseInt(h(0x135))/0x9+parseInt(h(0x12a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xeb1bf));const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0x13c)]()[j(0x130)](j(0x132))[j(0x13c)]()[j(0x11d)](a17a)[j(0x130)](j(0x132));});a17a();import a17e from'./aws.command.js';function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x11d;let f=c[d];return f;},a17d(a,b);}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a17k(0x139)]({'name':a17k(0x12d),'aliases':[a17k(0x12c)],'usage':'maka\x20aws:remove-key-pair','validOpts':[],'shortDesc':a17k(0x136),'description':a17k(0x126),'examples':[a17k(0x133),a17k(0x121)]},async function(){const l=a17k,{aws:a}=this;try{const b=await a[l(0x122)]();let c=undefined;const d=await Actions[l(0x137)](l(0x13b));b?.['forEach'](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0x134)]);});if(!c)throw Log[l(0x12f)](l(0x138));const f=await Actions[l(0x12e)]('Deleting\x20a\x20'+c+'\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?',![]);f?(await a[l(0x127)](c),Log['success'](l(0x11f)+c)):Log[l(0x12f)](l(0x124)),process[l(0x131)](0x0);}catch(g){g&&Log[l(0x12f)](g),process['exit'](0x1);}},a17e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18q=a18d;function a18c(){const s=['constructor','ask','10120184zTMkWx','9NmLleH','join','error','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','utf8','maka\x20aws:set-host\x20--env\x20dev','exit','public','ssh.json','30uZCTHa','8UAukIO','fsi','readFileSync','getEnvFromShorthand','toString','\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','set-host','5187684HqmJhh','1143281ZMWKYx','1528303TjMDKe','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','host','inherit','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','isFile','maka\x20aws\x20set-host','sth','11wcIlDw','privateIp','search','chooseInstance','publicIp','cat\x20','private','3VJcSLt','apply','config/ssh.json','\x20IP\x20to\x20','template','4017965ujTeyO','scaffold','env','2922250PKdEBj','sep','writeFileSync','472410CkhEUF','create','maka\x20aws:sth\x20--env\x20prod'];a18c=function(){return s;};return a18c();}(function(a,b){const n=a18d,c=a();while(!![]){try{const d=parseInt(n(0xdc))/0x1+-parseInt(n(0xc1))/0x2*(parseInt(n(0xb9))/0x3)+-parseInt(n(0xd4))/0x4*(parseInt(n(0xbe))/0x5)+-parseInt(n(0xd3))/0x6*(-parseInt(n(0xdd))/0x7)+-parseInt(n(0xc9))/0x8*(-parseInt(n(0xca))/0x9)+-parseInt(n(0xc4))/0xa*(parseInt(n(0xe5))/0xb)+parseInt(n(0xdb))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0xc7640));const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a18d;if(c){const e=c[o(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const p=a18d;return a18a['toString']()[p(0xb4)]('(((.+)+)+)+$')[p(0xd8)]()[p(0xc7)](a18a)[p(0xb4)]('(((.+)+)+)+$');});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';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0xb4;let f=c[d];return f;},a18d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a18q(0xc5)]({'name':a18q(0xda),'aliases':[a18q(0xe4)],'usage':a18q(0xe3),'mustBeInMakaProject':!![],'requiredOpts':[a18q(0xc0)],'validOpts':[],'shortDesc':a18q(0xcd),'description':a18q(0xd9),'examples':[a18q(0xcf),a18q(0xc6)]},async function(a,b){const r=a18q,{projectConfig:c,aws:d,cfg:f}=this;try{const g=f[r(0xd7)](b['env']),h=f['getAppConfigPath'](g),i=await d[r(0xb5)](),j=a18e[r(0xcb)](h,r(0xd2));!this[r(0xd5)][r(0xe2)](j)&&await this[r(0xbf)][r(0xbd)]({'srcPath':r(0xbb),'destPath':j,'context':{'app':c['appName']},'config':c});const k=JSON['parse'](a18f[r(0xd6)](j,r(0xce))),l=await Actions[r(0xc8)](r(0xde))||'public';if(l){if(l==='public'||l==='private'){if(l===r(0xd1))k[r(0xdf)]=i?.[r(0xb6)];else l===r(0xb8)&&(k['host']=i?.['privateIp']);}else throw r(0xe1);}else k[r(0xdf)]=i?.[r(0xe6)];a18f[r(0xc3)](a18e['join'](h,r(0xd2)),JSON['stringify'](k,null,0x2)),execSync(r(0xb7)+a18e['join'](h,r(0xd2)),{'stdio':r(0xe0)}),Log['success']('\x0aSaved\x20host\x20'+l+r(0xbc)+h+a18e[r(0xc2)]+r(0xd2));}catch(m){m&&Log[r(0xcc)](m),process[r(0xd0)](0x0);}},a18g);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a19c(){const j=['5019039rklZIz','(((.+)+)+)+$','10OGaVfa','14jdyZLe','toString','exit','confirm','instanceId','error','4786wKqqXd','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','Terminate\x20an\x20EC2\x20instance','maka\x20aws:ti','constructor','maka\x20aws:terminate-instance','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','9431628KOhHrf','name','status','terminate-instance','4311835vlQXeP','13gcUCsO','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','\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','433235lALigf','create','1325240rVFanp','chooseInstance','3897TrxBjl','search','\x20Ready?','42pxNfDE','running','1532GcxClo'];a19c=function(){return j;};return a19c();}const a19h=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=-parseInt(f(0x1ac))/0x1*(parseInt(f(0x1a0))/0x2)+parseInt(f(0x1b3))/0x3*(-parseInt(f(0x1b8))/0x4)+-parseInt(f(0x1af))/0x5*(-parseInt(f(0x1b6))/0x6)+-parseInt(f(0x1bc))/0x7*(parseInt(f(0x1b1))/0x8)+-parseInt(f(0x1b9))/0x9+parseInt(f(0x1bb))/0xa*(parseInt(f(0x1ab))/0xb)+parseInt(f(0x1a7))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0x5991c));const a19b=(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;};}()),a19a=a19b(this,function(){const g=a19d;return a19a[g(0x1bd)]()[g(0x1b4)]('(((.+)+)+)+$')[g(0x1bd)]()[g(0x1a4)](a19a)[g(0x1b4)](g(0x1ba));});a19a();import a19e from'./aws.command.js';import{Command}from'../../command.js';function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0x19e;let f=c[d];return f;},a19d(a,b);}import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a19h(0x1b0)]({'name':a19h(0x1aa),'aliases':['ti'],'usage':a19h(0x1a5),'validOpts':[],'shortDesc':a19h(0x1a2),'description':a19h(0x1ae),'examples':['maka\x20aws:terminate-instance',a19h(0x1a3)]},async function(){const i=a19h,{aws:a}=this;try{const b=await a[i(0x1b2)]();if(b?.[i(0x19e)]&&b?.[i(0x1a9)]===i(0x1b7)){const c=await Actions[i(0x1bf)](i(0x1a6)+b[i(0x1a8)]+i(0x1b5));c?a['ec2terminateInstance']({'instanceId':b['instanceId']}):Log[i(0x19f)]('You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20'+b[i(0x1a8)]+i(0x1ad));}else Log[i(0x19f)](i(0x1a1));}catch(d){d&&Log[i(0x19f)](d),process[i(0x1be)](0x1);}},a19e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a20d,c=a();while(!![]){try{var d
|
|
1
|
+
function a20c(){var i=['978558jhtYER','apply','search','(((.+)+)+)+$','996561mvAMUx','1116412tnbowi','3gjXeYK','constructor','283732fcxwQu','804222XmFTKG','1168330Wpjpik','2000705JLCLiJ','112fQSmOe'];a20c=function(){return i;};return a20c();}(function(a,b){var f=a20d,c=a();while(!![]){try{var d=-parseInt(f(0xca))/0x1+-parseInt(f(0xcb))/0x2+parseInt(f(0xc8))/0x3*(-parseInt(f(0xc7))/0x4)+-parseInt(f(0xcc))/0x5+parseInt(f(0xcf))/0x6+-parseInt(f(0xcd))/0x7+-parseInt(f(0xce))/0x8*(-parseInt(f(0xc6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x37e08));function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0xc5;var f=c[d];return f;},a20d(a,b);}var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a['toString']()[h(0xd1)](h(0xc5))['toString']()[h(0xc9)](a20a)[h(0xd1)](h(0xc5));});a20a();import'./build.js';import'./docker.sub.cmd.js';
|