@maka/maka-cli 5.0.5 → 5.0.7
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/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.7",
|
|
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
|
|
1
|
+
function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x1db;let f=c[d];return f;},a0d(a,b);}const a0q=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=parseInt(n(0x1ed))/0x1+-parseInt(n(0x1e4))/0x2*(-parseInt(n(0x1ec))/0x3)+parseInt(n(0x1f0))/0x4*(-parseInt(n(0x222))/0x5)+-parseInt(n(0x203))/0x6*(parseInt(n(0x206))/0x7)+-parseInt(n(0x1f7))/0x8+parseInt(n(0x1e1))/0x9+parseInt(n(0x1e8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x58c22));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0x212)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x21f)]()[p(0x22f)](p(0x1dc))[p(0x21f)]()[p(0x20d)](a0a)[p(0x22f)](p(0x1dc));});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(0x20c)];['_commands'];constructor(a,b){const r=a0q;super();if(!a)throw new Error(r(0x1e0));if(!a[r(0x205)])throw new Error(r(0x225));if(typeof b!=='function')throw new Error(r(0x224));this['options']=Object[r(0x1df)]({},a),this[r(0x205)]=this[r(0x20c)][r(0x205)],this[r(0x21c)]=[],this[r(0x226)]=b[r(0x22c)](this);}static[a0q(0x22d)](a,b,c){const s=a0q;if(!a)throw new Error(s(0x1e3));if(typeof b!==s(0x1e2))throw new Error('Command.create\x20requires\x20a\x20handler\x20function!');const d=new Command(a,b);return c=c||a0f,Object['assign'](d,{'parent':c?.[s(0x20c)]?.[s(0x205)]}),c[s(0x200)](d),d;}[a0q(0x200)](a){const t=a0q;if(!(a instanceof Command))throw new Error('addCommand\x20requires\x20a\x20Command\x20instance');this['_commands'][t(0x1f9)](a);}async[a0q(0x1f8)](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this[u(0x1f3)][u(0x1fa)](),d=c[u(0x1ea)]==='light'?ColorMode[u(0x229)]:ColorMode[u(0x1ff)];Log[u(0x1de)](d);}catch(f){Log[u(0x220)](f),process['exit'](0x0);}return await this[u(0x21a)](a,b);}catch(g){process[u(0x1fd)](0x1);}}async[a0q(0x21a)](a,b){const v=a0q,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[v(0x20c)];try{if(this[v(0x20c)][v(0x205)]!=='generate'){if(!isRoot){const g=(a[0x0]===_prevCmd||a[v(0x202)]===0x0)&&this[v(0x21c)]['length']>=0x0,h=b[v(0x1dd)]||b['h'];if(g&&h){if(this[v(0x21c)][v(0x202)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[v(0x20c)][v(0x1e7)]){const i=this[v(0x1f1)]();if(!i)throw new MustBeInProjectError();}if(this[v(0x20c)][v(0x21e)]){const j=await this[v(0x21b)]();if(!j)throw new MustBeLoggedIn();}if(this[v(0x20c)][v(0x22b)]){const k=this[v(0x208)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[v(0x20c)][v(0x1fe)]===v(0x20b)){if(a[v(0x202)]<this[v(0x20c)][v(0x1fe)]){Log[v(0x220)](v(0x1f4));throw new UsageError();}}if(typeof this['options']['maxArgLength']===v(0x20b)){if(a[v(0x202)]>=this[v(0x20c)][v(0x1db)]){Log['error'](v(0x22a));throw new UsageError();}}if(typeof this[v(0x20c)]['minOptsLength']===v(0x20b)){if(Object[v(0x211)](b)[v(0x202)]<this[v(0x20c)]['minOptsLength']){Log[v(0x220)](v(0x20e));throw new UsageError();}}if(typeof this[v(0x20c)][v(0x1e9)]===v(0x20b)){if(Object[v(0x211)](b)[v(0x202)]>=this[v(0x20c)][v(0x1e9)]){Log[v(0x220)](v(0x207));throw new UsageError();}}}}b=await this[v(0x1e6)](a,b,this[v(0x20c)]),_prevCmd=a[0x0];}return await this[v(0x226)][v(0x221)](this,a,b);}catch(l){Log[v(0x1fc)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[v(0x1ee)](v(0x214)),this[v(0x1ef)](this[v(0x21c)]),Log[v(0x201)](v(0x216));else{if(l instanceof MustBeInProjectError)Log['error']('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command');else{if(l instanceof NoMeteorFoundError)Log[v(0x220)](v(0x1fb)),Log['notice']('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(l instanceof NoMeteorAppFoundError)Log['error'](v(0x20a));else l instanceof MustBeLoggedIn&&(Log[v(0x220)](v(0x1f6)),Log['notice']('Please\x20run\x20\x22maka\x20login\x22'));}}}process[v(0x1fd)](0x1);}}[a0q(0x1ef)](a){const w=a0q,b=new a0e({});b['push']([w(0x22e),w(0x1f5),w(0x1f2)]),a[w(0x230)]((c,d)=>{const x=w;return c[x(0x205)][x(0x223)](d[x(0x205)]);})[w(0x20f)](c=>{const y=w;if(c[y(0x205)]!==y(0x218)&&c[y(0x205)]!=='play'){const d=c['experimental'](),e=d?'(expermiental)\x20'+c[y(0x217)]():c[y(0x217)]();b[y(0x1f9)]([c[y(0x205)],c['aliases'](),e]);}}),Log[w(0x215)](b[w(0x21f)]());}async['processAndRunCommand'](a,b=[],c={}){const z=a0q;try{const d=a?.[z(0x210)](':');if(!d||d[z(0x202)]===0x0)throw z(0x213);if(d[0x0]===z(0x1e5)||d[0x0]==='g'&&d[z(0x202)]>0x1){const h=this[z(0x21c)][z(0x228)](j=>j[z(0x219)]('generate'));if(!h)throw z(0x227);const i=d['slice'](0x1)['join'](':');return b[z(0x204)](i),await h[z(0x1f8)](b,c);}let f=this[z(0x21c)],g;for(const j of d){g=f['find'](k=>k[z(0x219)](j));if(!g)try{await this[z(0x1f3)][z(0x21d)]();}catch(k){throw z(0x209)+j+z(0x1eb);}g&&(f=g[z(0x21c)]);}if(g){const l=await g['run'](b,c);return l;}else throw z(0x227);}catch(m){Log['error'](m),process[z(0x1fd)](0x1);}}}function a0c(){const A=['length','6YgHemJ','unshift','name','2700950ylEIJa','Too\x20many\x20options','validateMeteorInstall','Command\x20','There\x20is\x20no\x20Meteor\x20application\x20here','number','options','constructor','Too\x20few\x20options','forEach','split','keys','apply','Command\x20format\x20is\x20incorrect','Sub-Commands:','bright','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','shortDesc','murder','match','invoke','validateUserIsLoggedIn','_commands','maybeProxyCommandToMeteor','mustBeLoggedIn','toString','error','call','7010tPbMJZ','localeCompare','Command\x20requires\x20a\x20handler\x20function','Command\x20requires\x20a\x20name','_handler','Command\x20not\x20found','find','LIGHT','Too\x20many\x20arguments','mustHaveMeteorInstalled','bind','create','Name','search','sort','maxArgLength','(((.+)+)+)+$','help','setColorMode','assign','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','1771785hJyPzT','function','Command.create\x20requires\x20some\x20options!','66754NUyOqc','generate','validateParams','mustBeInMakaProject','6372590OIiNEN','maxOptsLength','pallet','\x20not\x20found','60dlOgsQ','189185IFYPkI','notice','tableList','1576ByegSr','validateMakaProject','Description','fsi','Too\x20few\x20arguments','Alias','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','3112456CcVhSx','run','push','getGlobalConfig','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','usage','exit','minArgLength','DARK','addCommand','header'];a0c=function(){return A;};return a0c();}
|
|
@@ -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(0x16c))/0x1*(-parseInt(f(0x16e))/0x2)+parseInt(f(0x165))/0x3+-parseInt(f(0x172))/0x4*(parseInt(f(0x171))/0x5)+parseInt(f(0x163))/0x6*(-parseInt(f(0x16f))/0x7)+parseInt(f(0x166))/0x8+parseInt(f(0x16b))/0x9*(-parseInt(f(0x169))/0xa)+-parseInt(f(0x170))/0xb*(-parseInt(f(0x16d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x51e12));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0x164)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0x16a)]()[h(0x168)](h(0x167))['toString']()[h(0x173)](a1a)[h(0x168)]('(((.+)+)+)+$');});a1a();function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x163;var f=c[d];return f;},a1d(a,b);}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';function a1c(){var i=['(((.+)+)+)+$','search','703560lBsVTk','toString','9AddCjv','1FnBAHl','16896QCUhlJ','169934zVAees','1267pOGGhb','4037OtGpFu','2550pGvLCH','228vFqSoM','constructor','14622SuKAAW','apply','49974jlUXAh','2060320WrIPdG'];a1c=function(){return i;};return a1c();}import'./help.js';import'./install.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./profile.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=parseInt(h(0xc9))/0x1+-parseInt(h(0xc5))/0x2*(-parseInt(h(0xe1))/0x3)+parseInt(h(0xd4))/0x4*(-parseInt(h(0xdb))/0x5)+parseInt(h(0xdc))/0x6+parseInt(h(0xe0))/0x7*(parseInt(h(0xe4))/0x8)+-parseInt(h(0xce))/0x9+parseInt(h(0xcf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xd3e41));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a[j(0xc4)]()[j(0xc8)]('(((.+)+)+)+$')[j(0xc4)]()['constructor'](a2a)['search']('(((.+)+)+)+$');});a2a();import{Command}from'../command.js';function a2c(){const o=['message','toString','4RkULIH','isFile','Using\x20CA\x20Cert\x20','search','17489SBUEgC','openapikey','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','getGlobalConfig','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','12979728GqSJCz','18398910pMYewq','error','close','stdout','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','6161708WPMfGv','Using\x20OpenAI\x20Key\x20','exit','apply','GPT:\x20','fsi','cacert','5GtnCQr','3925752GVqbac','bright','toLowerCase','You:\x20','259XsaubI','958773mgIFZf','choices','stdin','151280jDhuKQ','openai','notice','cert','ChatGPT\x20style\x20AI\x20interface'];a2c=function(){return o;};return a2c();}function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0xc1;let f=c[d];return f;},a2d(a,b);}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(0xe3)],'output':process[k(0xd2)]});c['question'](k(0xdf),async d=>{const l=k;if(d[l(0xde)]()==='exit'){c[l(0xd1)]();return;}try{const e=await HTTPS['askGPT']({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON['parse'](e['data']);if(f['error'])throw new Error(f[l(0xd0)][l(0xc3)]);Log[l(0xdd)](l(0xd8)+f?.[l(0xe2)][0x0]?.['text']['trim']());}catch(g){Log['error'](g),process[l(0xd6)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command['create']({'name':'ai','description':a2m(0xc2),'validOpts':[a2m(0xda),a2m(0xca)],'shortDesc':a2m(0xc2),'isPro':!![]},async function(a,b){const n=a2m;try{let c='';b[n(0xda)]&&(this[n(0xd9)][n(0xc6)](b[n(0xda)])?(c=b[n(0xda)],Log['notice'](n(0xc7)+c)):Log['error'](n(0xcd)+c));const d=await this['fsi'][n(0xcc)]();if(d[n(0xc1)]){if(this[n(0xd9)][n(0xc6)](d[n(0xc1)]))c=d[n(0xc1)];else throw Log[n(0xd0)](n(0xd3)+c);}let f='';if(b['openapikey'])f=b[n(0xca)],Log[n(0xe6)](n(0xd5)+f);else{if(d[n(0xe5)])f=d[n(0xe5)];else throw Log[n(0xd0)](n(0xcb));}Log['bright']('Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.'),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[n(0xd0)](g),process['exit'](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(0x18e))/0x1*(parseInt(f(0x189))/0x2)+-parseInt(f(0x18d))/0x3*(parseInt(f(0x194))/0x4)+parseInt(f(0x18f))/0x5*(parseInt(f(0x195))/0x6)+parseInt(f(0x196))/0x7+parseInt(f(0x18a))/0x8*(parseInt(f(0x192))/0x9)+parseInt(f(0x18c))/0xa+-parseInt(f(0x193))/0xb*(parseInt(f(0x191))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x61e52));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x18b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a['toString']()['search']('(((.+)+)+)+$')[h(0x187)]()[h(0x190)](a3a)[h(0x197)](h(0x188));});a3a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x187;var f=c[d];return f;},a3d(a,b);}import'./csg.sub.cmd.js';import'./di.sub.cmd.js';function a3c(){var i=['506289lrNVDJ','9neEvyo','5JWdHei','constructor','144684fUMEGz','9YrGQQB','1111FMxEQy','16Omkfkv','2452452AbjqRw','4372151MkEiaH','search','toString','(((.+)+)+)+$','57132gNSPuP','3678696UzaFAG','apply','5435210ZwWMNE'];a3c=function(){return i;};return a3c();}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';import'./lecr.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4h=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0x16c))/0x1+-parseInt(f(0x16a))/0x2+parseInt(f(0x166))/0x3+parseInt(f(0x169))/0x4*(parseInt(f(0x165))/0x5)+-parseInt(f(0x167))/0x6+-parseInt(f(0x16d))/0x7+-parseInt(f(0x163))/0x8*(-parseInt(f(0x16e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xd76ff));function a4c(){const i=['(((.+)+)+)+$','135QPqAss','3545049hDsnCF','10146918oeHEER','toString','74496iHYNFZ','3207072iySVRi','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','1345269fvzxeL','7296093DAhRBY','6568857WMPbZZ','24twUEoq'];a4c=function(){return i;};return a4c();}const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const g=a4d;return a4a[g(0x168)]()['search']('(((.+)+)+)+$')[g(0x168)]()['constructor'](a4a)['search'](g(0x164));});a4a();import{Command}from'../../command.js';function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x163;let f=c[d];return f;},a4d(a,b);}import{UsageError}from'../../error.js';const AWSCommand=Command['create']({'name':'aws','usage':'maka\x20aws:<sub-command>','validOpts':[],'shortDesc':a4h(0x16b),'description':'\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20'},async function(){throw UsageError;});export default AWSCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a5j=a5d;(function(a,b){const g=a5d,c=a();while(!![]){try{const d=-parseInt(g(
|
|
1
|
+
function a5c(){const l=['maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','maka\x20aws:cecr\x20--name=my-new-repo','4JVtRld','1094320fOrXss','1013793gMmnpy','cecr','91vaARdF','ecrCreateRepository','(((.+)+)+)+$','toString','5802798fAknQu','2052693JHsAYV','624280amUbWz','name','maka\x20aws:create-ecr\x20--name=my-new-repo','apply','region','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','success','2837225egoqzO','exit','repository','search','notice','12864384QHHOps','Repository\x20created\x20successfully.','error','constructor','$metadata','repositoryUri','20rRArVB'];a5c=function(){return l;};return a5c();}const a5j=a5d;(function(a,b){const g=a5d,c=a();while(!![]){try{const d=-parseInt(g(0x15b))/0x1+parseInt(g(0x15a))/0x2+parseInt(g(0x162))/0x3+parseInt(g(0x159))/0x4*(-parseInt(g(0x14b))/0x5)+-parseInt(g(0x161))/0x6+-parseInt(g(0x15d))/0x7*(parseInt(g(0x163))/0x8)+parseInt(g(0x150))/0x9*(parseInt(g(0x156))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x80bd5));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a5d;if(c){const e=c[h(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const i=a5d;return a5a[i(0x160)]()[i(0x14e)](i(0x15f))[i(0x160)]()[i(0x153)](a5a)[i(0x14e)]('(((.+)+)+)+$');});function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x148;let f=c[d];return f;},a5d(a,b);}a5a();import a5e 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['create']({'name':'create-ecr','aliases':[a5j(0x15c)],'usage':'maka\x20aws:create-ecr','requiredOpts':[a5j(0x164)],'validOpts':[a5j(0x148)],'shortDesc':'Create\x20an\x20Elastic\x20Container\x20Repository','examples':[a5j(0x165),a5j(0x158),a5j(0x157)]},async function(a,b){const k=a5j;try{const c=new AWS(),d=await c[k(0x15e)](b);d&&d[k(0x154)]['httpStatusCode']===0xc8&&d[k(0x14d)]?(Log[k(0x14a)](k(0x151)),Log[k(0x14f)]('Repository\x20URI:\x20'+d['repository'][k(0x155)])):Log[k(0x152)](k(0x149)),process[k(0x14c)](0x0);}catch(f){Log[k(0x152)](f),process[k(0x14c)](0x1);}},a5e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d=-parseInt(i(0xd3))/0x1*(parseInt(i(0xe0))/0x2)+parseInt(i(0xd5))/0x3*(parseInt(i(0xd0))/0x4)+parseInt(i(0xdc))/0x5*(-parseInt(i(0xd9))/0x6)+-parseInt(i(0xd8))/0x7+-parseInt(i(0xd6))/0x8*(-parseInt(i(0xc7))/0x9)+-parseInt(i(0xc9))/0xa*(-parseInt(i(0xd4))/0xb)+parseInt(i(0xde))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x4d3de));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a6d;if(c){const e=c[j(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const k=a6d;return a6a[k(0xc6)]()[k(0xcd)]('(((.+)+)+)+$')['toString']()[k(0xc8)](a6a)[k(0xcd)](k(0xdb));});function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0xc4;let f=c[d];return f;},a6d(a,b);}a6a();import a6e from'./aws.command.js';import{Command}from'../../command.js';function a6c(){const n=['142570DyeBPU','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','Instance\x20not\x20found','error','search','publicIp','create-hosted-zone','1347856yHxBsN','route53CreateHostedZone','apply','4365viiMnM','110PaDJkO','3myZwyo','56KohFcO','domain','907697KhqfEU','12SUnCHI','linkEC2ToRoute53','(((.+)+)+)+$','765490SmbYPg','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','3915000vUbOwF','maka\x20aws:create-hosted-zone\x20--domain=example.com','262vucaOm','chz','maka\x20aws:chz\x20--domain=example.com','toString','666360iRqRHr','constructor'];a6c=function(){return n;};return a6c();}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':a6l(0xcf),'aliases':[a6l(0xc4)],'usage':'maka\x20aws:create-hosted-zone','requiredOpts':[a6l(0xd7)],'validOpts':[],'shortDesc':a6l(0xdd),'examples':[a6l(0xdf),a6l(0xc5)]},async function(a,b){const m=a6l;try{const c=b[m(0xd7)],d=new AWS();d[m(0xd1)](c);const f=await Actions['confirm']('Set\x20hosted\x20zone\x20to\x20an\x20instance?');if(f){const g=await d['chooseInstance']();if(g?.['id']){if(!g[m(0xce)])throw Log[m(0xcc)](m(0xca));d[m(0xda)](g['id'],g[m(0xce)],c);}else throw m(0xcb);}}catch(h){h&&Log['error'](h),process['exit'](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(0x11e))/0x1*(-parseInt(Y(0x100))/0x2)+parseInt(Y(0xf2))/0x3+-parseInt(Y(0x129))/0x4+parseInt(Y(0x108))/0x5+-parseInt(Y(0x130))/0x6*(parseInt(Y(0x136))/0x7)+-parseInt(Y(0xf7))/0x8*(-parseInt(Y(0x12f))/0x9)+parseInt(Y(0x107))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x91f67));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a[a0(0xfe)]()['search'](a0(0x114))['toString']()[a0(0x11f)](a7a)[a0(0x110)](a0(0x114));});function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0xec;let f=c[d];return f;},a7d(a,b);}function a7c(){const a3=['4890570TNclST','create','environment','listAvailableSubnets','number','getEnvFromShorthand','deleteSecurityGroup','Subnet:\x20','search','unlinkSync','EC2\x20Name:\x20[','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','(((.+)+)+)+$','listAvailableAMIs','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','No\x20instance\x20has\x20been\x20created.','chooseVPC','Create\x20new\x20AWS\x20instance','deleteKeyPair','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','maka\x20aws:ci\x20--env\x20prod','Would\x20you\x20like\x20to\x20include\x20user\x20data?','4FnDekw','constructor','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','Security\x20Group\x20Name:\x20[','ec2create','**\x20Available\x20key-pairs\x20**','chooseSecurityGroup','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','User\x20Data:','isFile','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','1980516wrMrxK','user-data','notice','Security\x20Group:\x20','string','22,80,443','347877CxrNoC','105882tHnzMS','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','fsi','ImageID:','maka\x20aws:create-instance','308vGzjpF','ask','Please\x20choose\x20a\x20key\x20to\x20use:\x20','apply','Remove\x20the\x20security\x20group\x20','create-instance','Web\x20App','getMakaProjectConfig','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','2046819YopPup','Setting\x20the\x20key-pair\x20to:\x20','Name','Instace\x20Type:\x20','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','8hCPzoM','split','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','getAppConfigPath','env','bright','maka-cli','toString','error','409432nrHQyW','exit','confirm','success','ec2createSG','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','\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','9892840SMRSUs'];a7c=function(){return a3;};return a7c();}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';import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';Command[a7a1(0x109)]({'name':a7a1(0xee),'aliases':['ci'],'usage':a7a1(0x135),'examples':['maka\x20aws:create-instance\x20--env\x20dev',a7a1(0x11c)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a1(0xfb)}],'validOpts':[],'shortDesc':a7a1(0x119),'description':a7a1(0x106)},async function(a,b){const a2=a7a1;try{const c=this[a2(0x133)][a2(0xf0)](),d=new AWS(),f=new FSI(),{appName:g}=c,h=this['fsi'][a2(0x10d)](b[a2(0xfb)]),i=this[a2(0x133)][a2(0xfa)](h),j=g+'-'+h,k=await Actions[a2(0x137)](a2(0x112)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions['confirm'](a2(0x113),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await d['createKeyPair']({'env':h});r=y,s=z,Log[a2(0x103)](a2(0xf3)+r);}else try{Log['notice'](a2(0x123));const A=r?r:k,B=await d['ec2describeKeys']({'suggestion':A}),C=await Actions[a2(0x137)](a2(0x138))||'-1';if(parseInt(C)<0x0){Log[a2(0xff)](a2(0x128)),Log['notice'](a2(0x117));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D['name'],Log['success'](a2(0xf3)+r);break;}}}catch(E){Log[a2(0xff)](E);}l=await d[a2(0x118)]();const t=await Actions[a2(0x102)](a2(0xf1),!![]);let u;if(t){const F=l===''?await d[a2(0x118)]():l;u=await Actions['ask'](a2(0x121)+k+']')||k;const G=await Actions[a2(0x137)](a2(0x120))||a2(0x12e),H=G[a2(0xf8)](',');await d[a2(0x104)]({'description':a2(0xef),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await d[a2(0x124)](u),n=await d[a2(0x115)](),p=await d[a2(0x10b)]();const v=0x1,w=0x1;try{const I=await Actions[a2(0x137)](a2(0x105))||'1:1',J=I[a2(0xf8)](':')[0x0],K=I[a2(0xf8)](':')[0x1];typeof parseInt(J)===a2(0x10c)&&typeof parseInt(K)===a2(0x10c)&&Log[a2(0x103)](a2(0xf6)+J+':'+K);}catch(L){Log[a2(0xff)](L);}try{const M=await Actions[a2(0x137)](a2(0x131))||'t3.micro';typeof M===a2(0x12d)&&(o=M);}catch(N){Log[a2(0xff)](N);}let x='';try{const O=await Actions[a2(0x102)](a2(0x11d),![]);O&&(x=a7f['join'](i,a2(0x12a)),Log['notice']('Creating\x20user\x20data\x20file\x20in\x20'+x),await this[a2(0x133)]['createFile']({'filePath':x,'data':''}),await Actions[a2(0x102)](a2(0x116)));}catch(P){Log[a2(0xff)](P);}try{const Q=await d['getSubnetCidr'](p);Log[a2(0x12b)](a2(0x134)+n),Log[a2(0x12b)]('Instance\x20Count:\x20'+v+':'+w),Log['notice'](a2(0xf5)+o),Log[a2(0x12b)]('Key-Pair:\x20'+r),Log[a2(0x12b)](a2(0x12c)+m),Log[a2(0x12b)](a2(0x10f)+Q);if(x){Log['notice'](a2(0x126)+x);const S=a7g['readFileSync'](x)[a2(0xfe)]();Log[a2(0x12b)](S);}const R=await Actions[a2(0x102)](a2(0x125));if(R){const T=await d[a2(0x122)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':'created-by','Value':a2(0xfd)},{'Key':a2(0x10a),'Value':h},{'Key':a2(0xf4),'Value':k}],...x&&{'userData':x}});T&&(Log[a2(0x103)](a2(0x132)),Log[a2(0xfc)](a2(0xf9)));}else{Log[a2(0x12b)](a2(0x11b));const U=await Actions[a2(0x102)]('Remove\x20the\x20keypair\x20'+r+'\x20?',!![]);U&&(d[a2(0x11a)](r),f[a2(0x127)](s)&&a7g[a2(0x111)](s));const V=await Actions[a2(0x102)](a2(0xed)+m+'\x20?',!![]);V&&d[a2(0x10e)](m);}}catch(W){Log[a2(0xff)](W);}}catch(X){X&&Log[a2(0xff)](X),process[a2(0x101)](0x0);}},a7e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a8c(){const l=['create-key-pair','ckp','fsi','305Tpfezg','\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','exit','env','447526hIdwfC','5568596Trzgsi','create','maka\x20aws:create-key-pair\x20--env\x20prod','8NuRvGR','711261lEraOy','(((.+)+)+)+$','48123CmZJxr','1350769PzxTJK','search','1375216ddiGUn','20AkETHB','error','90AunIoC','maka\x20aws:ckp\x20--env\x20prod','getEnvFromShorthand','createKeyPair','8538KUYcAo','apply','toString','constructor'];a8c=function(){return l;};return a8c();}const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=parseInt(g(0xd4))/0x1+parseInt(g(0xe1))/0x2*(parseInt(g(0xdb))/0x3)+-parseInt(g(0xde))/0x4+-parseInt(g(0xec))/0x5*(-parseInt(g(0xe5))/0x6)+parseInt(g(0xdc))/0x7*(-parseInt(g(0xd8))/0x8)+parseInt(g(0xd9))/0x9*(parseInt(g(0xdf))/0xa)+-parseInt(g(0xd5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x5aa19));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0xe7)]()[i(0xdd)]('(((.+)+)+)+$')['toString']()[i(0xe8)](a8a)[i(0xdd)](i(0xda));});function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0xd2;let f=c[d];return f;},a8d(a,b);}a8a();import a8e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a8j(0xd6)]({'name':a8j(0xe9),'aliases':[a8j(0xea)],'usage':'maka\x20aws:create-key-pair','examples':[a8j(0xd7),a8j(0xe2)],'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':'Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','description':a8j(0xed)},async function(a,b){const k=a8j;try{const c=new AWS(),d=this[k(0xeb)][k(0xe3)](b[k(0xd3)]);c[k(0xe4)]({'env':d});}catch(f){f&&Log[k(0xe0)](f),process[k(0xd2)](0x0);}},a8e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(
|
|
1
|
+
function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x128;let f=c[d];return f;},a9d(a,b);}const a9p=a9d;function a9c(){const s=['15123978AVWxfC','28xXnUNb','constructor','\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','chooseVPC','Security\x20Group\x20Name:\x20[','maka\x20aws:create-secuirty-group','63201TWRzyH','22,80,443','forEach','split','ec2createSG','1505720hlymjc','toString','search','3808548fBJbtw','159467QWtUVH','571204tnkDRr','maka\x20aws\x20create-security-group','5020660DUdxzb','name','error','create','getMakaProjectConfig','List\x20is\x20not\x20all\x20numbers','(((.+)+)+)+$','create-security-group','apply','ask','52rCIYQd'];a9c=function(){return s;};return a9c();}(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(0x134))/0x1+-parseInt(m(0x135))/0x2+parseInt(m(0x12b))/0x3*(parseInt(m(0x141))/0x4)+parseInt(m(0x137))/0x5+parseInt(m(0x133))/0x6+-parseInt(m(0x143))/0x7*(-parseInt(m(0x130))/0x8)+-parseInt(m(0x142))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x83dce));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a['toString']()[o(0x132)](o(0x13d))[o(0x131)]()[o(0x144)](a9a)[o(0x132)](o(0x13d));});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[a9p(0x13a)]({'name':a9p(0x13e),'aliases':['csg'],'usage':a9p(0x136),'validOpts':[],'shortDesc':'Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','description':a9p(0x145),'examples':[a9p(0x12a),'maka\x20aws:csg']},async function(a,b){const q=a9p;try{const c=new AWS(),d=this['fsi'][q(0x13b)](),{appName:f}=d,g=await c[q(0x128)](),h=b['name']?b[q(0x138)]:''+f,i=await Actions[q(0x140)](q(0x129)+h+']')||h,j=await Actions[q(0x140)]('Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20')||q(0x12c),k=j[q(0x12e)](',');k[q(0x12d)](l=>{const r=q;if(!l['match'](/^\d+$/))throw r(0x13c);}),await c[q(0x12f)]({'description':'Web\x20App','name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[q(0x139)](l),process['exit'](0x1);}},a9e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a10h=a10d;
|
|
1
|
+
const a10h=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=-parseInt(f(0x101))/0x1+-parseInt(f(0x112))/0x2+parseInt(f(0x109))/0x3+parseInt(f(0x116))/0x4*(-parseInt(f(0x117))/0x5)+parseInt(f(0x114))/0x6+-parseInt(f(0x102))/0x7*(parseInt(f(0x103))/0x8)+parseInt(f(0x10f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xe1499));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(0x115)]()[g(0x110)]('(((.+)+)+)+$')[g(0x115)]()[g(0x10b)](a10a)[g(0x110)](g(0x10e));});function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x100;let f=c[d];return f;},a10d(a,b);}a10a();function a10c(){const j=['Failed\x20to\x20delete\x20the\x20repository:\x20','ecrDeleteRepository','2386725lrGkvH','exit','constructor','\x20deleted\x20successfully\x20in\x20region\x20','success','(((.+)+)+)+$','29443653xKYnow','search','name','2393380PskgyR','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','6806388HUhQVy','toString','5495572jPTRCF','5mCdHpF','delete-ecr','1288024sKIKXX','1470371ziVXBL','16QWktRn','region','Delete\x20an\x20Elastic\x20Container\x20Repository','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1'];a10c=function(){return j;};return a10c();}import a10e 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['create']({'name':a10h(0x100),'aliases':['decr'],'usage':'maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','requiredOpts':[a10h(0x111),a10h(0x104)],'validOpts':[],'shortDesc':a10h(0x105),'examples':[a10h(0x106),a10h(0x113)]},async function(a,b){const i=a10h;try{const c=new AWS();await c[i(0x108)]({'repoName':b[i(0x111)],'region':b['region']}),Log[i(0x10d)]('Repository\x20'+b['name']+i(0x10c)+b[i(0x104)]+'.'),process[i(0x10a)](0x0);}catch(d){Log['error'](i(0x107)+b[i(0x111)]+'\x20in\x20region\x20'+b[i(0x104)]+'.\x20Error:\x20'+d),process['exit'](0x1);}},a10e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d
|
|
1
|
+
const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=-parseInt(f(0xed))/0x1*(parseInt(f(0xea))/0x2)+parseInt(f(0xf2))/0x3*(-parseInt(f(0xe2))/0x4)+parseInt(f(0xeb))/0x5*(parseInt(f(0xe0))/0x6)+-parseInt(f(0xec))/0x7*(parseInt(f(0xe4))/0x8)+parseInt(f(0xe8))/0x9+-parseInt(f(0xef))/0xa+parseInt(f(0xf0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x51319));function a11c(){const k=['create','(((.+)+)+)+$','192EacdTY','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','276VdXYvC','\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','985080bDrKwp','error','ec2describeInstances','constructor','5493519DBbMNa','search','419846WSUrQl','103780ArgDUq','7bhweyG','3xaVSaM','exit','5960480VXdRIT','6310821kRzcwM','toString','7251XeRHaf','maka\x20aws:describe-instances','apply','describe-instances'];a11c=function(){return k;};return a11c();}const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a['toString']()[h(0xe9)](h(0xdf))[h(0xf1)]()[h(0xe7)](a11a)['search'](h(0xdf));});function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0xdd;let f=c[d];return f;},a11d(a,b);}a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a11i(0xde)]({'name':a11i(0xdd),'aliases':['di'],'usage':a11i(0xf3),'validOpts':[],'shortDesc':a11i(0xe1),'examples':[a11i(0xf3),'maka\x20aws:di'],'description':a11i(0xe3)},async function(){const j=a11i;try{const a=new AWS();a[j(0xe6)]();}catch(b){b&&Log[j(0xe5)](b),process[j(0xee)](0x1);}},a11e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12h=a12d;(function(a,b){const f=a12d,c=a();while(!![]){try{const d=-parseInt(f(0x17a))/0x1+-parseInt(f(0x183))/0x2+-parseInt(f(0x177))/0x3*(-parseInt(f(0x180))/0x4)+-parseInt(f(0x17e))/0x5+-parseInt(f(0x175))/0x6+-parseInt(f(0x17c))/0x7+parseInt(f(0x179))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x2fe9b));const a12b=(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;};}()),a12a=a12b(this,function(){const g=a12d;return a12a['toString']()[g(0x182)](g(0x176))[g(0x184)]()['constructor'](a12a)[g(0x182)](g(0x176));});a12a();function a12c(){const j=['search','576886ikyPHE','toString','describe-key-pairs','maka\x20aws:describe-key-pairs','1228470AhLjYp','(((.+)+)+)+$','562014qxPwsF','create','7072040sIPJqU','200943UtxMHn','error','1496530TLMTVJ','dkp','772545EyCONK','maka\x20aws:dkp','8cvJIFC','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS'];a12c=function(){return j;};return a12c();}import a12e from'./aws.command.js';import{Command}from'../../command.js';function a12d(a,b){const c=a12c();return a12d=function(d,e){d=d-0x173;let f=c[d];return f;},a12d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a12h(0x178)]({'name':a12h(0x173),'aliases':[a12h(0x17d)],'usage':a12h(0x174),'validOpts':[],'shortDesc':a12h(0x181),'examples':[a12h(0x174),a12h(0x17f)]},async function(){const i=a12h;try{const a=new AWS();a['ec2describeKeys']();}catch(b){b&&Log[i(0x17b)](b),process['exit'](0x0);}},a12e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a13o=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d=parseInt(l(
|
|
1
|
+
function a13c(){const s=['search','2200649BmWlGO','\x20SGID:\x20','maka\x20aws:dsg','confirm','maka\x20aws:delete-sg','getSecurityGroups','684378YVNFpO','43508CcaUdy','exit','bright','4718976olCQsD','4SKjHtr','create','Deleting\x20a\x20','delete-security-group','toString','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','success','42NfyqjF','constructor','ID:\x20','appName','sgId','ask','(((.+)+)+)+$','\x20SG\x20NAME:\x20','getMakaProjectConfig','20yhLNMI','Deleted\x20','isMakaProject','name','error','10881351mJtSxE','7GNyCRn','4622125BBPJRS','includes','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','5027082hQahga','Not\x20deleting\x20secuirty\x20group','forEach','apply','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?'];a13c=function(){return s;};return a13c();}function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0xad;let f=c[d];return f;},a13d(a,b);}const a13o=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d=parseInt(l(0xd7))/0x1*(parseInt(l(0xb6))/0x2)+parseInt(l(0xd6))/0x3+parseInt(l(0xaf))/0x4*(-parseInt(l(0xc6))/0x5)+-parseInt(l(0xc9))/0x6*(-parseInt(l(0xc5))/0x7)+parseInt(l(0xae))/0x8+-parseInt(l(0xc4))/0x9+-parseInt(l(0xbf))/0xa*(-parseInt(l(0xd0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0xcc247));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a13d;if(c){const e=c[m(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const n=a13d;return a13a[n(0xb3)]()[n(0xcf)](n(0xbc))[n(0xb3)]()[n(0xb7)](a13a)[n(0xcf)](n(0xbc));});a13a();import a13e from'./aws.command.js';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[a13o(0xb0)]({'name':a13o(0xb2),'aliases':['dsg'],'usage':a13o(0xd4),'validOpts':[],'shortDesc':a13o(0xc8),'examples':[a13o(0xd4),a13o(0xd2)]},async function(){const p=a13o;try{const a=new AWS(),b=new FSI(),c=b[p(0xc1)]();let d='';if(c){const j=b[p(0xbe)]();d=j[p(0xb9)];}const {sgList:f}=await a[p(0xd5)]();f[p(0xcb)](function(k){const q=p;c&&k[q(0xc2)][q(0xc7)](d)?Log['notice'](q(0xb8)+k['id']+q(0xbd)+k['name']+q(0xd1)+k['sgId']):Log[q(0xad)](q(0xb8)+k['id']+q(0xbd)+k['name']+q(0xd1)+k[q(0xba)]);});let g='';const h=await Actions[p(0xbb)](p(0xcd));f['forEach'](function(k){const r=p;k['id']===parseInt(h)&&(g=k[r(0xba)]);});if(!g)throw Log[p(0xc3)](p(0xb4));const i=await Actions[p(0xd3)](p(0xb1)+g+p(0xce),![]);i?(await a['deleteSecurityGroup'](g),Log[p(0xb5)](p(0xc0)+g)):Log[p(0xc3)](p(0xca)),process[p(0xd8)](0x0);}catch(k){k&&Log[p(0xc3)](k),process[p(0xd8)](0x1);}},a13e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0x154))/0x1*(-parseInt(f(0x168))/0x2)+parseInt(f(0x153))/0x3*(-parseInt(f(0x161))/0x4)+-parseInt(f(0x15c))/0x5*(parseInt(f(0x160))/0x6)+parseInt(f(0x167))/0x7+parseInt(f(0x166))/0x8+-parseInt(f(0x15f))/0x9+-parseInt(f(0x156))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x206fe));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0x15e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a[h(0x15a)]()[h(0x165)](h(0x15d))[h(0x15a)]()['constructor'](a14a)[h(0x165)](h(0x15d));});a14a();function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x153;let f=c[d];return f;},a14d(a,b);}import a14e from'./aws.command.js';function a14c(){const k=['exit','toString','list-ecr','3270xbMFoK','(((.+)+)+)+$','apply','116955PAKWti','576CeWbJT','40iSkUnN','regions','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','error','search','2059808HRXUvW','1779533UlnllL','1006njXiNC','maka\x20aws:list-ecr','66789jnfegR','254lmtpUn','maka\x20aws:lecr\x20--regions=all','2081860VkcxZg','lecr','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1'];a14c=function(){return k;};return a14c();}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a14i(0x15b),'aliases':[a14i(0x157)],'usage':'maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','requiredOpts':[],'validOpts':[a14i(0x162)],'shortDesc':'List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','examples':[a14i(0x169),a14i(0x158),a14i(0x155)]},async function(a,b){const j=a14i;try{const c=new AWS();await c['listAllEcrRepositories'](b['regions']),Log['success']('Completed\x20listing\x20ECR\x20repositories.'),process['exit'](0x0);}catch(d){Log[j(0x164)](j(0x163)+d),process[j(0x159)](0x1);}},a14e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a15h=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x14a))/0x1*(parseInt(f(0x15f))/0x2)+parseInt(f(0x154))/0x3*(parseInt(f(0x151))/0x4)+-parseInt(f(0x15b))/0x5+parseInt(f(0x15c))/0x6*(-parseInt(f(0x163))/0x7)+parseInt(f(0x15d))/0x8+parseInt(f(0x14b))/0x9*(-parseInt(f(0x162))/0xa)+-parseInt(f(0x157))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x99e36));const a15b=(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;};}()),a15a=a15b(this,function(){const g=a15d;return a15a['toString']()[g(0x14d)](g(0x149))[g(0x156)]()[g(0x15a)](a15a)[g(0x14d)](g(0x149));});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 a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x148;let f=c[d];return f;},a15d(a,b);}function a15c(){const j=['558WXUpWm','confirm','search','rbi','instanceId','reboot-instance','157564cwOxyO','ec2rebootInstance','name','3SKpKwC','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','toString','5515312OgVyPm','create','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','constructor','3268350tUCClN','15258PmBMfC','6118752hdzRKT','maka\x20aws:reboot-instance','2Dbyphm','\x20Ready?','status','2680sYATZr','21BXVIUv','maka\x20aws:rbi','(((.+)+)+)+$','1005398gyonOA'];a15c=function(){return j;};return a15c();}Command[a15h(0x158)]({'name':a15h(0x150),'aliases':[a15h(0x14e)],'usage':a15h(0x15e),'validOpts':[],'shortDesc':'Reboot\x20an\x20EC2\x20instance','examples':['maka\x20aws:reboot-instance',a15h(0x148)]},async function(){const i=a15h;try{const a=new AWS(),b=await a['chooseInstance']();if(b?.[i(0x161)]==='running'){const c=await Actions[i(0x14c)](i(0x159)+b[i(0x153)]+i(0x160));c&&b[i(0x14f)]?a[i(0x152)]({'instanceId':b['instanceId']}):Log['error'](i(0x155)+b['name']+'\x20is\x20still\x20running.');}else Log['error']('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['exit'](0x1);}},a15e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0xb8;let f=c[d];return f;},a16d(a,b);}const a16H=a16d;(function(a,b){const E=a16d,c=a();while(!![]){try{const d=-parseInt(E(0xd1))/0x1+-parseInt(E(0xcf))/0x2+-parseInt(E(0xde))/0x3+parseInt(E(0xea))/0x4+-parseInt(E(0xec))/0x5*(parseInt(E(0xe9))/0x6)+parseInt(E(0xd5))/0x7+-parseInt(E(0xb8))/0x8*(parseInt(E(0xcd))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x748b5));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a16d;if(c){const e=c[F(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const G=a16d;return a16a['toString']()[G(0xdc)](G(0xd2))['toString']()[G(0xe0)](a16a)[G(0xdc)](G(0xd2));});a16a();function a16c(){const J=['(((.+)+)+)+$','Zip\x20Code\x20[96816]:\x20','\x20/\x20Year)','6646962QAMKkp','Person','ask','State\x20[HI]:\x20','Contact\x20First\x20Name\x20[Contact]:\x20','notice','ASSOCIATION','search','register-domain-name','476694OJksuE','create','constructor','error','Domain\x20name\x20is\x20unavailable','domain','mail@example.com','Duration\x20in\x20years\x20[1]:\x20','\x20for\x20','Address\x20Line\x202:\x20','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','6SRjBms','2674112TjxsnM','Invalid\x202\x20character\x20country\x20code','1782745xmDSen','1025392FvJmjP','apply','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','96816','maka\x20aws:register-domain-name','My\x20Comanpy,\x20LLC.','Are\x20you\x20sure?','checkDomainAvailability','+1.5555555555','\x20years\x20(','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','PERSON','options','Contact','The\x20domain\x20name:\x20','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','rdn','\x20/\x20Year\x20\x0a','Do\x20you\x20wish\x20to\x20register\x20','maka\x20aws:rdn\x20--domain=example.com','PUBLIC_BODY','9zgnQGX','Auto\x20Renew:\x20','23002jgEhwy','confirm','485607vfMbsu'];a16c=function(){return J;};return a16c();}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){return Object['values'](CountryCode)['includes'](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16H(0xdf)]({'name':a16H(0xdd),'aliases':[a16H(0xc8)],'usage':a16H(0xbc),'requiredOpts':[a16H(0xe3)],'validOpts':[],'shortDesc':a16H(0xe8),'examples':['maka\x20aws:register-domain-name\x20--domain=example.com',a16H(0xcb)]},async function(a,b){const I=a16H;try{const c=b[I(0xe3)],d=new AWS(),{available:f,cost:g}=await d[I(0xbf)](c);if(f&&g){Log[I(0xda)](I(0xc6)+c+'\x20is\x20available\x20for:');const {Price:h,Currency:i}=g;Log['warn']('\x20\x20'+h+'\x20'+i+I(0xc9));const j=await Actions[I(0xd0)](I(0xca)+c+'\x20?',![]);if(j){const k={'type':'list','name':'contactType','message':'Choose\x20contact\x20type','choices':[I(0xdb),'COMPANY','PERSON',I(0xcc),'RESELLER']},l=await Actions['ask'](I(0xe5))||'1',m=await Actions['ask'](I(0xd9))||I(0xc5),n=await Actions[I(0xd7)]('Contact\x20Last\x20Name\x20[Person]:\x20')||I(0xd6),{contactType:o}=await Actions[I(0xc4)](k),p=await Actions[I(0xd7)](I(0xba))||'123\x20Glorious\x20Way',q=await Actions['ask'](I(0xe7)),r=await Actions['ask'](I(0xd3))||I(0xbb),s=await Actions['ask'](I(0xd8))||'HI',t=await Actions[I(0xd7)]('Country\x20Code\x20[US]:\x20')||'US',u=getCountryCodeEnum(t);if(!u)throw Log[I(0xe1)](I(0xeb));const v=await Actions['ask'](I(0xc2))||I(0xc0),w=await Actions[I(0xd7)](I(0xc7))||'+1.5555555556',x=await Actions[I(0xd7)]('Contact\x20Email\x20[mail@example.com]:\x20')||I(0xe4),y=await Actions[I(0xd0)](I(0xce)),z={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':u,'AddressLine1':p,'AddressLine2':q,'ZipCode':r,'PhoneNumber':v,'Fax':w,'State':s,'Email':x};if(o!==I(0xc3)){const C=await Actions[I(0xd7)]('Organization\x20Name\x20[My\x20Company,\x20LLC.]:')||I(0xbd);z['OrganizationName']=C;}const A=h||0x0*parseInt(l);Log[I(0xda)]('Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:'),Log['warn'](A+'\x20'+i+I(0xe6)+l+I(0xc1)+h+'\x20'+i+I(0xd4));const B=await Actions[I(0xd0)](I(0xbe));B&&await d['registerDomain'](z,c,parseInt(l),y);}}else throw I(0xe2);}catch(D){D&&Log[I(0xe1)](D),process['exit'](0x0);}},a16e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a17j=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(0x17f))/0x1*(-parseInt(h(0x186))/0x2)+parseInt(h(0x18a))/0x3+-parseInt(h(0x183))/0x4*(-parseInt(h(0x190))/0x5)+parseInt(h(0x17e))/0x6*(parseInt(h(0x18e))/0x7)+-parseInt(h(0x175))/0x8*(parseInt(h(0x18b))/0x9)+-parseInt(h(0x176))/0xa*(-parseInt(h(0x181))/0xb)+-parseInt(h(0x191))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0x82181));const a17b=(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;};}()),a17a=a17b(this,function(){const i=a17d;return a17a[i(0x17b)]()['search'](i(0x180))[i(0x17b)]()[i(0x182)](a17a)[i(0x194)](i(0x180));});a17a();function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x175;let f=c[d];return f;},a17d(a,b);}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';function a17c(){const m=['(((.+)+)+)+$','458777ODvypD','constructor','728932MqFDBH','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','confirm','4GPhcZK','exit','Not\x20deleting\x20keypair','name','722757RzyEvK','9rIFVsu','maka\x20aws:remove-key-pair','ec2describeKeys','14tGKtNG','ask','15MvcpOy','12374244KNHdjZ','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','rkp','search','5308552hzgjRb','30nicfzp','forEach','maka\x20aws:rkp','Please\x20choose\x20a\x20key\x20to\x20delete:','create','toString','error','deleteKeyPair','1351932ZfehrP','432119IjJKxZ'];a17c=function(){return m;};return a17c();}import{Log}from'../../tools/log/log.class.js';Command[a17j(0x17a)]({'name':'remove-key-pair','aliases':[a17j(0x193)],'usage':a17j(0x18c),'validOpts':[],'shortDesc':a17j(0x184),'description':'\x0a\x20\x20After\x20being\x20show\x20a\x20list\x20of\x20available\x20key\x20pairs,\x20provide\x20the\x20name\x0a\x20\x20of\x20the\x20key\x20pair\x20that\x20you\x27d\x20like\x20to\x20delete.\x0a\x0a\x20\x20This\x20cannot\x20be\x20undone!\x0a\x20\x20','examples':[a17j(0x18c),a17j(0x178)]},async function(){const k=a17j;try{const a=new AWS(),b=await a[k(0x18d)]();let c=undefined;const d=await Actions[k(0x18f)](k(0x179));b?.[k(0x177)](function(g){const l=k;g['id']===parseInt(d)&&(c=g[l(0x189)]);});if(!c)throw Log['error']('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const f=await Actions[k(0x185)]('Deleting\x20a\x20'+c+k(0x192),![]);f?(await a[k(0x17d)](c),Log['success']('Deleted\x20'+c)):Log[k(0x17c)](k(0x188)),process[k(0x187)](0x0);}catch(g){g&&Log['error'](g),process[k(0x187)](0x1);}},a17e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18p=a18d;(function(a,b){const m=a18d,c=a();while(!![]){try{const d=-parseInt(m(0x10e))/0x1*(parseInt(m(0x126))/0x2)+parseInt(m(0x108))/0x3*(-parseInt(m(0xff))/0x4)+parseInt(m(0xfb))/0x5+parseInt(m(0x10f))/0x6*(parseInt(m(0xfc))/0x7)+parseInt(m(0x115))/0x8*(-parseInt(m(0xfd))/0x9)+parseInt(m(0xfe))/0xa*(parseInt(m(0x125))/0xb)+parseInt(m(0x119))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0x2ce77));function a18c(){const r=['template','maka\x20aws\x20set-host','getAppConfigPath','\x20IP\x20to\x20','isFile','config/ssh.json','cat\x20','env','utf8','169532NHhbhe','2KsXjAz','search','getEnvFromShorthand','success','698725urelSZ','455329FoZRiQ','9ITqytU','190uvYChI','6196KHLwDA','error','privateIp','fsi','exit','create','ask','maka\x20aws:set-host\x20--env\x20dev','(((.+)+)+)+$','150Twqelm','apply','set-host','toString','parse','stringify','147185DRHhjj','24YzLnOU','constructor','join','public','private','sth','2664568oNevLq','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','host','ssh.json','586464YvEBWs','writeFileSync','getMakaProjectConfig'];a18c=function(){return r;};return a18c();}const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a18d;if(c){const e=c[n(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const o=a18d;return a18a[o(0x10b)]()['search'](o(0x107))[o(0x10b)]()[o(0x110)](a18a)[o(0x127)]('(((.+)+)+)+$');});function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0xfb;let f=c[d];return f;},a18d(a,b);}a18a();import a18e from'path';import a18f from'fs';import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';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(0x104)]({'name':a18p(0x10a),'aliases':[a18p(0x114)],'usage':a18p(0x11d),'mustBeInMakaProject':!![],'requiredOpts':[a18p(0x123)],'validOpts':[],'shortDesc':'Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','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(0x106),'maka\x20aws:sth\x20--env\x20prod']},async function(a,b){const q=a18p;try{const c=new AWS(),d=this['fsi'][q(0x128)](b[q(0x123)]),f=this[q(0x102)][q(0x11e)](d),g=this[q(0x102)][q(0x11b)](),h=await c['chooseInstance'](),i=a18e[q(0x111)](f,q(0x118));!this[q(0x102)][q(0x120)](i)&&await this[q(0x102)][q(0x11c)]({'srcPath':q(0x121),'destPath':i,'context':{'app':g['appName']},'config':g});const j=JSON[q(0x10c)](a18f['readFileSync'](i,q(0x124))),k=await Actions[q(0x105)](q(0x116))||q(0x112);if(k){if(k===q(0x112)||k===q(0x113)){if(k===q(0x112))j[q(0x117)]=h?.['publicIp'];else k===q(0x113)&&(j[q(0x117)]=h?.[q(0x101)]);}else throw'That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22';}else j[q(0x117)]=h?.[q(0x101)];a18f[q(0x11a)](a18e[q(0x111)](f,q(0x118)),JSON[q(0x10d)](j,null,0x2)),execSync(q(0x122)+a18e[q(0x111)](f,q(0x118)),{'stdio':'inherit'}),Log[q(0x129)]('\x0aSaved\x20host\x20'+k+q(0x11f)+f+a18e['sep']+q(0x118));}catch(l){l&&Log[q(0x100)](l),process[q(0x103)](0x0);}},a18g);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a19i=a19d;function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a19d(a,b);}(function(a,b){const f=a19d,c=a();while(!![]){try{const d=-parseInt(f(0x1d5))/0x1+-parseInt(f(0x1de))/0x2*(parseInt(f(0x1d1))/0x3)+parseInt(f(0x1c7))/0x4*(parseInt(f(0x1d9))/0x5)+-parseInt(f(0x1db))/0x6+parseInt(f(0x1cc))/0x7+-parseInt(f(0x1c8))/0x8*(parseInt(f(0x1d7))/0x9)+parseInt(f(0x1c2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0x58c6f));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a[h(0x1d6)]()[h(0x1da)](h(0x1ca))[h(0x1d6)]()[h(0x1c6)](a19a)['search']('(((.+)+)+)+$');});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 a19c(){const k=['There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','517111TTMqAM','exit','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','Terminate\x20an\x20EC2\x20instance','maka\x20aws:terminate-instance','556797gyDhbS','confirm','maka\x20aws:ti','apply','70997bXNeAw','toString','713466wrqxgV','ec2terminateInstance','5NBCAMc','search','747930wfwrMm','create','running','2ynSjFZ','2678310kfhxhY','error','\x20Ready?','instanceId','constructor','2881096yzYcNK','32MIpDgt','name','(((.+)+)+)+$'];a19c=function(){return k;};return a19c();}Command[a19i(0x1dc)]({'name':'terminate-instance','aliases':['ti'],'usage':a19i(0x1d0),'validOpts':[],'shortDesc':a19i(0x1cf),'description':'\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','examples':[a19i(0x1d0),a19i(0x1d3)]},async function(){const j=a19i;try{const a=new AWS(),b=await a['chooseInstance']();if(b?.[j(0x1c5)]&&b?.['status']===j(0x1dd)){const c=await Actions[j(0x1d2)]('You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20'+b[j(0x1c9)]+j(0x1c4));c?a[j(0x1d8)]({'instanceId':b[j(0x1c5)]}):Log[j(0x1c3)]('You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20'+b[j(0x1c9)]+j(0x1ce));}else Log[j(0x1c3)](j(0x1cb));}catch(d){d&&Log[j(0x1c3)](d),process[j(0x1cd)](0x1);}},a19e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a20d,c=a();while(!![]){try{var d
|
|
1
|
+
function a20c(){var i=['8jntdNF','2755485dhNkyl','867928pTuLSJ','search','82264UKeKbv','398120LDTAzq','59275GkUiMQ','toString','2NfunvS','574863awFEai','543246mGCKfH','(((.+)+)+)+$','apply'];a20c=function(){return i;};return a20c();}(function(a,b){var f=a20d,c=a();while(!![]){try{var d=parseInt(f(0x157))/0x1+parseInt(f(0x159))/0x2*(parseInt(f(0x15a))/0x3)+parseInt(f(0x160))/0x4+-parseInt(f(0x163))/0x5+parseInt(f(0x15b))/0x6+parseInt(f(0x162))/0x7*(-parseInt(f(0x15e))/0x8)+-parseInt(f(0x15f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x2746e));var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a[h(0x158)]()['search'](h(0x15c))[h(0x158)]()['constructor'](a20a)[h(0x161)]('(((.+)+)+)+$');});a20a();function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x157;var f=c[d];return f;},a20d(a,b);}import'./build.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a21r=a21d;(function(a,b){const o=a21d,c=a();while(!![]){try{const d=-parseInt(o(0xce))/0x1*(parseInt(o(0xde))/0x2)+-parseInt(o(0xfb))/0x3*(-parseInt(o(0xe5))/0x4)+-parseInt(o(0xdf))/0x5*(-parseInt(o(0xdd))/0x6)+parseInt(o(0xcb))/0x7+-parseInt(o(0xe8))/0x8+parseInt(o(0xdb))/0x9+-parseInt(o(0xfd))/0xa*(parseInt(o(0xd2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x30e23));function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0xca;let f=c[d];return f;},a21d(a,b);}const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a21d;if(c){const e=c[p(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const q=a21d;return a21a[q(0xda)]()[q(0xdc)](q(0xe9))[q(0xda)]()[q(0xed)](a21a)['search'](q(0xe9));});a21a();import a21e from'path';import a21f from'fs';import a21g from'semver';import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a21c(){const u=['checkMeteorPackage','confirm','update','argv','724yrjoTm','\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','force','2883504UohBfk','(((.+)+)+)+$',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','concat','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','constructor','invokeMeteorCommand','existsSync','inherit','isMeteorInstalled','app.tar.gz','maka\x20build','pathFromProject','autoupdate','create','Meteor\x20is\x20installed.','Failed\x20to\x20check\x20or\x20update\x20Meteor\x20version:\x20',').\x20Update?','apply','3882gCYAHI','--force','70sBbYaa','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','781718xGGJNj','Aborted.','error','1CkMiBC','maka\x20install\x20--force','splice','getGlobalMeteorVersion','491227XtoEUG','warn','exit','join','This\x20project\x27s\x20meteor\x20version\x20(','notice','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','build','toString','2736432jIbbbI','search','287022IeUkIm','31714pHfCCY','25jBvOxm','fsi'];a21c=function(){return u;};return a21c();}const BuildCommand=Command[a21r(0xf6)]({'name':a21r(0xd9),'usage':'maka\x20build','validOpts':[a21r(0xe7)],'aliases':['b'],'shortDesc':a21r(0xca),'mustBeInMakaProject':!![],'description':a21r(0xe6),'examples':[a21r(0xf3)]},async function(a,b){const s=a21r;try{this[s(0xe0)][s(0xf1)]()?Log[s(0xd7)](s(0xf7)):(Log[s(0xd3)](s(0xd8)),execSync(s(0xcf),{'stdio':s(0xf0)}));await this[s(0xe0)][s(0xe1)](s(0xf5),{'shouldInstall':!![]});const c=b[s(0xe7)];if(!c)try{const g=this[s(0xe0)][s(0xd1)](),h=this[s(0xe0)]['getProjectMeteorVersion'](),i=a21g['gt'](g,h);if(i){const j=await Actions['confirm'](s(0xd6)+h+s(0xea)+g+s(0xf9));j&&this[s(0xe0)]['invokeMeteorCommand'](s(0xe3),['--release',g]);}}catch(k){Log[s(0xcd)](s(0xf8)+k);}const d=[this['fsi']['pathFromProject']({'pathParts':[s(0xd9)]})][s(0xeb)](process[s(0xe4)]['slice'](0x3)),f=a21e[s(0xd5)](this[s(0xe0)][s(0xf4)]({}),'build',s(0xf2));if(a21f[s(0xef)](f)){const l=c??await Actions[s(0xe2)](s(0xec));if(!l)throw Log[s(0xcd)](s(0xcc));}d['forEach']((m,n)=>{const t=s;m===t(0xfc)&&d[t(0xd0)](n,0x2);}),this[s(0xe0)][s(0xee)](s(0xd9),d);}catch(m){console[s(0xcd)](m),process[s(0xd4)](0x0);}});export default BuildCommand;
|