@maka/maka-cli 5.0.15 → 5.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- 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 -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 -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.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
|
|
6
6
|
"description": "A command line tool for scaffolding Meteor 2.x applications using React.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0p=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(
|
|
1
|
+
const a0p=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(0xaf))/0x1+parseInt(n(0x74))/0x2+-parseInt(n(0x8c))/0x3*(parseInt(n(0xb8))/0x4)+parseInt(n(0xae))/0x5*(parseInt(n(0x72))/0x6)+parseInt(n(0x92))/0x7+-parseInt(n(0x6b))/0x8+parseInt(n(0x7f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x1e56b));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(0xb9)]()['search']('(((.+)+)+)+$')[o(0xb9)]()[o(0xa7)](a0a)[o(0xaa)](o(0x78));});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';function a0c(){const z=['Command.create\x20requires\x20a\x20handler\x20function!','pallet','addCommand','projectConfig','Alias','keys','\x20not\x20found','invoke','create','constructor','split','murder','search','Command\x20requires\x20a\x20handler\x20function','maxArgLength','mustHaveMeteorInstalled','10xZqvob','101535gKqELF','help','play','bright','Command\x20not\x20found','Too\x20few\x20arguments','header','Please\x20run\x20\x22maka\x20install\x20meteor\x22','match','152hyPGNP','toString','light','maybeProxyCommandToMeteor','function','getGlobalConfig','name','Description','There\x20is\x20no\x20Meteor\x20application\x20here','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','validateMeteorInstall','usage','652680YRWQVL','_handler','length','You\x20must\x20be\x20in\x20a\x20Maka\x20project\x20to\x20run\x20this\x20command','sort','Too\x20many\x20options','Sub-Commands:','202194UFhICu','exit','139522lvNEDy','addCommand\x20requires\x20a\x20Command\x20instance','localeCompare','DARK','(((.+)+)+)+$','notice','Command\x20format\x20is\x20incorrect','_commands','Too\x20many\x20arguments','push','Command\x20','39699hlAluw','maxOptsLength','slice','setColorMode','bind','join','minArgLength','error','number','Command\x20requires\x20a\x20name','cfg','generate','forEach','93xluyVR','LIGHT','validateUserIsLoggedIn','Please\x20run\x20\x22maka\x20login\x22','getMakaProjectConfig','validateMakaProject','1168965dlwPjP','processAndRunCommand','tableList','mustBeLoggedIn','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','options','experimental','shortDesc','run','validateParams','minOptsLength'];a0c=function(){return z;};return a0c();}import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x69;let f=c[d];return f;},a0d(a,b);}let _prevCmd='';export class Command extends Tool{['options'];[a0p(0xa1)];[a0p(0x7b)];[a0p(0x6c)];constructor(a,b){const q=a0p;super();if(!a)throw new Error(q(0x96));if(!a[q(0xbe)])throw new Error(q(0x88));if(typeof b!=='function')throw new Error(q(0xab));this[q(0x98)]=Object['assign']({},a),this[q(0xbe)]=this[q(0x98)][q(0xbe)],this['_commands']=[],this['_handler']=b[q(0x83)](this);}static[a0p(0xa6)](a,b,c){const r=a0p;if(!a)throw new Error('Command.create\x20requires\x20some\x20options!');if(typeof b!==r(0xbc))throw new Error(r(0x9e));const d=new Command(a,b);return c=c||a0f,Object['assign'](d,{'parent':c?.[r(0x98)]?.[r(0xbe)]}),c[r(0xa0)](d),d;}[a0p(0xa0)](a){const s=a0p;if(!(a instanceof Command))throw new Error(s(0x75));this[s(0x7b)]['push'](a);}async['run'](a,b){const t=a0p;try{a=a||[],b=b||{};try{const c=await this[t(0x89)][t(0xbd)](),d=c[t(0x9f)]===t(0xba)?ColorMode[t(0x8d)]:ColorMode[t(0x77)];Log[t(0x82)](d);}catch(f){Log[t(0x86)](f),process[t(0x73)](0x0);}return await this[t(0xa5)](a,b);}catch(g){process[t(0x73)](0x1);}}async[a0p(0xa5)](a,b){const u=a0p,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[u(0x98)];try{if(this['options'][u(0xbe)]!==u(0x8a)){if(!isRoot){const g=(a[0x0]===_prevCmd||a[u(0x6d)]===0x0)&&this[u(0x7b)][u(0x6d)]>=0x0,h=b[u(0xb0)]||b['h'];if(g&&h){if(this[u(0x7b)][u(0x6d)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[u(0x98)]['mustBeInMakaProject']){const i=this[u(0x91)]();if(!i)throw new MustBeInProjectError();this[u(0xa1)]=this[u(0x89)][u(0x90)]();}if(this[u(0x98)][u(0x95)]){const j=await this[u(0x8e)]();if(!j)throw new MustBeLoggedIn();}if(this[u(0x98)][u(0xad)]){const k=this[u(0x69)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[u(0x98)][u(0x85)]===u(0x87)){if(a[u(0x6d)]<this['options'][u(0x85)]){Log[u(0x86)](u(0xb4));throw new UsageError();}}if(typeof this[u(0x98)]['maxArgLength']==='number'){if(a['length']>=this[u(0x98)][u(0xac)]){Log['error'](u(0x7c));throw new UsageError();}}if(typeof this['options'][u(0x9d)]===u(0x87)){if(Object[u(0xa3)](b)[u(0x6d)]<this[u(0x98)][u(0x9d)]){Log['error']('Too\x20few\x20options');throw new UsageError();}}if(typeof this[u(0x98)][u(0x80)]===u(0x87)){if(Object['keys'](b)[u(0x6d)]>=this['options'][u(0x80)]){Log['error'](u(0x70));throw new UsageError();}}}}b=await this[u(0x9c)](a,b,this[u(0x98)]),_prevCmd=a[0x0];}return await this[u(0x6c)]['call'](this,a,b);}catch(l){Log[u(0x6a)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log['notice'](u(0x71)),this[u(0x94)](this['_commands']),Log[u(0xb5)](u(0xc1));else{if(l instanceof MustBeInProjectError)Log[u(0x86)](u(0x6e));else{if(l instanceof NoMeteorFoundError)Log['error']('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[u(0x79)](u(0xb6));else{if(l instanceof NoMeteorAppFoundError)Log[u(0x86)](u(0xc0));else l instanceof MustBeLoggedIn&&(Log['error'](u(0x97)),Log[u(0x79)](u(0x8f)));}}}process['exit'](0x1);}}[a0p(0x94)](a){const v=a0p,b=new a0e({});b[v(0x7d)](['Name',v(0xa2),v(0xbf)]),a[v(0x6f)]((c,d)=>{const w=v;return c[w(0xbe)][w(0x76)](d['name']);})[v(0x8b)](c=>{const x=v;if(c['name']!==x(0xa9)&&c[x(0xbe)]!==x(0xb1)){const d=c[x(0x99)](),e=d?'(experimental)\x20'+c[x(0x9a)]():c[x(0x9a)]();b['push']([c[x(0xbe)],c['aliases'](),e]);}}),Log[v(0xb2)](b['toString']());}async[a0p(0x93)](a,b=[],c={}){const y=a0p;try{const d=a?.[y(0xa8)](':');if(!d||d[y(0x6d)]===0x0)throw y(0x7a);if(d[0x0]===y(0x8a)||d[0x0]==='g'&&d[y(0x6d)]>0x1){const h=this[y(0x7b)]['find'](j=>j['match']('generate'));if(!h)throw'Command\x20not\x20found';const i=d[y(0x81)](0x1)[y(0x84)](':');return b['unshift'](i),await h[y(0x9b)](b,c);}let f=this[y(0x7b)],g;for(const j of d){g=f['find'](k=>k[y(0xb7)](j));if(!g)try{await this['mpi'][y(0xbb)]();}catch(k){throw y(0x7e)+j+y(0xa4);}g&&(f=g['_commands']);}if(g){const l=await g[y(0x9b)](b,c);return l;}else throw y(0xb3);}catch(m){Log[y(0x86)](m),process['exit'](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(0xd7))/0x1+-parseInt(f(0xd8))/0x2+parseInt(f(0xd1))/0x3+-parseInt(f(0xd3))/0x4+-parseInt(f(0xda))/0x5+-parseInt(f(0xcf))/0x6*(-parseInt(f(0xd0))/0x7)+-parseInt(f(0xd2))/0x8*(-parseInt(f(0xd5))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x61156));function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xcf;var f=c[d];return f;},a1d(a,b);}var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0xd9)]()[h(0xdb)]('(((.+)+)+)+$')[h(0xd9)]()[h(0xd6)](a1a)[h(0xdb)]('(((.+)+)+)+$');});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./deploy/_index.js';import'./run/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';function a1c(){var i=['652321RSSkmm','1164900llNVFK','toString','2319845mhqZhm','search','42gduzaF','477246yTzTwU','595215xpmTTd','3006536mvlaMp','330100SZznxr','apply','36trbqLr','constructor'];a1c=function(){return i;};return a1c();}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 a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(
|
|
1
|
+
const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0x149))/0x1+-parseInt(h(0x167))/0x2*(-parseInt(h(0x160))/0x3)+-parseInt(h(0x13d))/0x4*(-parseInt(h(0x153))/0x5)+parseInt(h(0x14f))/0x6*(-parseInt(h(0x15c))/0x7)+parseInt(h(0x142))/0x8+parseInt(h(0x156))/0x9*(-parseInt(h(0x141))/0xa)+parseInt(h(0x163))/0xb*(parseInt(h(0x161))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x7d2be));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a[j(0x15b)]()[j(0x14c)](j(0x162))['toString']()[j(0x158)](a2a)[j(0x14c)](j(0x162));});function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x139;let f=c[d];return f;},a2d(a,b);}a2a();import{Command}from'../command.js';function a2c(){const o=['4visKUG','Using\x20OpenAI\x20Key\x20','cacert','create','356530WcUWMO','5482504nxoVuG','text','trim','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','question','choices','You:\x20','664972tGPDiF','openai','data','search','notice','Using\x20CA\x20Cert\x20','4654314ZxLEHm','exit','askGPT','stdin','2088065gFmBKs','apply','toLowerCase','36GArDIz','error','constructor','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','parse','toString','7mFCroh','message','stdout','isFile','837777ZAQinm','5214732dUKgOe','(((.+)+)+)+$','11lyXZIh','cert','openapikey','ChatGPT\x20style\x20AI\x20interface','4NlzAUX','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','getGlobalConfig','fsi','bright'];a2c=function(){return o;};return a2c();}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 k=a2d,c=a2e['createInterface']({'input':process[k(0x152)],'output':process[k(0x15e)]});c[k(0x146)](k(0x148),async d=>{const l=k;if(d[l(0x155)]()==='exit'){c['close']();return;}try{const e=await HTTPS[l(0x151)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[l(0x15a)](e[l(0x14b)]);if(f[l(0x157)])throw new Error(f[l(0x157)][l(0x15d)]);Log[l(0x13c)]('GPT:\x20'+f?.[l(0x147)][0x0]?.[l(0x143)][l(0x144)]());}catch(g){Log['error'](g),process[l(0x150)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2m(0x140)]({'name':'ai','description':a2m(0x166),'validOpts':[a2m(0x13f),'openapikey'],'shortDesc':a2m(0x166),'isPro':!![]},async function(a,b){const n=a2m;try{let c='';b[n(0x13f)]&&(this[n(0x13b)]['isFile'](b[n(0x13f)])?(c=b[n(0x13f)],Log[n(0x14d)](n(0x14e)+c)):Log['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+c));const d=await this['cfg'][n(0x13a)]();if(d[n(0x164)]){if(this['fsi'][n(0x15f)](d[n(0x164)]))c=d[n(0x164)];else throw Log[n(0x157)](n(0x145)+c);}let f='';if(b[n(0x165)])f=b['openapikey'],Log[n(0x14d)](n(0x13e)+f);else{if(d[n(0x14a)])f=d[n(0x14a)];else throw Log[n(0x157)](n(0x139));}Log[n(0x13c)](n(0x159)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console['error'](g),process[n(0x150)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a3d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a3d,c=a();while(!![]){try{var d=parseInt(f(0x193))/0x1*(-parseInt(f(0x196))/0x2)+parseInt(f(0x197))/0x3*(parseInt(f(0x198))/0x4)+parseInt(f(0x192))/0x5+parseInt(f(0x194))/0x6*(parseInt(f(0x190))/0x7)+-parseInt(f(0x191))/0x8*(parseInt(f(0x18a))/0x9)+-parseInt(f(0x18b))/0xa+-parseInt(f(0x18d))/0xb*(-parseInt(f(0x195))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x90b04));function a3c(){var i=['apply','(((.+)+)+)+$','18382TpTCqK','136384oyivck','3258195ujKTAO','1uwKIlM','2082DuYQOs','169596TCeZAd','1430714aiJeMw','207liSlFa','33448wHXMYu','315PZwKZf','10690050FYpDKO','search','649nuoGQJ'];a3c=function(){return i;};return a3c();}var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a['toString']()['search'](h(0x18f))['toString']()['constructor'](a3a)[h(0x18c)]('(((.+)+)+)+$');});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';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';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x18a;var f=c[d];return f;},a3d(a,b);}import'./lecr.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d
|
|
1
|
+
function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0xa8;let f=c[d];return f;},a4d(a,b);}function a4c(){const j=['36hrdYTA','847149ylwimK','toString','(((.+)+)+)+$','238530IHlSfb','search','713798vKclGx','167136paOOcG','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','create','36zjpaXz','constructor','8URceib','apply','2361142NmRdUr','maka\x20aws:<sub-command>','aws','2324694kjgtwy','913415JCeXDy'];a4c=function(){return j;};return a4c();}const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0xb3))/0x1+-parseInt(f(0xb8))/0x2+parseInt(f(0xb9))/0x3*(-parseInt(f(0xa9))/0x4)+-parseInt(f(0xb1))/0x5+parseInt(f(0xb0))/0x6+-parseInt(f(0xad))/0x7*(-parseInt(f(0xab))/0x8)+-parseInt(f(0xb2))/0x9*(parseInt(f(0xb6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x6a52e));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0xac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0xb4)]()[h(0xb7)]('(((.+)+)+)+$')[h(0xb4)]()[h(0xaa)](a4a)[h(0xb7)](h(0xb5));});a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0xa8)]({'name':a4i(0xaf),'usage':a4i(0xae),'validOpts':[],'shortDesc':'Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','description':a4i(0xba)},async function(){throw UsageError;});export default AWSCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a5h=a5d;function
|
|
1
|
+
const a5h=a5d;function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x10e;let f=c[d];return f;},a5d(a,b);}(function(a,b){const f=a5d,c=a();while(!![]){try{const d=-parseInt(f(0x11b))/0x1*(parseInt(f(0x12b))/0x2)+-parseInt(f(0x11f))/0x3*(parseInt(f(0x129))/0x4)+parseInt(f(0x10e))/0x5*(-parseInt(f(0x11e))/0x6)+-parseInt(f(0x12a))/0x7*(-parseInt(f(0x11a))/0x8)+parseInt(f(0x11c))/0x9*(parseInt(f(0x117))/0xa)+-parseInt(f(0x126))/0xb+parseInt(f(0x114))/0xc*(parseInt(f(0x127))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x7f813));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const g=a5d;return a5a[g(0x111)]()['search'](g(0x116))[g(0x111)]()['constructor'](a5a)[g(0x118)](g(0x116));});a5a();import a5e from'./aws.command.js';function a5c(){const j=['2580LwRyMv','exit','(((.+)+)+)+$','6858790JckHvN','search','create-ecr','7155208ZwPNbl','13HiJXWa','9jIZrKZ','httpStatusCode','1578rYrXjR','3GiHrNQ','Repository\x20created\x20successfully.','aws','error','Create\x20an\x20Elastic\x20Container\x20Repository','repository','maka\x20aws:create-ecr\x20--name=my-new-repo','9913772dPPARp','84383oNxVnv','name','2625328LHlCiU','7kdIGuA','107298lSpTDI','Repository\x20URI:\x20','3775CKLcqu','$metadata','maka\x20aws:cecr\x20--name=my-new-repo','toString','cecr','maka\x20aws:create-ecr'];a5c=function(){return j;};return a5c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a5h(0x119),'aliases':[a5h(0x112)],'usage':a5h(0x113),'requiredOpts':[a5h(0x128)],'validOpts':['region'],'shortDesc':a5h(0x123),'examples':[a5h(0x125),a5h(0x110),'maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1']},async function(a,b){const i=a5h;try{const c=await this[i(0x121)]['ecrCreateRepository'](b);c&&c[i(0x10f)][i(0x11d)]===0xc8&&c[i(0x124)]?(Log['success'](i(0x120)),Log['notice'](i(0x12c)+c[i(0x124)]['repositoryUri'])):Log[i(0x122)]('Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.'),process[i(0x115)](0x0);}catch(d){Log[i(0x122)](d),process[i(0x115)](0x1);}},a5e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6k=a6d;function a6c(){const m=['
|
|
1
|
+
const a6k=a6d;function a6c(){const m=['maka\x20aws:create-hosted-zone','publicIp','domain','apply','chz','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','1146vZlCMe','maka\x20aws:create-hosted-zone\x20--domain=example.com','error','351xCgLqr','create-hosted-zone','toString','416967sTTrcj','Instance\x20not\x20found','11410npSRTJ','463RhZnRK','Set\x20hosted\x20zone\x20to\x20an\x20instance?','search','chooseInstance','10858270YAHjDL','8wKHYZN','844105fCmmlb','24472dsQaBa','(((.+)+)+)+$','aws','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','confirm','749604PSoNim','route53CreateHostedZone','constructor','maka\x20aws:chz\x20--domain=example.com'];a6c=function(){return m;};return a6c();}(function(a,b){const h=a6d,c=a();while(!![]){try{const d=-parseInt(h(0x1d8))/0x1+parseInt(h(0x1e4))/0x2+parseInt(h(0x1d5))/0x3+-parseInt(h(0x1dd))/0x4*(-parseInt(h(0x1de))/0x5)+parseInt(h(0x1cf))/0x6*(parseInt(h(0x1d7))/0x7)+parseInt(h(0x1df))/0x8*(parseInt(h(0x1d2))/0x9)+-parseInt(h(0x1dc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x2fcbe));function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a6d(a,b);}const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a6d;if(c){const e=c[i(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const j=a6d;return a6a[j(0x1d4)]()['search'](j(0x1e0))[j(0x1d4)]()[j(0x1e6)](a6a)[j(0x1da)](j(0x1e0));});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['create']({'name':a6k(0x1d3),'aliases':[a6k(0x1cd)],'usage':a6k(0x1e8),'requiredOpts':['domain'],'validOpts':[],'shortDesc':a6k(0x1ce),'examples':[a6k(0x1d0),a6k(0x1e7)]},async function(a,b){const l=a6k;try{const c=b[l(0x1ea)];this[l(0x1e1)][l(0x1e5)](c);const d=await Actions[l(0x1e3)](l(0x1d9));if(d){const f=await this[l(0x1e1)][l(0x1db)]();if(f?.['id']){if(!f[l(0x1e9)])throw Log[l(0x1d1)](l(0x1e2));this['aws']['linkEC2ToRoute53'](f['id'],f[l(0x1e9)],c);}else throw l(0x1d6);}}catch(g){g&&Log[l(0x1d1)](g),process['exit'](0x0);}},a6e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=parseInt(Y(0x210))/0x1+parseInt(Y(0x1f9))/0x2*(-parseInt(Y(0x1f1))/0x3)+-parseInt(Y(0x1d7))/0x4+parseInt(Y(0x218))/0x5*(-parseInt(Y(0x1da))/0x6)+parseInt(Y(0x1fe))/0x7*(parseInt(Y(0x1db))/0x8)+-parseInt(Y(0x1ef))/0x9+-parseInt(Y(0x1f4))/0xa*(-parseInt(Y(0x1ee))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0xd5467));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0x207)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a[a0(0x1f7)]()['search'](a0(0x224))['toString']()[a0(0x200)](a7a)[a0(0x21c)]('(((.+)+)+)+$');});function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a7d(a,b);}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[a7a1(0x221)]({'name':a7a1(0x20b),'aliases':['ci'],'usage':a7a1(0x1fa),'examples':[a7a1(0x1ec),a7a1(0x205)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a1(0x1e4)}],'validOpts':[],'shortDesc':a7a1(0x1f8),'description':a7a1(0x219)},async function(a,b){const a2=a7a1;try{const {projectConfig:c,fsi:d,cfg:f}=this,{appName:g}=c,h=f[a2(0x1fc)](b['env']),i=f['getAppConfigPath'](h),j=g+'-'+h,k=await Actions[a2(0x1df)](a2(0x1fd)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0x1f0)](a2(0x217),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await this[a2(0x1dc)][a2(0x1e7)]({'env':h});r=y,s=z,Log[a2(0x1eb)](a2(0x209)+r);}else try{Log[a2(0x1e0)]('**\x20Available\x20key-pairs\x20**');const A=r?r:k,B=await this[a2(0x1dc)][a2(0x20d)]({'suggestion':A}),C=await Actions[a2(0x1df)](a2(0x1e2))||'-1';if(parseInt(C)<0x0){Log[a2(0x21a)](a2(0x1ff)),Log[a2(0x1e0)](a2(0x223));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D['name'],Log['success'](a2(0x209)+r);break;}}}catch(E){Log[a2(0x21a)](E);}l=await this[a2(0x1dc)][a2(0x21b)]();const t=await Actions[a2(0x1f0)](a2(0x21f),!![]);let u;if(t){const F=l===''?await this[a2(0x1dc)][a2(0x21b)]():l;u=await Actions['ask'](a2(0x1e9)+k+']')||k;const G=await Actions[a2(0x1df)](a2(0x214))||a2(0x1e6),H=G[a2(0x20a)](',');await this[a2(0x1dc)][a2(0x208)]({'description':'Web\x20App','name':u,'vpcId':F,'sgPorts':H});}u=k,m=await this[a2(0x1dc)][a2(0x222)](u),n=await this[a2(0x1dc)][a2(0x202)](),p=await this[a2(0x1dc)]['listAvailableSubnets']();const v=0x1,w=0x1;try{const I=await Actions[a2(0x1df)](a2(0x1e8))||'1:1',J=I['split'](':')[0x0],K=I['split'](':')[0x1];typeof parseInt(J)===a2(0x220)&&typeof parseInt(K)===a2(0x220)&&Log[a2(0x1eb)]('Setting\x20the\x20number\x20of\x20instances\x20to:\x20'+J+':'+K);}catch(L){Log[a2(0x21a)](L);}try{const M=await Actions[a2(0x1df)](a2(0x206))||a2(0x20f);typeof M===a2(0x215)&&(o=M);}catch(N){Log[a2(0x21a)](N);}let x='';try{const O=await Actions[a2(0x1f0)](a2(0x1ed),![]);O&&(x=a7f['join'](i,a2(0x212)),Log[a2(0x1e0)](a2(0x1e3)+x),await this[a2(0x1e5)]['createFile']({'filePath':x,'data':''}),await Actions['confirm'](a2(0x1f5)));}catch(P){Log[a2(0x21a)](P);}try{const Q=await this['aws'][a2(0x1d9)](p);Log[a2(0x1e0)](a2(0x1d8)+n),Log['notice'](a2(0x201)+v+':'+w),Log[a2(0x1e0)](a2(0x213)+o),Log['notice'](a2(0x204)+r),Log[a2(0x1e0)](a2(0x1d6)+m),Log[a2(0x1e0)](a2(0x1de)+Q);if(x){Log[a2(0x1e0)](a2(0x21e)+x);const S=a7g[a2(0x1d5)](x)['toString']();Log[a2(0x1e0)](S);}const R=await Actions[a2(0x1f0)](a2(0x211));if(R){const T=await this[a2(0x1dc)][a2(0x1d4)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a2(0x1fb),'Value':a2(0x1dd)},{'Key':'environment','Value':h},{'Key':'Name','Value':k}],...x&&{'userData':x}});T&&(Log[a2(0x1eb)](a2(0x1ea)),Log[a2(0x20e)](a2(0x20c)));}else{Log['notice'](a2(0x203));const U=await Actions[a2(0x1f0)](a2(0x21d)+r+'\x20?',!![]);U&&(this[a2(0x1dc)][a2(0x1f2)](r),d[a2(0x216)](s)&&a7g['unlinkSync'](s));const V=await Actions[a2(0x1f0)](a2(0x1e1)+m+'\x20?',!![]);V&&this[a2(0x1dc)][a2(0x1f3)](m);}}catch(W){Log[a2(0x21a)](W);}}catch(X){X&&Log[a2(0x21a)](X),process[a2(0x1f6)](0x0);}},a7e);function a7c(){const a3=['EC2\x20Name:\x20[','28IdEGpR','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','constructor','Instance\x20Count:\x20','listAvailableAMIs','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','Key-Pair:\x20','maka\x20aws:ci\x20--env\x20prod','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','apply','ec2createSG','Setting\x20the\x20key-pair\x20to:\x20','split','create-instance','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','ec2describeKeys','bright','t3.micro','918609gfnCJu','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','user-data','Instace\x20Type:\x20','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','string','isFile','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','361150AZDCwO','\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','error','chooseVPC','search','Remove\x20the\x20keypair\x20','User\x20Data:','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','number','create','chooseSecurityGroup','No\x20instance\x20has\x20been\x20created.','(((.+)+)+)+$','ec2create','readFileSync','Security\x20Group:\x20','3898400iPrzuE','ImageID:','getSubnetCidr','60UugJhH','1578392jUzeWt','aws','maka-cli','Subnet:\x20','ask','notice','Remove\x20the\x20security\x20group\x20','Please\x20choose\x20a\x20key\x20to\x20use:\x20','Creating\x20user\x20data\x20file\x20in\x20','env','fsi','22,80,443','createKeyPair','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','Security\x20Group\x20Name:\x20[','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','success','maka\x20aws:create-instance\x20--env\x20dev','Would\x20you\x20like\x20to\x20include\x20user\x20data?','37548929VxCwbo','8207127aQGIyT','confirm','126MDElYT','deleteKeyPair','deleteSecurityGroup','10yMbIuh','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','exit','toString','Create\x20new\x20AWS\x20instance','78046shKAnq','maka\x20aws:create-instance','created-by','getEnvFromShorthand'];a7c=function(){return a3;};return a7c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a8c(){const l=['
|
|
1
|
+
const a8j=a8d;function a8c(){const l=['maka\x20aws:ckp\x20--env\x20prod','57yvASYQ','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','search','cfg','maka\x20aws:create-key-pair\x20--env\x20prod','(((.+)+)+)+$','2451070bmloki','7rDNtQi','118596FjOpBO','289700rFvZWs','3421161IpszXv','4oNLvbT','create-key-pair','3605224XBmtQc','341hpWqMn','\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','apply','create','constructor','2900316IdfUVB','ckp','exit','env','48746jIpZdO','createKeyPair','10MDTRDy'];a8c=function(){return l;};return a8c();}(function(a,b){const g=a8d,c=a();while(!![]){try{const d=parseInt(g(0xea))/0x1+parseInt(g(0xdd))/0x2*(-parseInt(g(0xe1))/0x3)+-parseInt(g(0xec))/0x4*(-parseInt(g(0xe7))/0x5)+-parseInt(g(0xd9))/0x6+parseInt(g(0xe8))/0x7*(parseInt(g(0xee))/0x8)+parseInt(g(0xeb))/0x9*(parseInt(g(0xdf))/0xa)+-parseInt(g(0xd4))/0xb*(parseInt(g(0xe9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x575da));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0xd6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a['toString']()[i(0xe3)](i(0xe6))['toString']()[i(0xd8)](a8a)[i(0xe3)](i(0xe6));});a8a();function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0xd4;let f=c[d];return f;},a8d(a,b);}import a8e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a8j(0xd7)]({'name':a8j(0xed),'aliases':[a8j(0xda)],'usage':'maka\x20aws:create-key-pair','examples':[a8j(0xe5),a8j(0xe0)],'mustBeInMakaProject':!![],'requiredOpts':[a8j(0xdc)],'validOpts':[],'shortDesc':a8j(0xe2),'description':a8j(0xd5)},async function(a,b){const k=a8j;try{const {aws:c}=this,d=this[k(0xe4)]['getEnvFromShorthand'](b[k(0xdc)]);c[k(0xde)]({'env':d});}catch(f){f&&Log['error'](f),process[k(0xdb)](0x0);}},a8e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(0x173))/0x1+-parseInt(m(0x162))/0x2*(parseInt(m(0x16a))/0x3)+-parseInt(m(0x165))/0x4*(parseInt(m(0x16e))/0x5)+parseInt(m(0x175))/0x6+parseInt(m(0x16b))/0x7*(-parseInt(m(0x167))/0x8)+parseInt(m(0x17a))/0x9+parseInt(m(0x177))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x1b91b));function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x161;let f=c[d];return f;},a9d(a,b);}const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a[o(0x16d)]()['search'](o(0x164))[o(0x16d)]()[o(0x178)](a9a)[o(0x174)](o(0x164));});a9a();import a9e from'./aws.command.js';import{Command}from'../../command.js';function a9c(){const s=['252798JHfhlS','22,80,443','4261150zOumzK','constructor','exit','724032jMVNaB','name','create-security-group','maka\x20aws:csg','ask','error','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','List\x20is\x20not\x20all\x20numbers','2aFMlkg','ec2createSG','(((.+)+)+)+$','21904miBbzt','forEach','424hSyOYq','csg','match','233277QKAkpE','20573WBiRFC','Web\x20App','toString','50rVjYtt','apply','chooseVPC','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','split','147487daNCyM','search'];a9c=function(){return s;};return a9c();}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a9p(0x17c),'aliases':[a9p(0x168)],'usage':'maka\x20aws\x20create-security-group','validOpts':[],'shortDesc':a9p(0x171),'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':['maka\x20aws:create-secuirty-group',a9p(0x17d)]},async function(a,b){const q=a9p,{projectConfig:c,aws:d}=this;try{const {appName:f}=c,g=await d[q(0x170)](),h=b['name']?b[q(0x17b)]:''+f,i=await Actions[q(0x17e)]('Security\x20Group\x20Name:\x20['+h+']')||h,j=await Actions['ask'](q(0x180))||q(0x176),k=j[q(0x172)](',');k[q(0x166)](l=>{const r=q;if(!l[r(0x169)](/^\d+$/))throw r(0x161);}),await d[q(0x163)]({'description':q(0x16c),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[q(0x17f)](l),process[q(0x179)](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(0x1ad))/0x1+-parseInt(f(0x1b0))/0x2*(-parseInt(f(0x1b6))/0x3)+-parseInt(f(0x1bc))/0x4*(parseInt(f(0x1c7))/0x5)+parseInt(f(0x1c8))/0x6+parseInt(f(0x1b1))/0x7*(-parseInt(f(0x1b9))/0x8)+-parseInt(f(0x1ae))/0x9*(-parseInt(f(0x1b4))/0xa)+-parseInt(f(0x1ba))/0xb*(parseInt(f(0x1c0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x30ed7));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a[h(0x1c5)]()[h(0x1bf)]('(((.+)+)+)+$')[h(0x1c5)]()[h(0x1c6)](a10a)[h(0x1bf)]('(((.+)+)+)+$');});a10a();function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a10d(a,b);}import a10e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a10i(0x1b7)]({'name':'delete-ecr','aliases':[a10i(0x1be)],'usage':'maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','requiredOpts':[a10i(0x1bb),a10i(0x1b8)],'validOpts':[],'shortDesc':a10i(0x1b3),'examples':['maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1',a10i(0x1b2)]},async function(a,b){const j=a10i,{aws:c}=this;try{await c[j(0x1c4)]({'repoName':b[j(0x1bb)],'region':b[j(0x1b8)]}),Log[j(0x1c1)](j(0x1c3)+b['name']+j(0x1c9)+b['region']+'.'),process[j(0x1bd)](0x0);}catch(d){Log['error'](j(0x1af)+b[j(0x1bb)]+j(0x1b5)+b[j(0x1b8)]+'.\x20Error:\x20'+d),process[j(0x1bd)](0x1);}},a10e);function a10c(){const k=['\x20in\x20region\x20','125679BTvizY','create','region','484424wCYAQx','33NbcJXN','name','3160cvXhZV','exit','decr','search','2261160FZTRgT','success','apply','Repository\x20','ecrDeleteRepository','toString','constructor','580vsdIUS','1244676YHYZlg','\x20deleted\x20successfully\x20in\x20region\x20','369170Ccxzjh','32463RbMCDI','Failed\x20to\x20delete\x20the\x20repository:\x20','2gfjhkA','7PbOXZO','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','Delete\x20an\x20Elastic\x20Container\x20Repository','830NVphnK'];a10c=function(){return k;};return a10c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d
|
|
1
|
+
function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a11d(a,b);}const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0x1bd))/0x1+-parseInt(f(0x1c8))/0x2+parseInt(f(0x1c3))/0x3+parseInt(f(0x1be))/0x4+parseInt(f(0x1cc))/0x5+parseInt(f(0x1bc))/0x6*(-parseInt(f(0x1ca))/0x7)+parseInt(f(0x1c5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x83999));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0x1cd)]()[h(0x1d0)](h(0x1cf))['toString']()[h(0x1bf)](a11a)[h(0x1d0)](h(0x1cf));});a11a();import a11e from'./aws.command.js';function a11c(){const k=['1451772kXnWID','constructor','ec2describeInstances','error','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','610542nLyCzQ','maka\x20aws:di','696776vblLca','describe-instances','\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','362586acpckb','exit','1974189TXWnvs','maka\x20aws:describe-instances','899070BBqHyj','toString','apply','(((.+)+)+)+$','search','6OyGmLw','168985SRcbaq'];a11c=function(){return k;};return a11c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a11i(0x1c6),'aliases':['di'],'usage':a11i(0x1cb),'validOpts':[],'shortDesc':a11i(0x1c2),'examples':[a11i(0x1cb),a11i(0x1c4)],'description':a11i(0x1c7)},async function(){const j=a11i;try{const {aws:a}=this;a[j(0x1c0)]();}catch(b){b&&Log[j(0x1c1)](b),process[j(0x1c9)](0x1);}},a11e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a12i=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x1d7;var f=c[d];return f;},a12d(a,b);}var a12i=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=-parseInt(f(0x1eb))/0x1+parseInt(f(0x1e2))/0x2+-parseInt(f(0x1df))/0x3+-parseInt(f(0x1ef))/0x4*(parseInt(f(0x1db))/0x5)+-parseInt(f(0x1ed))/0x6*(-parseInt(f(0x1ee))/0x7)+-parseInt(f(0x1e4))/0x8*(-parseInt(f(0x1d8))/0x9)+-parseInt(f(0x1dd))/0xa*(-parseInt(f(0x1e3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x43d00));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a12d;if(c){var e=c[g(0x1e7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var h=a12d;return a12a[h(0x1e5)]()[h(0x1de)](h(0x1e6))[h(0x1e5)]()['constructor'](a12a)['search'](h(0x1e6));});a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a12i(0x1e8)]({'name':a12i(0x1d7),'aliases':[a12i(0x1da)],'usage':a12i(0x1ea),'validOpts':[],'shortDesc':a12i(0x1ec),'examples':[a12i(0x1ea),a12i(0x1dc)]},async function(){var j=a12i;try{this[j(0x1e9)][j(0x1d9)]();}catch(a){a&&Log[j(0x1e1)](a),process[j(0x1e0)](0x0);}},a12e);function a12c(){var k=['ec2describeKeys','dkp','5WWmqXO','maka\x20aws:dkp','30RusIUh','search','1045056NWmPJg','exit','error','238418DNqrRc','4246187dLpQoE','5536FNanJJ','toString','(((.+)+)+)+$','apply','create','aws','maka\x20aws:describe-key-pairs','477963GtWMPs','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','96uFcmVA','6454dMnUJf','2016724bLxCvb','describe-key-pairs','4113Heambs'];a12c=function(){return k;};return a12c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a13m=a13d;(function(a,b){const j=a13d,c=a();while(!![]){try{const d
|
|
1
|
+
const a13m=a13d;(function(a,b){const j=a13d,c=a();while(!![]){try{const d=parseInt(j(0x10e))/0x1+-parseInt(j(0x11b))/0x2*(parseInt(j(0x124))/0x3)+parseInt(j(0x111))/0x4+-parseInt(j(0x10d))/0x5*(parseInt(j(0x113))/0x6)+parseInt(j(0x112))/0x7+parseInt(j(0x117))/0x8*(-parseInt(j(0x123))/0x9)+parseInt(j(0x127))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x4d19e));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a13d;if(c){const e=c[k(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const l=a13d;return a13a[l(0x12c)]()['search']('(((.+)+)+)+$')[l(0x12c)]()['constructor'](a13a)['search']('(((.+)+)+)+$');});a13a();import a13e from'./aws.command.js';function a13c(){const q=['maka\x20aws:delete-sg','maka\x20aws:dsg','18yvFQSY','76929iGtfle','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','success','7468570YKAtsF','notice','dsg','Not\x20deleting\x20secuirty\x20group','ask','toString','includes','exit','error','\x20SGID:\x20','350510ZkMBLO','565699iKzisZ','Deleted\x20','delete-security-group','249404zfTjui','324786uEiUMt','12rYKqAg','bright','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','confirm','1707168VxlUcN','apply','sgId','name','42yRDQpF','ID:\x20','\x20SG\x20NAME:\x20','appName','Deleting\x20a\x20','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC'];a13c=function(){return q;};return a13c();}import{Command}from'../../command.js';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x10b;let f=c[d];return f;},a13d(a,b);}import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command['create']({'name':a13m(0x110),'aliases':[a13m(0x129)],'usage':'maka\x20aws:delete-sg','mustBeInMakaProject':!![],'validOpts':[],'shortDesc':a13m(0x120),'examples':[a13m(0x121),a13m(0x122)]},async function(){const n=a13m;try{const {projectConfig:a,aws:b}=this;let c='';c=a[n(0x11e)];const {sgList:d}=await b['getSecurityGroups']();d['forEach'](function(i){const o=n;i[o(0x11a)][o(0x12d)](c)?Log[o(0x128)](o(0x11c)+i['id']+o(0x11d)+i[o(0x11a)]+'\x20SGID:\x20'+i['sgId']):Log[o(0x114)](o(0x11c)+i['id']+o(0x11d)+i[o(0x11a)]+o(0x10c)+i[o(0x119)]);});let f='';const g=await Actions[n(0x12b)](n(0x115));d['forEach'](function(i){const p=n;i['id']===parseInt(g)&&(f=i[p(0x119)]);});if(!f)throw Log[n(0x10b)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const h=await Actions[n(0x116)](n(0x11f)+f+n(0x125),![]);h?(await b['deleteSecurityGroup'](f),Log[n(0x126)](n(0x10f)+f)):Log[n(0x10b)](n(0x12a)),process[n(0x12e)](0x0);}catch(i){i&&Log[n(0x10b)](i),process['exit'](0x1);}},a13e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14i=a14d;function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a14d(a,b);}function a14c(){const k=['listAllEcrRepositories','list-ecr','toString','regions','117873LECmYC','428514UynofJ','365EuSQII','3592fbQdCR','26334ZGNXLC','Completed\x20listing\x20ECR\x20repositories.','1622920ATUjlV','search','(((.+)+)+)+$','lecr','constructor','apply','create','723bIlelU','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','exit','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','7687410VagpHZ','442117XVPtfr','success','9ADTQnW'];a14c=function(){return k;};return a14c();}(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0x1ba))/0x1+parseInt(f(0x1c2))/0x2+parseInt(f(0x1ce))/0x3*(parseInt(f(0x1c4))/0x4)+parseInt(f(0x1c3))/0x5*(-parseInt(f(0x1c5))/0x6)+parseInt(f(0x1c1))/0x7+parseInt(f(0x1c7))/0x8*(-parseInt(f(0x1bc))/0x9)+parseInt(f(0x1b9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x3d3fc));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0x1cc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a[h(0x1bf)]()[h(0x1c8)](h(0x1c9))[h(0x1bf)]()[h(0x1cb)](a14a)[h(0x1c8)](h(0x1c9));});a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a14i(0x1cd)]({'name':a14i(0x1be),'aliases':[a14i(0x1ca)],'usage':a14i(0x1cf),'requiredOpts':[],'validOpts':[a14i(0x1c0)],'shortDesc':'List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','examples':['maka\x20aws:list-ecr',a14i(0x1b8),'maka\x20aws:lecr\x20--regions=all']},async function(a,b){const j=a14i;try{const {aws:c}=this;await c[j(0x1bd)](b[j(0x1c0)]),Log[j(0x1bb)](j(0x1c6)),process[j(0x1b7)](0x0);}catch(d){Log['error'](j(0x1b6)+d),process[j(0x1b7)](0x1);}},a14e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x1c3))/0x1*(parseInt(f(0x1cd))/0x2)+-parseInt(f(0x1cf))/0x3+-parseInt(f(0x1d0))/0x4+parseInt(f(0x1cc))/0x5+-parseInt(f(0x1ce))/0x6*(-parseInt(f(0x1b7))/0x7)+-parseInt(f(0x1be))/0x8+parseInt(f(0x1c7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0xa90af));const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a[h(0x1ba)]()[h(0x1bc)](h(0x1c4))[h(0x1ba)]()['constructor'](a15a)[h(0x1bc)](h(0x1c4));});function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x1b4;let f=c[d];return f;},a15d(a,b);}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(0x1b4)]({'name':a15i(0x1bb),'aliases':['rbi'],'usage':a15i(0x1b5),'validOpts':[],'shortDesc':a15i(0x1c1),'examples':[a15i(0x1b5),a15i(0x1c5)]},async function(){const j=a15i;try{const {aws:a}=this,b=await a[j(0x1cb)]();if(b?.[j(0x1c0)]===j(0x1c2)){const c=await Actions['confirm'](j(0x1b9)+b[j(0x1b6)]+j(0x1c9));c&&b[j(0x1b8)]?a[j(0x1c6)]({'instanceId':b[j(0x1b8)]}):Log[j(0x1bf)]('You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20'+b[j(0x1b6)]+j(0x1ca));}else Log[j(0x1bf)]('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}catch(d){d&&Log['error'](d),process[j(0x1bd)](0x1);}},a15e);function a15c(){const k=['toString','reboot-instance','search','exit','4353848HeVRfK','error','status','Reboot\x20an\x20EC2\x20instance','running','3ryjVlS','(((.+)+)+)+$','maka\x20aws:rbi','ec2rebootInstance','2703870rZokEd','apply','\x20Ready?','\x20is\x20still\x20running.','chooseInstance','201035LdSKvo','859902rCKkNn','36GWAtdb','2644665HolfLf','3223860DiaXRg','create','maka\x20aws:reboot-instance','name','1509270ZfcXcO','instanceId','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'];a15c=function(){return k;};return a15c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a16J=a16d;(function(a,b){const F=a16d,c=a();while(!![]){try{const d=parseInt(F(
|
|
1
|
+
const a16J=a16d;function a16c(){const L=['(((.+)+)+)+$','confirm','domain','exit','warn','Choose\x20contact\x20type','132310rKZOYX','The\x20domain\x20name:\x20','\x20years\x20(','register-domain-name','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','toString','+1.5555555555','Honolulu','maka\x20aws:register-domain-name','City\x20[Honolulu]:\x20','Domain\x20name\x20is\x20unavailable','Are\x20you\x20sure?','Duration\x20in\x20years\x20[1]:\x20','Invalid\x202\x20character\x20country\x20code','86061QAbLog','create','66PlMKRQ','COMPANY','maka\x20aws:rdn\x20--domain=example.com','Person','123\x20Glorious\x20Way','Address\x20Line\x202:\x20','options','rdn','4139509ZReIMw','1445908redsPy','ASSOCIATION','mail@example.com','Country\x20Code\x20[US]:\x20','ask','129918dipIWt','PUBLIC_BODY','\x20/\x20Year)','2204214DZOmqN','881601MLPrZt','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','+1.5555555556','error','Contact\x20Email\x20[mail@example.com]:\x20','Contact\x20First\x20Name\x20[Contact]:\x20','OrganizationName','maka\x20aws:register-domain-name\x20--domain=example.com','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','Auto\x20Renew:\x20','8TRPtkk','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','\x20for\x20','includes','constructor','apply','96816','list','My\x20Company,\x20LLC.','notice','Zip\x20Code\x20[96816]:\x20','checkDomainAvailability','values','\x20is\x20available\x20for:','63qJpRyE','State\x20[HI]:\x20','search','Do\x20you\x20wish\x20to\x20register\x20','5rAPkCh','registerDomain'];a16c=function(){return L;};return a16c();}(function(a,b){const F=a16d,c=a();while(!![]){try{const d=parseInt(F(0x1c2))/0x1+parseInt(F(0x1b4))/0x2*(parseInt(F(0x1b2))/0x3)+-parseInt(F(0x1bd))/0x4+-parseInt(F(0x19c))/0x5*(parseInt(F(0x17f))/0x6)+-parseInt(F(0x180))/0x7*(parseInt(F(0x18a))/0x8)+parseInt(F(0x198))/0x9*(-parseInt(F(0x1a4))/0xa)+parseInt(F(0x1bc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x7b69e));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a16d;if(c){const e=c[G(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const H=a16d;return a16a[H(0x1a9)]()[H(0x19a)](H(0x19e))[H(0x1a9)]()[H(0x18e)](a16a)[H(0x19a)](H(0x19e));});function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x17e;let f=c[d];return f;},a16d(a,b);}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(0x196)](CountryCode)[I(0x18d)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16J(0x1b3)]({'name':a16J(0x1a7),'aliases':[a16J(0x1bb)],'usage':a16J(0x1ac),'requiredOpts':[a16J(0x1a0)],'validOpts':[],'shortDesc':'Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','examples':[a16J(0x187),a16J(0x1b6)]},async function(a,b){const K=a16J,{aws:c}=this;try{const d=b[K(0x1a0)],{available:f,cost:g}=await c[K(0x195)](d);if(f&&g){Log[K(0x193)](K(0x1a5)+d+K(0x197));const {Price:h,Currency:i}=g;Log[K(0x1a2)]('\x20\x20'+h+'\x20'+i+'\x20/\x20Year\x20\x0a');const j=await Actions[K(0x19f)](K(0x19b)+d+'\x20?',![]);if(j){const k={'type':K(0x191),'name':'contactType','message':K(0x1a3),'choices':[K(0x1be),K(0x1b5),'PERSON',K(0x1c3),'RESELLER']},l=await Actions['ask'](K(0x1b0))||'1',m=await Actions[K(0x1c1)](K(0x185))||'Contact',n=await Actions['ask']('Contact\x20Last\x20Name\x20[Person]:\x20')||K(0x1b7),{contactType:o}=await Actions[K(0x1ba)](k),p=await Actions[K(0x1c1)](K(0x181))||K(0x1b8),q=await Actions[K(0x1c1)](K(0x1b9)),r=await Actions[K(0x1c1)](K(0x1ad))||K(0x1ab),s=await Actions['ask'](K(0x194))||K(0x190),t=await Actions[K(0x1c1)](K(0x199))||'HI',u=await Actions[K(0x1c1)](K(0x1c0))||'US',v=getCountryCodeEnum(u);if(!v)throw Log[K(0x183)](K(0x1b1));const w=await Actions[K(0x1c1)]('Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20')||K(0x1aa),x=await Actions['ask'](K(0x1a8))||K(0x182),y=await Actions[K(0x1c1)](K(0x184))||K(0x1bf),z=await Actions[K(0x19f)](K(0x189)),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[K(0x1c1)](K(0x18b))||K(0x192);A[K(0x186)]=D;}const B=h||0x0*parseInt(l);Log[K(0x193)](K(0x188)),Log[K(0x1a2)](B+'\x20'+i+K(0x18c)+l+K(0x1a6)+h+'\x20'+i+K(0x17e));const C=await Actions['confirm'](K(0x1af));C&&await c[K(0x19d)](A,d,parseInt(l),z);}}else throw K(0x1ae);}catch(E){E&&Log[K(0x183)](E),process[K(0x1a1)](0x0);}},a16e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d
|
|
1
|
+
const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(0x122))/0x1*(parseInt(h(0x12c))/0x2)+-parseInt(h(0x11d))/0x3+-parseInt(h(0x121))/0x4*(parseInt(h(0x131))/0x5)+parseInt(h(0x134))/0x6*(-parseInt(h(0x118))/0x7)+parseInt(h(0x123))/0x8+parseInt(h(0x12d))/0x9+parseInt(h(0x12e))/0xa*(parseInt(h(0x128))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0x70208));const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a['toString']()[j(0x125)](j(0x135))['toString']()[j(0x127)](a17a)[j(0x125)]('(((.+)+)+)+$');});a17a();import a17e from'./aws.command.js';import{Command}from'../../command.js';function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x116;let f=c[d];return f;},a17d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a17c(){const n=['31171dvrzRM','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','rkp','ask','Not\x20deleting\x20keypair','2593200QCWfZS','Please\x20choose\x20a\x20key\x20to\x20delete:','create','error','20qIwFql','26060nJpOQP','6285408RmXxMi','maka\x20aws:rkp','search','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','constructor','7367404VlqUHJ','\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','Deleted\x20','exit','54mYpoUa','7855434DNrtWU','30MxheKp','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','maka\x20aws:remove-key-pair','887945oRbSiI','confirm','Deleting\x20a\x20','1014BszFiA','(((.+)+)+)+$','deleteKeyPair','apply','forEach','name'];a17c=function(){return n;};return a17c();}Command[a17k(0x11f)]({'name':'remove-key-pair','aliases':[a17k(0x11a)],'usage':'maka\x20aws:remove-key-pair','validOpts':[],'shortDesc':a17k(0x119),'description':a17k(0x129),'examples':[a17k(0x130),a17k(0x124)]},async function(){const l=a17k,{aws:a}=this;try{const b=await a['ec2describeKeys']();let c=undefined;const d=await Actions[l(0x11b)](l(0x11e));b?.[l(0x116)](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0x117)]);});if(!c)throw Log[l(0x120)](l(0x126));const f=await Actions[l(0x132)](l(0x133)+c+l(0x12f),![]);f?(await a[l(0x136)](c),Log['success'](l(0x12a)+c)):Log['error'](l(0x11c)),process[l(0x12b)](0x0);}catch(g){g&&Log[l(0x120)](g),process['exit'](0x1);}},a17e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18p=a18d;(function(a,b){const n=a18d,c=a();while(!![]){try{const d=-parseInt(n(0x195))/0x1+-parseInt(n(0x17c))/0x2+parseInt(n(0x17d))/0x3*(-parseInt(n(0x176))/0x4)+parseInt(n(0x170))/0x5*(-parseInt(n(0x16b))/0x6)+parseInt(n(0x166))/0x7*(parseInt(n(0x16d))/0x8)+parseInt(n(0x186))/0x9*(parseInt(n(0x194))/0xa)+parseInt(n(0x18a))/0xb*(parseInt(n(0x171))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0xcd365));const a18b=(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;};}()),a18a=a18b(this,function(){const o=a18d;return a18a[o(0x175)]()[o(0x167)](o(0x17f))['toString']()[o(0x16c)](a18a)[o(0x167)](o(0x17f));});a18a();function a18c(){const r=['private','maka\x20aws:set-host\x20--env\x20dev','getEnvFromShorthand','60tvIohB','587317wEjtbK','getAppConfigPath','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','988561MTGJmM','search','sep','chooseInstance','host','30mZNMCG','constructor','24rPDFOS','template','stringify','920435HTEcps','32763864QMOEDE','exit','maka\x20aws:sth\x20--env\x20prod','join','toString','48JKQebw','readFileSync','isFile','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','appName','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','1714952nPWtdN','326283WjeJdQ','\x20IP\x20to\x20','(((.+)+)+)+$','sth','success','fsi','env','ssh.json','set-host','2035377jJDqaC','public','inherit','cat\x20','11gIbECy','error','privateIp','scaffold','publicIp','parse','create'];a18c=function(){return r;};return a18c();}import a18e from'path';import a18f from'fs';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0x166;let f=c[d];return f;},a18d(a,b);}import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a18p(0x190)]({'name':a18p(0x185),'aliases':[a18p(0x180)],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':[a18p(0x183)],'validOpts':[],'shortDesc':a18p(0x197),'description':'\x0a\x20\x20Get\x20a\x20list\x20of\x20AWS\x20EC2\x20instances\x20running,\x20and\x20choose\x20a\x20public\x20or\x20private\x20IP\x20to\x0a\x20\x20set\x20the\x20specified\x20environment\x27s\x20ssh.json\x20file\x20to\x20point\x20to\x20that\x20IP.\x0a\x20\x20','examples':[a18p(0x192),a18p(0x173)]},async function(a,b){const q=a18p,{projectConfig:c,aws:d,cfg:f}=this;try{const g=f[q(0x193)](b[q(0x183)]),h=f[q(0x196)](g),i=await d[q(0x169)](),j=a18e[q(0x174)](h,q(0x184));!this[q(0x182)][q(0x178)](j)&&await this[q(0x18d)][q(0x16e)]({'srcPath':'config/ssh.json','destPath':j,'context':{'app':c[q(0x17a)]},'config':c});const k=JSON[q(0x18f)](a18f[q(0x177)](j,'utf8')),l=await Actions['ask'](q(0x17b))||q(0x187);if(l){if(l==='public'||l==='private'){if(l===q(0x187))k[q(0x16a)]=i?.[q(0x18e)];else l===q(0x191)&&(k['host']=i?.[q(0x18c)]);}else throw q(0x179);}else k['host']=i?.['privateIp'];a18f['writeFileSync'](a18e[q(0x174)](h,q(0x184)),JSON[q(0x16f)](k,null,0x2)),execSync(q(0x189)+a18e['join'](h,q(0x184)),{'stdio':q(0x188)}),Log[q(0x181)]('\x0aSaved\x20host\x20'+l+q(0x17e)+h+a18e[q(0x168)]+q(0x184));}catch(m){m&&Log[q(0x18b)](m),process[q(0x172)](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(0x13c))/0x1*(parseInt(f(0x146))/0x2)+parseInt(f(0x144))/0x3*(parseInt(f(0x13d))/0x4)+parseInt(f(0x138))/0x5+parseInt(f(0x139))/0x6+-parseInt(f(0x133))/0x7+parseInt(f(0x140))/0x8*(-parseInt(f(0x134))/0x9)+parseInt(f(0x12d))/0xa*(parseInt(f(0x12c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0xa1a6b));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0x13b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a[h(0x13a)]()['search'](h(0x13e))[h(0x13a)]()['constructor'](a19a)[h(0x143)](h(0x13e));});function a19c(){const k=['9ENYASU','maka\x20aws:terminate-instance','chooseInstance','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','3746360tiMEng','692952GKkOJl','toString','apply','8981cBadPt','2755060IDLwXE','(((.+)+)+)+$','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','7693808ynNeen','running','name','search','3KrHKpl','exit','162ZcyVjK','error','maka\x20aws:ti','ec2terminateInstance','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','terminate-instance','11VFbzIk','4577810wtFsQg','instanceId','\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','create','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','\x20Ready?','7804454dGbRgH'];a19c=function(){return k;};return a19c();}a19a();import a19e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0x12b;let f=c[d];return f;},a19d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';Command[a19i(0x130)]({'name':a19i(0x12b),'aliases':['ti'],'usage':'maka\x20aws:terminate-instance','validOpts':[],'shortDesc':'Terminate\x20an\x20EC2\x20instance','description':a19i(0x12f),'examples':[a19i(0x135),a19i(0x148)]},async function(){const j=a19i,{aws:a}=this;try{const b=await a[j(0x136)]();if(b?.[j(0x12e)]&&b?.['status']===j(0x141)){const c=await Actions['confirm'](j(0x13f)+b['name']+j(0x132));c?a[j(0x149)]({'instanceId':b[j(0x12e)]}):Log['error'](j(0x137)+b[j(0x142)]+j(0x131));}else Log[j(0x147)](j(0x14a));}catch(d){d&&Log[j(0x147)](d),process[j(0x145)](0x1);}},a19e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x150;var f=c[d];return f;},a20d(a,b);}(function(a,b){var f=a20d,c=a();while(!![]){try{var d=-parseInt(f(0x159))/0x1+parseInt(f(0x15a))/0x2*(-parseInt(f(0x150))/0x3)+-parseInt(f(0x157))/0x4+-parseInt(f(0x15c))/0x5*(-parseInt(f(0x15b))/0x6)+-parseInt(f(0x158))/0x7+parseInt(f(0x15d))/0x8+parseInt(f(0x156))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0xafcaa));var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a[h(0x152)]()[h(0x153)](h(0x155))['toString']()[h(0x151)](a20a)[h(0x153)](h(0x155));});a20a();import'./build.js';import'./docker.sub.cmd.js';function a20c(){var i=['16804440CDdXxT','209020MbjGkk','8369214wdNzQN','624622UUhupp','778158vEQDkF','12PsLWTZ','2039210BzCPxK','2390048DOueRS','3VQHnAk','constructor','toString','search','apply','(((.+)+)+)+$'];a20c=function(){return i;};return a20c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a21v=a21d;(function(a,b){const s=a21d,c=a();while(!![]){try{const d=parseInt(s(
|
|
1
|
+
const a21v=a21d;(function(a,b){const s=a21d,c=a();while(!![]){try{const d=parseInt(s(0x1bc))/0x1+-parseInt(s(0x1b4))/0x2*(parseInt(s(0x1a0))/0x3)+-parseInt(s(0x1c5))/0x4+parseInt(s(0x1b0))/0x5*(parseInt(s(0x1ab))/0x6)+-parseInt(s(0x1a5))/0x7*(-parseInt(s(0x1c6))/0x8)+parseInt(s(0x1c7))/0x9+-parseInt(s(0x1b8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x61837));const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a21d;if(c){const e=c[t(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const u=a21d;return a21a[u(0x1c3)]()[u(0x1bf)](u(0x1be))[u(0x1c3)]()['constructor'](a21a)[u(0x1bf)]('(((.+)+)+)+$');});function a21c(){const y=['This\x20project\x27s\x20meteor\x20version\x20(','splice','34uosCkL','create','error',').\x20Update?','3281470ECzHwW','build','existsSync','inherit','53161ByDKOK','slice','(((.+)+)+)+$','search','confirm','\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',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','toString','notice','729476yYfnPs','8XEnwNO','436779keEFGQ','apply','join','maka\x20install\x20--force','update','maka\x20build','67812AzsRPv','Meteor\x20is\x20installed.','force','autoupdate','getGlobalMeteorVersion','3414649PtCJVt','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','--force','invokeMeteorCommand','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','isMeteorInstalled','24300Qixpqm','checkMeteorPackage','forEach','findProjectDirectory','--release','870NubiuW','concat'];a21c=function(){return y;};return a21c();}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';function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a21d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a21v(0x1b5)]({'name':a21v(0x1b9),'usage':a21v(0x1cc),'validOpts':[a21v(0x1a2)],'aliases':['b'],'shortDesc':'Build\x20your\x20application\x20into\x20the\x20build\x20folder.','mustBeInMakaProject':!![],'description':a21v(0x1c1),'examples':[a21v(0x1cc)]},async function(a,b){const w=a21v,{mpi:c,fsi:d,pkg:f}=this;try{c[w(0x1aa)]()?Log[w(0x1c4)](w(0x1a1)):(Log['warn'](w(0x1a9)),execSync(w(0x1ca),{'stdio':w(0x1bb)}));await f[w(0x1ac)](w(0x1a3),{'shouldInstall':!![]});const g=b[w(0x1a2)];if(!g)try{const k=c[w(0x1a4)](),l=d['getProjectMeteorVersion'](),m=a21g['gt'](k,l);if(m){const n=await Actions[w(0x1c0)](w(0x1b2)+l+w(0x1c2)+k+w(0x1b7));n&&c[w(0x1a8)](w(0x1cb),[w(0x1af),k]);}}catch(o){Log[w(0x1b6)]('Failed\x20to\x20check\x20or\x20update\x20Meteor\x20version:\x20'+o);}const h=[d['pathFromProject']({'pathParts':[w(0x1b9)]})][w(0x1b1)](process['argv'][w(0x1bd)](0x3)),i=d[w(0x1ae)](),j=a21e[w(0x1c9)](i,w(0x1b9),'app.tar.gz');if(a21f[w(0x1ba)](j)){const p=g??await Actions[w(0x1c0)](w(0x1a6));if(!p)throw Log['error']('Aborted.');}h[w(0x1ad)]((q,r)=>{const x=w;q===x(0x1a7)&&h[x(0x1b3)](r,0x2);}),this['mpi'][w(0x1a8)]('build',h);}catch(q){console['error'](q),process['exit'](0x0);}});export default BuildCommand;
|