@univer-cli/config-command 1.3.0 → 1.3.1

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- (function(_0x9d1355,_0x2063f4){const _0x5b23d9=_0x2d75,_0x3377f0=_0x9d1355();while(!![]){try{const _0x4d095d=parseInt(_0x5b23d9(0x1d8))/0x1*(parseInt(_0x5b23d9(0x1ed))/0x2)+parseInt(_0x5b23d9(0x1eb))/0x3*(-parseInt(_0x5b23d9(0x1d2))/0x4)+-parseInt(_0x5b23d9(0x1d9))/0x5*(parseInt(_0x5b23d9(0x1f9))/0x6)+parseInt(_0x5b23d9(0x1cc))/0x7*(parseInt(_0x5b23d9(0x1d7))/0x8)+-parseInt(_0x5b23d9(0x1d5))/0x9+parseInt(_0x5b23d9(0x1e1))/0xa*(parseInt(_0x5b23d9(0x1e7))/0xb)+parseInt(_0x5b23d9(0x1f2))/0xc*(-parseInt(_0x5b23d9(0x1ec))/0xd);if(_0x4d095d===_0x2063f4)break;else _0x3377f0['push'](_0x3377f0['shift']());}catch(_0x14a9d4){_0x3377f0['push'](_0x3377f0['shift']());}}}(_0x56bf,0x60a7a));import{ConfigError as _0x29e538}from'@univer-cli/config';import{Command as _0x20e42b}from'commander';function n(_0x5b8648){const _0x15f566=_0x2d75;let _0x467f62=new _0x20e42b(_0x15f566(0x1e8))[_0x15f566(0x1e6)](_0x15f566(0x1f3))[_0x15f566(0x1f7)](()=>_0x467f62[_0x15f566(0x1de)]());return _0x467f62[_0x15f566(0x1ce)](_0x15f566(0x1dc))[_0x15f566(0x1e6)](_0x15f566(0x1f4))[_0x15f566(0x1d4)](_0x15f566(0x1f1),_0x15f566(0x1ef))['action'](_0x5037e6=>{const _0x5c3018=_0x15f566;a(_0x467f62,_0x5037e6,{'path':_0x5b8648[_0x5c3018(0x1e8)]['path']},_0x5b8648[_0x5c3018(0x1e8)]['path']);}),_0x467f62[_0x15f566(0x1ce)]('list')[_0x15f566(0x1e6)](_0x15f566(0x1cd))[_0x15f566(0x1d4)](_0x15f566(0x1f1),'write\x20structured\x20JSON')['action'](async _0x24d051=>{const _0x527724=_0x15f566;let _0x34f941=await r(_0x467f62,async()=>await _0x5b8648[_0x527724(0x1e8)]['list']());a(_0x467f62,_0x24d051,{'entries':_0x34f941},o(_0x34f941));}),_0x467f62['command']('get')[_0x15f566(0x1e6)](_0x15f566(0x1db))[_0x15f566(0x1cf)](_0x15f566(0x1da),_0x15f566(0x1dd))[_0x15f566(0x1d4)](_0x15f566(0x1f1),_0x15f566(0x1ef))['action'](async(_0xf8613b,_0x4092ec)=>{const _0x2fc24e=_0x15f566;let _0x32e9b4=await r(_0x467f62,async()=>await _0x5b8648[_0x2fc24e(0x1e8)][_0x2fc24e(0x1cb)]({'key':_0xf8613b}));i(_0x467f62,_0x4092ec,_0x32e9b4);}),_0x467f62[_0x15f566(0x1ce)](_0x15f566(0x1d6))['description'](_0x15f566(0x1e5))[_0x15f566(0x1cf)](_0x15f566(0x1da),_0x15f566(0x1dd))[_0x15f566(0x1cf)]('<value>',_0x15f566(0x1d3))[_0x15f566(0x1d4)]('--json',_0x15f566(0x1ef))[_0x15f566(0x1f7)](async(_0x38447a,_0x2aa3e8,_0x15f8bc)=>{const _0x5d2b37=_0x15f566;let _0x54b027=await r(_0x467f62,async()=>await _0x5b8648[_0x5d2b37(0x1e8)][_0x5d2b37(0x1e2)]({'key':_0x38447a,'text':_0x2aa3e8}));i(_0x467f62,_0x15f8bc,_0x54b027);}),_0x467f62['command']('unset')['description'](_0x15f566(0x1e0))[_0x15f566(0x1cf)]('<key>',_0x15f566(0x1dd))[_0x15f566(0x1d4)](_0x15f566(0x1f1),_0x15f566(0x1ef))[_0x15f566(0x1f7)](async(_0x1042e6,_0x12cf00)=>{const _0x4125dd=_0x15f566;let _0x395299=await r(_0x467f62,async()=>await _0x5b8648[_0x4125dd(0x1e8)][_0x4125dd(0x1f8)]({'key':_0x1042e6}));i(_0x467f62,_0x12cf00,_0x395299);}),_0x467f62;}async function r(_0x11a66c,_0x100a9f){const _0x4ab430=_0x2d75;try{return await _0x100a9f();}catch(_0x132d37){throw _0x132d37 instanceof _0x29e538&&_0x11a66c['error'](_0x132d37['code']+':\x20'+_0x132d37[_0x4ab430(0x1ea)],{'code':_0x4ab430(0x1d0),'exitCode':0x1}),_0x132d37;}}function i(_0x215322,_0xaca4d6,_0x5d4d16){a(_0x215322,_0xaca4d6,{'entry':_0x5d4d16},s(_0x5d4d16));}function _0x2d75(_0x1057f4,_0x23d209){_0x1057f4=_0x1057f4-0x1cb;const _0x56bf4f=_0x56bf();let _0x2d7525=_0x56bf4f[_0x1057f4];return _0x2d7525;}function _0x56bf(){const _0x554012=['write\x20structured\x20JSON','\x20=\x20','--json','12fWclGr','Inspect\x20and\x20update\x20application\x20config','Show\x20the\x20config\x20file\x20path','source','stringify','action','unset','73158gTVACX','get','371LurCGH','List\x20registered\x20config\x20entries','command','argument','config.failed','join','591532wfYPEj','config\x20value\x20as\x20text','option','2818053YfNuwS','set','102344eXqAhe','838ydoHEG','65MprhKk','<key>','Get\x20a\x20registered\x20config\x20entry','path','registered\x20config\x20key','outputHelp','value','Remove\x20the\x20explicit\x20value\x20for\x20a\x20registered\x20config\x20entry','1060NFNBuB','setFromText','key','<unset>','Set\x20a\x20registered\x20config\x20entry','description','36773FgbajW','config','string','message','12AAHqWV','2634697vuRSMS','1502iUHXBf','writeOut'];_0x56bf=function(){return _0x554012;};return _0x56bf();}function a(_0x2699b8,_0x5c5da6,_0x28bf8d,_0x5dd2a5){const _0x44870a=_0x2d75;let _0x507936=_0x5c5da6['json']===!0x0?JSON[_0x44870a(0x1f6)](_0x28bf8d,null,0x2):_0x5dd2a5;_0x2699b8['configureOutput']()[_0x44870a(0x1ee)]?.(_0x507936+'\x0a');}function o(_0x2b9372){const _0x1a00ea=_0x2d75;return _0x2b9372['map'](s)[_0x1a00ea(0x1d1)]('\x0a');}function s(_0x41caf1){const _0x33f004=_0x2d75;let _0x3e10a8=_0x41caf1[_0x33f004(0x1f5)]===_0x33f004(0x1f8)?_0x33f004(0x1e4):c(_0x41caf1[_0x33f004(0x1df)]);return _0x41caf1[_0x33f004(0x1e3)]+_0x33f004(0x1f0)+_0x3e10a8+'\x20('+_0x41caf1[_0x33f004(0x1f5)]+')\x0a\x20\x20'+_0x41caf1[_0x33f004(0x1e6)];}function c(_0x434e59){const _0x22dfcd=_0x2d75;return typeof _0x434e59==_0x22dfcd(0x1e9)?_0x434e59:JSON[_0x22dfcd(0x1f6)](_0x434e59);}export{n as createConfigCommand};
1
+ (function(_0xb504a6,_0x3b8222){const _0x3ec059=_0xf9c2,_0x2ea007=_0xb504a6();while(!![]){try{const _0x18ab2c=-parseInt(_0x3ec059(0x1e5))/0x1+-parseInt(_0x3ec059(0x209))/0x2*(parseInt(_0x3ec059(0x200))/0x3)+-parseInt(_0x3ec059(0x20a))/0x4+parseInt(_0x3ec059(0x1e9))/0x5+-parseInt(_0x3ec059(0x204))/0x6*(-parseInt(_0x3ec059(0x1e7))/0x7)+-parseInt(_0x3ec059(0x203))/0x8+-parseInt(_0x3ec059(0x1f1))/0x9*(-parseInt(_0x3ec059(0x207))/0xa);if(_0x18ab2c===_0x3b8222)break;else _0x2ea007['push'](_0x2ea007['shift']());}catch(_0x2aaa88){_0x2ea007['push'](_0x2ea007['shift']());}}}(_0x52b6,0x31fe8));import{ConfigError as _0x515c9d}from'@univer-cli/config';import{Command as _0x378616}from'commander';function n(_0x294570){const _0x4a3708=_0xf9c2;let _0x1d24d1=new _0x378616('config')[_0x4a3708(0x1ed)](_0x4a3708(0x1ec))[_0x4a3708(0x1e2)](()=>_0x1d24d1[_0x4a3708(0x1f9)]());return _0x1d24d1[_0x4a3708(0x1fa)](_0x4a3708(0x1e1))['description'](_0x4a3708(0x1f7))[_0x4a3708(0x1e8)](_0x4a3708(0x201),_0x4a3708(0x1f4))[_0x4a3708(0x1e2)](_0x9c175e=>{const _0x149d7c=_0x4a3708;a(_0x1d24d1,_0x9c175e,{'path':_0x294570['config'][_0x149d7c(0x1e1)]},_0x294570['config'][_0x149d7c(0x1e1)]);}),_0x1d24d1[_0x4a3708(0x1fa)](_0x4a3708(0x1f2))[_0x4a3708(0x1ed)](_0x4a3708(0x1df))[_0x4a3708(0x1e8)]('--json','write\x20structured\x20JSON')[_0x4a3708(0x1e2)](async _0x1b8e26=>{const _0x1fc721=_0x4a3708;let _0xc26ae3=await r(_0x1d24d1,async()=>await _0x294570[_0x1fc721(0x206)][_0x1fc721(0x1f2)]());a(_0x1d24d1,_0x1b8e26,{'entries':_0xc26ae3},o(_0xc26ae3));}),_0x1d24d1[_0x4a3708(0x1fa)]('get')['description']('Get\x20a\x20registered\x20config\x20entry')['argument']('<key>',_0x4a3708(0x1ea))[_0x4a3708(0x1e8)]('--json',_0x4a3708(0x1f4))[_0x4a3708(0x1e2)](async(_0x4acdb7,_0x1fe090)=>{const _0x5447d6=_0x4a3708;let _0xf33c41=await r(_0x1d24d1,async()=>await _0x294570[_0x5447d6(0x206)][_0x5447d6(0x1e6)]({'key':_0x4acdb7}));i(_0x1d24d1,_0x1fe090,_0xf33c41);}),_0x1d24d1[_0x4a3708(0x1fa)](_0x4a3708(0x1fc))['description'](_0x4a3708(0x20b))[_0x4a3708(0x202)](_0x4a3708(0x1fe),'registered\x20config\x20key')[_0x4a3708(0x202)](_0x4a3708(0x205),_0x4a3708(0x1eb))[_0x4a3708(0x1e8)](_0x4a3708(0x201),_0x4a3708(0x1f4))[_0x4a3708(0x1e2)](async(_0x40d76d,_0xe5c669,_0x174358)=>{const _0x1d77d0=_0x4a3708;let _0x593479=await r(_0x1d24d1,async()=>await _0x294570[_0x1d77d0(0x206)]['setFromText']({'key':_0x40d76d,'text':_0xe5c669}));i(_0x1d24d1,_0x174358,_0x593479);}),_0x1d24d1[_0x4a3708(0x1fa)](_0x4a3708(0x208))[_0x4a3708(0x1ed)](_0x4a3708(0x1f6))[_0x4a3708(0x202)](_0x4a3708(0x1fe),_0x4a3708(0x1ea))[_0x4a3708(0x1e8)](_0x4a3708(0x201),_0x4a3708(0x1f4))[_0x4a3708(0x1e2)](async(_0x3c89d8,_0x26082f)=>{const _0x7c8db2=_0x4a3708;let _0x14db18=await r(_0x1d24d1,async()=>await _0x294570[_0x7c8db2(0x206)][_0x7c8db2(0x208)]({'key':_0x3c89d8}));i(_0x1d24d1,_0x26082f,_0x14db18);}),_0x1d24d1;}function _0x52b6(){const _0x431065=['6360zgsgwo','<value>','config','20TXzxSP','unset','136542sOSuVv','807384MwrRHS','Set\x20a\x20registered\x20config\x20entry','<unset>','List\x20registered\x20config\x20entries','json','path','action','message','key','141177TcAGST','get','917VZyfzJ','option','512130fQMfPi','registered\x20config\x20key','config\x20value\x20as\x20text','Inspect\x20and\x20update\x20application\x20config','description','source','configureOutput','config.failed','3571173TjHKLD','list','\x20=\x20','write\x20structured\x20JSON','join','Remove\x20the\x20explicit\x20value\x20for\x20a\x20registered\x20config\x20entry','Show\x20the\x20config\x20file\x20path','value','outputHelp','command','stringify','set','code','<key>','map','9oRSwSD','--json','argument','2258144qkDMqL'];_0x52b6=function(){return _0x431065;};return _0x52b6();}async function r(_0x42a42c,_0x2d8c72){const _0x1696d8=_0xf9c2;try{return await _0x2d8c72();}catch(_0x5393ce){throw _0x5393ce instanceof _0x515c9d&&_0x42a42c['error'](_0x5393ce[_0x1696d8(0x1fd)]+':\x20'+_0x5393ce[_0x1696d8(0x1e3)],{'code':_0x1696d8(0x1f0),'exitCode':0x1}),_0x5393ce;}}function i(_0x29a411,_0x16d1dc,_0x3473d2){a(_0x29a411,_0x16d1dc,{'entry':_0x3473d2},s(_0x3473d2));}function _0xf9c2(_0x4d17e7,_0x86b7e6){_0x4d17e7=_0x4d17e7-0x1df;const _0x52b6c3=_0x52b6();let _0x5c92b1=_0x52b6c3[_0x4d17e7];return _0x5c92b1;}function a(_0x248614,_0x486ad8,_0xc2043,_0x85a284){const _0x5d50b6=_0xf9c2;let _0x574124=_0x486ad8[_0x5d50b6(0x1e0)]===!0x0?JSON[_0x5d50b6(0x1fb)](_0xc2043,null,0x2):_0x85a284;_0x248614[_0x5d50b6(0x1ef)]()['writeOut']?.(_0x574124+'\x0a');}function o(_0x1ca8ad){const _0x2bb22=_0xf9c2;return _0x1ca8ad[_0x2bb22(0x1ff)](s)[_0x2bb22(0x1f5)]('\x0a');}function s(_0x133ed2){const _0x7d6577=_0xf9c2;let _0xfb29a7=_0x133ed2['source']==='unset'?_0x7d6577(0x20c):c(_0x133ed2[_0x7d6577(0x1f8)]);return _0x133ed2[_0x7d6577(0x1e4)]+_0x7d6577(0x1f3)+_0xfb29a7+'\x20('+_0x133ed2[_0x7d6577(0x1ee)]+')\x0a\x20\x20'+_0x133ed2[_0x7d6577(0x1ed)];}function c(_0x35b9be){const _0xfd7de=_0xf9c2;return typeof _0x35b9be=='string'?_0x35b9be:JSON[_0xfd7de(0x1fb)](_0x35b9be);}export{n as createConfigCommand};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@univer-cli/config-command",
3
3
  "type": "module",
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "README.zh-CN.md"
19
19
  ],
20
20
  "dependencies": {
21
- "@univer-cli/config": "1.3.0"
21
+ "@univer-cli/config": "1.3.1"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "commander": "^15.0.0"