@univer-cli/api-reference-command 1.2.0 → 1.3.0

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(_0xba8933,_0x1a380c){const _0x1c6246=_0x3ea0,_0x592e66=_0xba8933();while(!![]){try{const _0x433047=parseInt(_0x1c6246(0x209))/0x1+parseInt(_0x1c6246(0x220))/0x2+-parseInt(_0x1c6246(0x1da))/0x3*(-parseInt(_0x1c6246(0x21d))/0x4)+parseInt(_0x1c6246(0x1e2))/0x5*(-parseInt(_0x1c6246(0x239))/0x6)+-parseInt(_0x1c6246(0x200))/0x7*(-parseInt(_0x1c6246(0x1f2))/0x8)+-parseInt(_0x1c6246(0x210))/0x9*(-parseInt(_0x1c6246(0x219))/0xa)+parseInt(_0x1c6246(0x23e))/0xb*(-parseInt(_0x1c6246(0x1e4))/0xc);if(_0x433047===_0x1a380c)break;else _0x592e66['push'](_0x592e66['shift']());}catch(_0x293782){_0x592e66['push'](_0x592e66['shift']());}}}(_0x2d21,0x94231));import{API_REFERENCE_UNITS as _0x6a1cd2}from'@univer-cli/api-reference';import{Command as _0x15bb55,Option as _0x404c11}from'commander';var r=0x48,i=0x5a;function a(_0x25214c){return(_0x25214c['match'](/^(.*?[.。])(\s|$)/u)?.[0x1]??_0x25214c)['trim']();}function o(_0x4cc9c8,_0x335f7d){const _0x29a6d2=_0x3ea0;return _0x4cc9c8[_0x29a6d2(0x1f4)]>_0x335f7d?_0x4cc9c8[_0x29a6d2(0x252)](0x0,_0x335f7d-0x1)+'…':_0x4cc9c8;}function s(_0x4474c3){const _0x1b8de2=_0x3ea0;let _0x317e10=_0x4474c3['summary']===''?'':'\x20\x20—\x20'+a(_0x4474c3[_0x1b8de2(0x211)]);return'['+_0x4474c3[_0x1b8de2(0x24d)]+']\x20'+o(_0x4474c3['signature'],r)+o(_0x317e10,i)+'\x20\x20['+_0x4474c3[_0x1b8de2(0x20a)]+']';}function c(_0x5e05b8,_0x5966c1){const _0x275d51=_0x3ea0;if(_0x5e05b8[_0x275d51(0x1dc)][_0x275d51(0x1f4)]===0x0){let _0x5ba6b6=_0x5966c1===void 0x0?'':_0x275d51(0x226)+_0x5966c1+')';return _0x275d51(0x230)+_0x5e05b8[_0x275d51(0x23c)]+'\x22'+_0x5ba6b6+_0x275d51(0x1f6)+(_0x5966c1===void 0x0?'':_0x275d51(0x1d6))+_0x275d51(0x22f);}let _0xad864=_0x5e05b8[_0x275d51(0x1dc)][_0x275d51(0x228)](s),_0x1ca317=_0x5e05b8[_0x275d51(0x204)]-_0x5e05b8[_0x275d51(0x1dc)][_0x275d51(0x1f4)];return _0x1ca317>0x0&&_0xad864[_0x275d51(0x202)]('…\x20'+_0x1ca317+_0x275d51(0x20d)),_0xad864[_0x275d51(0x1e6)]('\x0a');}function _0x2d21(){const _0x304d50=[',\x20or\x20api\x20show\x20<Class>\x20to\x20browse\x20a\x20whole\x20class.','No\x20API\x20matches\x20\x22','symbols','alias','\x20member\x20projection\x20from\x20','composed','own','split','trim','api','151572rRJjqh','--unit\x20<unit>','unknown','term','Symbol','7447EeoaRA','//\x20inherited\x20declaration\x20from\x20','startsWith','aliases','member','subject','Find\x20API\x20methods,\x20types,\x20fields,\x20and\x20enums\x20by\x20keyword','<Class>','readonly','argument','\x20not\x20found','type','one\x20or\x20more\x20exact\x20API\x20symbols','.<member>','documentation','kind','//\x20package:\x20','extends','getter','//\x20','slice','inherited','configureOutput','owner','name','\x0a\x20\x20Similar\x20','<symbols...>','every','show','declarationKind','Show\x20exact\x20API\x20classes,\x20members,\x20types,\x20fields,\x20or\x20enum\x20values',',\x20drop\x20--unit','stringify','appendix','outputHelp','114825RDMmSA','found','matches','text','replaceAll','Offline\x20Univer\x20Facade\x20API\x20reference','\x0a\x20\x20If\x20unsure,\x20api\x20find\x20<keyword>\x20to\x20search\x20indexed\x20API\x20symbols,\x20or\x20api\x20show\x20<class\x20alias:\x20range/slide/document/presentation/api>\x20to\x20browse\x20a\x20whole\x20class.',';\x20runtime\x20aliases:\x20','80ZxwmvQ','/**','45072bYLbrO','values','join','unit','declaredBy','\x20=\x20','\x20found,\x200\x20not\x20found','find','\x0a\x20\x20List\x20all:\x20api\x20show\x20','readonly\x20','relationOwner','relation','target','\x0a\x0a//\x20batch:\x20','712SsruBb','//\x20[not-found]\x20','length','class','.\x20Try\x20a\x20shorter\x20substring','interface\x20','*\x5c/','reference','//\x20directly\x20referenced\x20types','reduce','members','\x20══\x0a','optional','//\x20batch:\x20','48685lqoAdb','signature','push','\x20found,\x20','totalMatches','example','══\x20','type\x20','declaration','293145bPQGhR','packageName','declare\x20class\x20','filter','\x20more.\x20Narrow\x20with\x20a\x20longer\x20substring,\x20or\x20api\x20show\x20<symbol>\x20for\x20details.','value','includes','1539htqwAb','summary','writeOut','\x20*/','suggestions','query','\x20has\x20no\x20','description','definition','47870pMVROd','not-found','//\x20[found]\x20','trimStart','124jSaHXL','flatMap','tags','1273062bvCxOh','entries','groups','number','api.reference.not-found','action','\x20(filtered\x20by\x20--unit\x20','declare\x20enum\x20','map','status','\x20from\x20','command','[symbols...]','<terms...>','addOption'];_0x2d21=function(){return _0x304d50;};return _0x2d21();}function l(_0x232d23,_0x36935b){const _0x1e6ce9=_0x3ea0;return _0x232d23[_0x1e6ce9(0x228)](_0x292e5e=>{const _0x59cf2b=_0x1e6ce9;let _0x24cdbd=c(_0x292e5e,_0x36935b);return _0x232d23['length']>0x1?_0x59cf2b(0x206)+_0x292e5e['term']+_0x59cf2b(0x1fd)+_0x24cdbd:_0x24cdbd;})['join']('\x0a\x0a');}function u(_0x17cf22){const _0x47100b=_0x3ea0;return _0x17cf22[_0x47100b(0x236)](/\n\s*\n/u,0x1)[0x0]?.[_0x47100b(0x237)]()??'';}function d(_0x55503b){const _0x3c9699=_0x3ea0;return _0x55503b[_0x3c9699(0x24c)]===void 0x0?{'description':_0x55503b[_0x3c9699(0x211)],'tags':_0x55503b[_0x3c9699(0x205)]===''?[]:[{'name':'example','text':_0x55503b[_0x3c9699(0x205)]}]}:_0x55503b[_0x3c9699(0x24c)];}function f(_0x4b824d){const _0xd5646=_0x3ea0;return _0x4b824d[_0xd5646(0x24c)]??{'description':_0x4b824d['summary'],'tags':[]};}function _0x3ea0(_0x36b728,_0x45273a){_0x36b728=_0x36b728-0x1cf;const _0x2d2175=_0x2d21();let _0x3ea019=_0x2d2175[_0x36b728];return _0x3ea019;}function p(_0x27d972){const _0x2bc001=_0x3ea0;let _0x447bcf=_0x27d972[_0x2bc001(0x249)]===void 0x0?'':'\x20{'+_0x27d972[_0x2bc001(0x249)]+'}',_0x475d16=_0x27d972[_0x2bc001(0x243)]===void 0x0?'':'\x20'+_0x27d972['subject'],[_0x442018='',..._0x1e0756]=_0x27d972[_0x2bc001(0x1dd)]===''?[]:_0x27d972['text'][_0x2bc001(0x236)]('\x0a');return _0x27d972[_0x2bc001(0x1cf)]===_0x2bc001(0x205)&&_0x442018[_0x2bc001(0x21c)]()[_0x2bc001(0x240)]('```')?['@'+_0x27d972['name']+_0x447bcf+_0x475d16,_0x442018,..._0x1e0756]:['@'+_0x27d972[_0x2bc001(0x1cf)]+_0x447bcf+_0x475d16+(_0x442018===''?'':'\x20'+_0x442018),..._0x1e0756];}function m(_0x510067,_0x28bc14='',_0x2fb9aa=!0x1){const _0x1276f4=_0x3ea0;if(_0x510067===void 0x0)return[];let _0x1f6674=_0x2fb9aa?u(_0x510067[_0x1276f4(0x217)]):_0x510067[_0x1276f4(0x217)],_0x23f29c=_0x510067[_0x1276f4(0x21f)][_0x1276f4(0x21e)](p),_0x5bd2ca=[..._0x1f6674[_0x1276f4(0x236)]('\x0a'),..._0x2fb9aa||_0x23f29c['length']===0x0?[]:['',..._0x23f29c]];for(;_0x5bd2ca['at'](-0x1)==='';)_0x5bd2ca['pop']();return _0x5bd2ca[_0x1276f4(0x1d2)](_0x513786=>_0x513786==='')?[]:[_0x28bc14+_0x1276f4(0x1e3),..._0x5bd2ca[_0x1276f4(0x228)](_0x56e258=>_0x28bc14+'\x20*'+(_0x56e258===''?'':'\x20'+_0x56e258)),_0x28bc14+_0x1276f4(0x213)];}function h(_0x3196a7){const _0x13954c=_0x3ea0;return''+((_0x3196a7[_0x13954c(0x24d)]===_0x13954c(0x250)||_0x3196a7[_0x13954c(0x246)])&&!_0x3196a7[_0x13954c(0x201)][_0x13954c(0x240)](_0x13954c(0x1ed))?_0x13954c(0x1ed):'')+_0x3196a7[_0x13954c(0x201)]+';';}function g(_0x2f89a9){const _0x4b5ac1=_0x3ea0;let _0x1495b7=_0x2f89a9['summary'][_0x4b5ac1(0x237)]();return[..._0x1495b7===''?[]:['\x20\x20/**\x20'+_0x1495b7[_0x4b5ac1(0x1de)]('*/',_0x4b5ac1(0x1f8))+'\x20*/'],'\x20\x20'+h(_0x2f89a9)];}function _(_0xc4e7c0,_0x276575,_0x32ea90,_0x3b0550){const _0x493ebd=_0x3ea0;let _0x3e8b81=_0x276575===_0x493ebd(0x235)?[]:[_0x493ebd(0x251)+(_0x276575===_0x493ebd(0x253)?_0x493ebd(0x253):_0x493ebd(0x234))+_0x493ebd(0x233)+_0xc4e7c0],_0x5dc044=_0x276575===_0x493ebd(0x235)?_0x3b0550:_0x276575===_0x493ebd(0x253)?_0x493ebd(0x20b)+_0xc4e7c0:_0x493ebd(0x1f7)+_0xc4e7c0;return[..._0x3e8b81,_0x5dc044+'\x20{',..._0x32ea90[_0x493ebd(0x21e)](g),'}'];}function v(_0x18f8aa){const _0x4eba57=_0x3ea0;return typeof _0x18f8aa==_0x4eba57(0x223)?String(_0x18f8aa):JSON[_0x4eba57(0x1d7)](_0x18f8aa);}function y(_0x1690ae,_0x1aa24e=!0x1){const _0xe71801=_0x3ea0;let _0x372974=_0x1690ae['documentation']??(_0x1690ae[_0xe71801(0x211)]===void 0x0?void 0x0:{'description':_0x1690ae['summary'],'tags':[]}),_0x3e2635=_0x1690ae[_0xe71801(0x249)][_0xe71801(0x240)]('(')&&!_0x1690ae['type'][_0xe71801(0x20f)]('=>')?'':':\x20',_0x1033c7=_0x1690ae[_0xe71801(0x208)]??''+_0x1690ae[_0xe71801(0x1cf)]+(_0x1690ae[_0xe71801(0x1fe)]?'?':'')+_0x3e2635+_0x1690ae[_0xe71801(0x249)];return[...m(_0x372974,'\x20\x20',!_0x1aa24e),'\x20\x20'+_0x1033c7+';'];}function b(_0x3b6a6f,_0x297d3e=!0x1){const _0x25020b=_0x3ea0;let _0x3d934b=_0x3b6a6f[_0x25020b(0x241)]??[],_0x21f40e=[_0x25020b(0x24e)+_0x3b6a6f[_0x25020b(0x20a)]+(_0x3d934b['length']===0x0?'':_0x25020b(0x1e1)+_0x3d934b[_0x25020b(0x1e6)](',\x20')),...m(f(_0x3b6a6f))];if(_0x3b6a6f[_0x25020b(0x24d)]==='enum')return _0x21f40e[_0x25020b(0x202)](_0x25020b(0x227)+(_0x3b6a6f[_0x25020b(0x208)]??_0x3b6a6f['name'])+'\x20{',...(_0x3b6a6f[_0x25020b(0x1e5)]??[])[_0x25020b(0x228)](_0x29dca5=>'\x20\x20'+_0x29dca5[_0x25020b(0x1cf)]+'\x20=\x20'+v(_0x29dca5['value'])+','),'}'),_0x21f40e[_0x25020b(0x1e6)]('\x0a');if(_0x3b6a6f[_0x25020b(0x24d)]===_0x25020b(0x232))return _0x21f40e[_0x25020b(0x202)](_0x25020b(0x207)+(_0x3b6a6f[_0x25020b(0x208)]??_0x3b6a6f[_0x25020b(0x1cf)]+_0x25020b(0x1e9)+(_0x3b6a6f[_0x25020b(0x218)]??_0x25020b(0x23b)))+';'),_0x21f40e[_0x25020b(0x1e6)]('\x0a');let _0x795404=_0x3b6a6f[_0x25020b(0x24f)]===void 0x0?'':'\x20extends\x20'+_0x3b6a6f[_0x25020b(0x24f)];return _0x21f40e['push'](_0x25020b(0x1f7)+(_0x3b6a6f[_0x25020b(0x208)]??''+_0x3b6a6f['name']+_0x795404)+'\x20{',...(_0x3b6a6f[_0x25020b(0x1fc)]??[])[_0x25020b(0x21e)](_0x31a4f3=>y(_0x31a4f3,_0x297d3e)),...(_0x3b6a6f['signatures']??[])['map'](_0xead6ab=>'\x20\x20'+_0xead6ab+';'),'}'),_0x21f40e[_0x25020b(0x1e6)]('\x0a');}function x(_0x114597){const _0x117268=_0x3ea0;return _0x114597[_0x117268(0x1f4)]===0x0?[]:['',_0x117268(0x1fa),..._0x114597[_0x117268(0x21e)]((_0x4ca0a0,_0x46c77d)=>[..._0x46c77d===0x0?[]:[''],b(_0x4ca0a0)])];}function S(_0x8ccaee){const _0x1343de=_0x3ea0;if(_0x8ccaee['status']===_0x1343de(0x21a))return'';if(_0x8ccaee[_0x1343de(0x24d)]==='class'){let _0x3bfc1a=_0x8ccaee['groups'][_0x1343de(0x1fb)]((_0xd11db0,_0x3f26c8)=>_0xd11db0+_0x3f26c8['members'][_0x1343de(0x1f4)],0x0),_0x34c753=_0x8ccaee[_0x1343de(0x222)][_0x1343de(0x1eb)](_0x56b5d2=>_0x56b5d2[_0x1343de(0x1ef)]===_0x1343de(0x235)),_0x638455=_0x8ccaee[_0x1343de(0x1d4)]===_0x1343de(0x1f5)?_0x1343de(0x20b)+_0x8ccaee[_0x1343de(0x208)]:_0x1343de(0x207)+_0x8ccaee[_0x1343de(0x208)],_0x485c51=['//\x20package:\x20'+_0x8ccaee['packageName']+';\x20'+_0x3bfc1a+'\x20supported\x20members',...m(_0x8ccaee[_0x1343de(0x24c)])];_0x8ccaee['declarationKind']===_0x1343de(0x232)?(_0x485c51[_0x1343de(0x202)](_0x638455+';'),_0x34c753!==void 0x0&&_0x485c51['push']('',..._(_0x34c753[_0x1343de(0x255)],_0x1343de(0x235),_0x34c753[_0x1343de(0x1fc)],_0x1343de(0x1f7)+_0x34c753[_0x1343de(0x255)]))):_0x485c51[_0x1343de(0x202)](..._(_0x8ccaee['name'],_0x1343de(0x235),_0x34c753?.[_0x1343de(0x1fc)]??[],_0x638455));for(let _0x5f864e of _0x8ccaee[_0x1343de(0x222)]['filter'](_0x2b6bc0=>_0x2b6bc0['relation']!==_0x1343de(0x235)))_0x485c51['push']('',..._(_0x5f864e['owner'],_0x5f864e[_0x1343de(0x1ef)],_0x5f864e['members'],_0x638455));return _0x485c51[_0x1343de(0x202)]('','//\x20full\x20member\x20docs:\x20api\x20show\x20'+_0x8ccaee[_0x1343de(0x1cf)]+_0x1343de(0x24b)),_0x485c51[_0x1343de(0x1e6)]('\x0a');}if(_0x8ccaee[_0x1343de(0x24d)]==='member'){let [_0x5a39a0]=_0x8ccaee['entries'];if(_0x5a39a0===void 0x0)return'';let _0x171697=_0x5a39a0[_0x1343de(0x1ef)]===_0x1343de(0x235)?[]:[_0x1343de(0x251)+_0x5a39a0[_0x1343de(0x1ef)]+_0x1343de(0x22a)+_0x5a39a0[_0x1343de(0x1ee)]];return[_0x1343de(0x24e)+_0x5a39a0[_0x1343de(0x242)][_0x1343de(0x20a)],..._0x171697,_0x1343de(0x20b)+_0x8ccaee[_0x1343de(0x1f0)]+'\x20{',..._0x8ccaee[_0x1343de(0x221)]['flatMap'](_0x1f1b90=>[...m(d(_0x1f1b90['member']),'\x20\x20'),'\x20\x20'+h(_0x1f1b90[_0x1343de(0x242)])]),'}',...x([...new Map(_0x8ccaee[_0x1343de(0x221)]['flatMap'](_0x4eba18=>_0x4eba18['appendix'])[_0x1343de(0x228)](_0x5ed759=>[_0x5ed759[_0x1343de(0x1cf)],_0x5ed759]))[_0x1343de(0x1e5)]()])]['join']('\x0a');}return _0x8ccaee[_0x1343de(0x24d)]===_0x1343de(0x249)?[b(_0x8ccaee['type']),..._0x8ccaee['inherited'][_0x1343de(0x21e)](_0x45a28d=>['',_0x1343de(0x23f)+_0x45a28d[_0x1343de(0x1cf)],b(_0x45a28d)]),...x(_0x8ccaee[_0x1343de(0x1d8)])][_0x1343de(0x1e6)]('\x0a'):_0x1343de(0x20e)in _0x8ccaee[_0x1343de(0x242)]?_0x1343de(0x24e)+_0x8ccaee[_0x1343de(0x1e8)][_0x1343de(0x20a)]+'\x0adeclare\x20enum\x20'+_0x8ccaee[_0x1343de(0x1e8)][_0x1343de(0x1cf)]+'\x20{\x0a\x20\x20'+_0x8ccaee[_0x1343de(0x242)][_0x1343de(0x1cf)]+_0x1343de(0x1e9)+v(_0x8ccaee[_0x1343de(0x242)][_0x1343de(0x20e)])+',\x0a}':[_0x1343de(0x24e)+_0x8ccaee[_0x1343de(0x1e8)][_0x1343de(0x20a)]+(_0x8ccaee['declaredBy']['name']===_0x8ccaee['requestedType'][_0x1343de(0x1cf)]?'':';\x20inherited\x20from\x20'+_0x8ccaee[_0x1343de(0x1e8)][_0x1343de(0x1cf)]),_0x1343de(0x1f7)+_0x8ccaee['requestedType'][_0x1343de(0x1cf)]+'\x20{',...y(_0x8ccaee[_0x1343de(0x242)],!0x0),'}',...x(_0x8ccaee[_0x1343de(0x1d8)])][_0x1343de(0x1e6)]('\x0a');}function C(_0x4f34c6){const _0x3de8e9=_0x3ea0;let _0x1b2b61=_0x4f34c6[_0x3de8e9(0x214)][_0x3de8e9(0x1f4)]===0x0?'':_0x3de8e9(0x1d0)+(_0x4f34c6[_0x3de8e9(0x24d)]==='member'?'methods':_0x3de8e9(0x231))+':\x20'+_0x4f34c6[_0x3de8e9(0x214)][_0x3de8e9(0x1e6)](',\x20');return _0x4f34c6[_0x3de8e9(0x24d)]===_0x3de8e9(0x242)?(_0x4f34c6['owner']??_0x3de8e9(0x23d))+_0x3de8e9(0x216)+(_0x4f34c6['member']??_0x3de8e9(0x242))+_0x1b2b61+_0x3de8e9(0x1ec)+(_0x4f34c6[_0x3de8e9(0x255)]??_0x3de8e9(0x245)):'Unknown\x20symbol:\x20'+_0x4f34c6['query']+_0x1b2b61+_0x3de8e9(0x1e0);}function w(_0x479035,_0x45c581){const _0x258e97=_0x3ea0;let _0x9fd139=_0x479035[_0x258e97(0x254)](),_0xd50833=_0x45c581[_0x258e97(0x20c)](_0x217876=>_0x217876[_0x258e97(0x229)]===_0x258e97(0x1db)),_0x5cb4bc=_0x45c581[_0x258e97(0x20c)](_0x4181fd=>_0x4181fd[_0x258e97(0x229)]===_0x258e97(0x21a)),_0x4439fe=_0x45c581[_0x258e97(0x1f4)]>0x1;_0xd50833[_0x258e97(0x1f4)]>0x0&&_0x9fd139['writeOut']?.(''+_0xd50833[_0x258e97(0x228)](_0x444a44=>_0x4439fe?_0x258e97(0x21b)+_0x444a44['query']+'\x0a'+S(_0x444a44):S(_0x444a44))[_0x258e97(0x1e6)]('\x0a\x0a')+(_0x4439fe&&_0x5cb4bc['length']===0x0?_0x258e97(0x1f1)+_0xd50833['length']+_0x258e97(0x1ea):'')+'\x0a'),_0x5cb4bc['length']>0x0&&_0x479035['error']([..._0x5cb4bc[_0x258e97(0x228)](_0x16154b=>_0x4439fe?_0x258e97(0x1f3)+_0x16154b[_0x258e97(0x215)]+'\x0a'+C(_0x16154b):C(_0x16154b)),..._0x4439fe?[_0x258e97(0x1ff)+_0xd50833['length']+_0x258e97(0x203)+_0x5cb4bc[_0x258e97(0x1f4)]+_0x258e97(0x248)]:[]]['join']('\x0a\x0a'),{'code':_0x258e97(0x224),'exitCode':0x1});}function T(_0x1a2bdc){const _0x38e848=_0x3ea0;let _0x5d8ddf=new _0x15bb55(_0x38e848(0x238))[_0x38e848(0x217)](_0x38e848(0x1df))['argument'](_0x38e848(0x22c),'exact\x20symbols;\x20shorthand\x20for\x20api\x20show')[_0x38e848(0x225)](_0x4dfe01=>{const _0xe9e4f2=_0x38e848;if(_0x4dfe01['length']===0x0){_0x5d8ddf[_0xe9e4f2(0x1d9)]();return;}w(_0x5d8ddf,_0x1a2bdc[_0xe9e4f2(0x1f9)][_0xe9e4f2(0x1d3)](_0x4dfe01));});return _0x5d8ddf[_0x38e848(0x22b)](_0x38e848(0x1eb))[_0x38e848(0x217)](_0x38e848(0x244))[_0x38e848(0x247)](_0x38e848(0x22d),'one\x20or\x20more\x20terms,\x20searched\x20independently')[_0x38e848(0x22e)](new _0x404c11(_0x38e848(0x23a),'limit\x20results\x20to\x20one\x20unit\x20while\x20retaining\x20shared\x20APIs')['choices'](_0x6a1cd2))[_0x38e848(0x225)]((_0x4f69a7,_0x4ae708)=>{const _0x3c234d=_0x38e848;let _0x478424=_0x1a2bdc[_0x3c234d(0x1f9)][_0x3c234d(0x1eb)]({'terms':_0x4f69a7,..._0x4ae708[_0x3c234d(0x1e7)]===void 0x0?{}:{'unit':_0x4ae708[_0x3c234d(0x1e7)]}});_0x5d8ddf['configureOutput']()[_0x3c234d(0x212)]?.(l(_0x478424,_0x4ae708[_0x3c234d(0x1e7)])+'\x0a');}),_0x5d8ddf[_0x38e848(0x22b)](_0x38e848(0x1d3))[_0x38e848(0x217)](_0x38e848(0x1d5))[_0x38e848(0x247)](_0x38e848(0x1d1),_0x38e848(0x24a))['action'](_0x4e9c58=>{const _0x556eea=_0x38e848;w(_0x5d8ddf,_0x1a2bdc[_0x556eea(0x1f9)][_0x556eea(0x1d3)](_0x4e9c58));}),_0x5d8ddf;}export{T as createApiCommand};
1
+ (function(_0x1e7b04,_0x378ec0){const _0x8fd2d8=_0x27aa,_0x416679=_0x1e7b04();while(!![]){try{const _0x1185e7=-parseInt(_0x8fd2d8(0x171))/0x1*(-parseInt(_0x8fd2d8(0x177))/0x2)+parseInt(_0x8fd2d8(0x149))/0x3*(parseInt(_0x8fd2d8(0x154))/0x4)+-parseInt(_0x8fd2d8(0x18a))/0x5*(-parseInt(_0x8fd2d8(0x1a3))/0x6)+-parseInt(_0x8fd2d8(0x13e))/0x7*(-parseInt(_0x8fd2d8(0x16c))/0x8)+-parseInt(_0x8fd2d8(0x1aa))/0x9+-parseInt(_0x8fd2d8(0x15b))/0xa+parseInt(_0x8fd2d8(0x16b))/0xb*(-parseInt(_0x8fd2d8(0x19b))/0xc);if(_0x1185e7===_0x378ec0)break;else _0x416679['push'](_0x416679['shift']());}catch(_0x5a6997){_0x416679['push'](_0x416679['shift']());}}}(_0x1d61,0x45733));import{API_REFERENCE_UNITS as _0x354ce2}from'@univer-cli/api-reference';import{Command as _0x397927,Option as _0x30a60a}from'commander';var r=0x48,i=0x5a;function a(_0x47626f){const _0x1d4dd0=_0x27aa;return(_0x47626f['match'](/^(.*?[.。])(\s|$)/u)?.[0x1]??_0x47626f)[_0x1d4dd0(0x1b2)]();}function o(_0x4f02f3,_0x471976){const _0x1e9c62=_0x27aa;return _0x4f02f3[_0x1e9c62(0x167)]>_0x471976?_0x4f02f3['slice'](0x0,_0x471976-0x1)+'…':_0x4f02f3;}function s(_0x372ed1){const _0x2a1fc4=_0x27aa;let _0x53cde8=_0x372ed1[_0x2a1fc4(0x18c)]===''?'':_0x2a1fc4(0x19d)+a(_0x372ed1[_0x2a1fc4(0x18c)]);return'['+_0x372ed1[_0x2a1fc4(0x192)]+']\x20'+o(_0x372ed1[_0x2a1fc4(0x186)],r)+o(_0x53cde8,i)+_0x2a1fc4(0x1b5)+_0x372ed1[_0x2a1fc4(0x169)]+']';}function c(_0x45e18c,_0x2357a7){const _0x3f38a4=_0x27aa;if(_0x45e18c[_0x3f38a4(0x1b3)][_0x3f38a4(0x167)]===0x0){let _0x263a69=_0x2357a7===void 0x0?'':_0x3f38a4(0x16d)+_0x2357a7+')';return _0x3f38a4(0x156)+_0x45e18c[_0x3f38a4(0x1a1)]+'\x22'+_0x263a69+_0x3f38a4(0x196)+(_0x2357a7===void 0x0?'':_0x3f38a4(0x180))+',\x20or\x20api\x20show\x20<Class>\x20to\x20browse\x20a\x20whole\x20class.';}let _0xa39dab=_0x45e18c['matches'][_0x3f38a4(0x162)](s),_0x43eb32=_0x45e18c[_0x3f38a4(0x15e)]-_0x45e18c[_0x3f38a4(0x1b3)]['length'];return _0x43eb32>0x0&&_0xa39dab[_0x3f38a4(0x19c)]('…\x20'+_0x43eb32+_0x3f38a4(0x1a9)),_0xa39dab[_0x3f38a4(0x146)]('\x0a');}function l(_0x52239,_0x579fe3){const _0x41536d=_0x27aa;return _0x52239['map'](_0x2441f1=>{const _0x313989=_0x27aa;let _0x44c172=c(_0x2441f1,_0x579fe3);return _0x52239[_0x313989(0x167)]>0x1?_0x313989(0x17b)+_0x2441f1[_0x313989(0x1a1)]+_0x313989(0x19e)+_0x44c172:_0x44c172;})[_0x41536d(0x146)]('\x0a\x0a');}function u(_0x4ef491){const _0x2da7a1=_0x27aa;return _0x4ef491[_0x2da7a1(0x181)](/\n\s*\n/u,0x1)[0x0]?.[_0x2da7a1(0x1b2)]()??'';}function d(_0x59f487){const _0x5265c4=_0x27aa;return _0x59f487[_0x5265c4(0x1a2)]===void 0x0?{'description':_0x59f487[_0x5265c4(0x18c)],'tags':_0x59f487['example']===''?[]:[{'name':_0x5265c4(0x1a5),'text':_0x59f487[_0x5265c4(0x1a5)]}]}:_0x59f487[_0x5265c4(0x1a2)];}function f(_0x3e0e53){const _0x25e2ea=_0x27aa;return _0x3e0e53[_0x25e2ea(0x1a2)]??{'description':_0x3e0e53[_0x25e2ea(0x18c)],'tags':[]};}function p(_0x5663b1){const _0x21eb45=_0x27aa;let _0x84dd6c=_0x5663b1[_0x21eb45(0x170)]===void 0x0?'':'\x20{'+_0x5663b1[_0x21eb45(0x170)]+'}',_0x1d87df=_0x5663b1[_0x21eb45(0x17f)]===void 0x0?'':'\x20'+_0x5663b1[_0x21eb45(0x17f)],[_0x59bb39='',..._0xd2ddf5]=_0x5663b1['text']===''?[]:_0x5663b1[_0x21eb45(0x1b8)]['split']('\x0a');return _0x5663b1[_0x21eb45(0x1b0)]===_0x21eb45(0x1a5)&&_0x59bb39['trimStart']()[_0x21eb45(0x15a)](_0x21eb45(0x173))?['@'+_0x5663b1[_0x21eb45(0x1b0)]+_0x84dd6c+_0x1d87df,_0x59bb39,..._0xd2ddf5]:['@'+_0x5663b1['name']+_0x84dd6c+_0x1d87df+(_0x59bb39===''?'':'\x20'+_0x59bb39),..._0xd2ddf5];}function m(_0x45b06a,_0x389a1e='',_0x354e70=!0x1){const _0x42986f=_0x27aa;if(_0x45b06a===void 0x0)return[];let _0x352207=_0x354e70?u(_0x45b06a[_0x42986f(0x16a)]):_0x45b06a[_0x42986f(0x16a)],_0x155cdc=_0x45b06a[_0x42986f(0x18b)]['flatMap'](p),_0x1cef09=[..._0x352207[_0x42986f(0x181)]('\x0a'),..._0x354e70||_0x155cdc[_0x42986f(0x167)]===0x0?[]:['',..._0x155cdc]];for(;_0x1cef09['at'](-0x1)==='';)_0x1cef09[_0x42986f(0x17d)]();return _0x1cef09[_0x42986f(0x14a)](_0x2abab5=>_0x2abab5==='')?[]:[_0x389a1e+_0x42986f(0x1af),..._0x1cef09[_0x42986f(0x162)](_0x32fec2=>_0x389a1e+'\x20*'+(_0x32fec2===''?'':'\x20'+_0x32fec2)),_0x389a1e+_0x42986f(0x1b7)];}function h(_0x13b962){const _0x21f12c=_0x27aa;return''+((_0x13b962[_0x21f12c(0x192)]===_0x21f12c(0x191)||_0x13b962['readonly'])&&!_0x13b962['signature'][_0x21f12c(0x15a)](_0x21f12c(0x185))?_0x21f12c(0x185):'')+_0x13b962[_0x21f12c(0x186)]+';';}function g(_0x197a97){const _0x494f81=_0x27aa;let _0x18ded1=_0x197a97[_0x494f81(0x18c)][_0x494f81(0x1b2)]();return[..._0x18ded1===''?[]:[_0x494f81(0x1a4)+_0x18ded1['replaceAll']('*/','*\x5c/')+_0x494f81(0x1b7)],'\x20\x20'+h(_0x197a97)];}function _(_0x40ebac,_0x528946,_0x16db8b,_0x1d5e2f){const _0x5315ab=_0x27aa;let _0x1eb35b=_0x528946===_0x5315ab(0x17e)?[]:[_0x5315ab(0x197)+(_0x528946===_0x5315ab(0x194)?_0x5315ab(0x194):_0x5315ab(0x153))+_0x5315ab(0x17a)+_0x40ebac],_0x53cefd=_0x528946===_0x5315ab(0x17e)?_0x1d5e2f:_0x528946==='inherited'?'declare\x20class\x20'+_0x40ebac:_0x5315ab(0x152)+_0x40ebac;return[..._0x1eb35b,_0x53cefd+'\x20{',..._0x16db8b['flatMap'](g),'}'];}function _0x1d61(){const _0x2b4588=['//\x20full\x20member\x20docs:\x20api\x20show\x20','/**','name','alias','trim','matches','\x0a\x20\x20List\x20all:\x20api\x20show\x20','\x20\x20[','command','\x20*/','text','\x20{\x0a\x20\x20','members','reference','9149RaaMba','declare\x20enum\x20','declarationKind','\x20=\x20','//\x20inherited\x20declaration\x20from\x20','query','--unit\x20<unit>','\x20found,\x200\x20not\x20found','join','one\x20or\x20more\x20terms,\x20searched\x20independently','\x20not\x20found','239247cTErWh','every','filter','not-found','writeOut','//\x20[not-found]\x20','//\x20package:\x20','api.reference.not-found','//\x20directly\x20referenced\x20types','interface\x20','composed','12jZdHym','suggestions','No\x20API\x20matches\x20\x22','show','\x20supported\x20members','relation','startsWith','1538230kSRirQ','declaration','action','totalMatches','owner','\x20has\x20no\x20','number','map','optional','//\x20[found]\x20','Offline\x20Univer\x20Facade\x20API\x20reference','value','length','api','packageName','description','2992rXNVpR','1832PXmLtf','\x20(filtered\x20by\x20--unit\x20','find','includes','type','56164vXizZD','declare\x20class\x20','```','requestedType','appendix','Find\x20API\x20methods,\x20types,\x20fields,\x20and\x20enums\x20by\x20keyword','18iNJowZ',';\x20runtime\x20aliases:\x20','limit\x20results\x20to\x20one\x20unit\x20while\x20retaining\x20shared\x20APIs','\x20member\x20projection\x20from\x20','══\x20','\x20extends\x20','pop','own','subject',',\x20drop\x20--unit','split','declaredBy','argument','entries','readonly\x20','signature','relationOwner','unit','status','5kcpNqV','tags','summary','stringify','definition','signatures','one\x20or\x20more\x20exact\x20API\x20symbols','getter','kind','\x20found,\x20','inherited','flatMap','.\x20Try\x20a\x20shorter\x20substring','//\x20','extends','configureOutput','symbols','28716GKFoVb','push','\x20\x20—\x20','\x20══\x0a','values','member','term','documentation','1997694CviRWP','\x20\x20/**\x20','example','outputHelp','groups','error','\x20more.\x20Narrow\x20with\x20a\x20longer\x20substring,\x20or\x20api\x20show\x20<symbol>\x20for\x20details.','2590101zpNPcx','Show\x20exact\x20API\x20classes,\x20members,\x20types,\x20fields,\x20or\x20enum\x20values','class','.<member>'];_0x1d61=function(){return _0x2b4588;};return _0x1d61();}function v(_0x5908d7){const _0x3905d0=_0x27aa;return typeof _0x5908d7==_0x3905d0(0x161)?String(_0x5908d7):JSON[_0x3905d0(0x18d)](_0x5908d7);}function y(_0x299803,_0x15ba7f=!0x1){const _0x501488=_0x27aa;let _0x1ab738=_0x299803['documentation']??(_0x299803[_0x501488(0x18c)]===void 0x0?void 0x0:{'description':_0x299803[_0x501488(0x18c)],'tags':[]}),_0x428abe=_0x299803[_0x501488(0x170)][_0x501488(0x15a)]('(')&&!_0x299803[_0x501488(0x170)][_0x501488(0x16f)]('=>')?'':':\x20',_0x12a2df=_0x299803['declaration']??''+_0x299803[_0x501488(0x1b0)]+(_0x299803[_0x501488(0x163)]?'?':'')+_0x428abe+_0x299803[_0x501488(0x170)];return[...m(_0x1ab738,'\x20\x20',!_0x15ba7f),'\x20\x20'+_0x12a2df+';'];}function b(_0x58d033,_0x5a57a7=!0x1){const _0x492b80=_0x27aa;let _0xd7d393=_0x58d033['aliases']??[],_0x4d22bf=[_0x492b80(0x14f)+_0x58d033[_0x492b80(0x169)]+(_0xd7d393['length']===0x0?'':_0x492b80(0x178)+_0xd7d393[_0x492b80(0x146)](',\x20')),...m(f(_0x58d033))];if(_0x58d033['kind']==='enum')return _0x4d22bf[_0x492b80(0x19c)](_0x492b80(0x13f)+(_0x58d033[_0x492b80(0x15c)]??_0x58d033[_0x492b80(0x1b0)])+'\x20{',...(_0x58d033['values']??[])[_0x492b80(0x162)](_0x2ab34f=>'\x20\x20'+_0x2ab34f['name']+_0x492b80(0x141)+v(_0x2ab34f[_0x492b80(0x166)])+','),'}'),_0x4d22bf[_0x492b80(0x146)]('\x0a');if(_0x58d033['kind']===_0x492b80(0x1b1))return _0x4d22bf['push']('type\x20'+(_0x58d033[_0x492b80(0x15c)]??_0x58d033[_0x492b80(0x1b0)]+_0x492b80(0x141)+(_0x58d033[_0x492b80(0x18e)]??'unknown'))+';'),_0x4d22bf[_0x492b80(0x146)]('\x0a');let _0x363367=_0x58d033[_0x492b80(0x198)]===void 0x0?'':_0x492b80(0x17c)+_0x58d033['extends'];return _0x4d22bf[_0x492b80(0x19c)]('interface\x20'+(_0x58d033[_0x492b80(0x15c)]??''+_0x58d033[_0x492b80(0x1b0)]+_0x363367)+'\x20{',...(_0x58d033[_0x492b80(0x13c)]??[])[_0x492b80(0x195)](_0xf037f3=>y(_0xf037f3,_0x5a57a7)),...(_0x58d033[_0x492b80(0x18f)]??[])[_0x492b80(0x162)](_0x576f8e=>'\x20\x20'+_0x576f8e+';'),'}'),_0x4d22bf['join']('\x0a');}function x(_0x3bbda1){const _0x3a56d9=_0x27aa;return _0x3bbda1[_0x3a56d9(0x167)]===0x0?[]:['',_0x3a56d9(0x151),..._0x3bbda1['flatMap']((_0x4072b0,_0x31eaef)=>[..._0x31eaef===0x0?[]:[''],b(_0x4072b0)])];}function _0x27aa(_0xaa66dc,_0x1b65eb){_0xaa66dc=_0xaa66dc-0x13c;const _0x1d6162=_0x1d61();let _0x27aa87=_0x1d6162[_0xaa66dc];return _0x27aa87;}function S(_0x242b8b){const _0x31494f=_0x27aa;if(_0x242b8b[_0x31494f(0x189)]===_0x31494f(0x14c))return'';if(_0x242b8b[_0x31494f(0x192)]===_0x31494f(0x1ac)){let _0xf0a983=_0x242b8b[_0x31494f(0x1a7)]['reduce']((_0x24cd87,_0x24c87e)=>_0x24cd87+_0x24c87e[_0x31494f(0x13c)][_0x31494f(0x167)],0x0),_0xca7daa=_0x242b8b['groups'][_0x31494f(0x16e)](_0x4487ba=>_0x4487ba['relation']===_0x31494f(0x17e)),_0xd8ca5d=_0x242b8b[_0x31494f(0x140)]===_0x31494f(0x1ac)?_0x31494f(0x172)+_0x242b8b[_0x31494f(0x15c)]:'type\x20'+_0x242b8b['declaration'],_0x498853=['//\x20package:\x20'+_0x242b8b[_0x31494f(0x169)]+';\x20'+_0xf0a983+_0x31494f(0x158),...m(_0x242b8b[_0x31494f(0x1a2)])];_0x242b8b['declarationKind']===_0x31494f(0x1b1)?(_0x498853[_0x31494f(0x19c)](_0xd8ca5d+';'),_0xca7daa!==void 0x0&&_0x498853['push']('',..._(_0xca7daa[_0x31494f(0x15f)],_0x31494f(0x17e),_0xca7daa[_0x31494f(0x13c)],_0x31494f(0x152)+_0xca7daa['owner']))):_0x498853[_0x31494f(0x19c)](..._(_0x242b8b[_0x31494f(0x1b0)],_0x31494f(0x17e),_0xca7daa?.[_0x31494f(0x13c)]??[],_0xd8ca5d));for(let _0x3ae70c of _0x242b8b['groups']['filter'](_0x157750=>_0x157750[_0x31494f(0x159)]!==_0x31494f(0x17e)))_0x498853[_0x31494f(0x19c)]('',..._(_0x3ae70c[_0x31494f(0x15f)],_0x3ae70c[_0x31494f(0x159)],_0x3ae70c[_0x31494f(0x13c)],_0xd8ca5d));return _0x498853[_0x31494f(0x19c)]('',_0x31494f(0x1ae)+_0x242b8b[_0x31494f(0x1b0)]+_0x31494f(0x1ad)),_0x498853['join']('\x0a');}if(_0x242b8b[_0x31494f(0x192)]===_0x31494f(0x1a0)){let [_0xc42f3b]=_0x242b8b[_0x31494f(0x184)];if(_0xc42f3b===void 0x0)return'';let _0x14fb0e=_0xc42f3b[_0x31494f(0x159)]===_0x31494f(0x17e)?[]:['//\x20'+_0xc42f3b[_0x31494f(0x159)]+'\x20from\x20'+_0xc42f3b[_0x31494f(0x187)]];return[_0x31494f(0x14f)+_0xc42f3b[_0x31494f(0x1a0)][_0x31494f(0x169)],..._0x14fb0e,_0x31494f(0x172)+_0x242b8b['target']+'\x20{',..._0x242b8b[_0x31494f(0x184)][_0x31494f(0x195)](_0x37ba51=>[...m(d(_0x37ba51[_0x31494f(0x1a0)]),'\x20\x20'),'\x20\x20'+h(_0x37ba51[_0x31494f(0x1a0)])]),'}',...x([...new Map(_0x242b8b[_0x31494f(0x184)]['flatMap'](_0x4154af=>_0x4154af[_0x31494f(0x175)])['map'](_0x1ce6d3=>[_0x1ce6d3[_0x31494f(0x1b0)],_0x1ce6d3]))[_0x31494f(0x19f)]()])][_0x31494f(0x146)]('\x0a');}return _0x242b8b['kind']===_0x31494f(0x170)?[b(_0x242b8b['type']),..._0x242b8b[_0x31494f(0x194)][_0x31494f(0x195)](_0x3a73ac=>['',_0x31494f(0x142)+_0x3a73ac[_0x31494f(0x1b0)],b(_0x3a73ac)]),...x(_0x242b8b['appendix'])][_0x31494f(0x146)]('\x0a'):_0x31494f(0x166)in _0x242b8b[_0x31494f(0x1a0)]?'//\x20package:\x20'+_0x242b8b['declaredBy'][_0x31494f(0x169)]+'\x0adeclare\x20enum\x20'+_0x242b8b[_0x31494f(0x182)][_0x31494f(0x1b0)]+_0x31494f(0x1b9)+_0x242b8b[_0x31494f(0x1a0)][_0x31494f(0x1b0)]+_0x31494f(0x141)+v(_0x242b8b['member'][_0x31494f(0x166)])+',\x0a}':[_0x31494f(0x14f)+_0x242b8b[_0x31494f(0x182)][_0x31494f(0x169)]+(_0x242b8b['declaredBy']['name']===_0x242b8b[_0x31494f(0x174)][_0x31494f(0x1b0)]?'':';\x20inherited\x20from\x20'+_0x242b8b['declaredBy'][_0x31494f(0x1b0)]),_0x31494f(0x152)+_0x242b8b[_0x31494f(0x174)][_0x31494f(0x1b0)]+'\x20{',...y(_0x242b8b[_0x31494f(0x1a0)],!0x0),'}',...x(_0x242b8b[_0x31494f(0x175)])][_0x31494f(0x146)]('\x0a');}function C(_0x3effbe){const _0xbb130=_0x27aa;let _0x5be2dd=_0x3effbe['suggestions'][_0xbb130(0x167)]===0x0?'':'\x0a\x20\x20Similar\x20'+(_0x3effbe[_0xbb130(0x192)]===_0xbb130(0x1a0)?'methods':_0xbb130(0x19a))+':\x20'+_0x3effbe[_0xbb130(0x155)][_0xbb130(0x146)](',\x20');return _0x3effbe['kind']===_0xbb130(0x1a0)?(_0x3effbe[_0xbb130(0x15f)]??'Symbol')+_0xbb130(0x160)+(_0x3effbe['member']??'member')+_0x5be2dd+_0xbb130(0x1b4)+(_0x3effbe[_0xbb130(0x15f)]??'<Class>'):'Unknown\x20symbol:\x20'+_0x3effbe[_0xbb130(0x143)]+_0x5be2dd+'\x0a\x20\x20If\x20unsure,\x20api\x20find\x20<keyword>\x20to\x20search\x20indexed\x20API\x20symbols,\x20or\x20api\x20show\x20<class\x20alias:\x20range/slide/document/presentation/api>\x20to\x20browse\x20a\x20whole\x20class.';}function w(_0x5a5b2d,_0x2319b8){const _0x43d420=_0x27aa;let _0x5c0d3d=_0x5a5b2d[_0x43d420(0x199)](),_0x234df1=_0x2319b8[_0x43d420(0x14b)](_0x2ee80d=>_0x2ee80d[_0x43d420(0x189)]==='found'),_0x57cd39=_0x2319b8[_0x43d420(0x14b)](_0x320323=>_0x320323['status']==='not-found'),_0x45f95b=_0x2319b8['length']>0x1;_0x234df1['length']>0x0&&_0x5c0d3d['writeOut']?.(''+_0x234df1[_0x43d420(0x162)](_0x46d50f=>_0x45f95b?_0x43d420(0x164)+_0x46d50f[_0x43d420(0x143)]+'\x0a'+S(_0x46d50f):S(_0x46d50f))['join']('\x0a\x0a')+(_0x45f95b&&_0x57cd39[_0x43d420(0x167)]===0x0?'\x0a\x0a//\x20batch:\x20'+_0x234df1['length']+_0x43d420(0x145):'')+'\x0a'),_0x57cd39[_0x43d420(0x167)]>0x0&&_0x5a5b2d[_0x43d420(0x1a8)]([..._0x57cd39[_0x43d420(0x162)](_0x40f163=>_0x45f95b?_0x43d420(0x14e)+_0x40f163[_0x43d420(0x143)]+'\x0a'+C(_0x40f163):C(_0x40f163)),..._0x45f95b?['//\x20batch:\x20'+_0x234df1[_0x43d420(0x167)]+_0x43d420(0x193)+_0x57cd39[_0x43d420(0x167)]+_0x43d420(0x148)]:[]][_0x43d420(0x146)]('\x0a\x0a'),{'code':_0x43d420(0x150),'exitCode':0x1});}function T(_0x1be34a){const _0x110426=_0x27aa;let _0x3b0cc2=new _0x397927(_0x110426(0x168))[_0x110426(0x16a)](_0x110426(0x165))[_0x110426(0x183)]('[symbols...]','exact\x20symbols;\x20shorthand\x20for\x20api\x20show')[_0x110426(0x15d)](_0x4b087c=>{const _0x1982b6=_0x110426;if(_0x4b087c[_0x1982b6(0x167)]===0x0){_0x3b0cc2[_0x1982b6(0x1a6)]();return;}w(_0x3b0cc2,_0x1be34a[_0x1982b6(0x13d)][_0x1982b6(0x157)](_0x4b087c));});return _0x3b0cc2['command'](_0x110426(0x16e))[_0x110426(0x16a)](_0x110426(0x176))['argument']('<terms...>',_0x110426(0x147))['addOption'](new _0x30a60a(_0x110426(0x144),_0x110426(0x179))['choices'](_0x354ce2))[_0x110426(0x15d)]((_0x4b65cb,_0x4293cc)=>{const _0x354573=_0x110426;let _0x117d2d=_0x1be34a[_0x354573(0x13d)][_0x354573(0x16e)]({'terms':_0x4b65cb,..._0x4293cc[_0x354573(0x188)]===void 0x0?{}:{'unit':_0x4293cc[_0x354573(0x188)]}});_0x3b0cc2[_0x354573(0x199)]()[_0x354573(0x14d)]?.(l(_0x117d2d,_0x4293cc['unit'])+'\x0a');}),_0x3b0cc2[_0x110426(0x1b6)](_0x110426(0x157))[_0x110426(0x16a)](_0x110426(0x1ab))[_0x110426(0x183)]('<symbols...>',_0x110426(0x190))['action'](_0x1af674=>{const _0x145d51=_0x110426;w(_0x3b0cc2,_0x1be34a[_0x145d51(0x13d)][_0x145d51(0x157)](_0x1af674));}),_0x3b0cc2;}export{T as createApiCommand};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@univer-cli/api-reference-command",
3
3
  "type": "module",
4
- "version": "1.2.0",
4
+ "version": "1.3.0",
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/api-reference": "1.2.0"
21
+ "@univer-cli/api-reference": "1.3.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "commander": "^15.0.0"