@maka/maka-cli 5.0.20 → 5.0.22
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 +1 -2
- 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/templates/meteor/api/api.js +2 -2
- package/bundle/obf/src/templates/meteor/api/api.js.ts +2 -2
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +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 -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/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.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 +1 -2
- package/tsconfig.json +8 -3
package/bundle/obf/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.22",
|
|
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.",
|
|
7
7
|
"homepage": "https://github.com/maka-io/maka-cli",
|
|
8
8
|
"main": "./bundle/typescript/src/maka.js",
|
|
9
|
-
"files": "",
|
|
10
9
|
"bin": {
|
|
11
10
|
"maka": "./bundle/obf/src/exec.js"
|
|
12
11
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0p=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(0x10a))/0x1+parseInt(n(0x137))/0x2*(parseInt(n(0xf0))/0x3)+-parseInt(n(0x119))/0x4*(-parseInt(n(0x111))/0x5)+parseInt(n(0x12c))/0x6*(parseInt(n(0x136))/0x7)+parseInt(n(0x120))/0x8*(parseInt(n(0x131))/0x9)+parseInt(n(0x11e))/0xa*(-parseInt(n(0x12f))/0xb)+parseInt(n(0x11f))/0xc*(-parseInt(n(0xf8))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0xc5477));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(0xf4)]()[o(0xef)](o(0x109))[o(0xf4)]()['constructor'](a0a)[o(0xef)](o(0x109));});a0a();import a0e from'cli-table';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xe7;let f=c[d];return f;},a0d(a,b);}import a0f from'./commands/maka.cmd.js';function a0c(){const z=['There\x20is\x20no\x20Meteor\x20application\x20here','addCommand\x20requires\x20a\x20Command\x20instance','search','865197jspDrB','processAndRunCommand','split','play','toString','addCommand','exit','Command.create\x20requires\x20some\x20options!','13djpQIr','validateUserIsLoggedIn','validateParams','number','getMakaProjectConfig','Too\x20many\x20arguments','Command.create\x20requires\x20a\x20handler\x20function!','aliases','Sub-Commands:','header','_handler','localeCompare','shortDesc','name','Too\x20many\x20options','mpi','Command\x20not\x20found','(((.+)+)+)+$','933341MgPDpb','pallet','usage','bind','Description','light','slice','5jVLZjy','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','(experimental)\x20','length','validateMakaProject','push','keys','function','4322940IHYLAf','projectConfig','_commands','Command\x20format\x20is\x20incorrect','Please\x20run\x20\x22maka\x20install\x20meteor\x22','150DiiIhn','1235604EwkoJl','48ppMKBB','generate','setColorMode','Command\x20requires\x20a\x20handler\x20function','murder','find','invoke','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','run','match','call','mustBeInMakaProject','1674588aRdYLu','unshift','mustBeLoggedIn','1991aUyYeC','LIGHT','298269opDexa','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','maxOptsLength','tableList','cfg','7OahkqX','2ahqmgv','\x20not\x20found','error','create','notice','help','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','minOptsLength','options','maxArgLength','Name','DARK'];a0c=function(){return z;};return a0c();}import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';let _prevCmd='';export class Command extends Tool{[a0p(0xe9)];[a0p(0x11a)];[a0p(0x11b)];[a0p(0x102)];constructor(a,b){const q=a0p;super();if(!a)throw new Error(q(0xe7));if(!a[q(0x105)])throw new Error('Command\x20requires\x20a\x20name');if(typeof b!==q(0x118))throw new Error(q(0x123));this['options']=Object['assign']({},a),this[q(0x105)]=this['options']['name'],this[q(0x11b)]=[],this[q(0x102)]=b[q(0x10d)](this);}static[a0p(0x13a)](a,b,c){const r=a0p;if(!a)throw new Error(r(0xf7));if(typeof b!=='function')throw new Error(r(0xfe));const d=new Command(a,b);return c=c||a0f,Object['assign'](d,{'parent':c?.[r(0xe9)]?.[r(0x105)]}),c['addCommand'](d),d;}[a0p(0xf5)](a){const s=a0p;if(!(a instanceof Command))throw new Error(s(0xee));this['_commands']['push'](a);}async['run'](a,b){const t=a0p;try{a=a||[],b=b||{};try{const c=await this[t(0x135)]['getGlobalConfig'](),d=c[t(0x10b)]===t(0x10f)?ColorMode[t(0x130)]:ColorMode[t(0xec)];Log[t(0x122)](d);}catch(f){Log['error'](f),process[t(0xf6)](0x0);}return await this[t(0x126)](a,b);}catch(g){process[t(0xf6)](0x1);}}async['invoke'](a,b){const u=a0p,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this['options'];try{if(this[u(0xe9)][u(0x105)]!==u(0x121)){if(!isRoot){const g=(a[0x0]===_prevCmd||a['length']===0x0)&&this[u(0x11b)][u(0x114)]>=0x0,h=b[u(0x13c)]||b['h'];if(g&&h){if(this['_commands'][u(0x114)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[u(0xe9)][u(0x12b)]){const i=this[u(0x115)]();if(!i)throw new MustBeInProjectError();this[u(0x11a)]=this[u(0x135)][u(0xfc)]();}if(this[u(0xe9)][u(0x12e)]){const j=await this[u(0xf9)]();if(!j)throw new MustBeLoggedIn();}if(this[u(0xe9)]['mustHaveMeteorInstalled']){const k=this['validateMeteorInstall']();if(!k)throw new NoMeteorFoundError();}if(typeof this[u(0xe9)]['minArgLength']==='number'){if(a[u(0x114)]<this[u(0xe9)]['minArgLength']){Log[u(0x139)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[u(0xe9)][u(0xea)]===u(0xfb)){if(a[u(0x114)]>=this[u(0xe9)]['maxArgLength']){Log[u(0x139)](u(0xfd));throw new UsageError();}}if(typeof this['options'][u(0xe8)]==='number'){if(Object[u(0x117)](b)[u(0x114)]<this[u(0xe9)]['minOptsLength']){Log[u(0x139)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[u(0xe9)][u(0x133)]===u(0xfb)){if(Object[u(0x117)](b)['length']>=this[u(0xe9)][u(0x133)]){Log['error'](u(0x106));throw new UsageError();}}}}b=await this[u(0xfa)](a,b,this['options']),_prevCmd=a[0x0];}return await this[u(0x102)][u(0x12a)](this,a,b);}catch(l){Log[u(0x10c)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[u(0x13b)](u(0x100)),this[u(0x134)](this[u(0x11b)]),Log[u(0x101)](u(0x127));else{if(l instanceof MustBeInProjectError)Log[u(0x139)]('You\x20must\x20be\x20in\x20a\x20Maka\x20project\x20to\x20run\x20this\x20command');else{if(l instanceof NoMeteorFoundError)Log['error'](u(0x132)),Log['notice'](u(0x11d));else{if(l instanceof NoMeteorAppFoundError)Log['error'](u(0xed));else l instanceof MustBeLoggedIn&&(Log['error'](u(0x112)),Log[u(0x13b)]('Please\x20run\x20\x22maka\x20login\x22'));}}}process[u(0xf6)](0x1);}}[a0p(0x134)](a){const v=a0p,b=new a0e({});b[v(0x116)]([v(0xeb),'Alias',v(0x10e)]),a['sort']((c,d)=>{const w=v;return c['name'][w(0x103)](d[w(0x105)]);})['forEach'](c=>{const x=v;if(c[x(0x105)]!==x(0x124)&&c[x(0x105)]!==x(0xf3)){const d=c['experimental'](),e=d?x(0x113)+c[x(0x104)]():c[x(0x104)]();b[x(0x116)]([c['name'],c[x(0xff)](),e]);}}),Log['bright'](b[v(0xf4)]());}async[a0p(0xf1)](a,b=[],c={}){const y=a0p;try{const d=a?.[y(0xf2)](':');if(!d||d[y(0x114)]===0x0)throw y(0x11c);if(d[0x0]===y(0x121)||d[0x0]==='g'&&d[y(0x114)]>0x1){const h=this[y(0x11b)][y(0x125)](j=>j[y(0x129)](y(0x121)));if(!h)throw y(0x108);const i=d[y(0x110)](0x1)['join'](':');return b[y(0x12d)](i),await h[y(0x128)](b,c);}let f=this[y(0x11b)],g;for(const j of d){g=f[y(0x125)](k=>k[y(0x129)](j));if(!g)try{await this[y(0x107)]['maybeProxyCommandToMeteor']();}catch(k){throw'Command\x20'+j+y(0x138);}g&&(f=g[y(0x11b)]);}if(g){const l=await g['run'](b,c);return l;}else throw'Command\x20not\x20found';}catch(m){Log[y(0x139)](m),process[y(0xf6)](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(0x144))/0x1*(-parseInt(f(0x13d))/0x2)+-parseInt(f(0x13a))/0x3*(parseInt(f(0x137))/0x4)+parseInt(f(0x139))/0x5*(-parseInt(f(0x13e))/0x6)+-parseInt(f(0x13f))/0x7*(-parseInt(f(0x13c))/0x8)+parseInt(f(0x142))/0x9+-parseInt(f(0x138))/0xa+parseInt(f(0x141))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x579a5));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0x13b)]()['search'](h(0x140))['toString']()['constructor'](a1a)[h(0x136)](h(0x140));});a1a();import'./aws/_index.js';function a1c(){var i=['1601840pKarTf','105AWFZsK','3EOveEQ','toString','200ZvMiJb','2CjWPPc','195756YqtvWU','155015gqMJBe','(((.+)+)+)+$','10611249CdgIvt','4625208RZsFjF','apply','383094cPrfvt','search','1779804xNiBLW'];a1c=function(){return i;};return a1c();}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';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x136;var f=c[d];return f;},a1d(a,b);}import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./profile.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a2l=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0x1b7))/0x1*(-parseInt(h(0x1c5))/0x2)+-parseInt(h(0x1b9))/0x3+-parseInt(h(0x1b4))/0x4*(-parseInt(h(0x1c2))/0x5)+parseInt(h(0x1bb))/0x6+parseInt(h(0x1be))/0x7*(parseInt(h(0x1a4))/0x8)+parseInt(h(0x1c1))/0x9+-parseInt(h(0x1b2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xdd98c));function a2c(){const n=['2NnaASR','fsi','exit','toString','Using\x20OpenAI\x20Key\x20','cfg','175144QvLhzC','close','cacert','bright','(((.+)+)+)+$','openapikey','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','error','constructor','You:\x20','ChatGPT\x20style\x20AI\x20interface','create','search','stdin','55042150OOFono','data','112xWVFUb','isFile','toLowerCase','1227521dedxjT','cert','573879lixreA','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','7479762wkXXLG','notice','trim','245bdXjdo','parse','text','15249465zVsQuT','297925jDqKZx','choices','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\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(0x1a1)]()[i(0x1b0)]('(((.+)+)+)+$')[i(0x1a1)]()[i(0x1ac)](a2a)[i(0x1b0)](i(0x1a8));});function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x1a1;let f=c[d];return f;},a2d(a,b);}a2a();import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';import a2e from'readline';const startChat=async({openApiKey:a,caCertPath:b})=>{const j=a2d,c=a2e['createInterface']({'input':process[j(0x1b1)],'output':process['stdout']});c['question'](j(0x1ad),async d=>{const k=j;if(d[k(0x1b6)]()===k(0x1c7)){c[k(0x1a5)]();return;}try{const e=await HTTPS['askGPT']({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[k(0x1bf)](e[k(0x1b3)]);if(f[k(0x1ab)])throw new Error(f[k(0x1ab)]['message']);Log['bright']('GPT:\x20'+f?.[k(0x1c3)][0x0]?.[k(0x1c0)][k(0x1bd)]());}catch(g){Log[k(0x1ab)](g),process[k(0x1c7)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2l(0x1af)]({'name':'ai','description':a2l(0x1ae),'validOpts':[a2l(0x1a6),a2l(0x1a9)],'shortDesc':a2l(0x1ae),'isPro':!![]},async function(a,b){const m=a2l;try{let c='';b['cacert']&&(this[m(0x1c6)][m(0x1b5)](b[m(0x1a6)])?(c=b['cacert'],Log[m(0x1bc)]('Using\x20CA\x20Cert\x20'+c)):Log['error'](m(0x1aa)+c));const d=await this[m(0x1a3)]['getGlobalConfig']();if(d[m(0x1b8)]){if(this[m(0x1c6)][m(0x1b5)](d[m(0x1b8)]))c=d['cert'];else throw Log[m(0x1ab)](m(0x1c4)+c);}let f='';if(b[m(0x1a9)])f=b[m(0x1a9)],Log[m(0x1bc)](m(0x1a2)+f);else{if(d['openai'])f=d['openai'];else throw Log[m(0x1ab)](m(0x1ba));}Log[m(0x1a7)]('Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.'),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[m(0x1ab)](g),process[m(0x1c7)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a3d,c=a();while(!![]){try{var d
|
|
1
|
+
function a3c(){var i=['3806492Jtbigu','490QnUQSN','1670kFOZyC','136384poDssD','constructor','3373997oxHpuj','48JPbcbv','(((.+)+)+)+$','6336186ltoopR','search','apply','87NqvLgT','28516nViWRb','28503GDgEZP','toString','3QbMHps','2913035QsOPRA'];a3c=function(){return i;};return a3c();}(function(a,b){var f=a3d,c=a();while(!![]){try{var d=parseInt(f(0x13e))/0x1*(-parseInt(f(0x13f))/0x2)+parseInt(f(0x142))/0x3*(parseInt(f(0x144))/0x4)+parseInt(f(0x143))/0x5+parseInt(f(0x14c))/0x6+-parseInt(f(0x145))/0x7*(parseInt(f(0x147))/0x8)+parseInt(f(0x140))/0x9*(-parseInt(f(0x146))/0xa)+parseInt(f(0x149))/0xb*(parseInt(f(0x14a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xd09ca));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x141)]()[h(0x13c)](h(0x14b))[h(0x141)]()[h(0x148)](a3a)[h(0x13c)](h(0x14b));});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';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x13c;var f=c[d];return f;},a3d(a,b);}import'./dsg.sub.cmd.js';import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';import'./lecr.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d
|
|
1
|
+
const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0x139))/0x1*(-parseInt(f(0x133))/0x2)+parseInt(f(0x137))/0x3+parseInt(f(0x12c))/0x4*(-parseInt(f(0x127))/0x5)+parseInt(f(0x134))/0x6+-parseInt(f(0x138))/0x7+parseInt(f(0x136))/0x8*(parseInt(f(0x12b))/0x9)+-parseInt(f(0x128))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x8eb61));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a['toString']()[h(0x12e)](h(0x12d))['toString']()[h(0x12a)](a4a)[h(0x12e)](h(0x12d));});function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x127;let f=c[d];return f;},a4d(a,b);}function a4c(){const j=['(((.+)+)+)+$','search','maka\x20aws:<sub-command>','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','apply','aws','269582anPHig','5308896NfVQIF','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','56DPOuUT','2080404uKZPLQ','2461900EXQbpj','1rHLgai','795EqUNcL','5650650uRhKyF','create','constructor','1292526wdABhH','23836muySIs'];a4c=function(){return j;};return a4c();}a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0x129)]({'name':a4i(0x132),'usage':a4i(0x12f),'validOpts':[],'shortDesc':a4i(0x135),'description':a4i(0x130)},async function(){throw UsageError;});export default AWSCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a5i=a5d;(function(a,b){const f=a5d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
function a5c(){const k=['3054330GFIKfG','search','repository','$metadata','cecr','maka\x20aws:create-ecr','Create\x20an\x20Elastic\x20Container\x20Repository','success','6Sfrcqj','20TENOsO','maka\x20aws:cecr\x20--name=my-new-repo','1441308IaJTyi','3891335CaLQDw','constructor','repositoryUri','name','error','notice','34felNEV','toString','maka\x20aws:create-ecr\x20--name=my-new-repo','1338745oBKCcF','Repository\x20created\x20successfully.','769170HAuFJb','(((.+)+)+)+$','create','Repository\x20URI:\x20','create-ecr','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','aws','40717DNZnuf','exit','4205192qZwwJj','apply','ecrCreateRepository'];a5c=function(){return k;};return a5c();}function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0xac;let f=c[d];return f;},a5d(a,b);}const a5i=a5d;(function(a,b){const f=a5d,c=a();while(!![]){try{const d=-parseInt(f(0xb7))/0x1*(-parseInt(f(0xce))/0x2)+parseInt(f(0xb0))/0x3+parseInt(f(0xc7))/0x4+-parseInt(f(0xae))/0x5*(parseInt(f(0xc4))/0x6)+parseInt(f(0xc8))/0x7+-parseInt(f(0xb9))/0x8+-parseInt(f(0xbc))/0x9*(parseInt(f(0xc5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x5fde1));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a5d;if(c){const e=c[g(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const h=a5d;return a5a['toString']()[h(0xbd)](h(0xb1))[h(0xac)]()[h(0xc9)](a5a)[h(0xbd)]('(((.+)+)+)+$');});a5a();import a5e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a5i(0xb2)]({'name':a5i(0xb4),'aliases':[a5i(0xc0)],'usage':a5i(0xc1),'requiredOpts':[a5i(0xcb)],'validOpts':['region'],'shortDesc':a5i(0xc2),'examples':[a5i(0xad),a5i(0xc6),'maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1']},async function(a,b){const j=a5i;try{const c=await this[j(0xb6)][j(0xbb)](b);c&&c[j(0xbf)]['httpStatusCode']===0xc8&&c['repository']?(Log[j(0xc3)](j(0xaf)),Log[j(0xcd)](j(0xb3)+c[j(0xbe)][j(0xca)])):Log[j(0xcc)](j(0xb5)),process[j(0xb8)](0x0);}catch(d){Log[j(0xcc)](d),process[j(0xb8)](0x1);}},a5e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6k=a6d;(function(a,b){const h=a6d,c=a();while(!![]){try{const d
|
|
1
|
+
const a6k=a6d;(function(a,b){const h=a6d,c=a();while(!![]){try{const d=parseInt(h(0x15a))/0x1*(parseInt(h(0x159))/0x2)+-parseInt(h(0x16d))/0x3+-parseInt(h(0x16b))/0x4+parseInt(h(0x15b))/0x5+-parseInt(h(0x16c))/0x6+-parseInt(h(0x166))/0x7*(-parseInt(h(0x164))/0x8)+parseInt(h(0x15f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xed0f8));function a6c(){const m=['publicIp','(((.+)+)+)+$','2DyLMId','1099649rhsGbM','4379340qoVDtM','error','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','aws','2694924wwwMFS','domain','confirm','Set\x20hosted\x20zone\x20to\x20an\x20instance?','apply','15019112WuAjcd','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','7GMfSiA','exit','toString','maka\x20aws:create-hosted-zone','chooseInstance','4853688LiHdZN','10077354Rjozkk','865083XABkCq','create-hosted-zone','route53CreateHostedZone','Instance\x20not\x20found'];a6c=function(){return m;};return a6c();}const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a6d;if(c){const e=c[i(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const j=a6d;return a6a[j(0x168)]()['search'](j(0x158))[j(0x168)]()['constructor'](a6a)['search'](j(0x158));});a6a();import a6e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x155;let f=c[d];return f;},a6d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a6k(0x16e),'aliases':['chz'],'usage':a6k(0x169),'requiredOpts':[a6k(0x160)],'validOpts':[],'shortDesc':a6k(0x165),'examples':['maka\x20aws:create-hosted-zone\x20--domain=example.com','maka\x20aws:chz\x20--domain=example.com']},async function(a,b){const l=a6k;try{const c=b['domain'];this[l(0x15e)][l(0x155)](c);const d=await Actions[l(0x161)](l(0x162));if(d){const f=await this[l(0x15e)][l(0x16a)]();if(f?.['id']){if(!f[l(0x157)])throw Log[l(0x15c)](l(0x15d));this[l(0x15e)]['linkEC2ToRoute53'](f['id'],f['publicIp'],c);}else throw l(0x156);}}catch(g){g&&Log[l(0x15c)](g),process[l(0x167)](0x0);}},a6e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d
|
|
1
|
+
const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=parseInt(Y(0x142))/0x1*(-parseInt(Y(0x109))/0x2)+-parseInt(Y(0x12f))/0x3+-parseInt(Y(0x11f))/0x4+-parseInt(Y(0x12c))/0x5*(-parseInt(Y(0x13a))/0x6)+-parseInt(Y(0x116))/0x7+-parseInt(Y(0x11a))/0x8+parseInt(Y(0x122))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0xeccc4));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a['toString']()[a0(0x111)](a0(0x151))[a0(0x129)]()[a0(0x137)](a7a)[a0(0x111)](a0(0x151));});a7a();import a7e from'./aws.command.js';function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x109;let f=c[d];return f;},a7d(a,b);}function a7c(){const a3=['notice','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','fsi','maka\x20aws:create-instance','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','No\x20instance\x20has\x20been\x20created.','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','(((.+)+)+)+$','created-by','Web\x20App','2851302FuOnXU','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','Key-Pair:\x20','ec2create','maka\x20aws:create-instance\x20--env\x20dev','Creating\x20user\x20data\x20file\x20in\x20','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','environment','search','aws','create-instance','**\x20Available\x20key-pairs\x20**','success','16457cjqhRJ','bright','number','deleteKeyPair','4670048JStoBh','ec2createSG','1:1','Security\x20Group:\x20','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','2939468AsJORF','maka-cli','apply','25016931VBJXtI','Instace\x20Type:\x20','createFile','Remove\x20the\x20keypair\x20','confirm','deleteSecurityGroup','join','toString','unlinkSync','ImageID:','5970jOMHDY','env','createKeyPair','8364YnotlK','user-data','Setting\x20the\x20key-pair\x20to:\x20','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','EC2\x20Name:\x20[','Name','error','ask','constructor','chooseVPC','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','4722dmTOmJ','getAppConfigPath','split','\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','Would\x20you\x20like\x20to\x20include\x20user\x20data?','Create\x20new\x20AWS\x20instance','listAvailableAMIs','t3.micro','1gLaPEs','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','User\x20Data:','ec2describeKeys','getEnvFromShorthand','create','listAvailableSubnets'];a7c=function(){return a3;};return a7c();}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[a7a1(0x147)]({'name':a7a1(0x113),'aliases':['ci'],'usage':a7a1(0x14c),'examples':[a7a1(0x10d),'maka\x20aws:ci\x20--env\x20prod'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a1(0x12d)}],'validOpts':[],'shortDesc':a7a1(0x13f),'description':a7a1(0x13d)},async function(a,b){const a2=a7a1;try{const {projectConfig:c,fsi:d,cfg:f}=this,{appName:g}=c,h=f[a2(0x146)](b[a2(0x12d)]),i=f[a2(0x13b)](h),j=g+'-'+h,k=await Actions[a2(0x136)](a2(0x133)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0x126)](a2(0x10f),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await this[a2(0x112)][a2(0x12e)]({'env':h});r=y,s=z,Log['success'](a2(0x131)+r);}else try{Log[a2(0x149)](a2(0x114));const A=r?r:k,B=await this[a2(0x112)][a2(0x145)]({'suggestion':A}),C=await Actions['ask']('Please\x20choose\x20a\x20key\x20to\x20use:\x20')||'-1';if(parseInt(C)<0x0){Log[a2(0x135)](a2(0x11e)),Log[a2(0x149)](a2(0x14e));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D['name'],Log['success'](a2(0x131)+r);break;}}}catch(E){Log[a2(0x135)](E);}l=await this[a2(0x112)]['chooseVPC']();const t=await Actions[a2(0x126)](a2(0x150),!![]);let u;if(t){const F=l===''?await this[a2(0x112)][a2(0x138)]():l;u=await Actions[a2(0x136)]('Security\x20Group\x20Name:\x20['+k+']')||k;const G=await Actions[a2(0x136)](a2(0x132))||'22,80,443',H=G[a2(0x13c)](',');await this[a2(0x112)][a2(0x11b)]({'description':a2(0x153),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await this[a2(0x112)]['chooseSecurityGroup'](u),n=await this[a2(0x112)][a2(0x140)](),p=await this[a2(0x112)][a2(0x148)]();const v=0x1,w=0x1;try{const I=await Actions[a2(0x136)](a2(0x10a))||a2(0x11c),J=I[a2(0x13c)](':')[0x0],K=I[a2(0x13c)](':')[0x1];typeof parseInt(J)===a2(0x118)&&typeof parseInt(K)==='number'&&Log[a2(0x115)](a2(0x139)+J+':'+K);}catch(L){Log[a2(0x135)](L);}try{const M=await Actions[a2(0x136)](a2(0x14f))||a2(0x141);typeof M==='string'&&(o=M);}catch(N){Log[a2(0x135)](N);}let x='';try{const O=await Actions[a2(0x126)](a2(0x13e),![]);O&&(x=a7f[a2(0x128)](i,a2(0x130)),Log[a2(0x149)](a2(0x10e)+x),await this[a2(0x14b)][a2(0x124)]({'filePath':x,'data':''}),await Actions['confirm']('Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?'));}catch(P){Log[a2(0x135)](P);}try{const Q=await this[a2(0x112)]['getSubnetCidr'](p);Log[a2(0x149)](a2(0x12b)+n),Log[a2(0x149)]('Instance\x20Count:\x20'+v+':'+w),Log['notice'](a2(0x123)+o),Log[a2(0x149)](a2(0x10b)+r),Log[a2(0x149)](a2(0x11d)+m),Log[a2(0x149)]('Subnet:\x20'+Q);if(x){Log[a2(0x149)](a2(0x144)+x);const S=a7g['readFileSync'](x)[a2(0x129)]();Log[a2(0x149)](S);}const R=await Actions[a2(0x126)](a2(0x14d));if(R){const T=await this['aws'][a2(0x10c)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a2(0x152),'Value':a2(0x120)},{'Key':a2(0x110),'Value':h},{'Key':a2(0x134),'Value':k}],...x&&{'userData':x}});T&&(Log[a2(0x115)](a2(0x14a)),Log[a2(0x117)]('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file'));}else{Log[a2(0x149)](a2(0x143));const U=await Actions[a2(0x126)](a2(0x125)+r+'\x20?',!![]);U&&(this[a2(0x112)][a2(0x119)](r),d['isFile'](s)&&a7g[a2(0x12a)](s));const V=await Actions[a2(0x126)]('Remove\x20the\x20security\x20group\x20'+m+'\x20?',!![]);V&&this[a2(0x112)][a2(0x127)](m);}}catch(W){Log[a2(0x135)](W);}}catch(X){X&&Log['error'](X),process['exit'](0x0);}},a7e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0x104))/0x1*(-parseInt(g(0x10f))/0x2)+parseInt(g(0x117))/0x3+-parseInt(g(0x105))/0x4+-parseInt(g(0x10b))/0x5*(-parseInt(g(0x116))/0x6)+-parseInt(g(0x103))/0x7+parseInt(g(0x106))/0x8*(parseInt(g(0x115))/0x9)+-parseInt(g(0x110))/0xa*(parseInt(g(0x118))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x6542b));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0x11a)]()[i(0x11b)](i(0x11c))[i(0x11a)]()[i(0x109)](a8a)[i(0x11b)](i(0x11c));});a8a();import a8e from'./aws.command.js';import{Command}from'../../command.js';function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x103;let f=c[d];return f;},a8d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a8j(0x113)]({'name':a8j(0x114),'aliases':[a8j(0x108)],'usage':a8j(0x119),'examples':['maka\x20aws:create-key-pair\x20--env\x20prod',a8j(0x10c)],'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':a8j(0x11e),'description':a8j(0x11d)},async function(a,b){const k=a8j;try{const {aws:c}=this,d=this[k(0x10a)][k(0x112)](b['env']);c[k(0x107)]({'env':d});}catch(f){f&&Log[k(0x10d)](f),process[k(0x10e)](0x0);}},a8e);function a8c(){const l=['2597118mBTqvx','1661499yomDTW','8842999HdOAmz','maka\x20aws:create-key-pair','toString','search','(((.+)+)+)+$','\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','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','1059310NzmCeU','6940ftkfNG','2722444TmKMvQ','344DpOwvr','createKeyPair','ckp','constructor','cfg','5bAIaVs','maka\x20aws:ckp\x20--env\x20prod','error','exit','220BdKmCa','10ViSlrT','apply','getEnvFromShorthand','create','create-key-pair','62901zkXGta'];a8c=function(){return l;};return a8c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9o=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(0x195))/0x1*(parseInt(m(0x17b))/0x2)+parseInt(m(0x17e))/0x3*(parseInt(m(0x18e))/0x4)+-parseInt(m(0x19a))/0x5*(-parseInt(m(0x18d))/0x6)+parseInt(m(0x184))/0x7+-parseInt(m(0x197))/0x8+-parseInt(m(0x181))/0x9+-parseInt(m(0x196))/0xa*(parseInt(m(0x17d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x25caf));function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x17b;let f=c[d];return f;},a9d(a,b);}const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const n=a9d;return a9a[n(0x193)]()['search'](n(0x198))['toString']()['constructor'](a9a)[n(0x187)](n(0x198));});a9a();import a9e 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[a9o(0x199)]({'name':a9o(0x194),'aliases':[a9o(0x188)],'usage':a9o(0x17f),'validOpts':[],'shortDesc':a9o(0x18a),'mustBeInMakaProject':!![],'description':a9o(0x18f),'examples':[a9o(0x17c),a9o(0x19b)]},async function(a,b){const p=a9o,{projectConfig:c,aws:d}=this;try{const {appName:f}=c,g=await d['chooseVPC'](),h=b[p(0x191)]?b['name']:''+f,i=await Actions[p(0x186)](p(0x192)+h+']')||h,j=await Actions[p(0x186)]('Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20')||p(0x183),k=j[p(0x185)](',');k['forEach'](l=>{const q=p;if(!l[q(0x180)](/^\d+$/))throw q(0x189);}),await d[p(0x182)]({'description':p(0x18b),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[p(0x190)](l),process[p(0x18c)](0x1);}},a9e);function a9c(){const r=['maka\x20aws:csg','569686TIefgi','maka\x20aws:create-secuirty-group','671eLzAan','276lxZqfQ','maka\x20aws\x20create-security-group','match','2354985CkzYnu','ec2createSG','22,80,443','820533toUboS','split','ask','search','csg','List\x20is\x20not\x20all\x20numbers','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','Web\x20App','exit','206814warzcP','10372atbtTP','\x0a\x20\x20Create\x20a\x20secuirty\x20group\x20on\x20a\x20Virtual\x20Private\x20Cloud\x20(VPC)\x20which\x0a\x20\x20can\x20be\x20used\x20with\x20a\x20new\x20EC2\x20instance.\x0a\x20\x20','error','name','Security\x20Group\x20Name:\x20[','toString','create-security-group','1MoniZq','22510lQLpsm','1246248XeyryQ','(((.+)+)+)+$','create','10XsfgoU'];a9c=function(){return r;};return a9c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a10c(){const k=['219399goJhGa','search','decr','exit','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','(((.+)+)+)+$','3967864GwvRHc','constructor','7189632VYnGKE','apply','\x20deleted\x20successfully\x20in\x20region\x20','7PHnRyH','Repository\x20','28WeSdSj','Failed\x20to\x20delete\x20the\x20repository:\x20','success','error','delete-ecr','Delete\x20an\x20Elastic\x20Container\x20Repository','name','create','3086695CnOOtS','201623UvhQoo','2anqeMT','.\x20Error:\x20','ecrDeleteRepository','\x20in\x20region\x20','region','1231974wGHVIz','11041020GEeDNF','toString'];a10c=function(){return k;};return a10c();}const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=parseInt(f(0x1cb))/0x1*(-parseInt(f(0x1cc))/0x2)+-parseInt(f(0x1b5))/0x3*(-parseInt(f(0x1c2))/0x4)+parseInt(f(0x1ca))/0x5+-parseInt(f(0x1b2))/0x6*(parseInt(f(0x1c0))/0x7)+-parseInt(f(0x1bb))/0x8+-parseInt(f(0x1bd))/0x9+parseInt(f(0x1b3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x81c85));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a[h(0x1b4)]()[h(0x1b6)](h(0x1ba))[h(0x1b4)]()[h(0x1bc)](a10a)['search'](h(0x1ba));});function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a10d(a,b);}a10a();import a10e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a10i(0x1c9)]({'name':a10i(0x1c6),'aliases':[a10i(0x1b7)],'usage':'maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','requiredOpts':['name',a10i(0x1b1)],'validOpts':[],'shortDesc':a10i(0x1c7),'examples':[a10i(0x1b9),'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(0x1ce)]({'repoName':b[j(0x1c8)],'region':b[j(0x1b1)]}),Log[j(0x1c4)](j(0x1c1)+b[j(0x1c8)]+j(0x1bf)+b[j(0x1b1)]+'.'),process[j(0x1b8)](0x0);}catch(d){Log[j(0x1c5)](j(0x1c3)+b['name']+j(0x1b0)+b[j(0x1b1)]+j(0x1cd)+d),process[j(0x1b8)](0x1);}},a10e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0x1b2))/0x1*(-parseInt(f(0x1ac))/0x2)+parseInt(f(0x1bb))/0x3+-parseInt(f(0x1ba))/0x4+-parseInt(f(0x1b8))/0x5*(-parseInt(f(0x1b3))/0x6)+-parseInt(f(0x1bc))/0x7+-parseInt(f(0x1be))/0x8*(parseInt(f(0x1af))/0x9)+parseInt(f(0x1b4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xd29dd));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0x1ad)]()['search'](h(0x1bd))[h(0x1ad)]()['constructor'](a11a)[h(0x1ae)](h(0x1bd));});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-0x1ac;let f=c[d];return f;},a11d(a,b);}function a11c(){const k=['Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','ec2describeInstances','1104055xoKfEc','apply','5567880IqrKPs','4290036vYluOa','2650858oHzRLM','(((.+)+)+)+$','10293656QDvBGu','1262782meVRNQ','toString','search','9dCyYVZ','exit','describe-instances','1lBhEXG','36hwVOyg','17965690IwnejB','maka\x20aws:describe-instances'];a11c=function(){return k;};return a11c();}Command['create']({'name':a11i(0x1b1),'aliases':['di'],'usage':'maka\x20aws:describe-instances','validOpts':[],'shortDesc':a11i(0x1b6),'examples':[a11i(0x1b5),'maka\x20aws:di'],'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 {aws:a}=this;a[j(0x1b7)]();}catch(b){b&&Log['error'](b),process[j(0x1b0)](0x1);}},a11e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a12i=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=parseInt(f(0xb6))/0x1+-parseInt(f(0xb2))/0x2+-parseInt(f(0xb4))/0x3*(parseInt(f(0xc2))/0x4)+-parseInt(f(0xb3))/0x5*(parseInt(f(0xc0))/0x6)+-parseInt(f(0xb5))/0x7*(-parseInt(f(0xb7))/0x8)+-parseInt(f(0xbf))/0x9+-parseInt(f(0xbb))/0xa*(-parseInt(f(0xba))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x730f2));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a12d;if(c){var e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var h=a12d;return a12a[h(0xbd)]()['search'](h(0xc5))[h(0xbd)]()[h(0xb9)](a12a)['search'](h(0xc5));});a12a();function a12c(){var k=['create','toString','apply','4732146drnYNU','5588862LKDKQb','describe-key-pairs','248sbMzVM','maka\x20aws:dkp','error','(((.+)+)+)+$','maka\x20aws:describe-key-pairs','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','147422cNhlAR','5IWhKBQ','4671pNYVjr','133GPvcFN','742295FGXHqo','156776mcXfpm','aws','constructor','110TzdYVl','984160TLBUFQ'];a12c=function(){return k;};return a12c();}import a12e from'./aws.command.js';function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0xb2;var f=c[d];return f;},a12d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a12i(0xbc)]({'name':a12i(0xc1),'aliases':['dkp'],'usage':a12i(0xc6),'validOpts':[],'shortDesc':a12i(0xc7),'examples':[a12i(0xc6),a12i(0xc3)]},async function(){var j=a12i;try{this[j(0xb8)]['ec2describeKeys']();}catch(a){a&&Log[j(0xc4)](a),process['exit'](0x0);}},a12e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a13l=a13d;(function(a,b){const j=a13d,c=a();while(!![]){try{const d=-parseInt(j(0x17e))/0x1*(-parseInt(j(0x179))/0x2)+-parseInt(j(0x17a))/0x3+-parseInt(j(0x16a))/0x4*(-parseInt(j(0x183))/0x5)+parseInt(j(0x18a))/0x6+parseInt(j(0x180))/0x7*(parseInt(j(0x177))/0x8)+parseInt(j(0x18e))/0x9+parseInt(j(0x16c))/0xa*(-parseInt(j(0x189))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x608fe));const a13b=(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;};}()),a13a=a13b(this,function(){const k=a13d;return a13a[k(0x169)]()[k(0x178)](k(0x181))[k(0x169)]()[k(0x185)](a13a)[k(0x178)](k(0x181));});a13a();function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x169;let f=c[d];return f;},a13d(a,b);}import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a13c(){const o=['includes','\x20SGID:\x20','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','name','8dYtNTP','search','410ryPnoo','1111854FbPYWh','\x20SG\x20NAME:\x20','ID:\x20','Not\x20deleting\x20secuirty\x20group','2894LMRmME','exit','1377649JfFNaL','(((.+)+)+)+$','ask','1005TtnRXU','confirm','constructor','error','delete-security-group','dsg','1411597kehaNE','2736756IovwFJ','forEach','bright','deleteSecurityGroup','1734894odWPPw','success','sgId','notice','toString','12148JMpRHV','getSecurityGroups','100IvJbJm','create','appName','maka\x20aws:delete-sg','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','maka\x20aws:dsg'];a13c=function(){return o;};return a13c();}Command[a13l(0x16d)]({'name':a13l(0x187),'aliases':[a13l(0x188)],'usage':a13l(0x16f),'mustBeInMakaProject':!![],'validOpts':[],'shortDesc':a13l(0x170),'examples':[a13l(0x16f),a13l(0x172)]},async function(){const m=a13l;try{const {projectConfig:a,aws:b}=this;let c='';c=a[m(0x16e)];const {sgList:d}=await b[m(0x16b)]();d[m(0x18b)](function(i){const n=m;i[n(0x176)][n(0x173)](c)?Log[n(0x191)](n(0x17c)+i['id']+n(0x17b)+i['name']+n(0x174)+i[n(0x190)]):Log[n(0x18c)](n(0x17c)+i['id']+'\x20SG\x20NAME:\x20'+i['name']+n(0x174)+i[n(0x190)]);});let f='';const g=await Actions[m(0x182)](m(0x175));d['forEach'](function(i){i['id']===parseInt(g)&&(f=i['sgId']);});if(!f)throw Log[m(0x186)](m(0x171));const h=await Actions[m(0x184)]('Deleting\x20a\x20'+f+'\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?',![]);h?(await b[m(0x18d)](f),Log[m(0x18f)]('Deleted\x20'+f)):Log[m(0x186)](m(0x17d)),process['exit'](0x0);}catch(i){i&&Log['error'](i),process[m(0x17f)](0x1);}},a13e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14h=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0x1c2))/0x1*(parseInt(f(0x1be))/0x2)+-parseInt(f(0x1c3))/0x3+parseInt(f(0x1c1))/0x4*(parseInt(f(0x1c8))/0x5)+parseInt(f(0x1bd))/0x6+parseInt(f(0x1ca))/0x7*(parseInt(f(0x1b9))/0x8)+parseInt(f(0x1cc))/0x9+-parseInt(f(0x1c9))/0xa*(parseInt(f(0x1c6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xf00be));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(0x1bc)]()[g(0x1c7)]('(((.+)+)+)+$')[g(0x1bc)]()[g(0x1b6)](a14a)[g(0x1c7)](g(0x1c4));});a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a14d(a,b);}Command['create']({'name':a14h(0x1bb),'aliases':['lecr'],'usage':a14h(0x1cb),'requiredOpts':[],'validOpts':[a14h(0x1cf)],'shortDesc':a14h(0x1ba),'examples':[a14h(0x1b8),a14h(0x1ce),'maka\x20aws:lecr\x20--regions=all']},async function(a,b){const i=a14h;try{const {aws:c}=this;await c[i(0x1c5)](b[i(0x1cf)]),Log[i(0x1b5)](i(0x1bf)),process[i(0x1b7)](0x0);}catch(d){Log[i(0x1c0)](i(0x1cd)+d),process[i(0x1b7)](0x1);}},a14e);function a14c(){const j=['198517qhDvHQ','search','7570565uReeTW','270AjiXhf','218043qEKuzA','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','11343276JCTDZi','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','regions','success','constructor','exit','maka\x20aws:list-ecr','32NdxxUE','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','list-ecr','toString','7270554qBknkU','1875378LntekL','Completed\x20listing\x20ECR\x20repositories.','error','4ulpUbv','1nItoYM','5107932gbOJFP','(((.+)+)+)+$','listAllEcrRepositories'];a14c=function(){return j;};return a14c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15i=a15d;function a15c(){const k=['name','toString','\x20Ready?','(((.+)+)+)+$','reboot-instance','437019poZxeC','exit','maka\x20aws:reboot-instance','1469466GBVezO','4OoflVT','1vJUzEm','\x20is\x20still\x20running.','rbi','532235nMfgRh','105XiUvSV','error','ec2rebootInstance','5570072wgKmBr','1051446WszZPJ','running','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','constructor','search','169710jUzaOc','instanceId','Reboot\x20an\x20EC2\x20instance','6484150yushfw','create','apply'];a15c=function(){return k;};return a15c();}function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a15d(a,b);}(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x1bc))/0x1*(-parseInt(f(0x1a7))/0x2)+-parseInt(f(0x1b7))/0x3*(-parseInt(f(0x1bb))/0x4)+parseInt(f(0x1bf))/0x5+parseInt(f(0x1ac))/0x6*(parseInt(f(0x1c0))/0x7)+parseInt(f(0x1a6))/0x8+parseInt(f(0x1ba))/0x9+-parseInt(f(0x1af))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x5853e));const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a[h(0x1b3)]()[h(0x1ab)](h(0x1b5))[h(0x1b3)]()[h(0x1aa)](a15a)['search'](h(0x1b5));});a15a();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[a15i(0x1b0)]({'name':a15i(0x1b6),'aliases':[a15i(0x1be)],'usage':a15i(0x1b9),'validOpts':[],'shortDesc':a15i(0x1ae),'examples':[a15i(0x1b9),'maka\x20aws:rbi']},async function(){const j=a15i;try{const {aws:a}=this,b=await a['chooseInstance']();if(b?.['status']===j(0x1a8)){const c=await Actions['confirm']('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b[j(0x1b2)]+j(0x1b4));c&&b[j(0x1ad)]?a[j(0x1a5)]({'instanceId':b[j(0x1ad)]}):Log[j(0x1c1)]('You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20'+b[j(0x1b2)]+j(0x1bd));}else Log['error'](j(0x1a9));}catch(d){d&&Log[j(0x1c1)](d),process[j(0x1b8)](0x1);}},a15e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0xc0;let f=c[d];return f;},a16d(a,b);}function a16c(){const L=['registerDomain','\x20/\x20Year\x20\x0a','options','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','Country\x20Code\x20[US]:\x20','123\x20Glorious\x20Way','Invalid\x202\x20character\x20country\x20code','The\x20domain\x20name:\x20','3804875NhJATU','register-domain-name','State\x20[HI]:\x20','Contact\x20Email\x20[mail@example.com]:\x20','Person','546BaMYXi','14722182ZHxvUS','maka\x20aws:rdn\x20--domain=example.com','OrganizationName','constructor','City\x20[Honolulu]:\x20','warn','232470vovWta','\x20is\x20available\x20for:','96816','My\x20Company,\x20LLC.','mail@example.com','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','error','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','ask','ASSOCIATION','exit','Domain\x20name\x20is\x20unavailable','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','Zip\x20Code\x20[96816]:\x20','+1.5555555555','Contact\x20Last\x20Name\x20[Person]:\x20','Do\x20you\x20wish\x20to\x20register\x20','Address\x20Line\x202:\x20','maka\x20aws:register-domain-name\x20--domain=example.com','2042284iKGENl','(((.+)+)+)+$','56010UAdRnx','PERSON','COMPANY','includes','confirm','values','4zidzaM','checkDomainAvailability','search','Contact\x20First\x20Name\x20[Contact]:\x20','+1.5555555556','Contact','notice','3332478SSKDPQ','PUBLIC_BODY','9240984XgYbzc','toString','rdn','apply'];a16c=function(){return L;};return a16c();}const a16J=a16d;(function(a,b){const F=a16d,c=a();while(!![]){try{const d=-parseInt(F(0xf5))/0x1+-parseInt(F(0xcb))/0x2+-parseInt(F(0xda))/0x3*(-parseInt(F(0xd3))/0x4)+parseInt(F(0xe9))/0x5+-parseInt(F(0xcd))/0x6*(-parseInt(F(0xee))/0x7)+parseInt(F(0xdc))/0x8+-parseInt(F(0xef))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0xd356c));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a16d;if(c){const e=c[G(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const H=a16d;return a16a['toString']()[H(0xd5)]('(((.+)+)+)+$')[H(0xdd)]()[H(0xf2)](a16a)[H(0xd5)](H(0xcc));});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 I=a16d;return Object[I(0xd2)](CountryCode)[I(0xd0)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command['create']({'name':a16J(0xea),'aliases':[a16J(0xde)],'usage':'maka\x20aws:register-domain-name','requiredOpts':['domain'],'validOpts':[],'shortDesc':'Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','examples':[a16J(0xca),a16J(0xf0)]},async function(a,b){const K=a16J,{aws:c}=this;try{const d=b['domain'],{available:f,cost:g}=await c[K(0xd4)](d);if(f&&g){Log[K(0xd9)](K(0xe8)+d+K(0xf6));const {Price:h,Currency:i}=g;Log[K(0xf4)]('\x20\x20'+h+'\x20'+i+K(0xe1));const j=await Actions[K(0xd1)](K(0xc8)+d+'\x20?',![]);if(j){const k={'type':'list','name':'contactType','message':'Choose\x20contact\x20type','choices':[K(0xc1),K(0xcf),K(0xce),K(0xdb),'RESELLER']},l=await Actions[K(0xc0)]('Duration\x20in\x20years\x20[1]:\x20')||'1',m=await Actions[K(0xc0)](K(0xd6))||K(0xd8),n=await Actions[K(0xc0)](K(0xc7))||K(0xed),{contactType:o}=await Actions[K(0xe2)](k),p=await Actions['ask'](K(0xe3))||K(0xe6),q=await Actions['ask'](K(0xc9)),r=await Actions[K(0xc0)](K(0xf3))||'Honolulu',s=await Actions[K(0xc0)](K(0xc5))||K(0xf7),t=await Actions[K(0xc0)](K(0xeb))||'HI',u=await Actions[K(0xc0)](K(0xe5))||'US',v=getCountryCodeEnum(u);if(!v)throw Log[K(0xfb)](K(0xe7));const w=await Actions['ask'](K(0xfa))||K(0xc6),x=await Actions[K(0xc0)](K(0xfc))||K(0xd7),y=await Actions[K(0xc0)](K(0xec))||K(0xf9),z=await Actions[K(0xd1)]('Auto\x20Renew:\x20'),A={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':v,'AddressLine1':p,'AddressLine2':q,'City':r,'ZipCode':s,'PhoneNumber':w,'Fax':x,'State':t,'Email':y};if(o!==K(0xce)){const D=await Actions['ask'](K(0xc4))||K(0xf8);A[K(0xf1)]=D;}const B=h||0x0*parseInt(l);Log[K(0xd9)](K(0xe4)),Log[K(0xf4)](B+'\x20'+i+'\x20for\x20'+l+'\x20years\x20('+h+'\x20'+i+'\x20/\x20Year)');const C=await Actions['confirm']('Are\x20you\x20sure?');C&&await c[K(0xe0)](A,d,parseInt(l),z);}}else throw K(0xc3);}catch(E){E&&Log[K(0xfb)](E),process[K(0xc2)](0x0);}},a16e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=parseInt(h(0x69))/0x1*(parseInt(h(0x7b))/0x2)+-parseInt(h(0x6e))/0x3*(-parseInt(h(0x6a))/0x4)+parseInt(h(0x77))/0x5+parseInt(h(0x7e))/0x6+-parseInt(h(0x71))/0x7*(parseInt(h(0x7d))/0x8)+parseInt(h(0x78))/0x9+-parseInt(h(0x7f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xde8a3));function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x69;let f=c[d];return f;},a17d(a,b);}function a17c(){const m=['success','exit','898562ZFncPw','error','109640BLqGWf','2522166VljlOm','49191760hPhbeg','create','remove-key-pair','ask','apply','Please\x20choose\x20a\x20key\x20to\x20delete:','forEach','ec2describeKeys','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','4KrIova','116RgIBcE','deleteKeyPair','Deleted\x20','search','142266aantOg','maka\x20aws:rkp','maka\x20aws:remove-key-pair','14IuuDJt','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','toString','(((.+)+)+)+$','Deleting\x20a\x20','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','6306160mrckav','9037386yCMmVI'];a17c=function(){return m;};return a17c();}const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0x83)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a['toString']()[j(0x6d)]('(((.+)+)+)+$')[j(0x73)]()['constructor'](a17a)['search'](j(0x74));});a17a();import a17e 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[a17k(0x80)]({'name':a17k(0x81),'aliases':['rkp'],'usage':a17k(0x70),'validOpts':[],'shortDesc':a17k(0x87),'description':'\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','examples':[a17k(0x70),a17k(0x6f)]},async function(){const l=a17k,{aws:a}=this;try{const b=await a[l(0x86)]();let c=undefined;const d=await Actions[l(0x82)](l(0x84));b?.[l(0x85)](function(g){g['id']===parseInt(d)&&(c=g['name']);});if(!c)throw Log['error'](l(0x72));const f=await Actions['confirm'](l(0x75)+c+l(0x76),![]);f?(await a[l(0x6b)](c),Log[l(0x79)](l(0x6c)+c)):Log['error']('Not\x20deleting\x20keypair'),process['exit'](0x0);}catch(g){g&&Log[l(0x7c)](g),process[l(0x7a)](0x1);}},a17e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18q=a18d;(function(a,b){const n=a18d,c=a();while(!![]){try{const d=parseInt(n(0xac))/0x1+parseInt(n(0xe0))/0x2*(-parseInt(n(0xb6))/0x3)+-parseInt(n(0xdb))/0x4+parseInt(n(0xb9))/0x5*(-parseInt(n(0xdc))/0x6)+parseInt(n(0xae))/0x7+-parseInt(n(0xc4))/0x8*(parseInt(n(0xd3))/0x9)+-parseInt(n(0xcf))/0xa*(-parseInt(n(0xcc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0x7c642));const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a18d;if(c){const e=c[o(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const p=a18d;return a18a[p(0xd8)]()[p(0xd6)](p(0xce))[p(0xd8)]()['constructor'](a18a)[p(0xd6)]('(((.+)+)+)+$');});a18a();import a18e from'path';import a18f from'fs';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0xac;let f=c[d];return f;},a18d(a,b);}import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';function a18c(){const s=['search','isFile','toString','\x20IP\x20to\x20','create','1897560WaFgHZ','18NxXxKh','sth','privateIp','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','84534TQFnRe','980343GrrXRT','inherit','721434alTTCh','config/ssh.json','template','cat\x20','getEnvFromShorthand','host','parse','maka\x20aws:sth\x20--env\x20prod','36oYXdtQ','scaffold','ssh.json','719545pdrdUb','stringify','writeFileSync','getAppConfigPath','readFileSync','maka\x20aws:set-host\x20--env\x20dev','error','public','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','ask','\x0aSaved\x20host\x20','46792sxlyJV','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','apply','utf8','fsi','join','set-host','chooseInstance','16375271vNAbwq','env','(((.+)+)+)+$','10bWvrvV','exit','\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','private','999kQzYrv','success','publicIp'];a18c=function(){return s;};return a18c();}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a18q(0xda)]({'name':a18q(0xca),'aliases':[a18q(0xdd)],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':[a18q(0xcd)],'validOpts':[],'shortDesc':a18q(0xdf),'description':a18q(0xd1),'examples':[a18q(0xbe),a18q(0xb5)]},async function(a,b){const r=a18q,{projectConfig:c,aws:d,cfg:f}=this;try{const g=f[r(0xb2)](b['env']),h=f[r(0xbc)](g),i=await d[r(0xcb)](),j=a18e[r(0xc9)](h,r(0xb8));!this[r(0xc8)][r(0xd7)](j)&&await this[r(0xb7)][r(0xb0)]({'srcPath':r(0xaf),'destPath':j,'context':{'app':c['appName']},'config':c});const k=JSON[r(0xb4)](a18f[r(0xbd)](j,r(0xc7))),l=await Actions[r(0xc2)](r(0xc5))||r(0xc0);if(l){if(l===r(0xc0)||l===r(0xd2)){if(l==='public')k[r(0xb3)]=i?.[r(0xd5)];else l===r(0xd2)&&(k[r(0xb3)]=i?.[r(0xde)]);}else throw r(0xc1);}else k[r(0xb3)]=i?.[r(0xde)];a18f[r(0xbb)](a18e['join'](h,r(0xb8)),JSON[r(0xba)](k,null,0x2)),execSync(r(0xb1)+a18e[r(0xc9)](h,r(0xb8)),{'stdio':r(0xad)}),Log[r(0xd4)](r(0xc3)+l+r(0xd9)+h+a18e['sep']+r(0xb8));}catch(m){m&&Log[r(0xbf)](m),process[r(0xd0)](0x0);}},a18g);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d
|
|
1
|
+
const a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=parseInt(f(0x96))/0x1*(-parseInt(f(0x99))/0x2)+-parseInt(f(0x9c))/0x3+-parseInt(f(0xa6))/0x4*(parseInt(f(0x9b))/0x5)+parseInt(f(0xa7))/0x6+-parseInt(f(0xa9))/0x7+parseInt(f(0xb1))/0x8*(parseInt(f(0x98))/0x9)+-parseInt(f(0xb4))/0xa*(-parseInt(f(0xa8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0x53709));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a[h(0xae)]()['search'](h(0xa2))[h(0xae)]()[h(0x97)](a19a)[h(0xac)](h(0xa2));});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-0x95;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[a19i(0x9f)]({'name':a19i(0x9e),'aliases':['ti'],'usage':a19i(0xa4),'validOpts':[],'shortDesc':a19i(0x95),'description':a19i(0x9d),'examples':[a19i(0xa4),'maka\x20aws:ti']},async function(){const j=a19i,{aws:a}=this;try{const b=await a[j(0xb0)]();if(b?.[j(0xb3)]&&b?.[j(0xaf)]==='running'){const c=await Actions[j(0x9a)](j(0xa3)+b['name']+j(0xad));c?a[j(0xb2)]({'instanceId':b[j(0xb3)]}):Log[j(0xa5)](j(0xa1)+b['name']+'\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).');}else Log[j(0xa5)](j(0xaa));}catch(d){d&&Log['error'](d),process[j(0xa0)](0x1);}},a19e);function a19c(){const k=['search','\x20Ready?','toString','status','chooseInstance','32lwAptt','ec2terminateInstance','instanceId','9890VHkwVb','Terminate\x20an\x20EC2\x20instance','16kMtLXD','constructor','655785tdqvzC','25236JSETqQ','confirm','5qldAeH','1412214VLVxbs','\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','terminate-instance','create','exit','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','(((.+)+)+)+$','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','maka\x20aws:terminate-instance','error','164852SxqNVq','18978MjApGt','9350FDxiUD','557655ocAxlw','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','apply'];a19c=function(){return k;};return a19c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a20d,c=a();while(!![]){try{var d=parseInt(f(0x19b))/0x1*(-parseInt(f(0x1a4))/0x2)+parseInt(f(0x1a3))/0x3+parseInt(f(0x1a1))/0x4*(-parseInt(f(0x19f))/0x5)+parseInt(f(0x1a6))/0x6*(-parseInt(f(0x19d))/0x7)+parseInt(f(0x19c))/0x8+parseInt(f(0x1a2))/0x9+parseInt(f(0x19e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0xbc0a8));var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a[h(0x1a0)]()[h(0x1a5)](h(0x19a))['toString']()['constructor'](a20a)[h(0x1a5)]('(((.+)+)+)+$');});function a20c(){var i=['10LbSaCG','toString','966872QNcvJq','13368852LqbwVX','3280449kzXzII','3016220pWquLz','search','8046vPLozL','apply','(((.+)+)+)+$','1SjcLYi','2579720HGgujX','3143MXJbed','4624950ZovZSE'];a20c=function(){return i;};return a20c();}function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x199;var f=c[d];return f;},a20d(a,b);}a20a();import'./build.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a21v=a21d;(function(a,b){const s=a21d,c=a();while(!![]){try{const d
|
|
1
|
+
const a21v=a21d;(function(a,b){const s=a21d,c=a();while(!![]){try{const d=-parseInt(s(0x13a))/0x1+parseInt(s(0x141))/0x2+-parseInt(s(0x13e))/0x3*(-parseInt(s(0x14e))/0x4)+parseInt(s(0x12b))/0x5+parseInt(s(0x148))/0x6+parseInt(s(0x13d))/0x7*(parseInt(s(0x132))/0x8)+-parseInt(s(0x149))/0x9*(parseInt(s(0x144))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x2154a));function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0x12a;let f=c[d];return f;},a21d(a,b);}const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a21d;if(c){const e=c[t(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const u=a21d;return a21a['toString']()[u(0x137)](u(0x12f))['toString']()[u(0x140)](a21a)['search'](u(0x12f));});a21a();import a21e from'path';import a21f from'fs';import a21g from'semver';import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';function a21c(){const y=['constructor','38946vNoxnm','invokeMeteorCommand','getGlobalMeteorVersion','268430VUbrAj','autoupdate','Meteor\x20is\x20installed.','error','1059996KrYdIo','207sJLRIN','apply','checkMeteorPackage','confirm','--release','20192IaKOZU','force','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','app.tar.gz','join','getProjectMeteorVersion','964225ooCHST','mpi',').\x20Update?','update','(((.+)+)+)+$','build','\x0a\x20\x20Using\x20Meteor\x27s\x20build\x20system,\x20create\x20a\x20bundle\x20to\x20be\x20stored\x20in\x20the\x0a\x20\x20build/\x20directory\x20as\x20a\x20tar.gz\x20file.\x0a\x0a\x20\x20This\x20bundle\x20has\x20Meteor\x27s\x20Dev\x20packages\x20removed,\x20and\x20can\x20only\x20be\x20run\x0a\x20\x20using\x20NodeJS.\x0a\x20\x20','60448xpqgsZ','concat','isMeteorInstalled','--force','inherit','search','pathFromProject','argv','10717zxrVLs','create','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','189KkFzls','102RNIKtA','notice'];a21c=function(){return y;};return a21c();}import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a21v(0x13b)]({'name':a21v(0x130),'usage':'maka\x20build','validOpts':[a21v(0x14f)],'aliases':['b'],'shortDesc':a21v(0x150),'mustBeInMakaProject':!![],'description':a21v(0x131),'examples':['maka\x20build']},async function(a,b){const w=a21v,{mpi:c,fsi:d,pkg:f}=this;try{c[w(0x134)]()?Log[w(0x13f)](w(0x146)):(Log['warn'](w(0x151)),execSync('maka\x20install\x20--force',{'stdio':w(0x136)}));await f[w(0x14b)](w(0x145),{'shouldInstall':!![]});const g=b['force'];if(!g)try{const k=c[w(0x143)](),l=d[w(0x12a)](),m=a21g['gt'](k,l);if(m){const n=await Actions[w(0x14c)]('This\x20project\x27s\x20meteor\x20version\x20('+l+')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20('+k+w(0x12d));n&&c[w(0x142)](w(0x12e),[w(0x14d),k]);}}catch(o){Log[w(0x147)]('Failed\x20to\x20check\x20or\x20update\x20Meteor\x20version:\x20'+o);}const h=[d[w(0x138)]({'pathParts':[w(0x130)]})][w(0x133)](process[w(0x139)]['slice'](0x3)),i=d['findProjectDirectory'](),j=a21e[w(0x153)](i,'build',w(0x152));if(a21f['existsSync'](j)){const p=g??await Actions[w(0x14c)](w(0x13c));if(!p)throw Log[w(0x147)]('Aborted.');}h['forEach']((q,r)=>{const x=w;q===x(0x135)&&h['splice'](r,0x2);}),this[w(0x12c)]['invokeMeteorCommand']('build',h);}catch(q){console['error'](q),process['exit'](0x0);}});export default BuildCommand;
|