@maka/maka-cli 5.0.1 → 5.0.2
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/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/react/component/component.js.jsx +1 -1
- package/bundle/obf/src/templates/react/component/component.js.tsx +1 -1
- package/bundle/obf/src/templates/react/hook/hook.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/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +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.2",
|
|
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 a0q=a0d;
|
|
1
|
+
const a0q=a0d;function a0c(){const A=['light','toString','match','(((.+)+)+)+$','maxOptsLength','Please\x20run\x20\x22maka\x20login\x22','localeCompare','options','mustBeInMakaProject','Please\x20run\x20\x22maka\x20install\x20meteor\x22','mustHaveMeteorInstalled','440323IFrsfe','maybeProxyCommandToMeteor','invoke','keys','Alias','validateMakaProject','push','Command.create\x20requires\x20some\x20options!','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','notice','search','minArgLength','_commands','fsi','bright','processAndRunCommand','constructor','create','play','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','experimental','number','function','slice','Command\x20requires\x20a\x20name','addCommand','murder','validateParams','1153002jpbnBs','Command\x20','Description','6578073BXxxxK','join','unshift','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','124PxrUPm','exit','pallet','generate','aliases','find','Too\x20few\x20options','call','bind','45888wFnOBh','Command.create\x20requires\x20a\x20handler\x20function!','\x20not\x20found','512494QWqFYW','validateUserIsLoggedIn','addCommand\x20requires\x20a\x20Command\x20instance','7DQCNGW','usage','assign','shortDesc','Too\x20few\x20arguments','2025460mQFOaL','error','There\x20is\x20no\x20Meteor\x20application\x20here','apply','forEach','DARK','Too\x20many\x20arguments','minOptsLength','623472YkrTcT','_handler','run','Command\x20not\x20found','name','length','tableList'];a0c=function(){return A;};return a0c();}(function(a,b){const n=a0d,c=a();while(!![]){try{const d=parseInt(n(0x1d0))/0x1+parseInt(n(0x1ae))/0x2+-parseInt(n(0x1ab))/0x3*(-parseInt(n(0x1a2))/0x4)+-parseInt(n(0x1b6))/0x5+parseInt(n(0x19b))/0x6*(parseInt(n(0x1b1))/0x7)+parseInt(n(0x1be))/0x8+-parseInt(n(0x19e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x4a6da));function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x193;let f=c[d];return f;},a0d(a,b);}const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x1c6)]()[p(0x1da)](p(0x1c8))[p(0x1c6)]()[p(0x1e0)](a0a)['search'](p(0x1c8));});a0a();import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';let _prevCmd='';export class Command extends Tool{[a0q(0x1cc)];[a0q(0x1dc)];constructor(a,b){const r=a0q;super();if(!a)throw new Error(r(0x1e3));if(!a['name'])throw new Error(r(0x197));if(typeof b!==r(0x195))throw new Error('Command\x20requires\x20a\x20handler\x20function');this[r(0x1cc)]=Object['assign']({},a),this['name']=this[r(0x1cc)][r(0x1c2)],this[r(0x1dc)]=[],this['_handler']=b[r(0x1aa)](this);}static[a0q(0x1e1)](a,b,c){const s=a0q;if(!a)throw new Error(s(0x1d7));if(typeof b!=='function')throw new Error(s(0x1ac));const d=new Command(a,b);return c=c||a0f,Object[s(0x1b3)](d,{'parent':c?.[s(0x1cc)]?.[s(0x1c2)]}),c['addCommand'](d),d;}[a0q(0x198)](a){const t=a0q;if(!(a instanceof Command))throw new Error(t(0x1b0));this['_commands']['push'](a);}async[a0q(0x1c0)](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this[u(0x1dd)]['getGlobalConfig'](),d=c[u(0x1a4)]===u(0x1c5)?ColorMode['LIGHT']:ColorMode[u(0x1bb)];Log['setColorMode'](d);}catch(f){Log[u(0x1b7)](f),process[u(0x1a3)](0x0);}return await this[u(0x1d2)](a,b);}catch(g){process[u(0x1a3)](0x1);}}async['invoke'](a,b){const v=a0q,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[v(0x1cc)];try{if(this[v(0x1cc)]['name']!==v(0x1a5)){if(!isRoot){const g=(a[0x0]===_prevCmd||a[v(0x1c3)]===0x0)&&this[v(0x1dc)][v(0x1c3)]>=0x0,h=b['help']||b['h'];if(g&&h){if(this['_commands'][v(0x1c3)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this['options'][v(0x1cd)]){const i=this[v(0x1d5)]();if(!i)throw new MustBeInProjectError();}if(this[v(0x1cc)]['mustBeLoggedIn']){const j=await this[v(0x1af)]();if(!j)throw new MustBeLoggedIn();}if(this[v(0x1cc)][v(0x1cf)]){const k=this['validateMeteorInstall']();if(!k)throw new NoMeteorFoundError();}if(typeof this['options'][v(0x1db)]===v(0x194)){if(a[v(0x1c3)]<this[v(0x1cc)][v(0x1db)]){Log[v(0x1b7)](v(0x1b5));throw new UsageError();}}if(typeof this['options']['maxArgLength']===v(0x194)){if(a['length']>=this[v(0x1cc)]['maxArgLength']){Log[v(0x1b7)](v(0x1bc));throw new UsageError();}}if(typeof this[v(0x1cc)][v(0x1bd)]===v(0x194)){if(Object[v(0x1d3)](b)[v(0x1c3)]<this[v(0x1cc)][v(0x1bd)]){Log['error'](v(0x1a8));throw new UsageError();}}if(typeof this['options']['maxOptsLength']==='number'){if(Object[v(0x1d3)](b)[v(0x1c3)]>=this['options'][v(0x1c9)]){Log['error']('Too\x20many\x20options');throw new UsageError();}}}}b=await this[v(0x19a)](a,b,this[v(0x1cc)]),_prevCmd=a[0x0];}return await this[v(0x1bf)][v(0x1a9)](this,a,b);}catch(l){Log[v(0x1b2)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[v(0x1d9)]('Sub-Commands:'),this[v(0x1c4)](this[v(0x1dc)]),Log['header']('Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details');else{if(l instanceof MustBeInProjectError)Log[v(0x1b7)](v(0x1a1));else{if(l instanceof NoMeteorFoundError)Log['error']('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[v(0x1d9)](v(0x1ce));else{if(l instanceof NoMeteorAppFoundError)Log[v(0x1b7)](v(0x1b8));else l instanceof MustBeLoggedIn&&(Log['error'](v(0x1d8)),Log['notice'](v(0x1ca)));}}}process[v(0x1a3)](0x1);}}['tableList'](a){const w=a0q,b=new a0e({});b[w(0x1d6)](['Name',w(0x1d4),w(0x19d)]),a['sort']((c,d)=>{const x=w;return c[x(0x1c2)][x(0x1cb)](d[x(0x1c2)]);})[w(0x1ba)](c=>{const y=w;if(c[y(0x1c2)]!==y(0x199)&&c[y(0x1c2)]!==y(0x1e2)){const d=c[y(0x193)](),e=d?'(expermiental)\x20'+c['shortDesc']():c[y(0x1b4)]();b['push']([c['name'],c[y(0x1a6)](),e]);}}),Log[w(0x1de)](b[w(0x1c6)]());}async[a0q(0x1df)](a,b=[],c={}){const z=a0q;try{const d=a?.['split'](':');if(!d||d[z(0x1c3)]===0x0)throw'Command\x20format\x20is\x20incorrect';if(d[0x0]===z(0x1a5)||d[0x0]==='g'&&d[z(0x1c3)]>0x1){const h=this[z(0x1dc)][z(0x1a7)](j=>j['match']('generate'));if(!h)throw'Command\x20not\x20found';const i=d[z(0x196)](0x1)[z(0x19f)](':');return b[z(0x1a0)](i),await h['run'](b,c);}let f=this['_commands'],g;for(const j of d){g=f[z(0x1a7)](k=>k[z(0x1c7)](j));if(!g)try{await this[z(0x1dd)][z(0x1d1)]();}catch(k){throw z(0x19c)+j+z(0x1ad);}g&&(f=g[z(0x1dc)]);}if(g){const l=await g[z(0x1c0)](b,c);return l;}else throw z(0x1c1);}catch(m){Log['error'](m),process[z(0x1a3)](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(0xaa))/0x1*(-parseInt(f(0xb6))/0x2)+parseInt(f(0xab))/0x3*(parseInt(f(0xae))/0x4)+-parseInt(f(0xb0))/0x5+-parseInt(f(0xac))/0x6*(-parseInt(f(0xb3))/0x7)+-parseInt(f(0xaf))/0x8+parseInt(f(0xb4))/0x9+parseInt(f(0xad))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x6f2fc));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var g=a1d;return a1a[g(0xb1)]()[g(0xb5)](g(0xa9))[g(0xb1)]()[g(0xb2)](a1a)['search'](g(0xa9));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./deploy/_index.js';import'./run/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';function a1c(){var h=['16hUgmDM','(((.+)+)+)+$','27529HFjreh','3spsuRS','1770FfdPTl','10586320xcKont','799012JooxQP','5938408YhTIEB','4331630OuLRkJ','toString','constructor','16310VwuxVY','3046896rEffja','search'];a1c=function(){return h;};return a1c();}import'./ssh.js';import'./ssl.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xa9;var f=c[d];return f;},a1d(a,b);}import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./register.js';import'./patreon.js';import'./profile.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=parseInt(h(0x133))/0x1+-parseInt(h(0x13b))/0x2*(-parseInt(h(0x129))/0x3)+-parseInt(h(0x127))/0x4+-parseInt(h(0x149))/0x5+parseInt(h(0x137))/0x6*(-parseInt(h(0x12b))/0x7)+parseInt(h(0x139))/0x8*(parseInt(h(0x140))/0x9)+parseInt(h(0x12d))/0xa*(parseInt(h(0x123))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x5ce26));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a['toString']()[j(0x143)](j(0x134))[j(0x13c)]()[j(0x13f)](a2a)['search']('(((.+)+)+)+$');});a2a();function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x122;let f=c[d];return f;},a2d(a,b);}import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';import a2e from'readline';function a2c(){const o=['2162955bcqTNO','cacert','isFile','choices','close','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','5258tvHKky','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','error','Using\x20CA\x20Cert\x20','1983708WURAhY','trim','1182189JiafYh','openapikey','5315289laCmYP','You:\x20','20730ZnBGhi','question','ChatGPT\x20style\x20AI\x20interface','apply','data','cert','272393BVDyKJ','(((.+)+)+)+$','message','notice','6hdmwTK','createInterface','72xBEaHC','exit','2ExLgqZ','toString','stdin','fsi','constructor','410949NpeGJN','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','search','openai','bright','create','stdout','GPT:\x20'];a2c=function(){return o;};return a2c();}const startChat=async({openApiKey:a,caCertPath:b})=>{const k=a2d,c=a2e[k(0x138)]({'input':process[k(0x13d)],'output':process[k(0x147)]});c[k(0x12e)](k(0x12c),async d=>{const l=k;if(d['toLowerCase']()==='exit'){c[l(0x14d)]();return;}try{const e=await HTTPS['askGPT']({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON['parse'](e[l(0x131)]);if(f[l(0x125)])throw new Error(f[l(0x125)][l(0x135)]);Log[l(0x145)](l(0x148)+f?.[l(0x14c)][0x0]?.['text'][l(0x128)]());}catch(g){Log['error'](g),process[l(0x13a)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2m(0x146)]({'name':'ai','description':'ChatGPT\x20style\x20AI\x20interface','validOpts':[a2m(0x14a),a2m(0x12a)],'shortDesc':a2m(0x12f),'isPro':!![]},async function(a,b){const n=a2m;try{let c='';b['cacert']&&(this[n(0x13e)][n(0x14b)](b[n(0x14a)])?(c=b['cacert'],Log['notice'](n(0x126)+c)):Log[n(0x125)](n(0x142)+c));const d=await this['fsi']['getGlobalConfig']();if(d[n(0x132)]){if(this[n(0x13e)][n(0x14b)](d[n(0x132)]))c=d[n(0x132)];else throw Log[n(0x125)](n(0x122)+c);}let f='';if(b[n(0x12a)])f=b['openapikey'],Log[n(0x136)]('Using\x20OpenAI\x20Key\x20'+f);else{if(d[n(0x144)])f=d[n(0x144)];else throw Log[n(0x125)](n(0x124));}Log[n(0x145)](n(0x141)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console['error'](g),process[n(0x13a)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(0xda))/0x1+parseInt(f(0xd6))/0x2*(parseInt(f(0xd3))/0x3)+-parseInt(f(0xdb))/0x4+-parseInt(f(0xd2))/0x5*(parseInt(f(0xdc))/0x6)+-parseInt(f(0xdf))/0x7*(-parseInt(f(0xd8))/0x8)+-parseInt(f(0xd4))/0x9+parseInt(f(0xd5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x348b5));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0xd7)]()['search'](h(0xde))[h(0xd7)]()['constructor'](a3a)[h(0xdd)]('(((.+)+)+)+$');});a3a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dkp.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0xd2;var f=c[d];return f;},a3d(a,b);}import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';import'./lecr.sub.cmd.js';function a3c(){var i=['792BoEcsT','3052233IonMrs','10891370JnWDja','1086bYRyHc','toString','8HjzNRe','apply','324341DtgnVQ','1424348hmyTkY','77874zaYZEx','search','(((.+)+)+)+$','924609vGxGKt','50GlbUgP'];a3c=function(){return i;};return a3c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4i=a4d;function a4c(){const j=['10srbLfv','search','toString','(((.+)+)+)+$','180kkACzV','constructor','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','26993MVeDPb','99335vrsEVF','1095564OTnEvh','2142440uaBknU','apply','1005056FYmPsJ','430KIAojs','39654EHuiPU','3351068jLgJqb'];a4c=function(){return j;};return a4c();}(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0x17f))/0x1*(-parseInt(f(0x178))/0x2)+parseInt(f(0x181))/0x3+-parseInt(f(0x184))/0x4+-parseInt(f(0x180))/0x5*(parseInt(f(0x17c))/0x6)+parseInt(f(0x177))/0x7+parseInt(f(0x182))/0x8+-parseInt(f(0x186))/0x9*(-parseInt(f(0x185))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x4ddd8));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0x17a)]()[h(0x179)]('(((.+)+)+)+$')[h(0x17a)]()[h(0x17d)](a4a)[h(0x179)](h(0x17b));});a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command['create']({'name':'aws','usage':'maka\x20aws:<sub-command>','validOpts':[],'shortDesc':'Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','description':a4i(0x17e)},async function(){throw UsageError;});function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x177;let f=c[d];return f;},a4d(a,b);}export default AWSCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a5j=a5d;(function(a,b){const g=a5d,c=a();while(!![]){try{const d=-parseInt(g(
|
|
1
|
+
function a5c(){const l=['Repository\x20created\x20successfully.','494695TWtefa','4SIAIWR','10aUSJvP','repository','constructor','toString','6584120eVAMnK','487123JwYAGA','255918gAxtcO','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','maka\x20aws:cecr\x20--name=my-new-repo','ecrCreateRepository','region','$metadata','repositoryUri','httpStatusCode','success','error','4LFmkGJ','Repository\x20URI:\x20','exit','6306120vciQDQ','notice','7833504EpwCnM','Create\x20an\x20Elastic\x20Container\x20Repository','maka\x20aws:create-ecr','(((.+)+)+)+$','apply','search','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','3281283TeYuZG','cecr'];a5c=function(){return l;};return a5c();}const a5j=a5d;(function(a,b){const g=a5d,c=a();while(!![]){try{const d=-parseInt(g(0x166))/0x1*(-parseInt(g(0x160))/0x2)+-parseInt(g(0x167))/0x3+-parseInt(g(0x150))/0x4*(-parseInt(g(0x15f))/0x5)+-parseInt(g(0x153))/0x6+parseInt(g(0x155))/0x7+-parseInt(g(0x165))/0x8+-parseInt(g(0x15c))/0x9*(-parseInt(g(0x161))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x91dff));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a5d;if(c){const e=c[h(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const i=a5d;return a5a[i(0x164)]()[i(0x15a)](i(0x158))['toString']()[i(0x163)](a5a)[i(0x15a)](i(0x158));});a5a();import a5e from'./aws.command.js';import{Command}from'../../command.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x14f;let f=c[d];return f;},a5d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'create-ecr','aliases':[a5j(0x15d)],'usage':a5j(0x157),'requiredOpts':['name'],'validOpts':[a5j(0x16b)],'shortDesc':a5j(0x156),'examples':['maka\x20aws:create-ecr\x20--name=my-new-repo',a5j(0x169),a5j(0x15b)]},async function(a,b){const k=a5j;try{const c=new AWS(),d=await c[k(0x16a)](b);d&&d[k(0x16c)][k(0x16e)]===0xc8&&d[k(0x162)]?(Log[k(0x16f)](k(0x15e)),Log[k(0x154)](k(0x151)+d['repository'][k(0x16d)])):Log[k(0x14f)](k(0x168)),process[k(0x152)](0x0);}catch(f){Log['error'](f),process[k(0x152)](0x1);}},a5e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d
|
|
1
|
+
const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d=parseInt(i(0xa9))/0x1*(-parseInt(i(0xc1))/0x2)+-parseInt(i(0xc2))/0x3+-parseInt(i(0xba))/0x4*(parseInt(i(0xb8))/0x5)+-parseInt(i(0xbd))/0x6*(-parseInt(i(0xbc))/0x7)+-parseInt(i(0xb0))/0x8+parseInt(i(0xb7))/0x9+-parseInt(i(0xae))/0xa*(-parseInt(i(0xaf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x4a1a6));function a6c(){const n=['exit','search','toString','1UgpAaO','chooseInstance','Instance\x20not\x20found','maka\x20aws:chz\x20--domain=example.com','route53CreateHostedZone','5686210gHwEej','22NvnWCw','3640024JrPjnW','confirm','error','maka\x20aws:create-hosted-zone\x20--domain=example.com','constructor','create','publicIp','1695861sPLvJn','215XNnlXw','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','29068POQRpE','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','7WNusjq','1190202ceXWxD','domain','(((.+)+)+)+$','apply','450178CDhweN','683817aCxbqq'];a6c=function(){return n;};return a6c();}const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a6d;if(c){const e=c[j(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const k=a6d;return a6a[k(0xc5)]()[k(0xc4)](k(0xbf))[k(0xc5)]()[k(0xb4)](a6a)[k(0xc4)](k(0xbf));});a6a();import a6e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0xa9;let f=c[d];return f;},a6d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a6l(0xb5)]({'name':'create-hosted-zone','aliases':['chz'],'usage':'maka\x20aws:create-hosted-zone','requiredOpts':[a6l(0xbe)],'validOpts':[],'shortDesc':a6l(0xbb),'examples':[a6l(0xb3),a6l(0xac)]},async function(a,b){const m=a6l;try{const c=b[m(0xbe)],d=new AWS();d[m(0xad)](c);const f=await Actions[m(0xb1)]('Set\x20hosted\x20zone\x20to\x20an\x20instance?');if(f){const g=await d[m(0xaa)]();if(g?.['id']){if(!g['publicIp'])throw Log[m(0xb2)](m(0xb9));d['linkEC2ToRoute53'](g['id'],g[m(0xb6)],c);}else throw m(0xab);}}catch(h){h&&Log[m(0xb2)](h),process[m(0xc3)](0x0);}},a6e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(
|
|
1
|
+
const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(0x185))/0x1+parseInt(Y(0x18e))/0x2*(parseInt(Y(0x189))/0x3)+parseInt(Y(0x17a))/0x4+-parseInt(Y(0x16c))/0x5+parseInt(Y(0x188))/0x6+parseInt(Y(0x190))/0x7+-parseInt(Y(0x165))/0x8*(parseInt(Y(0x17f))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x6c2c7));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a['toString']()[a0(0x168)]('(((.+)+)+)+$')['toString']()['constructor'](a7a)[a0(0x168)](a0(0x19e));});a7a();import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Command}from'../../command.js';function a7c(){const a3=['Web\x20App','split','(((.+)+)+)+$','ec2describeKeys','Remove\x20the\x20keypair\x20','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','\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?','ec2createSG','confirm','No\x20instance\x20has\x20been\x20created.','User\x20Data:','**\x20Available\x20key-pairs\x20**','Instance\x20Count:\x20','success','Remove\x20the\x20security\x20group\x20','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','232SjULuh','env','Please\x20choose\x20a\x20key\x20to\x20use:\x20','search','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','created-by','t3.micro','3770915HXxfZE','22,80,443','name','maka\x20aws:create-instance','Security\x20Group\x20Name:\x20[','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','EC2\x20Name:\x20[','Name','maka-cli','fsi','number','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','ask','1646484dpIQqk','Subnet:\x20','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','apply','ec2create','325728NskcpN','deleteSecurityGroup','notice','Create\x20new\x20AWS\x20instance','Instace\x20Type:\x20','maka\x20aws:create-instance\x20--env\x20dev','100459TVEpcZ','1:1','error','3434646pjJLNR','159dGlgCQ','string','ImageID:','Key-Pair:\x20','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','18154FuYaAL','Creating\x20user\x20data\x20file\x20in\x20','6175022IPpsSt','getEnvFromShorthand','environment','join','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','Setting\x20the\x20key-pair\x20to:\x20','listAvailableAMIs','exit','unlinkSync','getSubnetCidr','create','bright'];a7c=function(){return a3;};return a7c();}import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x15a;let f=c[d];return f;},a7d(a,b);}Command[a7a1(0x19a)]({'name':'create-instance','aliases':['ci'],'usage':a7a1(0x16f),'examples':[a7a1(0x184),'maka\x20aws:ci\x20--env\x20prod'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a1(0x166)}],'validOpts':[],'shortDesc':a7a1(0x182),'description':a7a1(0x15a)},async function(a,b){const a2=a7a1;try{const c=this['fsi']['getMakaProjectConfig'](),d=new AWS(),f=new FSI(),{appName:g}=c,h=this[a2(0x176)][a2(0x191)](b[a2(0x166)]),i=this[a2(0x176)]['getAppConfigPath'](h),j=g+'-'+h,k=await Actions[a2(0x179)](a2(0x173)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0x15d)](a2(0x17c),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await d['createKeyPair']({'env':h});r=y,s=z,Log[a2(0x162)]('Setting\x20the\x20key-pair\x20to:\x20'+r);}else try{Log['notice'](a2(0x160));const A=r?r:k,B=await d[a2(0x19f)]({'suggestion':A}),C=await Actions[a2(0x179)](a2(0x167))||'-1';if(parseInt(C)<0x0){Log[a2(0x187)](a2(0x178)),Log[a2(0x181)](a2(0x15e));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a2(0x16e)],Log[a2(0x162)](a2(0x195)+r);break;}}}catch(E){Log[a2(0x187)](E);}l=await d['chooseVPC']();const t=await Actions[a2(0x15d)](a2(0x169),!![]);let u;if(t){const F=l===''?await d['chooseVPC']():l;u=await Actions[a2(0x179)](a2(0x170)+k+']')||k;const G=await Actions[a2(0x179)](a2(0x18d))||a2(0x16d),H=G[a2(0x19d)](',');await d[a2(0x15c)]({'description':a2(0x19c),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await d['chooseSecurityGroup'](u),n=await d[a2(0x196)](),p=await d['listAvailableSubnets']();const v=0x1,w=0x1;try{const I=await Actions['ask'](a2(0x194))||a2(0x186),J=I['split'](':')[0x0],K=I[a2(0x19d)](':')[0x1];typeof parseInt(J)===a2(0x177)&&typeof parseInt(K)===a2(0x177)&&Log[a2(0x162)]('Setting\x20the\x20number\x20of\x20instances\x20to:\x20'+J+':'+K);}catch(L){Log['error'](L);}try{const M=await Actions[a2(0x179)]('What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]')||a2(0x16b);typeof M===a2(0x18a)&&(o=M);}catch(N){Log['error'](N);}let x='';try{const O=await Actions[a2(0x15d)](a2(0x15b),![]);O&&(x=a7f[a2(0x193)](i,'user-data'),Log[a2(0x181)](a2(0x18f)+x),await this[a2(0x176)]['createFile']({'filePath':x,'data':''}),await Actions['confirm']('Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?'));}catch(P){Log['error'](P);}try{const Q=await d[a2(0x199)](p);Log['notice'](a2(0x18b)+n),Log[a2(0x181)](a2(0x161)+v+':'+w),Log[a2(0x181)](a2(0x183)+o),Log['notice'](a2(0x18c)+r),Log[a2(0x181)]('Security\x20Group:\x20'+m),Log['notice'](a2(0x17b)+Q);if(x){Log[a2(0x181)](a2(0x15f)+x);const S=a7g['readFileSync'](x)['toString']();Log[a2(0x181)](S);}const R=await Actions[a2(0x15d)](a2(0x1a1));if(R){const T=await d[a2(0x17e)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a2(0x16a),'Value':a2(0x175)},{'Key':a2(0x192),'Value':h},{'Key':a2(0x174),'Value':k}],...x&&{'userData':x}});T&&(Log['success'](a2(0x171)),Log[a2(0x19b)](a2(0x172)));}else{Log[a2(0x181)](a2(0x164));const U=await Actions[a2(0x15d)](a2(0x1a0)+r+'\x20?',!![]);U&&(d['deleteKeyPair'](r),f['isFile'](s)&&a7g[a2(0x198)](s));const V=await Actions[a2(0x15d)](a2(0x163)+m+'\x20?',!![]);V&&d[a2(0x180)](m);}}catch(W){Log['error'](W);}}catch(X){X&&Log[a2(0x187)](X),process[a2(0x197)](0x0);}},a7e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a8i=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=parseInt(g(0x1cb))/0x1*(parseInt(g(0x1d5))/0x2)+-parseInt(g(0x1db))/0x3*(-parseInt(g(0x1c0))/0x4)+-parseInt(g(0x1d1))/0x5*(-parseInt(g(0x1c8))/0x6)+-parseInt(g(0x1c6))/0x7*(parseInt(g(0x1c1))/0x8)+-parseInt(g(0x1d7))/0x9*(parseInt(g(0x1c3))/0xa)+parseInt(g(0x1d8))/0xb*(parseInt(g(0x1bf))/0xc)+parseInt(g(0x1d3))/0xd*(-parseInt(g(0x1c4))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xca232));function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x1bf;let f=c[d];return f;},a8d(a,b);}const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const h=a8d;return a8a['toString']()[h(0x1cd)](h(0x1d2))['toString']()[h(0x1ca)](a8a)[h(0x1cd)](h(0x1d2));});a8a();import a8e from'./aws.command.js';function a8c(){const k=['186EVxYij','env','3187881SeJYjf','11tzUdNq','maka\x20aws:ckp\x20--env\x20prod','maka\x20aws:create-key-pair','333GIKzab','19118652NqSQzv','27512jJfBol','114448nNfrlK','ckp','10AcFoFC','1259202pvKQKT','createKeyPair','714hScaEd','exit','258JhZxPT','create','constructor','15359xNXsMM','\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','search','error','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','fsi','23890qsYNSq','(((.+)+)+)+$','195FxWkjn','getEnvFromShorthand'];a8c=function(){return k;};return a8c();}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a8i(0x1c9)]({'name':'create-key-pair','aliases':[a8i(0x1c2)],'usage':a8i(0x1da),'examples':['maka\x20aws:create-key-pair\x20--env\x20prod',a8i(0x1d9)],'mustBeInMakaProject':!![],'requiredOpts':[a8i(0x1d6)],'validOpts':[],'shortDesc':a8i(0x1cf),'description':a8i(0x1cc)},async function(a,b){const j=a8i;try{const c=new AWS(),d=this[j(0x1d0)][j(0x1d4)](b['env']);c[j(0x1c5)]({'env':d});}catch(f){f&&Log[j(0x1ce)](f),process[j(0x1c7)](0x0);}},a8e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x74;let f=c[d];return f;},a9d(a,b);}const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(0x92))/0x1*(-parseInt(m(0x7a))/0x2)+-parseInt(m(0x78))/0x3*(-parseInt(m(0x7c))/0x4)+-parseInt(m(0x84))/0x5+parseInt(m(0x8a))/0x6+-parseInt(m(0x83))/0x7+-parseInt(m(0x88))/0x8*(parseInt(m(0x76))/0x9)+-parseInt(m(0x81))/0xa*(-parseInt(m(0x93))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0xae058));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a[o(0x8b)]()['search']('(((.+)+)+)+$')[o(0x8b)]()[o(0x89)](a9a)['search'](o(0x82));});function a9c(){const s=['22,80,443','fsi','10398008EzdwJC','constructor','1568874DNIJIt','toString','List\x20is\x20not\x20all\x20numbers','maka\x20aws:create-secuirty-group','forEach','ec2createSG','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','name','232297EbhGsw','146817qwnYEW','error','maka\x20aws\x20create-security-group','create-security-group','9bFnRba','chooseVPC','313473PdmjcS','Security\x20Group\x20Name:\x20[','6nrcdPD','apply','52FxQffy','\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','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','split','Web\x20App','2570GDmiqi','(((.+)+)+)+$','7065989XdOfiJ','6655900tLqAvt','exit'];a9c=function(){return s;};return a9c();}a9a();import a9e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a9p(0x75),'aliases':['csg'],'usage':a9p(0x74),'validOpts':[],'shortDesc':a9p(0x90),'description':a9p(0x7d),'examples':[a9p(0x8d),'maka\x20aws:csg']},async function(a,b){const q=a9p;try{const c=new AWS(),d=this[q(0x87)]['getMakaProjectConfig'](),{appName:f}=d,g=await c[q(0x77)](),h=b[q(0x91)]?b[q(0x91)]:''+f,i=await Actions['ask'](q(0x79)+h+']')||h,j=await Actions['ask'](q(0x7e))||q(0x86),k=j[q(0x7f)](',');k[q(0x8e)](l=>{const r=q;if(!l['match'](/^\d+$/))throw r(0x8c);}),await c[q(0x8f)]({'description':q(0x80),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[q(0x94)](l),process[q(0x85)](0x1);}},a9e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10h=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=parseInt(f(0x1d8))/0x1+-parseInt(f(0x1e7))/0x2+-parseInt(f(0x1da))/0x3+-parseInt(f(0x1e2))/0x4*(parseInt(f(0x1d3))/0x5)+parseInt(f(0x1ee))/0x6+-parseInt(f(0x1d4))/0x7*(-parseInt(f(0x1e1))/0x8)+parseInt(f(0x1e9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x1e567));const a10b=(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;};}()),a10a=a10b(this,function(){const g=a10d;return a10a[g(0x1e6)]()[g(0x1d6)]('(((.+)+)+)+$')[g(0x1e6)]()[g(0x1eb)](a10a)[g(0x1d6)](g(0x1de));});a10a();import a10e from'./aws.command.js';function a10c(){const j=['success','decr','toString','197562agLAWV','delete-ecr','1972557PENVKv','\x20deleted\x20successfully\x20in\x20region\x20','constructor','Repository\x20','create','445092QPuUuH','Delete\x20an\x20Elastic\x20Container\x20Repository','7915JTHkFh','42LonKce','ecrDeleteRepository','search','exit','75722gyykFl','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','499530prJDHM','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','region','name','(((.+)+)+)+$','Failed\x20to\x20delete\x20the\x20repository:\x20','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','227816cqPAqG','380aBWiiy','\x20in\x20region\x20'];a10c=function(){return j;};return a10c();}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a10d(a,b);}Command[a10h(0x1ed)]({'name':a10h(0x1e8),'aliases':[a10h(0x1e5)],'usage':a10h(0x1db),'requiredOpts':[a10h(0x1dd),a10h(0x1dc)],'validOpts':[],'shortDesc':a10h(0x1ef),'examples':[a10h(0x1d9),a10h(0x1e0)]},async function(a,b){const i=a10h;try{const c=new AWS();await c[i(0x1d5)]({'repoName':b[i(0x1dd)],'region':b[i(0x1dc)]}),Log[i(0x1e4)](i(0x1ec)+b['name']+i(0x1ea)+b[i(0x1dc)]+'.'),process[i(0x1d7)](0x0);}catch(d){Log['error'](i(0x1df)+b[i(0x1dd)]+i(0x1e3)+b[i(0x1dc)]+'.\x20Error:\x20'+d),process[i(0x1d7)](0x1);}},a10e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a11h=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0xf5;let f=c[d];return f;},a11d(a,b);}const a11h=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0xfb))/0x1+parseInt(f(0x108))/0x2+-parseInt(f(0xf8))/0x3*(parseInt(f(0x109))/0x4)+-parseInt(f(0xff))/0x5+-parseInt(f(0x100))/0x6+parseInt(f(0x103))/0x7+parseInt(f(0x106))/0x8*(parseInt(f(0xf6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x97cbb));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const g=a11d;return a11a[g(0xf5)]()[g(0x104)](g(0x101))[g(0xf5)]()[g(0x107)](a11a)[g(0x104)](g(0x101));});a11a();import a11e from'./aws.command.js';function a11c(){const j=['38880BVGOAH','toString','59121eHVXCQ','exit','198OfZJJo','ec2describeInstances','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','837819rcKgYx','\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','error','maka\x20aws:describe-instances','4304225BbcEtP','5834856JOwrQC','(((.+)+)+)+$','maka\x20aws:di','8531173cYWQuf','search','create','456eILcHY','constructor','1331210pphSLK'];a11c=function(){return j;};return a11c();}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a11h(0x105)]({'name':'describe-instances','aliases':['di'],'usage':a11h(0xfe),'validOpts':[],'shortDesc':a11h(0xfa),'examples':[a11h(0xfe),a11h(0x102)],'description':a11h(0xfc)},async function(){const i=a11h;try{const a=new AWS();a[i(0xf9)]();}catch(b){b&&Log[i(0xfd)](b),process[i(0xf7)](0x1);}},a11e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a12c(){const
|
|
1
|
+
function a12c(){const k=['ec2describeKeys','exit','5959215PaZask','143268MjVOjh','8biPeuN','666426cfgUEW','10haKXCD','5023881yZMhmR','constructor','apply','maka\x20aws:describe-key-pairs','329ylmxPx','search','4LCBSMj','2628264cmhrYf','maka\x20aws:dkp','dkp','describe-key-pairs','13694274FixLBq','41029021zfAMyX','create','toString'];a12c=function(){return k;};return a12c();}function a12d(a,b){const c=a12c();return a12d=function(d,e){d=d-0x128;let f=c[d];return f;},a12d(a,b);}const a12i=a12d;(function(a,b){const f=a12d,c=a();while(!![]){try{const d=parseInt(f(0x135))/0x1*(-parseInt(f(0x12d))/0x2)+parseInt(f(0x12f))/0x3+parseInt(f(0x136))/0x4+-parseInt(f(0x12a))/0x5+-parseInt(f(0x12b))/0x6*(parseInt(f(0x133))/0x7)+parseInt(f(0x12c))/0x8*(-parseInt(f(0x13a))/0x9)+parseInt(f(0x12e))/0xa*(parseInt(f(0x13b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0xda081));const a12b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a12d;if(c){const e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){const h=a12d;return a12a[h(0x13d)]()[h(0x134)]('(((.+)+)+)+$')[h(0x13d)]()[h(0x130)](a12a)[h(0x134)]('(((.+)+)+)+$');});a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a12i(0x13c)]({'name':a12i(0x139),'aliases':[a12i(0x138)],'usage':'maka\x20aws:describe-key-pairs','validOpts':[],'shortDesc':'List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','examples':[a12i(0x132),a12i(0x137)]},async function(){const j=a12i;try{const a=new AWS();a[j(0x128)]();}catch(b){b&&Log['error'](b),process[j(0x129)](0x0);}},a12e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a13o=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d
|
|
1
|
+
const a13o=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d=parseInt(l(0x1fa))/0x1+parseInt(l(0x1f9))/0x2*(parseInt(l(0x201))/0x3)+parseInt(l(0x200))/0x4+parseInt(l(0x20c))/0x5*(-parseInt(l(0x1e8))/0x6)+parseInt(l(0x1f3))/0x7+-parseInt(l(0x20d))/0x8+parseInt(l(0x1fd))/0x9*(-parseInt(l(0x1fe))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0xa3e2c));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a13d;if(c){const e=c[m(0x209)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const n=a13d;return a13a['toString']()[n(0x207)](n(0x1f5))[n(0x20b)]()['constructor'](a13a)[n(0x207)](n(0x1f5));});a13a();import a13e from'./aws.command.js';function a13c(){const r=['Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','isMakaProject','getMakaProjectConfig','getSecurityGroups','4324775RlKUJE','forEach','(((.+)+)+)+$','appName','confirm','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','22330TtxshD','851499CfrEqe','exit','Deleted\x20','63aQudMI','2653990GthMuz','sgId','4128068HycSBk','78HNBwvj','delete-security-group','notice','Deleting\x20a\x20','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','ask','search','error','apply','Not\x20deleting\x20secuirty\x20group','toString','5860hSxuZa','253424dfvBRi','ID:\x20','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','1182tovZLJ','maka\x20aws:delete-sg','\x20SG\x20NAME:\x20','includes','success','bright','dsg'];a13c=function(){return r;};return a13c();}function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a13d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command['create']({'name':a13o(0x202),'aliases':[a13o(0x1ee)],'usage':a13o(0x1e9),'validOpts':[],'shortDesc':a13o(0x1ef),'examples':[a13o(0x1e9),'maka\x20aws:dsg']},async function(){const p=a13o;try{const a=new AWS(),b=new FSI(),c=b[p(0x1f0)]();let d='';if(c){const j=b[p(0x1f1)]();d=j[p(0x1f6)];}const {sgList:f}=await a[p(0x1f2)]();f[p(0x1f4)](function(k){const q=p;c&&k['name'][q(0x1eb)](d)?Log[q(0x203)](q(0x20e)+k['id']+q(0x1ea)+k['name']+'\x20SGID:\x20'+k['sgId']):Log[q(0x1ed)](q(0x20e)+k['id']+q(0x1ea)+k['name']+'\x20SGID:\x20'+k[q(0x1ff)]);});let g='';const h=await Actions[p(0x206)](p(0x1f8));f[p(0x1f4)](function(k){k['id']===parseInt(h)&&(g=k['sgId']);});if(!g)throw Log[p(0x208)](p(0x20f));const i=await Actions[p(0x1f7)](p(0x204)+g+p(0x205),![]);i?(await a['deleteSecurityGroup'](g),Log[p(0x1ec)](p(0x1fc)+g)):Log[p(0x208)](p(0x20a)),process[p(0x1fb)](0x0);}catch(k){k&&Log[p(0x208)](k),process[p(0x1fb)](0x1);}},a13e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a14i=a14d;function a14c(){const k=['4ZjAhND','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','569186BTiMPc','exit','3381070EDnSPW','505368AeMqva','toString','create','lecr','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','search','2555707FYqgHb','regions','8227926qvbDNQ','18YxKBXi','listAllEcrRepositories','success','846065NScHVa','3342792QKzcDT','33KwxIad','(((.+)+)+)+$','4qbldCJ','apply','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20'];a14c=function(){return k;};return a14c();}(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0xf2))/0x1*(parseInt(f(0xf8))/0x2)+parseInt(f(0xfb))/0x3+parseInt(f(0xf5))/0x4*(parseInt(f(0xee))/0x5)+parseInt(f(0x104))/0x6*(parseInt(f(0x101))/0x7)+parseInt(f(0xef))/0x8+parseInt(f(0x103))/0x9+parseInt(f(0xfa))/0xa*(-parseInt(f(0xf0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x957f6));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a[h(0xfc)]()[h(0x100)](h(0xf1))[h(0xfc)]()['constructor'](a14a)[h(0x100)](h(0xf1));});a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0xec;let f=c[d];return f;},a14d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a14i(0xfd)]({'name':'list-ecr','aliases':[a14i(0xfe)],'usage':a14i(0xf7),'requiredOpts':[],'validOpts':[a14i(0x102)],'shortDesc':a14i(0xff),'examples':['maka\x20aws:list-ecr',a14i(0xf6),'maka\x20aws:lecr\x20--regions=all']},async function(a,b){const j=a14i;try{const c=new AWS();await c[j(0xec)](b['regions']),Log[j(0xed)]('Completed\x20listing\x20ECR\x20repositories.'),process[j(0xf9)](0x0);}catch(d){Log['error'](j(0xf4)+d),process[j(0xf9)](0x1);}},a14e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x1f4))/0x1*(parseInt(f(0x1ec))/0x2)+-parseInt(f(0x1e6))/0x3+parseInt(f(0x1e7))/0x4+-parseInt(f(0x1fa))/0x5*(-parseInt(f(0x1f6))/0x6)+parseInt(f(0x1f8))/0x7+-parseInt(f(0x1e9))/0x8+-parseInt(f(0x1f0))/0x9*(parseInt(f(0x1f9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x92cb1));const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a[h(0x1ea)]()[h(0x1f5)]('(((.+)+)+)+$')[h(0x1ea)]()[h(0x1fc)](a15a)[h(0x1f5)](h(0x1eb));});a15a();import a15e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a15c(){const k=['18dPjXiG','confirm','5162521WztOts','10OthzdR','635585kOocjd','instanceId','constructor','status','exit','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','apply','error','518568GqhIeL','4547540WlMqpO','reboot-instance','6729496tfezPI','toString','(((.+)+)+)+$','46898RuRcmj','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','rbi','9984699Kyxbwy','name','Reboot\x20an\x20EC2\x20instance','running','20OKWKhv','search'];a15c=function(){return k;};return a15c();}function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a15d(a,b);}Command['create']({'name':a15i(0x1e8),'aliases':[a15i(0x1ef)],'usage':'maka\x20aws:reboot-instance','validOpts':[],'shortDesc':a15i(0x1f2),'examples':['maka\x20aws:reboot-instance','maka\x20aws:rbi']},async function(){const j=a15i;try{const a=new AWS(),b=await a['chooseInstance']();if(b?.[j(0x1fd)]===j(0x1f3)){const c=await Actions[j(0x1f7)](j(0x1ed)+b[j(0x1f1)]+'\x20Ready?');c&&b[j(0x1fb)]?a['ec2rebootInstance']({'instanceId':b[j(0x1fb)]}):Log[j(0x1e5)](j(0x1ee)+b[j(0x1f1)]+'\x20is\x20still\x20running.');}else Log['error'](j(0x1e3));}catch(d){d&&Log[j(0x1e5)](d),process[j(0x1e2)](0x1);}},a15e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a16I=a16d;(function(a,b){const E=a16d,c=a();while(!![]){try{const d=parseInt(E(
|
|
1
|
+
const a16I=a16d;(function(a,b){const E=a16d,c=a();while(!![]){try{const d=parseInt(E(0x207))/0x1*(parseInt(E(0x1d2))/0x2)+-parseInt(E(0x1d3))/0x3+-parseInt(E(0x1f2))/0x4*(-parseInt(E(0x1d7))/0x5)+parseInt(E(0x20a))/0x6*(-parseInt(E(0x1e1))/0x7)+parseInt(E(0x1e4))/0x8*(parseInt(E(0x1f0))/0x9)+parseInt(E(0x1e8))/0xa+parseInt(E(0x1c8))/0xb*(parseInt(E(0x1e2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x86028));function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a16d(a,b);}const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a16d;if(c){const e=c[F(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const G=a16d;return a16a[G(0x204)]()[G(0x1fd)]('(((.+)+)+)+$')[G(0x204)]()[G(0x1ce)](a16a)[G(0x1fd)](G(0x208));});a16a();import a16e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const H=a16d;return Object[H(0x1fa)](CountryCode)[H(0x1ef)](a);}function a16c(){const K=['confirm','checkDomainAvailability','options','maka\x20aws:register-domain-name\x20--domain=example.com','rdn','Person','contactType','3475647UGtfzP','564CxBodi','Domain\x20name\x20is\x20unavailable','32rhpOyD','PUBLIC_BODY','maka\x20aws:register-domain-name','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','1022310iAdmVD','\x20years\x20(','Choose\x20contact\x20type','maka\x20aws:rdn\x20--domain=example.com','123\x20Glorious\x20Way','notice','apply','includes','672741BbzoxG','COMPANY','12xzxHmH','Zip\x20Code\x20[96816]:\x20','Contact\x20Email\x20[mail@example.com]:\x20','96816','+1.5555555556','registerDomain','ask','+1.5555555555','values','Auto\x20Renew:\x20','OrganizationName','search','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','domain','ASSOCIATION','\x20/\x20Year)','Do\x20you\x20wish\x20to\x20register\x20','warn','toString','Contact','error','34xRSswD','(((.+)+)+)+$','RESELLER','6AGqnjY','76703XSXRiS','create','register-domain-name','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','exit','Are\x20you\x20sure?','constructor','Country\x20Code\x20[US]:\x20','\x20for\x20','Contact\x20First\x20Name\x20[Contact]:\x20','55318vRCHta','2580630eUWfyA','PERSON','list','The\x20domain\x20name:\x20','393785VnkeoE','\x20is\x20available\x20for:','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20'];a16c=function(){return K;};return a16c();}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16I(0x1c9)]({'name':a16I(0x1ca),'aliases':[a16I(0x1de)],'usage':a16I(0x1e6),'requiredOpts':[a16I(0x1ff)],'validOpts':[],'shortDesc':a16I(0x1fe),'examples':[a16I(0x1dd),a16I(0x1eb)]},async function(a,b){const J=a16I;try{const c=b[J(0x1ff)],d=new AWS(),{available:f,cost:g}=await d[J(0x1db)](c);if(f&&g){Log[J(0x1ed)](J(0x1d6)+c+J(0x1d8));const {Price:h,Currency:i}=g;Log[J(0x203)]('\x20\x20'+h+'\x20'+i+'\x20/\x20Year\x20\x0a');const j=await Actions[J(0x1da)](J(0x202)+c+'\x20?',![]);if(j){const k={'type':J(0x1d5),'name':J(0x1e0),'message':J(0x1ea),'choices':[J(0x200),J(0x1f1),J(0x1d4),J(0x1e5),J(0x209)]},l=await Actions[J(0x1f8)]('Duration\x20in\x20years\x20[1]:\x20')||'1',m=await Actions['ask'](J(0x1d1))||J(0x205),n=await Actions['ask']('Contact\x20Last\x20Name\x20[Person]:\x20')||J(0x1df),{contactType:o}=await Actions[J(0x1dc)](k),p=await Actions[J(0x1f8)](J(0x1e7))||J(0x1ec),q=await Actions[J(0x1f8)]('Address\x20Line\x202:\x20'),r=await Actions[J(0x1f8)](J(0x1f3))||J(0x1f5),s=await Actions['ask']('State\x20[HI]:\x20')||'HI',t=await Actions[J(0x1f8)](J(0x1cf))||'US',u=getCountryCodeEnum(t);if(!u)throw Log[J(0x206)]('Invalid\x202\x20character\x20country\x20code');const v=await Actions[J(0x1f8)](J(0x1d9))||J(0x1f9),w=await Actions[J(0x1f8)]('Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20')||J(0x1f6),x=await Actions[J(0x1f8)](J(0x1f4))||'mail@example.com',y=await Actions['confirm'](J(0x1fb)),z={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':u,'AddressLine1':p,'AddressLine2':q,'ZipCode':r,'PhoneNumber':v,'Fax':w,'State':s,'Email':x};if(o!==J(0x1d4)){const C=await Actions[J(0x1f8)](J(0x1cb))||'My\x20Comanpy,\x20LLC.';z[J(0x1fc)]=C;}const A=h||0x0*parseInt(l);Log[J(0x1ed)]('Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:'),Log[J(0x203)](A+'\x20'+i+J(0x1d0)+l+J(0x1e9)+h+'\x20'+i+J(0x201));const B=await Actions[J(0x1da)](J(0x1cd));B&&await d[J(0x1f7)](z,c,parseInt(l),y);}}else throw J(0x1e3);}catch(D){D&&Log['error'](D),process[J(0x1cc)](0x0);}},a16e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0xbf;let f=c[d];return f;},a17d(a,b);}const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(0xda))/0x1*(-parseInt(h(0xc3))/0x2)+parseInt(h(0xc5))/0x3+parseInt(h(0xd7))/0x4*(-parseInt(h(0xc1))/0x5)+parseInt(h(0xc6))/0x6*(parseInt(h(0xd1))/0x7)+parseInt(h(0xd5))/0x8+-parseInt(h(0xc4))/0x9*(-parseInt(h(0xd2))/0xa)+-parseInt(h(0xc8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0x75a29));const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0xdd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0xdb)]()['search'](j(0xd9))[j(0xdb)]()['constructor'](a17a)['search'](j(0xd9));});function a17c(){const n=['That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','Deleting\x20a\x20','maka\x20aws:remove-key-pair','rkp','confirm','exit','name','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','21FCUtdV','83890kNLoNt','error','ask','5715064JJMVwb','maka\x20aws:rkp','12SGvcWa','Deleted\x20','(((.+)+)+)+$','13jNcAKK','toString','ec2describeKeys','apply','\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','Please\x20choose\x20a\x20key\x20to\x20delete:','deleteKeyPair','845410QxiUHq','success','50568jgeOnm','603WVGhJk','2257983HKbdDr','1801092lzLpze','remove-key-pair','24961926mmspys'];a17c=function(){return n;};return a17c();}a17a();import a17e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a17k(0xc7),'aliases':[a17k(0xcc)],'usage':a17k(0xcb),'validOpts':[],'shortDesc':'Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','description':a17k(0xde),'examples':[a17k(0xcb),a17k(0xd6)]},async function(){const l=a17k;try{const a=new AWS(),b=await a[l(0xdc)]();let c=undefined;const d=await Actions[l(0xd4)](l(0xbf));b?.['forEach'](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0xcf)]);});if(!c)throw Log[l(0xd3)](l(0xc9));const f=await Actions[l(0xcd)](l(0xca)+c+l(0xd0),![]);f?(await a[l(0xc0)](c),Log[l(0xc2)](l(0xd8)+c)):Log['error']('Not\x20deleting\x20keypair'),process[l(0xce)](0x0);}catch(g){g&&Log['error'](g),process[l(0xce)](0x1);}},a17e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18p=a18d;(function(a,b){const m=a18d,c=a();while(!![]){try{const d=-parseInt(m(
|
|
1
|
+
const a18p=a18d;(function(a,b){const m=a18d,c=a();while(!![]){try{const d=-parseInt(m(0x1c2))/0x1*(parseInt(m(0x1bd))/0x2)+parseInt(m(0x1cc))/0x3*(parseInt(m(0x1c6))/0x4)+parseInt(m(0x1d1))/0x5+-parseInt(m(0x1d7))/0x6*(-parseInt(m(0x1d6))/0x7)+parseInt(m(0x1c1))/0x8+-parseInt(m(0x1cb))/0x9+parseInt(m(0x1d0))/0xa*(parseInt(m(0x1d4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0x74291));const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a18d;if(c){const e=c[n(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const o=a18d;return a18a[o(0x1bf)]()[o(0x1d9)]('(((.+)+)+)+$')[o(0x1bf)]()[o(0x1be)](a18a)[o(0x1d9)]('(((.+)+)+)+$');});a18a();import a18e from'path';function a18c(){const r=['privateIp','host','getAppConfigPath','apply','utf8','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','fsi','join','maka\x20aws:set-host\x20--env\x20dev','\x0aSaved\x20host\x20','chooseInstance','template','maka\x20aws\x20set-host','readFileSync','\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','514PBlgBU','constructor','toString','writeFileSync','4400672sBkAyr','3391ykxynM','inherit','getMakaProjectConfig','error','12IBnzwu','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','create','isFile','private','7848054GsGKYP','623817cZxzSb','success','appName','ssh.json','10sbYTQl','3164115sZHxzD','getEnvFromShorthand','publicIp','989648dmgyTh','ask','11179bEpoHt','1212nLNXdt','config/ssh.json','search','maka\x20aws:sth\x20--env\x20prod','cat\x20','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','public','env'];a18c=function(){return r;};return a18c();}import a18f from'fs';import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a18d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a18p(0x1c8)]({'name':'set-host','aliases':['sth'],'usage':a18p(0x1ba),'mustBeInMakaProject':!![],'requiredOpts':[a18p(0x1de)],'validOpts':[],'shortDesc':a18p(0x1c7),'description':a18p(0x1bc),'examples':[a18p(0x1b6),a18p(0x1da)]},async function(a,b){const q=a18p;try{const c=new AWS(),d=this[q(0x1e5)][q(0x1d2)](b['env']),f=this['fsi'][q(0x1e1)](d),g=this[q(0x1e5)][q(0x1c4)](),h=await c[q(0x1b8)](),i=a18e[q(0x1e6)](f,q(0x1cf));!this[q(0x1e5)][q(0x1c9)](i)&&await this['fsi'][q(0x1b9)]({'srcPath':q(0x1d8),'destPath':i,'context':{'app':g[q(0x1ce)]},'config':g});const j=JSON['parse'](a18f[q(0x1bb)](i,q(0x1e3))),k=await Actions[q(0x1d5)](q(0x1e4))||q(0x1dd);if(k){if(k===q(0x1dd)||k==='private'){if(k===q(0x1dd))j[q(0x1e0)]=h?.[q(0x1d3)];else k===q(0x1ca)&&(j[q(0x1e0)]=h?.[q(0x1df)]);}else throw q(0x1dc);}else j[q(0x1e0)]=h?.[q(0x1df)];a18f[q(0x1c0)](a18e[q(0x1e6)](f,q(0x1cf)),JSON['stringify'](j,null,0x2)),execSync(q(0x1db)+a18e[q(0x1e6)](f,'ssh.json'),{'stdio':q(0x1c3)}),Log[q(0x1cd)](q(0x1b7)+k+'\x20IP\x20to\x20'+f+a18e['sep']+q(0x1cf));}catch(l){l&&Log[q(0x1c5)](l),process['exit'](0x0);}},a18g);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=-parseInt(f(0x1b8))/0x1*(-parseInt(f(0x1b6))/0x2)+-parseInt(f(0x1c1))/0x3+parseInt(f(0x1ac))/0x4+-parseInt(f(0x1c4))/0x5*(-parseInt(f(0x1bc))/0x6)+parseInt(f(0x1c2))/0x7+parseInt(f(0x1aa))/0x8+-parseInt(f(0x1ab))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0xd65d5));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0x1ae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a[h(0x1b2)]()[h(0x1b7)](h(0x1c6))[h(0x1b2)]()[h(0x1a9)](a19a)[h(0x1b7)]('(((.+)+)+)+$');});a19a();import a19e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a19d(a,b);}Command['create']({'name':'terminate-instance','aliases':['ti'],'usage':a19i(0x1c5),'validOpts':[],'shortDesc':a19i(0x1bf),'description':a19i(0x1b9),'examples':[a19i(0x1c5),a19i(0x1b0)]},async function(){const j=a19i;try{const a=new AWS(),b=await a[j(0x1c0)]();if(b?.['instanceId']&&b?.[j(0x1af)]==='running'){const c=await Actions[j(0x1b3)](j(0x1bb)+b[j(0x1b4)]+j(0x1c3));c?a[j(0x1b1)]({'instanceId':b['instanceId']}):Log[j(0x1bd)](j(0x1b5)+b[j(0x1b4)]+j(0x1ad));}else Log['error'](j(0x1ba));}catch(d){d&&Log[j(0x1bd)](d),process[j(0x1be)](0x1);}},a19e);function a19c(){const k=['There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','36XWVwtR','error','exit','Terminate\x20an\x20EC2\x20instance','chooseInstance','4663530tbixlZ','2932272VzBUTs','\x20Ready?','703405OxiVrA','maka\x20aws:terminate-instance','(((.+)+)+)+$','constructor','12366136MmEkTe','15174684UXuRHD','4338156tIBqkC','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','apply','status','maka\x20aws:ti','ec2terminateInstance','toString','confirm','name','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','10iuiGfs','search','45067aehAjS','\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'];a19c=function(){return k;};return a19c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a20d,c=a();while(!![]){try{var d=-parseInt(f(0x171))/0x1+parseInt(f(0x16b))/0x2+parseInt(f(0x177))/0x3+parseInt(f(0x16e))/0x4*(parseInt(f(0x173))/0x5)+-parseInt(f(0x176))/0x6*(-parseInt(f(0x170))/0x7)+parseInt(f(0x178))/0x8*(parseInt(f(0x174))/0x9)+parseInt(f(0x16c))/0xa*(-parseInt(f(0x179))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x8c326));function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x16b;var f=c[d];return f;},a20d(a,b);}var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var g=a20d;return a20a[g(0x175)]()[g(0x16d)](g(0x172))[g(0x175)]()[g(0x16f)](a20a)['search'](g(0x172));});function a20c(){var h=['constructor','6078940qsyMuR','373725nsuUAu','(((.+)+)+)+$','2536955mAUbJR','621ncwMYn','toString','6phyBoo','789591tBGgQS','26440AejoGL','3799664shoqlW','1982990eCZJkm','70qEEgmh','search','8UQeHhu'];a20c=function(){return h;};return a20c();}a20a();import'./build.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a21d(a,b);}const a21q=a21d;(function(a,b){const o=a21d,c=a();while(!![]){try{const d=-parseInt(o(0x1f3))/0x1*(-parseInt(o(0x1df))/0x2)+parseInt(o(0x1f6))/0x3+parseInt(o(0x1d4))/0x4+parseInt(o(0x1d7))/0x5+parseInt(o(0x1d9))/0x6*(parseInt(o(0x1f4))/0x7)+-parseInt(o(0x1f0))/0x8+-parseInt(o(0x1db))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0xd7f28));const a21b=(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;};}()),a21a=a21b(this,function(){const p=a21d;return a21a[p(0x1d1)]()[p(0x1de)](p(0x1f2))[p(0x1d1)]()[p(0x1ed)](a21a)[p(0x1de)](p(0x1f2));});a21a();import a21e from'path';import a21f from'fs';import a21g from'semver';function a21c(){const s=['pathFromProject','(((.+)+)+)+$','1008323wbqidw','774445ZQgHQH','warn','3464268ANKyNE','getGlobalMeteorVersion','Meteor\x20is\x20installed.','invokeMeteorCommand','Failed\x20to\x20check\x20or\x20update\x20Meteor\x20version:\x20','This\x20project\x27s\x20meteor\x20version\x20(','toString','isMeteorInstalled','build','1883196WIeoKa','existsSync','Aborted.','3140575vSAKUP','fsi','48fPBAsb','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','18935271nIDPlp','error','forEach','search','2bkhSEj','force','getProjectMeteorVersion','exit','inherit','app.tar.gz','checkMeteorPackage','confirm','update','maka\x20build','maka\x20install\x20--force','\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','concat',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','constructor','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','autoupdate','9269072PoqppC'];a21c=function(){return s;};return a21c();}import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command['create']({'name':a21q(0x1d3),'usage':'maka\x20build','validOpts':[a21q(0x1e0)],'aliases':['b'],'shortDesc':a21q(0x1da),'mustBeInMakaProject':!![],'description':a21q(0x1ea),'examples':[a21q(0x1e8)]},async function(a,b){const r=a21q;try{this['fsi'][r(0x1d2)]()?Log['notice'](r(0x1cd)):(Log[r(0x1f5)]('Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...'),execSync(r(0x1e9),{'stdio':r(0x1e3)}));await this[r(0x1d8)][r(0x1e5)](r(0x1ef),{'shouldInstall':!![]});const c=b[r(0x1e0)];if(!c)try{const g=this[r(0x1d8)][r(0x1cc)](),h=this['fsi'][r(0x1e1)](),i=a21g['gt'](g,h);if(i){const j=await Actions[r(0x1e6)](r(0x1d0)+h+r(0x1ec)+g+').\x20Update?');j&&this['fsi']['invokeMeteorCommand'](r(0x1e7),['--release',g]);}}catch(k){Log[r(0x1dc)](r(0x1cf)+k);}const d=[this[r(0x1d8)][r(0x1f1)]({'pathParts':[r(0x1d3)]})][r(0x1eb)](process['argv']['slice'](0x3)),f=a21e['join'](this['fsi']['pathFromProject']({}),r(0x1d3),r(0x1e4));if(a21f[r(0x1d5)](f)){const l=c??await Actions[r(0x1e6)](r(0x1ee));if(!l)throw Log[r(0x1dc)](r(0x1d6));}d[r(0x1dd)]((m,n)=>{m==='--force'&&d['splice'](n,0x2);}),this[r(0x1d8)][r(0x1ce)]('build',d);}catch(m){console[r(0x1dc)](m),process[r(0x1e2)](0x0);}});export default BuildCommand;
|