@maka/maka-cli 4.1.25 → 4.1.26
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/dist/command.js +1 -1
- package/dist/commands/_index.js +1 -1
- package/dist/commands/aws/_index.js +1 -1
- package/dist/commands/aws/aws.command.js +1 -1
- package/dist/commands/aws/ci.sub.cmd.js +1 -1
- package/dist/commands/aws/ckp.sub.cmd.js +1 -1
- package/dist/commands/aws/csg.sub.cmd.js +1 -1
- package/dist/commands/aws/di.sub.cmd.js +1 -1
- package/dist/commands/aws/dks.sub.cmd.js +1 -1
- package/dist/commands/aws/rbi.sub.cmd.js +1 -1
- package/dist/commands/aws/sth.sub.cmd.js +1 -1
- package/dist/commands/aws/ti.sub.cmd.js +1 -1
- package/dist/commands/build/_index.js +1 -1
- package/dist/commands/build/build.js +1 -1
- package/dist/commands/build/docker.sub.cmd.js +1 -1
- package/dist/commands/create.js +1 -1
- package/dist/commands/debug.js +1 -1
- package/dist/commands/deploy.js +1 -1
- package/dist/commands/game/_index.js +1 -1
- package/dist/commands/game/battleship.sub.cmd.js +1 -1
- package/dist/commands/game/play.command.js +1 -1
- package/dist/commands/game/pong.sub.cmd.js +1 -1
- package/dist/commands/game/snake.sub.cmd.js +1 -1
- package/dist/commands/game/tetris.sub.cmd.js +1 -1
- package/dist/commands/generate.js +1 -1
- package/dist/commands/get/_index.js +1 -1
- package/dist/commands/get/get.command.js +1 -1
- package/dist/commands/get/global.sub.cmd.js +1 -1
- package/dist/commands/get/local.sub.cmd.js +1 -1
- package/dist/commands/help.js +1 -1
- package/dist/commands/install.js +1 -1
- package/dist/commands/jsdoc.js +1 -1
- package/dist/commands/login.js +1 -1
- package/dist/commands/logout.js +1 -1
- package/dist/commands/logs.js +1 -1
- package/dist/commands/maka.cmd.js +1 -1
- package/dist/commands/murder.js +1 -1
- package/dist/commands/reconfig.js +1 -1
- package/dist/commands/run.js +1 -1
- package/dist/commands/set/_index.js +1 -1
- package/dist/commands/set/global.sub.cmd.js +1 -1
- package/dist/commands/set/local.sub.cmd.js +1 -1
- package/dist/commands/set/set.command.js +1 -1
- package/dist/commands/ssh.js +1 -1
- package/dist/commands/ssl.js +1 -1
- package/dist/commands/test.js +1 -1
- package/dist/commands/version.js +1 -1
- package/dist/error.js +1 -1
- package/dist/generator.js +1 -1
- package/dist/generators/_index.js +1 -1
- package/dist/generators/api.js +1 -1
- package/dist/generators/collection.js +1 -1
- package/dist/generators/component.js +1 -1
- package/dist/generators/config.js +1 -1
- package/dist/generators/dbc.js +1 -1
- package/dist/generators/dockerfile.js +1 -1
- package/dist/generators/hook.js +1 -1
- package/dist/generators/kit.js +1 -1
- package/dist/generators/layout.js +1 -1
- package/dist/generators/maka.gen.js +1 -1
- package/dist/generators/methods.js +1 -1
- package/dist/generators/package.js +1 -1
- package/dist/generators/page.js +1 -1
- package/dist/generators/publish.js +1 -1
- package/dist/generators/route.js +1 -1
- package/dist/generators/scaffold.js +1 -1
- package/dist/generators/service.js +1 -1
- package/dist/generators/services/_index.js +1 -1
- package/dist/generators/services/translation.js +1 -1
- package/dist/maka.js +1 -1
- package/dist/tool.js +1 -1
- package/dist/tools/actions/actions.class.js +1 -1
- package/dist/tools/actions/actions.test.js +1 -1
- package/dist/tools/aws/aws.class.js +1 -1
- package/dist/tools/aws/aws.interfaces.js +1 -1
- package/dist/tools/docker/docker.class.js +1 -1
- package/dist/tools/docker/docker.interfaces.js +1 -1
- package/dist/tools/fsi/fsi.class.js +1 -1
- package/dist/tools/fsi/fsi.interfaces.js +1 -1
- package/dist/tools/https/https.class.js +1 -1
- package/dist/tools/https/https.interface.js +1 -1
- package/dist/tools/log/log.class.js +1 -1
- package/dist/tools/log/log.interfaces.js +1 -1
- package/dist/tools/spawn-async/spawn-async.class.js +1 -1
- package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/dist/tools/ssh/ssh.class.js +1 -1
- package/dist/tools/ssh/ssh.interfaces.js +1 -1
- package/dist/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
package/dist/commands/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a29w=a29d;(function(a,b){var u=a29d,c=a();while(!![]){try{var d=-parseInt(u(0x1e6))/0x1+parseInt(u(0x1e2))/0x2*(-parseInt(u(0x1e9))/0x3)+parseInt(u(0x1d7))/0x4+-parseInt(u(0x1df))/0x5+parseInt(u(0x1ed))/0x6*(-parseInt(u(0x1ea))/0x7)+-parseInt(u(0x1e5))/0x8*(-parseInt(u(0x1eb))/0x9)+parseInt(u(0x1ec))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0xdbc02));var a29b=(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;};}()),a29a=a29b(this,function(){var v=a29d;return a29a[v(0x1de)]()[v(0x1dc)](v(0x1e0))[v(0x1de)]()['constructor'](a29a)['search'](v(0x1e0));});function a29c(){var C=['Mptfq','212349ZdhTnt','35LfxCEQ','16551tZZfJg','23091720UKzjXY','633978BJZgfR','done','throw','hQjlr','WRAeK','356188jvcXRD','apply','__awaiter','Try,\x20maka\x20--help','create','search','value','toString','206675pCqbfb','(((.+)+)+)+$','next','14sBPxZX','help','imTWs','3808GFSKXt','1308354jaXCIz','then'];a29c=function(){return C;};return a29c();}a29a();var __awaiter=this&&this[a29w(0x1d9)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var x=a29d;'liFgb'!==x(0x1d6)?g(f):d(e[x(0x1d4)](f));});}return new(c||(c=Promise))(function(f,g){var B=a29d;function h(k){var y=a29d;if('hQjlr'===y(0x1d5))try{j(d[y(0x1e1)](k));}catch(l){g(l);}else try{i(j[y(0x1d4)](k));}catch(o){m(o);}}function i(k){var z=a29d;try{if(z(0x1e4)!==z(0x1e4))return c[z(0x1de)]()[z(0x1dc)](z(0x1e0))[z(0x1de)]()['constructor'](d)[z(0x1dc)](z(0x1e0));else j(d[z(0x1d4)](k));}catch(m){g(m);}}function j(k){var A=a29d;if('DYKvB'===A(0x1e8)){var m=d['apply'](e,arguments);return f=null,m;}else k[A(0x1ee)]?f(k['value']):e(k[A(0x1dd)])[A(0x1e7)](h,i);}j((d=d[B(0x1d8)](a,b||[]))['next']());});};import{Command}from'../command.js';import{UsageError}from'../error.js';function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x1d4;var f=c[d];return f;},a29d(a,b);}Command[a29w(0x1db)]({'name':a29w(0x1e3),'description':a29w(0x1da),'aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){throw new UsageError();});});
|
package/dist/commands/install.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a30E=a30d;function
|
|
1
|
+
const a30E=a30d;function a30c(){const L=['wIqhz','done','then','platform','Using\x20CA\x20Cert\x20','.meteor','error','install','8848777OlARPq','51005680dKdHlW','Allowing\x20insecure\x20curl\x20connections.','Downloading\x20meteor\x20version\x20','value','cacert','withSpinner','toString','Aborted','Network\x20error,\x20please\x20try\x20again.','force','meteor.tar.gz','\x20-s\x20https://install.meteor.com/','next','string','-xzf','keepInstall','version','exit','Removing\x20previous\x20install\x20of\x20meteor','cert','ueqns','curl\x20','replace','homedir','712128bwLkXy','TQCSm','maka\x20install\x20meteor\x20--version\x201.12.1','os.osx.x86_64','sync','isFile','apply','search','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','zwoMK','3hAOhRo','1592TahNNf','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','fsi','-rf','maka\x20i','tar','pafyv','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','2382154CXbkts','grep','8317338iuJrEs','throw','\x20installed.\x0a','--output','guoTX','83277jCwpQW','confirm','existsSync','RELEASE=','win32','eVXSA','5OqmvoR','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','curl','allowInsecure','gNoaV','XPUeP','warn','--cacert','Meteor\x20version\x20','/meteor-bootstrap-','(((.+)+)+)+$','maka\x20install\x20meteor\x20-v\x202.3.6','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','maka\x20install','1017171PRmTBJ','https://static-meteor.netdna-ssl.com/packages-bootstrap/','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','mkdir\x20-p\x20','visEG','.tar.gz','OnDxV','JIFar','ignore','__awaiter','success','lXFCT','join'];a30c=function(){return L;};return a30c();}(function(a,b){const B=a30d,c=a();while(!![]){try{const d=-parseInt(B(0x17f))/0x1+parseInt(B(0x1c0))/0x2*(parseInt(B(0x1b7))/0x3)+parseInt(B(0x1ad))/0x4+-parseInt(B(0x1cd))/0x5*(parseInt(B(0x1c2))/0x6)+-parseInt(B(0x194))/0x7+parseInt(B(0x1b8))/0x8*(-parseInt(B(0x1c7))/0x9)+parseInt(B(0x195))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xea939));const a30b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a30d;if(c){const e=c[C(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){const D=a30d;return a30a['toString']()[D(0x1b4)](D(0x17b))[D(0x19b)]()['constructor'](a30a)[D(0x1b4)]('(((.+)+)+)+$');});a30a();var __awaiter=this&&this[a30E(0x188)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const J=a30d;function h(k){const F=a30d;try{if(F(0x1be)==='pafyv')j(d[F(0x1a1)](k));else throw F(0x1ce)+b;}catch(m){g(m);}}function i(k){const G=a30d;if(G(0x1d1)!=='LgKqX')try{j(d[G(0x1c3)](k));}catch(l){if(G(0x1a9)!==G(0x1a9)){const n=g?function(){const H=G;if(n){const u=q[H(0x1b3)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else g(l);}else d(e[G(0x1a1)](f));}function j(k){const I=a30d;I(0x183)!==I(0x183)?(c[I(0x1d3)]('Allowing\x20insecure\x20curl\x20connections.'),d=['-k']):k[I(0x18d)]?f(k['value']):e(k[I(0x198)])[I(0x18e)](h,i);}j((d=d[J(0x1b3)](a,b||[]))[J(0x1a1)]());});};import a30x from'os';import a30y from'path';import a30z from'fs';import a30A from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x178;let f=c[d];return f;},a30d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30x[a30E(0x1ac)]();Command['create']({'name':a30E(0x193),'aliases':['i'],'validOpts':['f',a30E(0x19e),'v','version','debug',a30E(0x199),a30E(0x1a4)],'usage':a30E(0x17e),'description':a30E(0x1bf),'examples':['maka\x20install\x20meteor','maka\x20install\x20meteor\x20--force',a30E(0x17c),a30E(0x1af),a30E(0x1bc)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a30d;try{let c=[],d='';if(b['cacert']){if(this['fsi']['isFile'](b['cacert']))Log['notice'](K(0x190)+b[K(0x199)]),d=b['cacert'],c=[K(0x178),d];else throw K(0x1ce)+d;}const f=yield this[K(0x1ba)]['getGlobalConfig']();if(f[K(0x1a8)]){if(this['fsi'][K(0x1b2)](f[K(0x1a8)])){if('JIFar'===K(0x186))d=f[K(0x1a8)],c=[K(0x178),d];else try{i(j[K(0x1c3)](k));}catch(o){m(o);}}else{if(K(0x1c6)!==K(0x1c6))h[K(0x18d)]?i(j[K(0x198)]):k(l['value'])[K(0x18e)](m,n);else throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d;}}f[K(0x1d0)]&&(Log[K(0x1d3)](K(0x196)),c=['-k']);let g=![];b['f']||b[K(0x19e)]?g=!![]:K(0x185)!==K(0x185)?b=!![]:g=yield Actions[K(0x1c8)](K(0x181));if(!g){if(K(0x1b6)!==K(0x1ae))throw'Aborted';else c(d);}const h=process[K(0x18f)]===K(0x1cb),i=process['platform']==='darwin';let j=execSync(K(0x1aa)+c[K(0x18b)]('\x20')+K(0x1a0))['toString'](),k=yield this[K(0x1ba)][K(0x1c1)](j,K(0x1ca));if(k['length']===0x0)throw K(0x19d);let l=k[0x0][K(0x1ab)](/[^0-9.]/gi,'')[K(0x1ab)](/\r?\n|\r/,'');(typeof b['v']===K(0x1a2)||typeof b[K(0x1a5)]===K(0x1a2))&&(K(0x1cc)===K(0x1cc)?l=b['v']||b['version']:d(e[K(0x1c3)](f)));let m=a30y[K(0x18b)](homeDir,K(0x191));if(h){if(K(0x18c)===K(0x18c))Log['warn'](K(0x1b9));else throw K(0x19c);}else{a30z[K(0x1c9)](m)&&(yield SpawnAsync[K(0x19a)]('rm',[K(0x1bb),m],{'message':K(0x1a7)}));try{const t=i?K(0x1b0):'os.linux.x86_64';yield SpawnAsync[K(0x19a)](K(0x1cf),[...c,'-s',K(0x180)+l+K(0x17a)+t+K(0x184),K(0x1c5),a30y[K(0x18b)](homeDir,K(0x19f))],{'message':K(0x197)+l});const u=[K(0x1a3),a30y[K(0x18b)](homeDir,K(0x19f)),'-C',homeDir];yield SpawnAsync['withSpinner'](K(0x1bd),u,{'message':'Installing\x20meteor\x20'+l}),a30A[K(0x1b1)](a30y[K(0x18b)](homeDir,K(0x19f)),{'force':!![]});}catch(v){K(0x18a)!==K(0x1d2)?console['error'](v):(d[K(0x192)](v),f[K(0x1a6)](0x0));}try{execSync(K(0x182)+homeDir+'/.local/bin',{'stdio':'ignore'}),execSync('printf\x20\x27%s\x5cn\x27\x20\x27#!/bin/sh\x27\x20\x27exec\x20\x22$HOME/.meteor/meteor\x22\x20\x22$@\x22\x27\x20>\x20$HOME/.local/bin/meteor\x20&&\x20chmod\x20+x\x20$HOME/.local/bin/meteor',{'stdio':'ignore'}),execSync(K(0x1b5),{'stdio':'ignore'}),execSync('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc',{'stdio':'ignore'}),execSync(K(0x17d),{'stdio':K(0x187)});}catch(x){console[K(0x192)](x);}Log[K(0x189)](K(0x179)+l+K(0x1c4));}}catch(y){console['error'](y),process[K(0x1a6)](0x0);}});});
|
package/dist/commands/jsdoc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a31A=a31d;(function(a,b){const w=a31d,c=a();while(!![]){try{const d=parseInt(w(0x74))/0x1+parseInt(w(0x8d))/0x2*(-parseInt(w(0x6f))/0x3)+parseInt(w(0x7a))/0x4+-parseInt(w(0x85))/0x5+-parseInt(w(0x99))/0x6*(-parseInt(w(0x77))/0x7)+parseInt(w(0x86))/0x8*(parseInt(w(0x82))/0x9)+-parseInt(w(0x70))/0xa*(parseInt(w(0x6b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xc9260));function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x6b;let f=c[d];return f;},a31d(a,b);}const a31b=(function(){let a=!![];return function(b,c){const x=a31d;if('AnDxD'!==x(0x88))b[x(0x7b)]();else{const e=a?function(){const y=x;if(c){const f=c[y(0x91)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a31a=a31b(this,function(){const z=a31d;return a31a[z(0x94)]()['search'](z(0x84))['toString']()[z(0x6c)](a31a)[z(0x7e)](z(0x84));});a31a();import a31u from'path';import a31v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';function a31c(){const C=['writeFileSync','3AIeuzp','100iNEDRM','app/node_modules','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','132451PSbWVQ','create','plugins/markdown','889sPJioy','maka\x20jsdoc\x20--init','app/packages','3714028LjHYlA','stop','join','jsdoc','search','\x20-c\x20','utf-8','logNotice','5679iBMUyv','inherit','(((.+)+)+)+$','761525xuNKWI','8296ItsVAc','GOldk','AnDxD','sep','app/private','\x20-d\x20','\x0a[+]\x20Documentation\x20written\x20to\x20','1888142ehvgLY','pathFromProject','app/public','ttFuE','apply','logWithSpinner','docs','toString','\x20-r\x20app','jsdoc-config.json','hQsIy','fsi','10410RztxkQ','16907eRHqud','constructor','maka\x20jsdoc'];a31c=function(){return C;};return a31c();}Command[a31A(0x75)]({'name':a31A(0x7d),'usage':a31A(0x6d),'mustBeInMakaProject':!![],'description':a31A(0x73),'examples':[a31A(0x78),a31A(0x6d)]},function(a){const B=a31A;let b=a31u[B(0x7c)](this['fsi'][B(0x8e)]({}),B(0x93)+a31u[B(0x89)]),c=a31u[B(0x7c)](this[B(0x98)][B(0x8e)]({}),'config',B(0x96)),d=this['fsi'][B(0x8e)]({}),f=B(0x7d);if(!this['isFile'](c)){if(B(0x97)==='TOqLK'){if(e){const i=i[B(0x91)](j,arguments);return k=null,i;}}else{let i={'plugins':[B(0x76)],'tags':{'allowUnknownTags':!![],'dictionaries':[B(0x7d),'closure']},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':[B(0x79),B(0x71),B(0x8f),B(0x8a)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':B(0x80)}};a31v[B(0x6e)](c,JSON['stringify'](i,null,0x4));}}let g=this[B(0x92)]('Running\x20'+f);try{let j=f+B(0x7f)+c+B(0x95)+a31u['sep']+B(0x8b)+b;execSync(j,{'cwd':d,'stdio':B(0x83)}),this[B(0x81)](B(0x8c)+b);}catch(k){if(B(0x90)!==B(0x87))this['logError'](k),this['logError'](B(0x72));else{let m=h+'\x20-c\x20'+i+B(0x95)+j[B(0x89)]+B(0x8b)+k;l(m,{'cwd':m,'stdio':B(0x83)}),this[B(0x81)](B(0x8c)+n);}}finally{g[B(0x7b)]();}});
|
package/dist/commands/login.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a32D=a32d;(function(a,b){const A=a32d,c=a();while(!![]){try{const d=parseInt(A(0x19f))/0x1*(-parseInt(A(0x18a))/0x2)+parseInt(A(0x197))/0x3*(-parseInt(A(0x1b6))/0x4)+-parseInt(A(0x193))/0x5*(-parseInt(A(0x1a5))/0x6)+parseInt(A(0x1a8))/0x7*(-parseInt(A(0x184))/0x8)+parseInt(A(0x18b))/0x9+-parseInt(A(0x1ca))/0xa*(-parseInt(A(0x18f))/0xb)+parseInt(A(0x1b9))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0xf1a83));function a32c(){const K=['6918928BCscVL','next','debug','start','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Logging\x20into\x20https://www.maka-cli.com','82MfDdej','16551873hwKyxV','assign','search','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','45925siSQZd','xaxsG','post','(((.+)+)+)+$','95pLCTUb','Email:','RjLlz','gtrWQ','9327BCsbCz','error','EehWm','get','success','sha256','uvoQg','notice','32371RowDXH','toHex','cert','email','throw','cacert','256902ENxppu','password','isFile','7KWxioQ','ask','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','IZcWW','TIMEOUT','done','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','header','constructor','okxTY','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','ZSOcV','/api/v1/login','724tKxmur','UPNZC','Using\x20CA\x20Cert\x20','6440856mlrJRV','help','maka\x20login','Logging\x20in','kgFmK','eBUOP','create','digest','__awaiter','https://www.maka-cli.com/api/v1/encodeJwt','Preflight\x20Check','MEPuY','setGlobalConfig','authToken','Password:\x20','getGlobalConfig','MXoxG','1330RkQOax','www.maka-cli.com','failure','apply','value','fsi'];a32c=function(){return K;};return a32c();}const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a32d;if(c){const e=c[B(0x1cd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const C=a32d;return a32a['toString']()[C(0x18d)](C(0x192))['toString']()[C(0x1b1)](a32a)[C(0x18d)]('(((.+)+)+)+$');});a32a();var __awaiter=this&&this[a32D(0x1c1)]||function(a,b,c,d){function e(f){const E=a32d;if('SmlWL'==='SmlWL')return f instanceof c?f:new c(function(g){g(f);});else{const h={'token':f,'hash':g};h[E(0x1a4)]&&k['assign'](h,{'cert':l}),this[E(0x183)][E(0x1c5)]({'config':h});}}return new(c||(c=Promise))(function(f,g){const I=a32d;function h(k){const F=a32d;try{j(d[F(0x185)](k));}catch(l){g(l);}}function i(k){const G=a32d;try{j(d[G(0x1a3)](k));}catch(l){if('IejNI'===G(0x190)){if(this[G(0x183)][G(0x1a7)](f['cert']))k=l[G(0x1a1)];else{m[G(0x198)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+n);return;}}else g(l);}}function j(k){const H=a32d;H(0x19d)!=='uvoQg'?(e=f[H(0x1a4)],g[H(0x19e)](H(0x1b8)+h)):k[H(0x1ae)]?f(k[H(0x182)]):e(k['value'])['then'](h,i);}j((d=d[I(0x1cd)](a,b||[]))['next']());});};import a32u from'node-forge';import{Command}from'../command.js';function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x182;let f=c[d];return f;},a32d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';Command[a32D(0x1bf)]({'name':'login','validOpts':[a32D(0x1a2),'password',a32D(0x1ba),a32D(0x1a4),a32D(0x186)],'usage':a32D(0x1bb),'maxArgLength':0x2,'description':a32D(0x18e),'examples':[a32D(0x1bb),a32D(0x1af)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const J=a32d;let c=Log['withSpinner']();try{if(J(0x1ac)===J(0x1ac)){let d='';if(b[J(0x1a4)]){if(J(0x1c9)!==J(0x1c4)){if(this[J(0x183)][J(0x1a7)](b[J(0x1a4)]))d=b['cacert'],Log[J(0x19e)](J(0x1b8)+d);else{if('XMkpQ'!==J(0x1b4))Log[J(0x198)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d);else{b[J(0x1cc)]('\x0a');throw J(0x1aa);}}}else try{i(j[J(0x185)](k));}catch(r){m(r);}}const f=this[J(0x183)][J(0x1c8)]();if(f['cert']){if(J(0x1b7)!==J(0x195)){if(this[J(0x183)][J(0x1a7)](f[J(0x1a1)]))J(0x199)===J(0x1b2)?d(e[J(0x1a3)](f)):d=f['cert'];else{Log['error'](J(0x188)+d);return;}}else throw b;}Log[J(0x1b0)](J(0x189));const g={'url':'https://www.maka-cli.com/api/v1/status'};b[J(0x1a4)]&&Object[J(0x18c)](g,{'cert':d});c[J(0x187)](J(0x1c3));const h=yield HTTPS['get'](g);if(h==='TIMEOUT'){c[J(0x1cc)]();throw J(0x1b3);}c[J(0x19b)]();let i=b[J(0x1a2)]?b[J(0x1a2)]:yield Actions['ask'](J(0x194)),j=b[J(0x1a6)]?b[J(0x1a6)]:yield Actions[J(0x1a9)](J(0x1c7),!![]);if(h!==':D'){if('zVVGs'===J(0x1be))c[J(0x198)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d);else throw J(0x1ab);}const k=a32u['md'][J(0x19c)][J(0x1bf)]();k['update'](j);const l=k[J(0x1c0)]()[J(0x1a0)](),m={'hostname':J(0x1cb),'path':J(0x1b5),'data':{'email':i,'password':l,'hashed':!![]}};b[J(0x1a4)]&&(J(0x1bd)!=='yNmaQ'?Object[J(0x18c)](m,{'cert':d}):d(e[J(0x185)](f)));c[J(0x187)](J(0x1bc));const n=yield HTTPS[J(0x191)](m);if(n===J(0x1ad)){c['failure']('\x0a');throw J(0x1aa);}let o=null;if(n[J(0x1c6)]){const v={'url':J(0x1c2),'headers':{'x-auth-token':n['authToken']}};b[J(0x1a4)]&&Object[J(0x18c)](v,{'cert':d});o=yield HTTPS[J(0x19a)](v);if(o===J(0x1ad)){c[J(0x1cc)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}else throw n;if(o){const w={'token':n,'hash':o};b['cacert']&&Object[J(0x18c)](w,{'cert':d}),this['fsi'][J(0x1c5)]({'config':w});}c[J(0x19b)]();}else d['assign'](e,{'cert':f});}catch(y){J(0x196)!=='gtrWQ'?(y[J(0x1cc)](),f[J(0x198)](g),h['exit'](0x0)):(c[J(0x1cc)](),console[J(0x198)](y),process['exit'](0x0));}});});
|
package/dist/commands/logout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a33D=a33d;(function(a,b){const u=a33d,c=a();while(!![]){try{const d=parseInt(u(0x176))/0x1+-parseInt(u(0x146))/0x2+parseInt(u(0x15c))/0x3+-parseInt(u(0x178))/0x4*(parseInt(u(0x170))/0x5)+parseInt(u(0x15e))/0x6+parseInt(u(0x147))/0x7+-parseInt(u(0x14d))/0x8*(-parseInt(u(0x141))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x73ef7));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a33d;if(v(0x161)===v(0x161)){if(c){if('sFEKa'!==v(0x14e)){const e=c[v(0x17b)](b,arguments);return c=null,e;}else h[v(0x175)]?i(j[v(0x17f)]):k(l[v(0x17f)])[v(0x15a)](m,n);}}else c(d);}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const w=a33d;return a33a['toString']()[w(0x171)]('(((.+)+)+)+$')['toString']()['constructor'](a33a)[w(0x171)]('(((.+)+)+)+$');});a33a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const x=a33d;if('kuCkM'!==x(0x153))c[x(0x145)](d);else return f instanceof c?f:new c(function(h){const y=x;if(y(0x144)!==y(0x144)){b['failure']();throw y(0x15b);}else h(f);});}return new(c||(c=Promise))(function(f,g){const C=a33d;function h(k){const z=a33d;if('lXASC'===z(0x167))return f instanceof g?h:new i(function(m){m(k);});else try{j(d[z(0x16f)](k));}catch(m){g(m);}}function i(k){const A=a33d;try{j(d[A(0x152)](k));}catch(l){if(A(0x149)==='UMLYz'){const n=d[A(0x17b)](l,arguments);return f=null,n;}else g(l);}}function j(k){const B=a33d;k[B(0x175)]?f(k[B(0x17f)]):e(k['value'])[B(0x15a)](h,i);}j((d=d[C(0x17b)](a,b||[]))[C(0x16f)]());});};import{Command}from'../command.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x141;let f=c[d];return f;},a33d(a,b);}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command[a33D(0x160)]({'name':'logout','validOpts':[a33D(0x177)],'usage':a33D(0x150),'maxArgLength':0x2,'description':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','examples':[a33D(0x150)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const E=a33d;if(E(0x143)===E(0x179))c=d[E(0x17e)];else{let f=Log['withSpinner']();try{let g='';if(b[E(0x177)]){if(this[E(0x159)][E(0x157)](b[E(0x177)])){if(E(0x172)===E(0x17d)){if(e){const n=i[E(0x17b)](j,arguments);return k=null,n;}}else g=b['cacert'],Log[E(0x15d)](E(0x16b)+g);}else Log['error'](E(0x151)+g);}const h=yield this[E(0x159)][E(0x15f)]();if(h['cert']){if('NpZEo'===E(0x14f))d(e['throw'](f));else{if(this['fsi'][E(0x157)](h['cert'])){if(E(0x173)!=='buddd')try{i(j['throw'](k));}catch(p){m(p);}else g=h['cert'];}else{if(E(0x163)!==E(0x163)){b[E(0x148)]();throw E(0x156);}else{f[E(0x148)]();throw Log[E(0x145)](E(0x14a)+g);}}}}Log[E(0x174)](E(0x164));const i={'url':E(0x16a)};b[E(0x177)]&&(E(0x17c)==='Hcqev'?Object['assign'](i,{'cert':g}):(e=f['cacert'],g[E(0x15d)](E(0x16b)+h)));f[E(0x16e)]('Preflight\x20Check');const j=yield HTTPS[E(0x165)](i);if(j===E(0x14c)){f[E(0x148)]();throw E(0x156);}f[E(0x166)]();if(j!==':D'){f['failure']();throw E(0x15b);}if(!((c=h===null||h===void 0x0?void 0x0:h[E(0x169)])===null||c===void 0x0?void 0x0:c[E(0x158)])){if('crprR'!=='TgTkj')throw Log[E(0x145)](E(0x16c));else d[E(0x162)](e,{'cert':f});}f[E(0x16e)](E(0x154));const k={'hostname':E(0x142),'path':E(0x14b),'data':{},'headers':{'x-auth-token':h[E(0x169)][E(0x158)]}};b[E(0x177)]&&Object[E(0x162)](k,{'cert':g});const l=yield HTTPS[E(0x168)](k);if(l==='TIMEOUT'){f['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[E(0x159)][E(0x155)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),f[E(0x166)]();}catch(s){E(0x17a)!==E(0x17a)?c(d):(s&&console[E(0x145)](s),process[E(0x16d)](0x0));}}});});function a33c(){const F=['done','160989kKvycD','cacert','216260NmYfMH','OpYXE','jYgSy','apply','Hcqev','KaaDh','cert','value','1337067ezsEzI','www.maka-cli.com','atfPi','ZovRm','error','1578130dcTUNj','4745902ZXPZSu','failure','IASvA','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','/api/v1/logoutAll','TIMEOUT','16ihYaQg','eOshK','ymdaj','maka\x20logout','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','throw','kuCkM','Logging\x20out','setGlobalConfig','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','isFile','authToken','fsi','then','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','1279344NKsBXi','notice','2425392DsqRKM','getGlobalConfig','create','hxFzh','assign','YhZQs','Logging\x20out\x20of\x20https://www.maka-cli.com','get','success','gFNGP','post','token','https://www.maka-cli.com/api/v1/status','Using\x20CA\x20Cert\x20','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','exit','start','next','65TWukHa','search','CzccD','buddd','header'];a33c=function(){return F;};return a33c();}
|
package/dist/commands/logs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1e4;let f=c[d];return f;},a34d(a,b);}function a34c(){const G=['join','toString','maka\x20logs\x20--env\x20staging','maka\x20logs\x20--env\x20dev','5546544JWXTeT','apply','parse','9810efkAlS','36bAmeLN','183636rgzDsB','assign','10VNfcpc','maka\x20logs\x20--env\x20prod','NjdgX','1777110hjJkqk','911207gEgDqy','readFileSync','env','getConfigPath','sshSync','ssh.json','2275553MxzuSt','log','(((.+)+)+)+$','TywEk','maka\x20l\x20-e\x20p','constructor','178985niZANr','15sMleyf','create','search','fsi','18LbSdwz','6849KVJRUB'];a34c=function(){return G;};return a34c();}const a34E=a34d;(function(a,b){const A=a34d,c=a();while(!![]){try{const d=-parseInt(A(0x1ed))/0x1*(-parseInt(A(0x1ff))/0x2)+parseInt(A(0x1ee))/0x3*(-parseInt(A(0x1fd))/0x4)+-parseInt(A(0x202))/0x5+parseInt(A(0x1f2))/0x6*(-parseInt(A(0x1e7))/0x7)+parseInt(A(0x1f8))/0x8+parseInt(A(0x1f3))/0x9*(parseInt(A(0x1fb))/0xa)+parseInt(A(0x203))/0xb*(-parseInt(A(0x1fc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x806f5));const a34b=(function(){let a=!![];return function(b,c){const B=a34d;if(B(0x1ea)===B(0x201)){const e='pm2\x20logs',f=this[B(0x1f1)][B(0x1e4)](g[B(0x205)]),g=h[B(0x1f4)](f,B(0x1e6)),h=i[B(0x204)](g),i=j[B(0x1fa)](h['toString']());k[B(0x1fe)](i,{'env':f}),l['sshSync'](e,i,{'tty':!![],'verbose':!![]});}else{const e=a?function(){const C=B;if(c){const f=c[C(0x1f9)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a34a=a34b(this,function(){const D=a34d;return a34a['toString']()[D(0x1f0)](D(0x1e9))[D(0x1f5)]()[D(0x1ec)](a34a)[D(0x1f0)](D(0x1e9));});a34a();import a34y from'fs';import a34z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a34E(0x1ef)]({'name':'logs','aliases':['l',a34E(0x1e8)],'usage':a34E(0x200),'requiredOpts':[a34E(0x205)],'mustBeInMakaProject':!![],'validOpts':['help'],'description':'View\x20the\x20PM2\x20logs','examples':[a34E(0x1f7),a34E(0x1f6),a34E(0x1eb)]},function(a,b){const F=a34E;try{const c='pm2\x20logs',d=this['fsi']['getConfigPath'](b[F(0x205)]),f=a34z['join'](d,'ssh.json'),g=a34y[F(0x204)](f),h=JSON[F(0x1fa)](g[F(0x1f5)]());Object[F(0x1fe)](h,{'env':d}),SSH[F(0x1e5)](c,h,{'tty':!![],'verbose':!![]});}catch(i){throw i;}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35x=a35d;(function(a,b){const v=a35d,c=a();while(!![]){try{const d=-parseInt(v(0xfc))/0x1*(parseInt(v(0xec))/0x2)+parseInt(v(0xf1))/0x3*(parseInt(v(0xe0))/0x4)+parseInt(v(0xf8))/0x5*(-parseInt(v(0xdd))/0x6)+parseInt(v(0xf4))/0x7*(-parseInt(v(0xd6))/0x8)+-parseInt(v(0xfa))/0x9+parseInt(v(0xfd))/0xa+-parseInt(v(0xe1))/0xb*(-parseInt(v(0xde))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x21c27));function a35c(){const F=['60jDXwAZ','550EdqGpF','slice','YGJFp','search','(((.+)+)+)+$','error','fwGDR','EoaDK','Dtaey','maka\x20run','VgLed','10EGocMt','runSubCommand','done','pURcE','EoryQ','12114JuJncm','next','yZSSY','188580sHYKUk','throw','apply','IPenY','360110uNiFjB','toString','2195037SuisjM','constructor','8171JKPSYk','766330ESeTjF','then','maybeProxyCommandToMeteor','__awaiter','value','maka\x20install\x20meteor','ifzmy','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','VQuYG','72dtiuri','fvWmS','mlkfu','fsi','WAXCT','Snpff','MYffw','18IctSGp','178644gclinM','exit'];a35c=function(){return F;};return a35c();}const a35b=(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;};}()),a35a=a35b(this,function(){const w=a35d;return a35a[w(0xf9)]()['search'](w(0xe5))['toString']()[w(0xfb)](a35a)[w(0xe4)](w(0xe5));});function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xcf;let f=c[d];return f;},a35d(a,b);}a35a();var __awaiter=this&&this[a35x(0xd0)]||function(a,b,c,d){function e(f){const y=a35d;if('EoryQ'===y(0xf0))return f instanceof c?f:new c(function(g){const z=y;z(0xf7)!==z(0xdc)?g(f):c(d);});else this['fsi']['maybeProxyCommandToMeteor']();}return new(c||(c=Promise))(function(f,g){const D=a35d;function h(k){const A=a35d;if(A(0xd5)!=='VQuYG')d[A(0xe6)](e),f[A(0xdf)](0x0);else try{j(d[A(0xf2)](k));}catch(m){g(m);}}function i(k){const B=a35d;if(B(0xda)===B(0xda))try{B(0xeb)==='VgLed'?j(d['throw'](k)):d(e[B(0xf5)](f));}catch(m){B(0xd3)===B(0xe3)?h[B(0xee)]?i(j['value']):k(l['value'])[B(0xfe)](m,n):g(m);}else{const p=d[B(0xf6)](e,arguments);return f=null,p;}}function j(k){const C=a35d;if(C(0xe7)!==C(0xe7))return f instanceof g?h:new i(function(m){m(k);});else k[C(0xee)]?f(k[C(0xd1)]):e(k['value'])[C(0xfe)](h,i);}j((d=d['apply'](a,b||[]))[D(0xf2)]());});};import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'description':a35x(0xd4),'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','examples':[a35x(0xd2),'maka\x20create\x20Todo',a35x(0xea)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a35d;if(E(0xe8)!==E(0xf3))try{if(E(0xef)==='vxFMv')try{i(j['next'](k));}catch(d){m(d);}else{const d=a[0x0],f=this['findSubCommand'](d);if(f){if(E(0xd7)===E(0xe9)){const h=g?function(){if(h){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],h;}else this[E(0xed)](d,a[E(0xe2)](0x1),b);}else{if('Snpff'!==E(0xdb))return c[E(0xf9)]()[E(0xe4)](E(0xe5))[E(0xf9)]()[E(0xfb)](d)[E(0xe4)](E(0xe5));else this[E(0xd9)][E(0xcf)]();}}}catch(i){'mlkfu'!==E(0xd8)?c(d):(console[E(0xe6)](i),process[E(0xdf)](0x0));}else c(d);});});export default Maka;
|
package/dist/commands/murder.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a36y=a36d;(function(a,b){var v=a36d,c=a();while(!![]){try{var d=-parseInt(v(0x1eb))/0x1*(parseInt(v(0x1e6))/0x2)+-parseInt(v(0x204))/0x3*(parseInt(v(0x1ff))/0x4)+parseInt(v(0x20b))/0x5*(-parseInt(v(0x206))/0x6)+-parseInt(v(0x20a))/0x7*(-parseInt(v(0x1fb))/0x8)+-parseInt(v(0x1e8))/0x9*(-parseInt(v(0x1f7))/0xa)+-parseInt(v(0x20e))/0xb+-parseInt(v(0x1f0))/0xc*(-parseInt(v(0x1f3))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x4d682));var a36b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a36d;if(w(0x1f6)===w(0x1f6)){if(c){if(w(0x1fc)===w(0x1fc)){var e=c[w(0x1e9)](b,arguments);return c=null,e;}else{var h=d['apply'](e,arguments);return f=null,h;}}}else b[w(0x1f1)]('%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a',w(0x20f));}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){var x=a36d;return a36a['toString']()[x(0x20d)](x(0x209))[x(0x1ee)]()[x(0x1ec)](a36a)['search'](x(0x209));});function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0x1e6;var f=c[d];return f;},a36d(a,b);}a36a();function a36c(){var H=['exit','zdqmL','HbBVD','16ezpnHx','lBsec','throw','__awaiter','106940KkebXF','qMUsc','lPuDe','goLjI','CJKtX','45OKWchV','murder','1236IgBwgB','create','bHQhc','(((.+)+)+)+$','2188690OaPOFb','2645EMedKE','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','search','1252834zGgXeC','font-family:\x20monospace','7946biqkHG','RpiMt','861453HYiwUc','apply','nCMWr','124YClTZF','constructor','value','toString','Nagxk','12dPSowm','log','next','9263098wneFkG','then','error','tMLCs','10heifCB'];a36c=function(){return H;};return a36c();}var __awaiter=this&&this[a36y(0x1fe)]||function(a,b,c,d){function e(f){var z=a36d;if(z(0x201)==='lPuDe')return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){var E=a36d;function h(k){var A=a36d;if(A(0x1e7)!=='ZvvpZ')try{if(A(0x1ea)!==A(0x1ef))j(d[A(0x1f2)](k));else{var n=g?function(){var B=A;if(n){var u=q[B(0x1e9)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}catch(m){A(0x1fa)===A(0x1fa)?g(m):c(d);}else d[A(0x1f5)](e),f['exit'](0x0);}function i(k){var C=a36d;if(C(0x200)!==C(0x203))try{j(d[C(0x1fd)](k));}catch(l){g(l);}else d(e[C(0x1f2)](f));}function j(k){var D=a36d;if(D(0x202)!==D(0x202)){if(e){var m=i['apply'](j,arguments);return k=null,m;}}else k['done']?f(k[D(0x1ed)]):e(k[D(0x1ed)])[D(0x1f4)](h,i);}j((d=d[E(0x1e9)](a,b||[]))[E(0x1f2)]());});};import{Command}from'../command.js';Command[a36y(0x207)]({'name':a36y(0x205),'usage':'maka\x20murder','maxArgLength':0x1,'description':'Murrrrderrrrr'},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a36d;try{console[F(0x1f1)](F(0x20c),F(0x20f));}catch(b){if(F(0x208)===F(0x1f9))return b(this,void 0x0,void 0x0,function*(){var G=F;try{l[G(0x1f1)](G(0x20c),'font-family:\x20monospace');}catch(r){o[G(0x1f5)](r),p[G(0x1f8)](0x0);}});else console[F(0x1f5)](b),process[F(0x1f8)](0x0);}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a37A=a37d;(function(a,b){const w=a37d,c=a();while(!![]){try{const d
|
|
1
|
+
function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1f2;let f=c[d];return f;},a37d(a,b);}const a37A=a37d;(function(a,b){const w=a37d,c=a();while(!![]){try{const d=-parseInt(w(0x216))/0x1+-parseInt(w(0x20b))/0x2+parseInt(w(0x220))/0x3+parseInt(w(0x204))/0x4+-parseInt(w(0x21f))/0x5*(-parseInt(w(0x221))/0x6)+parseInt(w(0x1f9))/0x7+-parseInt(w(0x1f5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x669b2));const a37b=(function(){let a=!![];return function(b,c){const x=a37d;if(x(0x224)===x(0x224)){const d=a?function(){const y=x;if(c){const e=c[y(0x218)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else{const f=d[x(0x218)](e,arguments);return f=null,f;}};}()),a37a=a37b(this,function(){const z=a37d;return a37a[z(0x1fa)]()[z(0x214)](z(0x1fe))['toString']()['constructor'](a37a)[z(0x214)](z(0x1fe));});a37a();var __awaiter=this&&this[a37A(0x226)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const E=a37d;function h(k){const B=a37d;if('vWvXn'===B(0x1f8))return f instanceof g?h:new i(function(m){m(k);});else try{j(d[B(0x20f)](k));}catch(m){g(m);}}function i(k){const C=a37d;if('wgbyl'!=='BHGOu')try{j(d[C(0x20a)](k));}catch(l){g(l);}else try{i(j[C(0x20a)](k));}catch(o){m(o);}}function j(k){const D=a37d;k[D(0x225)]?f(k[D(0x211)]):e(k[D(0x211)])['then'](h,i);}j((d=d[E(0x218)](a,b||[]))['next']());});};import a37u from'fs';import a37v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a37c(){const G=['444827fChppD','reconfig','apply','notice','~/ses.json','readFileSync','Remote\x20host\x20connection\x20successful','sshSync','existsSync','5IFUXVD','1383411baemFP','4702446aCxwIf','error','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','XDPnm','done','__awaiter','join','uname\x20-a','RyYop','ssh.json','~/pm2.config.js','BlYyF','6544208DpJeKx','maka\x20reconfig\x20--env\x20prod','settings.json','lGcvI','2476873JCkVAN','toString','~/settings.json','SrDuk','env','(((.+)+)+)+$','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','assign','KaIPW','scp','ses.json','1168092vLyfUP','then','ping','exit','help','pm2.config.js','throw','415226ytWFtJ','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','OPrRc','create','next','parse','value','_keys','getConfigPath','search','ssh'];a37c=function(){return G;};return a37c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a37A(0x20e)]({'name':a37A(0x217),'validOpts':[a37A(0x208)],'requiredOpts':[a37A(0x1fd)],'mustBeInMakaProject':!![],'usage':a37A(0x1f6),'description':a37A(0x20c),'examples':[a37A(0x1f6)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a37d;try{if(F(0x201)===F(0x229)){let d={'source':e,'dest':F(0x21a),'verbose':!![]};f['scp'](d,g[F(0x200)]({},h));}else{const d=this['fsi'][F(0x213)](b[F(0x1fd)]),f=a37v[F(0x227)](d,F(0x1f2)),g=a37u[F(0x21b)](f)[F(0x1fa)]();let h=JSON[F(0x210)](g);Object['assign'](h,{'env':d}),Log[F(0x219)]('Checking\x20remote\x20host\x20availability');try{if(F(0x1f4)===F(0x20d))d(e['next'](f));else{let m=SSH[F(0x206)](F(0x228),h);if(!m)throw F(0x223);if(m)Log['success'](F(0x21c));}}catch(n){if(F(0x1fc)===F(0x1fc))throw n;else h['done']?i(j[F(0x211)]):k(l[F(0x211)])[F(0x205)](m,n);}let i=a37v['join'](d,F(0x212),F(0x203));if(a37u[F(0x21e)](i)){let p={'source':i,'dest':F(0x21a),'verbose':!![]};SSH[F(0x202)](p,Object[F(0x200)]({},h));}let j=a37v[F(0x227)](d,F(0x209));SSH[F(0x202)]({'source':j,'dest':F(0x1f3),'verbose':!![]},Object[F(0x200)]({},h));let k=a37v[F(0x227)](d,F(0x1f7));SSH[F(0x202)]({'source':k,'dest':F(0x1fb),'verbose':!![]},Object[F(0x200)]({},h)),SSH[F(0x21d)]('pm2\x20delete\x20all',h),yield SSH[F(0x215)](F(0x1ff),Object[F(0x200)]({},h),{'verbose':!![]});}}catch(q){console[F(0x222)](q),process[F(0x207)](0x0);}});});
|
package/dist/commands/run.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a38F=a38d;(function(a,b){const D=a38d,c=a();while(!![]){try{const d=parseInt(D(0x138))/0x1+parseInt(D(0x159))/0x2*(parseInt(D(0x116))/0x3)+-parseInt(D(0x133))/0x4+parseInt(D(0x11e))/0x5+-parseInt(D(0x126))/0x6+parseInt(D(0x14a))/0x7+parseInt(D(0x14e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xc0eb9));const a38b=(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;};}()),a38a=a38b(this,function(){const E=a38d;return a38a[E(0x124)]()[E(0x156)](E(0x12a))[E(0x124)]()[E(0x145)](a38a)['search'](E(0x12a));});a38a();var __awaiter=this&&this[a38F(0x162)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const J=a38d;function h(k){const G=a38d;try{'BmnSF'!==G(0x11d)?d(e[G(0x155)](f)):j(d[G(0x13e)](k));}catch(m){g(m);}}function i(k){const H=a38d;try{j(d[H(0x155)](k));}catch(l){g(l);}}function j(k){const I=a38d;k['done']?f(k[I(0x127)]):e(k[I(0x127)])[I(0x135)](h,i);}j((d=d[J(0x15a)](a,b||[]))[J(0x13e)]());});};import a38A from'path';import a38B from'fs';import a38C from'dotenv';import{execSync}from'child_process';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const K=a38F;a38B['openSync'](a,'r'),a38C[K(0x12b)]({'path':a});};function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x116;let f=c[d];return f;},a38d(a,b);}Command[a38F(0x157)]({'name':'run','mustBeInMakaProject':!![],'usage':a38F(0x139),'validOpts':[a38F(0x15c),'docker','r',a38F(0x130),'p','port','i',a38F(0x144),'m',a38F(0x158),'v','verbose','allow-incompatible-update',a38F(0x119),'x',a38F(0x128),'production'],'description':a38F(0x132)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const L=a38d;if(L(0x141)==='lhzUQ')try{if(b[L(0x158)]&&b[L(0x158)]===!![]||b['m']&&b['m']===!![]){if(L(0x15b)!==L(0x15b))e[L(0x153)](f,'r'),g['config']({'path':h});else throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';}yield this['fsi'][L(0x160)]();let c=this[L(0x140)][L(0x14f)]();const d=b[L(0x15c)]?b[L(0x15c)]:L(0x14d),f=this[L(0x140)][L(0x136)](d),g=a38A['join'](f,L(0x13c));let h=a38A[L(0x15e)](f,L(0x121));b[L(0x146)]?h=b['settings']:h=a38A[L(0x15e)](f,L(0x121));if(this[L(0x140)][L(0x161)](g)&&!b[L(0x148)])Log['notice'](L(0x12f)+g),syncSource(g);else!b[L(0x148)]&&Log[L(0x11f)](L(0x14b)+g);if(this['fsi'][L(0x161)](h)){if(L(0x152)!==L(0x152))return c[L(0x124)]()[L(0x156)](L(0x12a))[L(0x124)]()[L(0x145)](d)['search'](L(0x12a));else Log[L(0x13a)](L(0x13b)+h),a=a[L(0x12e)]([L(0x12d),h]);}else Log[L(0x11f)](L(0x122)+h);const i=f[L(0x11a)](a38A[L(0x151)]),j=i[i[L(0x125)]-0x1];j==='production'&&a['push'](L(0x129));const k=process[L(0x15f)][L(0x15d)](0x2)['filter'](n=>n!==L(0x142))[L(0x11b)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const M=L;if(M(0x11c)!==M(0x11c))d['error'](e),f[M(0x143)](0x0);else{n===M(0x154)&&k[M(0x131)](o,0x2);if(n==='-e'){if(M(0x149)===M(0x149))k[M(0x131)](o,0x2);else{const r=d[M(0x15a)](e,arguments);return f=null,r;}}}});if(b[L(0x148)]){const n=this[L(0x140)][L(0x136)](L(0x148)),o=a38A[L(0x15e)](n,L(0x134)),p=a38A['join'](n,L(0x117));Log['notice']('PM2\x20Config\x20File:\x20'+p),Log[L(0x13a)](L(0x150)+o);if(!a38B[L(0x120)](o)){const q={'app':c[L(0x12c)],'appFileCase':paramCase(c[L(0x12c)])};let r=this[L(0x140)][L(0x13d)]({'srcPath':L(0x14c),'context':q})+'\x0a';this[L(0x140)][L(0x147)]({'filePath':o,'data':r});}execSync(L(0x137)+n+L(0x123),{'stdio':L(0x13f)});}else this[L(0x140)]['invokeMeteorCommand'](L(0x142),a[L(0x12e)](k));}catch(s){console[L(0x118)](s),process[L(0x143)](0x0);}else try{i(j[L(0x155)](k));}catch(u){m(u);}});});function a38c(){const N=['next','inherit','fsi','lhzUQ','run','exit','inspect','constructor','settings','createFile','docker','DioEQ','1240666gvShzJ','Cannot\x20find\x20Node\x20Environment\x20File:\x20','config/docker-compose.yaml','development','2901696NfOxmb','getProjectConfig','Docker\x20Compose\x20Path:\x20','sep','zmwVg','openSync','--env','throw','search','create','mobile-server','913282wjmuOR','apply','HYliC','env','slice','join','argv','compareMakaToLatest','isFile','__awaiter','3rdgiAR','pm2.config.js','error','extra-packages','split','filter','BQVfJ','BmnSF','7539430SuBAuk','warn','existsSync','settings.json','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','\x20up\x20--remove-orphans','toString','length','7489122BBWMLa','value','exclude-archs','--production','(((.+)+)+)+$','config','appName','--settings','concat','Node\x20Env\x20Config:\x20','raw-logs','splice','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','3807032eUkJor','docker-compose.yaml','then','getConfigPath','docker-compose\x20--project-directory\x20','485669DSeDHO','maka\x20run\x0a\x20\x20\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20\x20\x20--docker\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Build\x20and\x20run\x20the\x20application\x20in\x20a\x20docker\x20container.\x20Requires\x20Docker.\x0a\x0a\x20\x20\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','notice','Meteor\x20Settings:\x20','process.env','templateContent'];a38c=function(){return N;};return a38c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var u=a39d,c=a();while(!![]){try{var d=-parseInt(u(0x13f))/0x1+-parseInt(u(0x140))/0x2*(parseInt(u(0x138))/0x3)+-parseInt(u(0x136))/0x4+parseInt(u(0x137))/0x5*(parseInt(u(0x141))/0x6)+-parseInt(u(0x13e))/0x7*(-parseInt(u(0x142))/0x8)+-parseInt(u(0x13d))/0x9*(-parseInt(u(0x13c))/0xa)+parseInt(u(0x135))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x9d436));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a39d;if(c){var e=c[v(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var w=a39d;return a39a['toString']()['search'](w(0x139))[w(0x13b)]()['constructor'](a39a)['search'](w(0x139));});a39a();function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0x135;var f=c[d];return f;},a39d(a,b);}function a39c(){var x=['7095121Gpjkfx','1017212PSLTTY','6520ltSZfT','6XWOIDB','(((.+)+)+)+$','apply','toString','102540nRoArO','720HoAtad','905023mjSHCV','1040936aMfCby','329592QSXYmJ','2508LUSLlu','16mcrmUi'];a39c=function(){return x;};return a39c();}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a40F=a40d;(function(a,b){const x=a40d,c=a();while(!![]){try{const d
|
|
1
|
+
function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x188;let f=c[d];return f;},a40d(a,b);}const a40F=a40d;(function(a,b){const x=a40d,c=a();while(!![]){try{const d=-parseInt(x(0x199))/0x1*(-parseInt(x(0x195))/0x2)+parseInt(x(0x18a))/0x3+parseInt(x(0x1a1))/0x4+parseInt(x(0x1a5))/0x5*(parseInt(x(0x18e))/0x6)+parseInt(x(0x1a2))/0x7+-parseInt(x(0x1a0))/0x8*(parseInt(x(0x189))/0x9)+-parseInt(x(0x19c))/0xa*(parseInt(x(0x1aa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x40556));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a40d;if(c){if('eRbeQ'===y(0x19b)){const e=c['apply'](b,arguments);return c=null,e;}else h[y(0x190)]?i(j[y(0x19f)]):k(l[y(0x19f)])[y(0x1b2)](m,n);}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const z=a40d;return a40a[z(0x19a)]()[z(0x197)]('(((.+)+)+)+$')['toString']()[z(0x196)](a40a)[z(0x197)](z(0x19e));});a40a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a40d;if(A(0x1a8)!==A(0x1a8)){if(g['allowInsecure']&&h[A(0x1a9)])throw m['error']('One\x20or\x20the\x20other\x20buddy');let i=j[A(0x18b)];k[A(0x1a9)]&&(i=![]),this['fsi'][A(0x18c)]({'config':{'allowInsecure':i}}),l[A(0x1a3)](A(0x1b4)+i);}else g(f);});}return new(c||(c=Promise))(function(f,g){const E=a40d;function h(k){const B=a40d;try{j(d[B(0x1ad)](k));}catch(l){g(l);}}function i(k){const C=a40d;try{if(C(0x1ab)!==C(0x1ab))try{i(j[C(0x1a7)](k));}catch(m){m(m);}else j(d[C(0x1a7)](k));}catch(m){g(m);}}function j(k){const D=a40d;k[D(0x190)]?f(k[D(0x19f)]):e(k['value'])['then'](h,i);}j((d=d[E(0x1b5)](a,b||[]))[E(0x1ad)]());});};import a40v from'path';import a40w from'./set.command.js';function a40c(){const H=['144591jztGhY','allowInsecure','setGlobalConfig','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','6jLnkiC','cacert','done','maka\x20set:g\x20--insecure\x20<path>','isDirectory','resolve','JfXmj','4slknpO','constructor','search','error','68329trKkku','toString','eRbeQ','6847570elPlkq','boolean','(((.+)+)+)+$','value','5864fzvLjN','116844jGSaGw','2528981JWWQJy','success','koMEU','2586595SekILS','fsi','throw','nkavx','disallowInsecure','11JLmXIT','XpeDb','Could\x20not\x20find\x20directory','next','exit','BKHQh','maka\x20set:global\x20--cacert\x20<path>','workspace','then','isFile','Set\x20allowInsecure:\x20','apply','One\x20or\x20the\x20other\x20buddy','maka\x20set:global\x20<args>','Set\x20CA\x20Cert\x20Path:\x20','global','1773gXKsSy'];a40c=function(){return H;};return a40c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a40F(0x188),'usage':a40F(0x1b7),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a40F(0x18f),a40F(0x18b),a40F(0x1a9),a40F(0x1b1)],'description':'\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','examples':[a40F(0x1b0),a40F(0x191),'maka\x20set:g\x20--workspace\x20<path>']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a40d;try{if(b[G(0x18f)]){if(this[G(0x1a6)][G(0x1b3)](b[G(0x18f)]))G(0x194)==='JfXmj'?(this[G(0x1a6)][G(0x18c)]({'config':{'cert':b['cacert']}}),Log[G(0x1a3)](G(0x1b8)+b[G(0x18f)])):(d[G(0x198)](e),f['exit'](0x0));else{const d=typeof b[G(0x18f)]===G(0x19d)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':G(0x18d)+b[G(0x18f)];throw Log[G(0x198)](d);}}if(b[G(0x1b1)]){const f=this[G(0x1a6)][G(0x192)](b[G(0x1b1)]);if(f)this[G(0x1a6)][G(0x18c)]({'config':{'workspace':a40v[G(0x193)](b[G(0x1b1)])}}),Log['success']('Set\x20workspace:\x20'+a40v[G(0x193)](b[G(0x1b1)]));else throw Log[G(0x198)](G(0x1ac));}if(b[G(0x18b)]){if(b[G(0x18b)]&&b['disallowInsecure']){if(G(0x1af)==='BKHQh')throw Log['error'](G(0x1b6));else{if(e){const i=i[G(0x1b5)](j,arguments);return k=null,i;}}}let g=b[G(0x18b)];b[G(0x1a9)]&&(g=![]),this[G(0x1a6)]['setGlobalConfig']({'config':{'allowInsecure':g}}),Log[G(0x1a3)](G(0x1b4)+g);}}catch(i){G(0x1a4)===G(0x1a4)?(console[G(0x198)](i),process[G(0x1ae)](0x0)):(this[G(0x1a6)][G(0x18c)]({'config':{'cert':d[G(0x18f)]}}),i[G(0x1a3)]('Set\x20CA\x20Cert\x20Path:\x20'+f[G(0x18f)]));}});},a40w);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a41y=a41d;(function(a,b){var v=a41d,c=a();while(!![]){try{var d=-parseInt(v(0x190))/0x1+-parseInt(v(0x1a9))/0x2*(parseInt(v(0x195))/0x3)+-parseInt(v(0x199))/0x4*(-parseInt(v(0x196))/0x5)+parseInt(v(0x193))/0x6*(parseInt(v(0x19c))/0x7)+-parseInt(v(0x1a4))/0x8*(-parseInt(v(0x19f))/0x9)+parseInt(v(0x19e))/0xa+-parseInt(v(0x19a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xca01a));var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a41d;if(w(0x18f)==='eIZxK')return f instanceof g?h:new i(function(m){m(k);});else{if(c){var e=c[w(0x19d)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var x=a41d;return a41a[x(0x192)]()[x(0x1a5)](x(0x1a1))[x(0x192)]()['constructor'](a41a)[x(0x1a5)](x(0x1a1));});a41a();function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0x18f;var f=c[d];return f;},a41d(a,b);}var __awaiter=this&&this[a41y(0x197)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var z=a41d;if('IvlnC'!==z(0x1a0))try{i(j[z(0x1a7)](k));}catch(i){m(i);}else g(f);});}return new(c||(c=Promise))(function(f,g){var D=a41d;function h(k){var A=a41d;try{j(d[A(0x1a7)](k));}catch(l){g(l);}}function i(k){var B=a41d;try{j(d[B(0x191)](k));}catch(l){g(l);}}function j(k){var C=a41d;k['done']?f(k[C(0x19b)]):e(k['value'])[C(0x1a8)](h,i);}j((d=d['apply'](a,b||[]))[D(0x1a7)]());});};import a41u from'./set.command.js';function a41c(){var F=['throw','toString','8125134hfqsnY','local','3ppaFxD','215tCgnCh','__awaiter','exit','152640TCEEFd','15225419fpQvDB','value','7gRlovv','apply','9800780kGrTwx','873lCYcXh','IvlnC','(((.+)+)+)+$','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','LZEyG','12424OOYFVu','search','maka\x20set:local\x20<opts>','next','then','2379718AvzCLt','wGCee','724382ACySyT'];a41c=function(){return F;};return a41c();}import{Command}from'../../command.js';Command['create']({'name':a41y(0x194),'usage':a41y(0x1a6),'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'description':a41y(0x1a2)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a41d;if('LZEyG'===E(0x1a3))try{}catch(c){console['error'](c),process[E(0x198)](0x0);}else c(d);});},a41u);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x74;let f=c[d];return f;},a42d(a,b);}const a42E=a42d;function a42c(){const G=['hwYvi','10krXQff','keys','5913684HlGYzm','IIXTf','11725392nQFZKo','next','maka\x20set:global\x20--cacert\x20<path>','BdDDI','constructor','17599671HSDaXk','then','length','XoTnZ','2ZMHrET','YkIME','findSubCommand','exit','error','search','7355VKfwOv','318BsFMwU','maka\x20set:<cmd>\x20<opts>','toString','6475696dykRMs','create','set','1213885YPycUf','(((.+)+)+)+$','done','3812043cHWYuF','apply','throw','MLThM','SPQzU','rTEjv','runSubCommand','NtxlO','value','PSLqH'];a42c=function(){return G;};return a42c();}(function(a,b){const v=a42d,c=a();while(!![]){try{const d=-parseInt(v(0x7e))/0x1*(-parseInt(v(0x99))/0x2)+-parseInt(v(0x81))/0x3+parseInt(v(0x8e))/0x4+-parseInt(v(0x77))/0x5*(-parseInt(v(0x78))/0x6)+-parseInt(v(0x90))/0x7+-parseInt(v(0x7b))/0x8+-parseInt(v(0x95))/0x9*(-parseInt(v(0x8c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xecf5d));const a42b=(function(){let a=!![];return function(b,c){const w=a42d;if(w(0x85)===w(0x8b)){const e=g?function(){const x=w;if(e){const u=q[x(0x82)](r,arguments);return s=null,u;}}:function(){};return l=![],e;}else{const e=a?function(){const y=w;if(c){if(y(0x8f)===y(0x88))d[y(0x75)](e),f[y(0x74)](0x0);else{const g=c[y(0x82)](b,arguments);return c=null,g;}}}:function(){};return a=![],e;}};}()),a42a=a42b(this,function(){const z=a42d;return a42a[z(0x7a)]()['search']('(((.+)+)+)+$')[z(0x7a)]()[z(0x94)](a42a)[z(0x76)](z(0x7f));});a42a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const D=a42d;function h(k){const A=a42d;try{j(d[A(0x91)](k));}catch(l){g(l);}}function i(k){const B=a42d;try{j(d[B(0x83)](k));}catch(l){g(l);}}function j(k){const C=a42d;k[C(0x80)]?f(k[C(0x89)]):e(k[C(0x89)])[C(0x96)](h,i);}j((d=d[D(0x82)](a,b||[]))[D(0x91)]());});};import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a42E(0x7c)]({'name':a42E(0x7d),'usage':a42E(0x79),'description':'\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','examples':[a42E(0x92)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a42d;if(F(0x98)===F(0x84))throw new b();else try{if(F(0x86)!==F(0x8a)){let d=a[0x0];if(Object[F(0x8d)](b)[F(0x97)]<0x1)throw new UsageError();let f=this[F(0x9b)](d);f&&this[F(0x87)](d,a,b);}else d(e[F(0x83)](f));}catch(h){if(F(0x9a)===F(0x93))return f instanceof g?h:new i(function(m){m(k);});else console[F(0x75)](h),process[F(0x74)](0x0);}});});export default SetCommand;
|
package/dist/commands/ssh.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43T=a43d;(function(a,b){const P=a43d,c=a();while(!![]){try{const d=parseInt(P(
|
|
1
|
+
const a43T=a43d;(function(a,b){const P=a43d,c=a();while(!![]){try{const d=parseInt(P(0x1d2))/0x1*(-parseInt(P(0x1d8))/0x2)+parseInt(P(0x1b2))/0x3*(parseInt(P(0x1df))/0x4)+-parseInt(P(0x1b9))/0x5*(-parseInt(P(0x1cb))/0x6)+parseInt(P(0x1ba))/0x7+-parseInt(P(0x1b3))/0x8*(-parseInt(P(0x1dd))/0x9)+parseInt(P(0x1cc))/0xa+-parseInt(P(0x1d3))/0xb*(parseInt(P(0x1d0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xab59c));const a43b=(function(){let a=!![];return function(b,c){const Q=a43d;if(Q(0x1d9)!=='VaoUv')try{i(j[Q(0x1cf)](k));}catch(e){m(e);}else{const e=a?function(){const R=Q;if(c){const f=c[R(0x1b8)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a43a=a43b(this,function(){const S=a43d;return a43a['toString']()[S(0x1be)](S(0x1b4))[S(0x1c8)]()[S(0x1c9)](a43a)['search']('(((.+)+)+)+$');});a43a();var __awaiter=this&&this[a43T(0x1d7)]||function(a,b,c,d){function e(f){const V=a43d;if('tpVUI'==='tpVUI')return f instanceof c?f:new c(function(g){const U=a43d;'baDMF'===U(0x1da)?c(d):g(f);});else d(e[V(0x1bc)](f));}return new(c||(c=Promise))(function(f,g){const Z=a43d;function h(k){const W=a43d;if(W(0x1c7)==='KJDpE')try{if('dbniv'!=='dbniv')try{i(j[W(0x1bc)](k));}catch(m){m(m);}else j(d[W(0x1bc)](k));}catch(m){if(W(0x1bf)===W(0x1bd))try{const o=this[W(0x1dc)][W(0x1b1)](u[W(0x1c1)]);let p='';v['length']>0x0&&(p=C[0x0]);const q=x[W(0x1c6)](o,W(0x1c4)),r=y[W(0x1c0)](q)[W(0x1c8)](),s=z['parse'](r);A['assign'](s,{'env':o}),B[W(0x1d6)](p,s,{'tty':!![],'verbose':!![]});}catch(t){F[W(0x1b0)](t),G['exit'](0x0);}else g(m);}else{if(e){const p=i[W(0x1b8)](j,arguments);return k=null,p;}}}function i(k){const X=a43d;if(X(0x1d1)===X(0x1d1))try{X(0x1d5)!==X(0x1d5)?c=d[0x0]:j(d[X(0x1cf)](k));}catch(m){if(X(0x1b6)===X(0x1bb)){const o=d['apply'](m,arguments);return f=null,o;}else g(m);}else h[X(0x1b5)]?i(j['value']):k(l[X(0x1d4)])[X(0x1ca)](m,n);}function j(k){const Y=a43d;k[Y(0x1b5)]?f(k[Y(0x1d4)]):e(k[Y(0x1d4)])[Y(0x1ca)](h,i);}j((d=d[Z(0x1b8)](a,b||[]))[Z(0x1bc)]());});};import a43N from'fs';import a43O from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a43T(0x1de)]({'name':a43T(0x1cd),'usage':'maka\x20ssh\x20--env\x20<env>\x20[command]','mustBeInMakaProject':!![],'requiredOpts':[a43T(0x1c1)],'validOpts':[a43T(0x1c1),'help'],'description':a43T(0x1b7),'examples':[a43T(0x1c2),a43T(0x1db),a43T(0x1ce),a43T(0x1c5),a43T(0x1c3),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a0=a43d;try{if(a0(0x1ae)!=='osUcT')d(e['throw'](f));else{const d=this[a0(0x1dc)][a0(0x1b1)](b[a0(0x1c1)]);let f='';a[a0(0x1af)]>0x0&&(f=a[0x0]);const g=a43O['join'](d,a0(0x1c4)),h=a43N[a0(0x1c0)](g)[a0(0x1c8)](),i=JSON['parse'](h);Object['assign'](i,{'env':d}),SSH[a0(0x1d6)](f,i,{'tty':!![],'verbose':!![]});}}catch(j){console[a0(0x1b0)](j),process['exit'](0x0);}});});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1ae;let f=c[d];return f;},a43d(a,b);}function a43c(){const a1=['VaoUv','qmbkJ','maka\x20ssh\x20--env\x20staging','fsi','95391ekCnXD','create','28LTwrii','osUcT','length','error','getConfigPath','8238cOcfIi','832Qlepxo','(((.+)+)+)+$','done','NyUnH','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','apply','970nyYZfD','4881737RMMwUr','sMzqh','next','BmNLS','search','WGCrE','readFileSync','env','maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','ssh.json','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','join','KJDpE','toString','constructor','then','25782UcySWL','8009770AhyflX','ssh','maka\x20ssh\x20--env\x20prod','throw','28688568MFXCro','eeBHs','1438XvgqqM','11kyGuwl','value','fsQVP','sshSync','__awaiter','502oXfQdu'];a43c=function(){return a1;};return a43c();}
|