@univer-cli/config-command 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x55baf2,_0x3d2672){const _0x115b20=_0x22bc,_0x3b2b2f=_0x55baf2();while(!![]){try{const _0x319a9e=-parseInt(_0x115b20(0x1b2))/0x1*(-parseInt(_0x115b20(0x1a7))/0x2)+parseInt(_0x115b20(0x1b1))/0x3+parseInt(_0x115b20(0x1c9))/0x4+parseInt(_0x115b20(0x1c3))/0x5+parseInt(_0x115b20(0x1c0))/0x6+-parseInt(_0x115b20(0x1d1))/0x7+-parseInt(_0x115b20(0x1bb))/0x8*(parseInt(_0x115b20(0x1cd))/0x9);if(_0x319a9e===_0x3d2672)break;else _0x3b2b2f['push'](_0x3b2b2f['shift']());}catch(_0x73e228){_0x3b2b2f['push'](_0x3b2b2f['shift']());}}}(_0x324b,0x19782));import{ConfigError as _0x3ccaa8}from'@univer-cli/config';import{Command as _0x1e991b}from'commander';function n(_0x4a630b){const _0x5d8827=_0x22bc;let _0x5f5365=new _0x1e991b(_0x5d8827(0x1b3))[_0x5d8827(0x1ab)](_0x5d8827(0x1bc))[_0x5d8827(0x1ae)](()=>_0x5f5365[_0x5d8827(0x1c6)]());return _0x5f5365[_0x5d8827(0x1b6)](_0x5d8827(0x1ca))[_0x5d8827(0x1ab)](_0x5d8827(0x1c8))[_0x5d8827(0x1bd)](_0x5d8827(0x1ce),_0x5d8827(0x1b7))[_0x5d8827(0x1ae)](_0x4725c0=>{const _0x2319da=_0x5d8827;a(_0x5f5365,_0x4725c0,{'path':_0x4a630b['config']['path']},_0x4a630b[_0x2319da(0x1b3)][_0x2319da(0x1ca)]);}),_0x5f5365[_0x5d8827(0x1b6)]('list')[_0x5d8827(0x1ab)]('List\x20registered\x20config\x20entries')[_0x5d8827(0x1bd)]('--json',_0x5d8827(0x1b7))[_0x5d8827(0x1ae)](async _0x386bd9=>{const _0xb13e72=_0x5d8827;let _0x3ac4ca=await r(_0x5f5365,async()=>await _0x4a630b[_0xb13e72(0x1b3)][_0xb13e72(0x1c7)]());a(_0x5f5365,_0x386bd9,{'entries':_0x3ac4ca},o(_0x3ac4ca));}),_0x5f5365['command'](_0x5d8827(0x1b0))[_0x5d8827(0x1ab)](_0x5d8827(0x1bf))[_0x5d8827(0x1d2)](_0x5d8827(0x1d3),_0x5d8827(0x1c4))['option'](_0x5d8827(0x1ce),_0x5d8827(0x1b7))['action'](async(_0x2dfdbe,_0x357c49)=>{const _0x1bd1b7=_0x5d8827;let _0x204746=await r(_0x5f5365,async()=>await _0x4a630b[_0x1bd1b7(0x1b3)][_0x1bd1b7(0x1b0)]({'key':_0x2dfdbe}));i(_0x5f5365,_0x357c49,_0x204746);}),_0x5f5365[_0x5d8827(0x1b6)](_0x5d8827(0x1b9))[_0x5d8827(0x1ab)](_0x5d8827(0x1aa))[_0x5d8827(0x1d2)]('<key>',_0x5d8827(0x1c4))[_0x5d8827(0x1d2)](_0x5d8827(0x1cf),_0x5d8827(0x1cc))[_0x5d8827(0x1bd)](_0x5d8827(0x1ce),'write\x20structured\x20JSON')[_0x5d8827(0x1ae)](async(_0x2e7181,_0x21b888,_0x512ef3)=>{const _0x21fcd=_0x5d8827;let _0x14c3e7=await r(_0x5f5365,async()=>await _0x4a630b[_0x21fcd(0x1b3)][_0x21fcd(0x1a8)]({'key':_0x2e7181,'text':_0x21b888}));i(_0x5f5365,_0x512ef3,_0x14c3e7);}),_0x5f5365[_0x5d8827(0x1b6)]('unset')[_0x5d8827(0x1ab)](_0x5d8827(0x1af))[_0x5d8827(0x1d2)](_0x5d8827(0x1d3),'registered\x20config\x20key')[_0x5d8827(0x1bd)](_0x5d8827(0x1ce),_0x5d8827(0x1b7))[_0x5d8827(0x1ae)](async(_0x37253f,_0x4857db)=>{const _0x3af8dc=_0x5d8827;let _0x40559c=await r(_0x5f5365,async()=>await _0x4a630b[_0x3af8dc(0x1b3)][_0x3af8dc(0x1d0)]({'key':_0x37253f}));i(_0x5f5365,_0x4857db,_0x40559c);}),_0x5f5365;}function _0x22bc(_0x5d989e,_0x5a60c4){_0x5d989e=_0x5d989e-0x1a7;const _0x324b0b=_0x324b();let _0x22bc47=_0x324b0b[_0x5d989e];return _0x22bc47;}async function r(_0x101ec7,_0x232898){const _0x214cc9=_0x22bc;try{return await _0x232898();}catch(_0x2d16ea){throw _0x2d16ea instanceof _0x3ccaa8&&_0x101ec7[_0x214cc9(0x1b5)](_0x2d16ea['code']+':\x20'+_0x2d16ea[_0x214cc9(0x1c5)],{'code':'config.failed','exitCode':0x1}),_0x2d16ea;}}function i(_0x4acf8c,_0x16ee72,_0x2a2927){a(_0x4acf8c,_0x16ee72,{'entry':_0x2a2927},s(_0x2a2927));}function a(_0x32d54f,_0x474a1e,_0x452418,_0x17b2c2){const _0xe7cd82=_0x22bc;let _0x4ebe24=_0x474a1e[_0xe7cd82(0x1ad)]===!0x0?JSON[_0xe7cd82(0x1ba)](_0x452418,null,0x2):_0x17b2c2;_0x32d54f[_0xe7cd82(0x1cb)]()[_0xe7cd82(0x1a9)]?.(_0x4ebe24+'\x0a');}function o(_0x2397cc){const _0x5678b7=_0x22bc;return _0x2397cc['map'](s)[_0x5678b7(0x1b8)]('\x0a');}function _0x324b(){const _0x40c169=['611064ktrUVL','1262DFhfOg','config','source','error','command','write\x20structured\x20JSON','join','set','stringify','4968hBtKQP','Inspect\x20and\x20update\x20application\x20config','option','string','Get\x20a\x20registered\x20config\x20entry','733836jARfwT','value','<unset>','242800ZIJyPU','registered\x20config\x20key','message','outputHelp','list','Show\x20the\x20config\x20file\x20path','582424nXTeuk','path','configureOutput','config\x20value\x20as\x20text','5157XNtwqf','--json','<value>','unset','464205MxjyQZ','argument','<key>','10dZtevZ','setFromText','writeOut','Set\x20a\x20registered\x20config\x20entry','description',')\x0a\x20\x20','json','action','Remove\x20the\x20explicit\x20value\x20for\x20a\x20registered\x20config\x20entry','get'];_0x324b=function(){return _0x40c169;};return _0x324b();}function s(_0x3f7835){const _0x3555ec=_0x22bc;let _0x5572c4=_0x3f7835[_0x3555ec(0x1b4)]===_0x3555ec(0x1d0)?_0x3555ec(0x1c2):c(_0x3f7835[_0x3555ec(0x1c1)]);return _0x3f7835['key']+'\x20=\x20'+_0x5572c4+'\x20('+_0x3f7835[_0x3555ec(0x1b4)]+_0x3555ec(0x1ac)+_0x3f7835['description'];}function c(_0x20740c){const _0x25e9bd=_0x22bc;return typeof _0x20740c==_0x25e9bd(0x1be)?_0x20740c:JSON[_0x25e9bd(0x1ba)](_0x20740c);}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.6.
|
|
4
|
+
"version": "1.6.2",
|
|
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.6.
|
|
21
|
+
"@univer-cli/config": "1.6.2"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"commander": "^15.0.0"
|