@univer-cli/api-reference-command 1.0.0 → 1.0.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.
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 _0xe772(){const _0x27083d=['query','signature','packageName','getter','declare\x20class\x20','every','1154643xkRnCi','//\x20inherited\x20declaration\x20from\x20','12YFhtXg','<symbols...>','groups','```','flatMap','members','Symbol','find','29030KoSuCt','choices','\x0a\x0a//\x20batch:\x20','225000GhmONe','target','api','type','owner','unit','//\x20[not-found]\x20','api.reference.not-found','includes','error','declarationKind','command','\x20supported\x20members','1xANoQv','176bTtaUB','<Class>','name','suggestions','//\x20package:\x20','declare\x20enum\x20','one\x20or\x20more\x20terms,\x20searched\x20independently','readonly\x20','status','\x20found,\x20','\x20*/','slice','writeOut','unknown','\x20has\x20no\x20','210230GjyTOW','\x20=\x20','kind','example','45ivvwCv','interface\x20','documentation','values','entries','match','/**','Offline\x20Univer\x20Facade\x20API\x20reference','2188224lVauUZ','//\x20directly\x20referenced\x20types','aliases','term','methods','map','push','8WzEIXd','type\x20','class','\x20not\x20found','declaredBy','member','//\x20full\x20member\x20docs:\x20api\x20show\x20','argument','relation',',\x0a}','found','Show\x20exact\x20API\x20classes,\x20members,\x20types,\x20fields,\x20or\x20enum\x20values','exact\x20symbols;\x20shorthand\x20for\x20api\x20show','\x20from\x20','\x20══\x0a','text','split','[symbols...]','appendix','\x20extends\x20','configureOutput','symbols','limit\x20results\x20to\x20one\x20unit\x20while\x20retaining\x20shared\x20APIs',';\x20inherited\x20from\x20','//\x20','trim','inherited','--unit\x20<unit>','//\x20[found]\x20','reference','stringify',',\x20or\x20api\x20show\x20<Class>\x20to\x20browse\x20a\x20whole\x20class.','subject','number','replaceAll','\x0adeclare\x20enum\x20','filter','\x20\x20—\x20','startsWith','own','matches','══\x20','length','Unknown\x20symbol:\x20','value','No\x20API\x20matches\x20\x22','declaration','tags','938765EHeaia','signatures','join','alias','composed','optional','addOption','not-found','\x20\x20[','\x20\x20/**\x20','action','267231bnyPmZ','description','<terms...>','\x20{\x0a\x20\x20','show','summary'];_0xe772=function(){return _0x27083d;};return _0xe772();}(function(_0xe70b74,_0x1a0bdf){const _0x1c64a4=_0x4900,_0x259dc1=_0xe70b74();while(!![]){try{const _0x25f882=parseInt(_0x1c64a4(0x165))/0x1*(parseInt(_0x1c64a4(0x175))/0x2)+-parseInt(_0x1c64a4(0x1c3))/0x3*(parseInt(_0x1c64a4(0x188))/0x4)+parseInt(_0x1c64a4(0x1b8))/0x5+parseInt(_0x1c64a4(0x14d))/0x6*(parseInt(_0x1c64a4(0x14b))/0x7)+parseInt(_0x1c64a4(0x158))/0x8*(-parseInt(_0x1c64a4(0x179))/0x9)+parseInt(_0x1c64a4(0x155))/0xa*(parseInt(_0x1c64a4(0x166))/0xb)+-parseInt(_0x1c64a4(0x181))/0xc;if(_0x25f882===_0x1a0bdf)break;else _0x259dc1['push'](_0x259dc1['shift']());}catch(_0x552f43){_0x259dc1['push'](_0x259dc1['shift']());}}}(_0xe772,0x29093));import{API_REFERENCE_UNITS as _0x58f488}from'@univer-cli/api-reference';import{Command as _0xc3527c,Option as _0x1f8e00}from'commander';var r=0x48,i=0x5a;function a(_0x3556cb){const _0x1a49d5=_0x4900;return(_0x3556cb[_0x1a49d5(0x17e)](/^(.*?[.。])(\s|$)/u)?.[0x1]??_0x3556cb)['trim']();}function o(_0x403171,_0xa5fd9){const _0x389b77=_0x4900;return _0x403171[_0x389b77(0x1b2)]>_0xa5fd9?_0x403171[_0x389b77(0x171)](0x0,_0xa5fd9-0x1)+'…':_0x403171;}function s(_0x546d64){const _0x4ac026=_0x4900;let _0x17dfca=_0x546d64[_0x4ac026(0x144)]===''?'':_0x4ac026(0x1ad)+a(_0x546d64[_0x4ac026(0x144)]);return'['+_0x546d64[_0x4ac026(0x177)]+']\x20'+o(_0x546d64[_0x4ac026(0x146)],r)+o(_0x17dfca,i)+_0x4ac026(0x1c0)+_0x546d64[_0x4ac026(0x147)]+']';}function c(_0x1a731a,_0xe57aa6){const _0xd2395a=_0x4900;if(_0x1a731a['matches']['length']===0x0){let _0xceaa97=_0xe57aa6===void 0x0?'':'\x20(filtered\x20by\x20--unit\x20'+_0xe57aa6+')';return _0xd2395a(0x1b5)+_0x1a731a[_0xd2395a(0x184)]+'\x22'+_0xceaa97+'.\x20Try\x20a\x20shorter\x20substring'+(_0xe57aa6===void 0x0?'':',\x20drop\x20--unit')+_0xd2395a(0x1a7);}let _0x32c92d=_0x1a731a[_0xd2395a(0x1b0)][_0xd2395a(0x186)](s),_0x13575b=_0x1a731a['totalMatches']-_0x1a731a[_0xd2395a(0x1b0)][_0xd2395a(0x1b2)];return _0x13575b>0x0&&_0x32c92d['push']('…\x20'+_0x13575b+'\x20more.\x20Narrow\x20with\x20a\x20longer\x20substring,\x20or\x20api\x20show\x20<symbol>\x20for\x20details.'),_0x32c92d['join']('\x0a');}function l(_0x5809e4,_0x426763){const _0x234170=_0x4900;return _0x5809e4[_0x234170(0x186)](_0x5335d5=>{const _0x3e735f=_0x234170;let _0xfa7df2=c(_0x5335d5,_0x426763);return _0x5809e4[_0x3e735f(0x1b2)]>0x1?_0x3e735f(0x1b1)+_0x5335d5[_0x3e735f(0x184)]+_0x3e735f(0x196)+_0xfa7df2:_0xfa7df2;})[_0x234170(0x1ba)]('\x0a\x0a');}function u(_0x47a137){const _0x176e7e=_0x4900;return _0x47a137[_0x176e7e(0x198)](/\n\s*\n/u,0x1)[0x0]?.[_0x176e7e(0x1a1)]()??'';}function d(_0x337ab8){const _0x1d1187=_0x4900;return _0x337ab8[_0x1d1187(0x17b)]===void 0x0?{'description':_0x337ab8[_0x1d1187(0x144)],'tags':_0x337ab8[_0x1d1187(0x178)]===''?[]:[{'name':_0x1d1187(0x178),'text':_0x337ab8[_0x1d1187(0x178)]}]}:_0x337ab8[_0x1d1187(0x17b)];}function f(_0x434897){const _0x5d1b2a=_0x4900;return _0x434897[_0x5d1b2a(0x17b)]??{'description':_0x434897[_0x5d1b2a(0x144)],'tags':[]};}function p(_0x39a0b8){const _0x48f8b7=_0x4900;let _0x15237d=_0x39a0b8[_0x48f8b7(0x15b)]===void 0x0?'':'\x20{'+_0x39a0b8[_0x48f8b7(0x15b)]+'}',_0x283f18=_0x39a0b8['subject']===void 0x0?'':'\x20'+_0x39a0b8[_0x48f8b7(0x1a8)],[_0x3632cb='',..._0x545b94]=_0x39a0b8[_0x48f8b7(0x197)]===''?[]:_0x39a0b8[_0x48f8b7(0x197)][_0x48f8b7(0x198)]('\x0a');return _0x39a0b8[_0x48f8b7(0x168)]===_0x48f8b7(0x178)&&_0x3632cb['trimStart']()[_0x48f8b7(0x1ae)](_0x48f8b7(0x150))?['@'+_0x39a0b8['name']+_0x15237d+_0x283f18,_0x3632cb,..._0x545b94]:['@'+_0x39a0b8[_0x48f8b7(0x168)]+_0x15237d+_0x283f18+(_0x3632cb===''?'':'\x20'+_0x3632cb),..._0x545b94];}function _0x4900(_0x31b6f1,_0xaaf2ff){_0x31b6f1=_0x31b6f1-0x143;const _0xe77201=_0xe772();let _0x490018=_0xe77201[_0x31b6f1];return _0x490018;}function m(_0x27bcda,_0x39b357='',_0x559707=!0x1){const _0x1c83ba=_0x4900;if(_0x27bcda===void 0x0)return[];let _0x416cad=_0x559707?u(_0x27bcda['description']):_0x27bcda[_0x1c83ba(0x1c4)],_0x11162d=_0x27bcda[_0x1c83ba(0x1b7)][_0x1c83ba(0x151)](p),_0x3030f3=[..._0x416cad[_0x1c83ba(0x198)]('\x0a'),..._0x559707||_0x11162d['length']===0x0?[]:['',..._0x11162d]];for(;_0x3030f3['at'](-0x1)==='';)_0x3030f3['pop']();return _0x3030f3[_0x1c83ba(0x14a)](_0x3938cd=>_0x3938cd==='')?[]:[_0x39b357+_0x1c83ba(0x17f),..._0x3030f3['map'](_0x3cc37a=>_0x39b357+'\x20*'+(_0x3cc37a===''?'':'\x20'+_0x3cc37a)),_0x39b357+_0x1c83ba(0x170)];}function h(_0x52fa71){const _0x26c1c2=_0x4900;return''+((_0x52fa71[_0x26c1c2(0x177)]===_0x26c1c2(0x148)||_0x52fa71['readonly'])&&!_0x52fa71[_0x26c1c2(0x146)][_0x26c1c2(0x1ae)](_0x26c1c2(0x16d))?_0x26c1c2(0x16d):'')+_0x52fa71['signature']+';';}function g(_0x1ba407){const _0x1c5ede=_0x4900;let _0x4aebc0=_0x1ba407[_0x1c5ede(0x144)][_0x1c5ede(0x1a1)]();return[..._0x4aebc0===''?[]:[_0x1c5ede(0x1c1)+_0x4aebc0[_0x1c5ede(0x1aa)]('*/','*\x5c/')+_0x1c5ede(0x170)],'\x20\x20'+h(_0x1ba407)];}function _(_0x18262b,_0x41f2d9,_0x44dadb,_0x98b7e3){const _0x99848e=_0x4900;let _0x16a223=_0x41f2d9==='own'?[]:['//\x20'+(_0x41f2d9===_0x99848e(0x1a2)?_0x99848e(0x1a2):_0x99848e(0x1bc))+'\x20member\x20projection\x20from\x20'+_0x18262b],_0xe4474=_0x41f2d9==='own'?_0x98b7e3:_0x41f2d9==='inherited'?_0x99848e(0x149)+_0x18262b:_0x99848e(0x17a)+_0x18262b;return[..._0x16a223,_0xe4474+'\x20{',..._0x44dadb[_0x99848e(0x151)](g),'}'];}function v(_0x4ccaad){const _0x32b6f8=_0x4900;return typeof _0x4ccaad==_0x32b6f8(0x1a9)?String(_0x4ccaad):JSON[_0x32b6f8(0x1a6)](_0x4ccaad);}function y(_0x156d99,_0x5f2cfd=!0x1){const _0x4bb52d=_0x4900;let _0x14b2dd=_0x156d99['documentation']??(_0x156d99[_0x4bb52d(0x144)]===void 0x0?void 0x0:{'description':_0x156d99['summary'],'tags':[]}),_0xf87f93=_0x156d99[_0x4bb52d(0x15b)]['startsWith']('(')&&!_0x156d99['type'][_0x4bb52d(0x160)]('=>')?'':':\x20',_0x3ef129=_0x156d99['declaration']??''+_0x156d99[_0x4bb52d(0x168)]+(_0x156d99[_0x4bb52d(0x1bd)]?'?':'')+_0xf87f93+_0x156d99[_0x4bb52d(0x15b)];return[...m(_0x14b2dd,'\x20\x20',!_0x5f2cfd),'\x20\x20'+_0x3ef129+';'];}function b(_0x7a1aa0,_0x2a0031=!0x1){const _0x20f910=_0x4900;let _0x32564f=_0x7a1aa0[_0x20f910(0x183)]??[],_0x26e363=[_0x20f910(0x16a)+_0x7a1aa0[_0x20f910(0x147)]+(_0x32564f[_0x20f910(0x1b2)]===0x0?'':';\x20runtime\x20aliases:\x20'+_0x32564f[_0x20f910(0x1ba)](',\x20')),...m(f(_0x7a1aa0))];if(_0x7a1aa0[_0x20f910(0x177)]==='enum')return _0x26e363[_0x20f910(0x187)](_0x20f910(0x16b)+(_0x7a1aa0['declaration']??_0x7a1aa0['name'])+'\x20{',...(_0x7a1aa0[_0x20f910(0x17c)]??[])[_0x20f910(0x186)](_0x3086c6=>'\x20\x20'+_0x3086c6[_0x20f910(0x168)]+'\x20=\x20'+v(_0x3086c6['value'])+','),'}'),_0x26e363[_0x20f910(0x1ba)]('\x0a');if(_0x7a1aa0['kind']===_0x20f910(0x1bb))return _0x26e363[_0x20f910(0x187)](_0x20f910(0x189)+(_0x7a1aa0[_0x20f910(0x1b6)]??_0x7a1aa0[_0x20f910(0x168)]+_0x20f910(0x176)+(_0x7a1aa0['definition']??_0x20f910(0x173)))+';'),_0x26e363[_0x20f910(0x1ba)]('\x0a');let _0x43a3cb=_0x7a1aa0['extends']===void 0x0?'':_0x20f910(0x19b)+_0x7a1aa0['extends'];return _0x26e363[_0x20f910(0x187)](_0x20f910(0x17a)+(_0x7a1aa0[_0x20f910(0x1b6)]??''+_0x7a1aa0[_0x20f910(0x168)]+_0x43a3cb)+'\x20{',...(_0x7a1aa0[_0x20f910(0x152)]??[])['flatMap'](_0xe005a6=>y(_0xe005a6,_0x2a0031)),...(_0x7a1aa0[_0x20f910(0x1b9)]??[])[_0x20f910(0x186)](_0x3eb8b7=>'\x20\x20'+_0x3eb8b7+';'),'}'),_0x26e363['join']('\x0a');}function x(_0x429ea0){const _0x51c3b5=_0x4900;return _0x429ea0[_0x51c3b5(0x1b2)]===0x0?[]:['',_0x51c3b5(0x182),..._0x429ea0[_0x51c3b5(0x151)]((_0xf574b9,_0x2a3f73)=>[..._0x2a3f73===0x0?[]:[''],b(_0xf574b9)])];}function S(_0x17ccc6){const _0x30abbd=_0x4900;if(_0x17ccc6['status']===_0x30abbd(0x1bf))return'';if(_0x17ccc6['kind']===_0x30abbd(0x18a)){let _0x35989c=_0x17ccc6[_0x30abbd(0x14f)]['reduce']((_0x33d8f9,_0x47e634)=>_0x33d8f9+_0x47e634['members'][_0x30abbd(0x1b2)],0x0),_0xb62525=_0x17ccc6[_0x30abbd(0x14f)][_0x30abbd(0x154)](_0x24c9dc=>_0x24c9dc[_0x30abbd(0x190)]==='own'),_0x15a431=_0x17ccc6[_0x30abbd(0x162)]===_0x30abbd(0x18a)?_0x30abbd(0x149)+_0x17ccc6[_0x30abbd(0x1b6)]:_0x30abbd(0x189)+_0x17ccc6[_0x30abbd(0x1b6)],_0x4bbbb3=[_0x30abbd(0x16a)+_0x17ccc6[_0x30abbd(0x147)]+';\x20'+_0x35989c+_0x30abbd(0x164),...m(_0x17ccc6[_0x30abbd(0x17b)])];_0x17ccc6[_0x30abbd(0x162)]==='alias'?(_0x4bbbb3[_0x30abbd(0x187)](_0x15a431+';'),_0xb62525!==void 0x0&&_0x4bbbb3[_0x30abbd(0x187)]('',..._(_0xb62525['owner'],_0x30abbd(0x1af),_0xb62525[_0x30abbd(0x152)],_0x30abbd(0x17a)+_0xb62525[_0x30abbd(0x15c)]))):_0x4bbbb3[_0x30abbd(0x187)](..._(_0x17ccc6[_0x30abbd(0x168)],'own',_0xb62525?.[_0x30abbd(0x152)]??[],_0x15a431));for(let _0x4abf72 of _0x17ccc6[_0x30abbd(0x14f)]['filter'](_0x43559e=>_0x43559e[_0x30abbd(0x190)]!==_0x30abbd(0x1af)))_0x4bbbb3['push']('',..._(_0x4abf72[_0x30abbd(0x15c)],_0x4abf72[_0x30abbd(0x190)],_0x4abf72[_0x30abbd(0x152)],_0x15a431));return _0x4bbbb3['push']('',_0x30abbd(0x18e)+_0x17ccc6['name']+'.<member>'),_0x4bbbb3[_0x30abbd(0x1ba)]('\x0a');}if(_0x17ccc6[_0x30abbd(0x177)]===_0x30abbd(0x18d)){let [_0x612ed1]=_0x17ccc6[_0x30abbd(0x17d)];if(_0x612ed1===void 0x0)return'';let _0x20785f=_0x612ed1[_0x30abbd(0x190)]==='own'?[]:[_0x30abbd(0x1a0)+_0x612ed1[_0x30abbd(0x190)]+_0x30abbd(0x195)+_0x612ed1['relationOwner']];return[_0x30abbd(0x16a)+_0x612ed1[_0x30abbd(0x18d)][_0x30abbd(0x147)],..._0x20785f,_0x30abbd(0x149)+_0x17ccc6[_0x30abbd(0x159)]+'\x20{',..._0x17ccc6['entries'][_0x30abbd(0x151)](_0x440fe1=>[...m(d(_0x440fe1['member']),'\x20\x20'),'\x20\x20'+h(_0x440fe1['member'])]),'}',...x([...new Map(_0x17ccc6[_0x30abbd(0x17d)][_0x30abbd(0x151)](_0x158efc=>_0x158efc[_0x30abbd(0x19a)])[_0x30abbd(0x186)](_0x159b89=>[_0x159b89['name'],_0x159b89]))['values']()])][_0x30abbd(0x1ba)]('\x0a');}return _0x17ccc6['kind']==='type'?[b(_0x17ccc6[_0x30abbd(0x15b)]),..._0x17ccc6['inherited'][_0x30abbd(0x151)](_0x111c91=>['',_0x30abbd(0x14c)+_0x111c91[_0x30abbd(0x168)],b(_0x111c91)]),...x(_0x17ccc6[_0x30abbd(0x19a)])][_0x30abbd(0x1ba)]('\x0a'):'value'in _0x17ccc6[_0x30abbd(0x18d)]?'//\x20package:\x20'+_0x17ccc6[_0x30abbd(0x18c)][_0x30abbd(0x147)]+_0x30abbd(0x1ab)+_0x17ccc6[_0x30abbd(0x18c)][_0x30abbd(0x168)]+_0x30abbd(0x1c6)+_0x17ccc6[_0x30abbd(0x18d)][_0x30abbd(0x168)]+'\x20=\x20'+v(_0x17ccc6[_0x30abbd(0x18d)][_0x30abbd(0x1b4)])+_0x30abbd(0x191):[_0x30abbd(0x16a)+_0x17ccc6[_0x30abbd(0x18c)][_0x30abbd(0x147)]+(_0x17ccc6[_0x30abbd(0x18c)][_0x30abbd(0x168)]===_0x17ccc6['requestedType']['name']?'':_0x30abbd(0x19f)+_0x17ccc6[_0x30abbd(0x18c)][_0x30abbd(0x168)]),_0x30abbd(0x17a)+_0x17ccc6['requestedType'][_0x30abbd(0x168)]+'\x20{',...y(_0x17ccc6['member'],!0x0),'}',...x(_0x17ccc6[_0x30abbd(0x19a)])]['join']('\x0a');}function C(_0x476f4b){const _0x5a407c=_0x4900;let _0x58fa90=_0x476f4b[_0x5a407c(0x169)][_0x5a407c(0x1b2)]===0x0?'':'\x0a\x20\x20Similar\x20'+(_0x476f4b['kind']==='member'?_0x5a407c(0x185):_0x5a407c(0x19d))+':\x20'+_0x476f4b[_0x5a407c(0x169)]['join'](',\x20');return _0x476f4b[_0x5a407c(0x177)]===_0x5a407c(0x18d)?(_0x476f4b[_0x5a407c(0x15c)]??_0x5a407c(0x153))+_0x5a407c(0x174)+(_0x476f4b[_0x5a407c(0x18d)]??_0x5a407c(0x18d))+_0x58fa90+'\x0a\x20\x20List\x20all:\x20api\x20show\x20'+(_0x476f4b[_0x5a407c(0x15c)]??_0x5a407c(0x167)):_0x5a407c(0x1b3)+_0x476f4b[_0x5a407c(0x145)]+_0x58fa90+'\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(_0x379bc3,_0x1d40f9){const _0x3bfd97=_0x4900;let _0x18bd82=_0x379bc3[_0x3bfd97(0x19c)](),_0x280eea=_0x1d40f9[_0x3bfd97(0x1ac)](_0x22631e=>_0x22631e[_0x3bfd97(0x16e)]===_0x3bfd97(0x192)),_0x1f62b0=_0x1d40f9[_0x3bfd97(0x1ac)](_0x1c406a=>_0x1c406a[_0x3bfd97(0x16e)]===_0x3bfd97(0x1bf)),_0x1c511f=_0x1d40f9['length']>0x1;_0x280eea[_0x3bfd97(0x1b2)]>0x0&&_0x18bd82[_0x3bfd97(0x172)]?.(''+_0x280eea[_0x3bfd97(0x186)](_0x1edef7=>_0x1c511f?_0x3bfd97(0x1a4)+_0x1edef7[_0x3bfd97(0x145)]+'\x0a'+S(_0x1edef7):S(_0x1edef7))[_0x3bfd97(0x1ba)]('\x0a\x0a')+(_0x1c511f&&_0x1f62b0[_0x3bfd97(0x1b2)]===0x0?_0x3bfd97(0x157)+_0x280eea[_0x3bfd97(0x1b2)]+'\x20found,\x200\x20not\x20found':'')+'\x0a'),_0x1f62b0[_0x3bfd97(0x1b2)]>0x0&&_0x379bc3[_0x3bfd97(0x161)]([..._0x1f62b0[_0x3bfd97(0x186)](_0xcf2ac4=>_0x1c511f?_0x3bfd97(0x15e)+_0xcf2ac4[_0x3bfd97(0x145)]+'\x0a'+C(_0xcf2ac4):C(_0xcf2ac4)),..._0x1c511f?['//\x20batch:\x20'+_0x280eea[_0x3bfd97(0x1b2)]+_0x3bfd97(0x16f)+_0x1f62b0[_0x3bfd97(0x1b2)]+_0x3bfd97(0x18b)]:[]][_0x3bfd97(0x1ba)]('\x0a\x0a'),{'code':_0x3bfd97(0x15f),'exitCode':0x1});}function T(_0x457635){const _0x26bfab=_0x4900;let _0x184e26=new _0xc3527c(_0x26bfab(0x15a))[_0x26bfab(0x1c4)](_0x26bfab(0x180))[_0x26bfab(0x18f)](_0x26bfab(0x199),_0x26bfab(0x194))[_0x26bfab(0x1c2)](_0x437113=>{const _0x160824=_0x26bfab;if(_0x437113[_0x160824(0x1b2)]===0x0){_0x184e26['outputHelp']();return;}w(_0x184e26,_0x457635['reference']['show'](_0x437113));});return _0x184e26[_0x26bfab(0x163)](_0x26bfab(0x154))['description']('Find\x20API\x20methods,\x20types,\x20fields,\x20and\x20enums\x20by\x20keyword')[_0x26bfab(0x18f)](_0x26bfab(0x1c5),_0x26bfab(0x16c))[_0x26bfab(0x1be)](new _0x1f8e00(_0x26bfab(0x1a3),_0x26bfab(0x19e))[_0x26bfab(0x156)](_0x58f488))['action']((_0xfad6ea,_0x120661)=>{const _0x5b0ba2=_0x26bfab;let _0xf7da8c=_0x457635[_0x5b0ba2(0x1a5)][_0x5b0ba2(0x154)]({'terms':_0xfad6ea,..._0x120661[_0x5b0ba2(0x15d)]===void 0x0?{}:{'unit':_0x120661[_0x5b0ba2(0x15d)]}});_0x184e26[_0x5b0ba2(0x19c)]()[_0x5b0ba2(0x172)]?.(l(_0xf7da8c,_0x120661[_0x5b0ba2(0x15d)])+'\x0a');}),_0x184e26[_0x26bfab(0x163)](_0x26bfab(0x143))[_0x26bfab(0x1c4)](_0x26bfab(0x193))[_0x26bfab(0x18f)](_0x26bfab(0x14e),'one\x20or\x20more\x20exact\x20API\x20symbols')[_0x26bfab(0x1c2)](_0x50ec58=>{const _0xd5a3fd=_0x26bfab;w(_0x184e26,_0x457635['reference'][_0xd5a3fd(0x143)](_0x50ec58));}),_0x184e26;}export{T as createApiCommand};
1
+ (function(_0x2ea2a1,_0x5e731b){const _0x168ad3=_0x4642,_0x164038=_0x2ea2a1();while(!![]){try{const _0x265e01=-parseInt(_0x168ad3(0x18f))/0x1*(-parseInt(_0x168ad3(0x118))/0x2)+-parseInt(_0x168ad3(0x11f))/0x3*(parseInt(_0x168ad3(0x146))/0x4)+-parseInt(_0x168ad3(0x16f))/0x5*(parseInt(_0x168ad3(0x13a))/0x6)+parseInt(_0x168ad3(0x120))/0x7*(-parseInt(_0x168ad3(0x153))/0x8)+parseInt(_0x168ad3(0x165))/0x9*(parseInt(_0x168ad3(0x17f))/0xa)+parseInt(_0x168ad3(0x195))/0xb*(-parseInt(_0x168ad3(0x19b))/0xc)+parseInt(_0x168ad3(0x169))/0xd;if(_0x265e01===_0x5e731b)break;else _0x164038['push'](_0x164038['shift']());}catch(_0x3c4790){_0x164038['push'](_0x164038['shift']());}}}(_0x371f,0x8e93d));import{API_REFERENCE_UNITS as _0x381247}from'@univer-cli/api-reference';import{Command as _0x213ab2,Option as _0x1ec18d}from'commander';var r=0x48,i=0x5a;function a(_0x34e838){const _0x52790e=_0x4642;return(_0x34e838['match'](/^(.*?[.。])(\s|$)/u)?.[0x1]??_0x34e838)[_0x52790e(0x119)]();}function o(_0x1e2e3b,_0x1d8984){const _0x30c1af=_0x4642;return _0x1e2e3b[_0x30c1af(0x121)]>_0x1d8984?_0x1e2e3b[_0x30c1af(0x18e)](0x0,_0x1d8984-0x1)+'…':_0x1e2e3b;}function s(_0x300c6e){const _0x2e55ae=_0x4642;let _0x5e3569=_0x300c6e['summary']===''?'':_0x2e55ae(0x151)+a(_0x300c6e[_0x2e55ae(0x177)]);return'['+_0x300c6e[_0x2e55ae(0x17d)]+']\x20'+o(_0x300c6e[_0x2e55ae(0x164)],r)+o(_0x5e3569,i)+'\x20\x20['+_0x300c6e[_0x2e55ae(0x172)]+']';}function c(_0x63cb7b,_0x4adfb1){const _0x41a68f=_0x4642;if(_0x63cb7b[_0x41a68f(0x160)][_0x41a68f(0x121)]===0x0){let _0x331c2c=_0x4adfb1===void 0x0?'':'\x20(filtered\x20by\x20--unit\x20'+_0x4adfb1+')';return _0x41a68f(0x13b)+_0x63cb7b[_0x41a68f(0x182)]+'\x22'+_0x331c2c+_0x41a68f(0x163)+(_0x4adfb1===void 0x0?'':_0x41a68f(0x175))+_0x41a68f(0x166);}let _0xa53f22=_0x63cb7b[_0x41a68f(0x160)][_0x41a68f(0x124)](s),_0x46ff92=_0x63cb7b[_0x41a68f(0x16e)]-_0x63cb7b['matches'][_0x41a68f(0x121)];return _0x46ff92>0x0&&_0xa53f22['push']('…\x20'+_0x46ff92+'\x20more.\x20Narrow\x20with\x20a\x20longer\x20substring,\x20or\x20api\x20show\x20<symbol>\x20for\x20details.'),_0xa53f22[_0x41a68f(0x168)]('\x0a');}function l(_0x416b49,_0x5ec55b){const _0x3df903=_0x4642;return _0x416b49[_0x3df903(0x124)](_0x2be4c4=>{const _0x231c46=_0x3df903;let _0x54ea75=c(_0x2be4c4,_0x5ec55b);return _0x416b49['length']>0x1?_0x231c46(0x11b)+_0x2be4c4[_0x231c46(0x182)]+_0x231c46(0x174)+_0x54ea75:_0x54ea75;})[_0x3df903(0x168)]('\x0a\x0a');}function u(_0x486adc){const _0x462d7d=_0x4642;return _0x486adc[_0x462d7d(0x12f)](/\n\s*\n/u,0x1)[0x0]?.[_0x462d7d(0x119)]()??'';}function d(_0x585cf4){const _0x455d67=_0x4642;return _0x585cf4['documentation']===void 0x0?{'description':_0x585cf4[_0x455d67(0x177)],'tags':_0x585cf4[_0x455d67(0x14a)]===''?[]:[{'name':_0x455d67(0x14a),'text':_0x585cf4[_0x455d67(0x14a)]}]}:_0x585cf4[_0x455d67(0x130)];}function f(_0x557e2a){const _0x306590=_0x4642;return _0x557e2a[_0x306590(0x130)]??{'description':_0x557e2a[_0x306590(0x177)],'tags':[]};}function p(_0x14224c){const _0x3f2484=_0x4642;let _0xaa4f55=_0x14224c['type']===void 0x0?'':'\x20{'+_0x14224c[_0x3f2484(0x15f)]+'}',_0x36ae7b=_0x14224c[_0x3f2484(0x133)]===void 0x0?'':'\x20'+_0x14224c[_0x3f2484(0x133)],[_0x47a83e='',..._0xb8c175]=_0x14224c[_0x3f2484(0x149)]===''?[]:_0x14224c[_0x3f2484(0x149)][_0x3f2484(0x12f)]('\x0a');return _0x14224c['name']===_0x3f2484(0x14a)&&_0x47a83e['trimStart']()['startsWith'](_0x3f2484(0x15e))?['@'+_0x14224c[_0x3f2484(0x14d)]+_0xaa4f55+_0x36ae7b,_0x47a83e,..._0xb8c175]:['@'+_0x14224c['name']+_0xaa4f55+_0x36ae7b+(_0x47a83e===''?'':'\x20'+_0x47a83e),..._0xb8c175];}function m(_0x18bcd1,_0x2301b1='',_0x3fbfc1=!0x1){const _0x454fb2=_0x4642;if(_0x18bcd1===void 0x0)return[];let _0x21adb2=_0x3fbfc1?u(_0x18bcd1[_0x454fb2(0x12a)]):_0x18bcd1[_0x454fb2(0x12a)],_0x2cb847=_0x18bcd1['tags']['flatMap'](p),_0x47d853=[..._0x21adb2['split']('\x0a'),..._0x3fbfc1||_0x2cb847[_0x454fb2(0x121)]===0x0?[]:['',..._0x2cb847]];for(;_0x47d853['at'](-0x1)==='';)_0x47d853[_0x454fb2(0x19e)]();return _0x47d853[_0x454fb2(0x194)](_0x113ab5=>_0x113ab5==='')?[]:[_0x2301b1+_0x454fb2(0x157),..._0x47d853[_0x454fb2(0x124)](_0x3d8233=>_0x2301b1+'\x20*'+(_0x3d8233===''?'':'\x20'+_0x3d8233)),_0x2301b1+_0x454fb2(0x139)];}function h(_0x6c576e){const _0x403613=_0x4642;return''+((_0x6c576e['kind']===_0x403613(0x13e)||_0x6c576e[_0x403613(0x140)])&&!_0x6c576e[_0x403613(0x164)]['startsWith']('readonly\x20')?_0x403613(0x189):'')+_0x6c576e[_0x403613(0x164)]+';';}function g(_0x41d986){const _0x4d519a=_0x4642;let _0x66c23a=_0x41d986[_0x4d519a(0x177)][_0x4d519a(0x119)]();return[..._0x66c23a===''?[]:['\x20\x20/**\x20'+_0x66c23a[_0x4d519a(0x12b)]('*/','*\x5c/')+_0x4d519a(0x139)],'\x20\x20'+h(_0x41d986)];}function _(_0x12f3d1,_0x12e1d3,_0x33f01b,_0x544d6b){const _0x59e6f1=_0x4642;let _0xf398ae=_0x12e1d3===_0x59e6f1(0x18b)?[]:[_0x59e6f1(0x116)+(_0x12e1d3===_0x59e6f1(0x184)?_0x59e6f1(0x184):_0x59e6f1(0x192))+_0x59e6f1(0x193)+_0x12f3d1],_0x1696bd=_0x12e1d3===_0x59e6f1(0x18b)?_0x544d6b:_0x12e1d3==='inherited'?_0x59e6f1(0x14f)+_0x12f3d1:_0x59e6f1(0x15c)+_0x12f3d1;return[..._0xf398ae,_0x1696bd+'\x20{',..._0x33f01b[_0x59e6f1(0x123)](g),'}'];}function v(_0x5319a5){return typeof _0x5319a5=='number'?String(_0x5319a5):JSON['stringify'](_0x5319a5);}function y(_0x2dad01,_0x28e35d=!0x1){const _0x44b3c5=_0x4642;let _0x3ac9d5=_0x2dad01[_0x44b3c5(0x130)]??(_0x2dad01[_0x44b3c5(0x177)]===void 0x0?void 0x0:{'description':_0x2dad01['summary'],'tags':[]}),_0x124e12=_0x2dad01[_0x44b3c5(0x15f)][_0x44b3c5(0x11c)]('(')&&!_0x2dad01[_0x44b3c5(0x15f)][_0x44b3c5(0x171)]('=>')?'':':\x20',_0x4b26ca=_0x2dad01[_0x44b3c5(0x134)]??''+_0x2dad01[_0x44b3c5(0x14d)]+(_0x2dad01[_0x44b3c5(0x183)]?'?':'')+_0x124e12+_0x2dad01[_0x44b3c5(0x15f)];return[...m(_0x3ac9d5,'\x20\x20',!_0x28e35d),'\x20\x20'+_0x4b26ca+';'];}function b(_0x2ab379,_0xd0710=!0x1){const _0x4d82fc=_0x4642;let _0x1846fd=_0x2ab379[_0x4d82fc(0x127)]??[],_0x577f30=['//\x20package:\x20'+_0x2ab379[_0x4d82fc(0x172)]+(_0x1846fd['length']===0x0?'':_0x4d82fc(0x126)+_0x1846fd[_0x4d82fc(0x168)](',\x20')),...m(f(_0x2ab379))];if(_0x2ab379[_0x4d82fc(0x17d)]===_0x4d82fc(0x17b))return _0x577f30['push'](_0x4d82fc(0x167)+(_0x2ab379[_0x4d82fc(0x134)]??_0x2ab379['name'])+'\x20{',...(_0x2ab379[_0x4d82fc(0x18a)]??[])['map'](_0x2e45c8=>'\x20\x20'+_0x2e45c8['name']+_0x4d82fc(0x128)+v(_0x2e45c8[_0x4d82fc(0x18c)])+','),'}'),_0x577f30[_0x4d82fc(0x168)]('\x0a');if(_0x2ab379[_0x4d82fc(0x17d)]===_0x4d82fc(0x12e))return _0x577f30[_0x4d82fc(0x13f)](_0x4d82fc(0x143)+(_0x2ab379[_0x4d82fc(0x134)]??_0x2ab379[_0x4d82fc(0x14d)]+'\x20=\x20'+(_0x2ab379[_0x4d82fc(0x191)]??_0x4d82fc(0x180)))+';'),_0x577f30[_0x4d82fc(0x168)]('\x0a');let _0x470452=_0x2ab379[_0x4d82fc(0x176)]===void 0x0?'':_0x4d82fc(0x115)+_0x2ab379['extends'];return _0x577f30[_0x4d82fc(0x13f)](_0x4d82fc(0x15c)+(_0x2ab379[_0x4d82fc(0x134)]??''+_0x2ab379['name']+_0x470452)+'\x20{',...(_0x2ab379[_0x4d82fc(0x170)]??[])[_0x4d82fc(0x123)](_0x249304=>y(_0x249304,_0xd0710)),...(_0x2ab379[_0x4d82fc(0x181)]??[])[_0x4d82fc(0x124)](_0x2e2658=>'\x20\x20'+_0x2e2658+';'),'}'),_0x577f30[_0x4d82fc(0x168)]('\x0a');}function x(_0x17ab58){const _0x23f01d=_0x4642;return _0x17ab58[_0x23f01d(0x121)]===0x0?[]:['',_0x23f01d(0x198),..._0x17ab58[_0x23f01d(0x123)]((_0x16988d,_0x4eaacb)=>[..._0x4eaacb===0x0?[]:[''],b(_0x16988d)])];}function S(_0x4b0802){const _0x15b942=_0x4642;if(_0x4b0802[_0x15b942(0x154)]===_0x15b942(0x137))return'';if(_0x4b0802['kind']===_0x15b942(0x135)){let _0x5b1795=_0x4b0802[_0x15b942(0x117)][_0x15b942(0x15b)]((_0x2c2c4b,_0x325248)=>_0x2c2c4b+_0x325248['members'][_0x15b942(0x121)],0x0),_0x36d910=_0x4b0802[_0x15b942(0x117)][_0x15b942(0x15a)](_0x180ed7=>_0x180ed7['relation']===_0x15b942(0x18b)),_0x4c5748=_0x4b0802[_0x15b942(0x141)]===_0x15b942(0x135)?_0x15b942(0x14f)+_0x4b0802['declaration']:_0x15b942(0x143)+_0x4b0802['declaration'],_0x21d419=['//\x20package:\x20'+_0x4b0802[_0x15b942(0x172)]+';\x20'+_0x5b1795+_0x15b942(0x199),...m(_0x4b0802[_0x15b942(0x130)])];_0x4b0802[_0x15b942(0x141)]==='alias'?(_0x21d419[_0x15b942(0x13f)](_0x4c5748+';'),_0x36d910!==void 0x0&&_0x21d419[_0x15b942(0x13f)]('',..._(_0x36d910[_0x15b942(0x19a)],_0x15b942(0x18b),_0x36d910['members'],_0x15b942(0x15c)+_0x36d910[_0x15b942(0x19a)]))):_0x21d419['push'](..._(_0x4b0802[_0x15b942(0x14d)],_0x15b942(0x18b),_0x36d910?.[_0x15b942(0x170)]??[],_0x4c5748));for(let _0x50dddf of _0x4b0802[_0x15b942(0x117)][_0x15b942(0x150)](_0x42cf1f=>_0x42cf1f[_0x15b942(0x138)]!==_0x15b942(0x18b)))_0x21d419[_0x15b942(0x13f)]('',..._(_0x50dddf['owner'],_0x50dddf[_0x15b942(0x138)],_0x50dddf[_0x15b942(0x170)],_0x4c5748));return _0x21d419[_0x15b942(0x13f)]('',_0x15b942(0x161)+_0x4b0802[_0x15b942(0x14d)]+_0x15b942(0x125)),_0x21d419[_0x15b942(0x168)]('\x0a');}if(_0x4b0802[_0x15b942(0x17d)]===_0x15b942(0x152)){let [_0x4c2f60]=_0x4b0802[_0x15b942(0x16b)];if(_0x4c2f60===void 0x0)return'';let _0x59ded5=_0x4c2f60[_0x15b942(0x138)]===_0x15b942(0x18b)?[]:[_0x15b942(0x116)+_0x4c2f60['relation']+_0x15b942(0x15d)+_0x4c2f60[_0x15b942(0x19c)]];return[_0x15b942(0x14b)+_0x4c2f60[_0x15b942(0x152)][_0x15b942(0x172)],..._0x59ded5,'declare\x20class\x20'+_0x4b0802['target']+'\x20{',..._0x4b0802[_0x15b942(0x16b)]['flatMap'](_0x3bcd28=>[...m(d(_0x3bcd28[_0x15b942(0x152)]),'\x20\x20'),'\x20\x20'+h(_0x3bcd28[_0x15b942(0x152)])]),'}',...x([...new Map(_0x4b0802[_0x15b942(0x16b)][_0x15b942(0x123)](_0x293b38=>_0x293b38[_0x15b942(0x11a)])[_0x15b942(0x124)](_0xe37289=>[_0xe37289[_0x15b942(0x14d)],_0xe37289]))[_0x15b942(0x18a)]()])][_0x15b942(0x168)]('\x0a');}return _0x4b0802[_0x15b942(0x17d)]==='type'?[b(_0x4b0802[_0x15b942(0x15f)]),..._0x4b0802[_0x15b942(0x184)][_0x15b942(0x123)](_0x2a2ce1=>['','//\x20inherited\x20declaration\x20from\x20'+_0x2a2ce1['name'],b(_0x2a2ce1)]),...x(_0x4b0802['appendix'])][_0x15b942(0x168)]('\x0a'):_0x15b942(0x18c)in _0x4b0802[_0x15b942(0x152)]?_0x15b942(0x14b)+_0x4b0802['declaredBy'][_0x15b942(0x172)]+_0x15b942(0x11e)+_0x4b0802[_0x15b942(0x156)][_0x15b942(0x14d)]+_0x15b942(0x16a)+_0x4b0802[_0x15b942(0x152)]['name']+_0x15b942(0x128)+v(_0x4b0802['member'][_0x15b942(0x18c)])+',\x0a}':[_0x15b942(0x14b)+_0x4b0802['declaredBy'][_0x15b942(0x172)]+(_0x4b0802[_0x15b942(0x156)]['name']===_0x4b0802[_0x15b942(0x17c)]['name']?'':_0x15b942(0x12d)+_0x4b0802[_0x15b942(0x156)][_0x15b942(0x14d)]),_0x15b942(0x15c)+_0x4b0802['requestedType'][_0x15b942(0x14d)]+'\x20{',...y(_0x4b0802['member'],!0x0),'}',...x(_0x4b0802['appendix'])][_0x15b942(0x168)]('\x0a');}function C(_0x1c0c7e){const _0x1acc88=_0x4642;let _0x86d6c2=_0x1c0c7e[_0x1acc88(0x185)][_0x1acc88(0x121)]===0x0?'':_0x1acc88(0x16d)+(_0x1c0c7e[_0x1acc88(0x17d)]===_0x1acc88(0x152)?_0x1acc88(0x122):_0x1acc88(0x197))+':\x20'+_0x1c0c7e[_0x1acc88(0x185)][_0x1acc88(0x168)](',\x20');return _0x1c0c7e['kind']===_0x1acc88(0x152)?(_0x1c0c7e[_0x1acc88(0x19a)]??'Symbol')+_0x1acc88(0x11d)+(_0x1c0c7e[_0x1acc88(0x152)]??'member')+_0x86d6c2+_0x1acc88(0x13d)+(_0x1c0c7e['owner']??_0x1acc88(0x19d)):'Unknown\x20symbol:\x20'+_0x1c0c7e['query']+_0x86d6c2+_0x1acc88(0x147);}function _0x371f(){const _0x587fdd=['.<member>',';\x20runtime\x20aliases:\x20','aliases','\x20=\x20','exact\x20symbols;\x20shorthand\x20for\x20api\x20show','description','replaceAll','addOption',';\x20inherited\x20from\x20','alias','split','documentation','<terms...>','choices','subject','declaration','class','show','not-found','relation','\x20*/','3498Yalppk','No\x20API\x20matches\x20\x22','configureOutput','\x0a\x20\x20List\x20all:\x20api\x20show\x20','getter','push','readonly','declarationKind','outputHelp','type\x20','limit\x20results\x20to\x20one\x20unit\x20while\x20retaining\x20shared\x20APIs','action','120xIPzdF','\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.','[symbols...]','text','example','//\x20package:\x20','argument','name','Find\x20API\x20methods,\x20types,\x20fields,\x20and\x20enums\x20by\x20keyword','declare\x20class\x20','filter','\x20\x20—\x20','member','32TYOhJM','status','//\x20batch:\x20','declaredBy','/**','one\x20or\x20more\x20exact\x20API\x20symbols','writeOut','find','reduce','interface\x20','\x20from\x20','```','type','matches','//\x20full\x20member\x20docs:\x20api\x20show\x20','//\x20[found]\x20','.\x20Try\x20a\x20shorter\x20substring','signature','36KdKpHk',',\x20or\x20api\x20show\x20<Class>\x20to\x20browse\x20a\x20whole\x20class.','declare\x20enum\x20','join','21306402qmCzwk','\x20{\x0a\x20\x20','entries','command','\x0a\x20\x20Similar\x20','totalMatches','7925NFzxVH','members','includes','packageName','\x0a\x0a//\x20batch:\x20','\x20══\x0a',',\x20drop\x20--unit','extends','summary','//\x20[not-found]\x20','api.reference.not-found','<symbols...>','enum','requestedType','kind','\x20found,\x20','192620HIMUea','unknown','signatures','term','optional','inherited','suggestions','error','api','reference','readonly\x20','values','own','value','unit','slice','1fZjLBr','query','definition','composed','\x20member\x20projection\x20from\x20','every','8564149kajLsG','found','symbols','//\x20directly\x20referenced\x20types','\x20supported\x20members','owner','12AliQNW','relationOwner','<Class>','pop','\x20extends\x20','//\x20','groups','1636078xGyGCX','trim','appendix','══\x20','startsWith','\x20has\x20no\x20','\x0adeclare\x20enum\x20','14745VcjgpA','174965CmIlKO','length','methods','flatMap','map'];_0x371f=function(){return _0x587fdd;};return _0x371f();}function _0x4642(_0x225a31,_0x33dfe7){_0x225a31=_0x225a31-0x115;const _0x371fb6=_0x371f();let _0x464275=_0x371fb6[_0x225a31];return _0x464275;}function w(_0xea3d05,_0x3d530a){const _0x476b08=_0x4642;let _0x160a9d=_0xea3d05[_0x476b08(0x13c)](),_0x4ef665=_0x3d530a['filter'](_0x5288ac=>_0x5288ac[_0x476b08(0x154)]===_0x476b08(0x196)),_0x445677=_0x3d530a[_0x476b08(0x150)](_0x55d578=>_0x55d578[_0x476b08(0x154)]==='not-found'),_0x1b439c=_0x3d530a[_0x476b08(0x121)]>0x1;_0x4ef665['length']>0x0&&_0x160a9d[_0x476b08(0x159)]?.(''+_0x4ef665[_0x476b08(0x124)](_0x5c092e=>_0x1b439c?_0x476b08(0x162)+_0x5c092e[_0x476b08(0x190)]+'\x0a'+S(_0x5c092e):S(_0x5c092e))['join']('\x0a\x0a')+(_0x1b439c&&_0x445677[_0x476b08(0x121)]===0x0?_0x476b08(0x173)+_0x4ef665[_0x476b08(0x121)]+'\x20found,\x200\x20not\x20found':'')+'\x0a'),_0x445677[_0x476b08(0x121)]>0x0&&_0xea3d05[_0x476b08(0x186)]([..._0x445677[_0x476b08(0x124)](_0x5becf6=>_0x1b439c?_0x476b08(0x178)+_0x5becf6['query']+'\x0a'+C(_0x5becf6):C(_0x5becf6)),..._0x1b439c?[_0x476b08(0x155)+_0x4ef665[_0x476b08(0x121)]+_0x476b08(0x17e)+_0x445677['length']+'\x20not\x20found']:[]][_0x476b08(0x168)]('\x0a\x0a'),{'code':_0x476b08(0x179),'exitCode':0x1});}function T(_0x139f72){const _0x42afa7=_0x4642;let _0x4e2e9c=new _0x213ab2(_0x42afa7(0x187))['description']('Offline\x20Univer\x20Facade\x20API\x20reference')[_0x42afa7(0x14c)](_0x42afa7(0x148),_0x42afa7(0x129))[_0x42afa7(0x145)](_0x231978=>{const _0x3a6f72=_0x42afa7;if(_0x231978[_0x3a6f72(0x121)]===0x0){_0x4e2e9c[_0x3a6f72(0x142)]();return;}w(_0x4e2e9c,_0x139f72['reference'][_0x3a6f72(0x136)](_0x231978));});return _0x4e2e9c[_0x42afa7(0x16c)](_0x42afa7(0x15a))[_0x42afa7(0x12a)](_0x42afa7(0x14e))[_0x42afa7(0x14c)](_0x42afa7(0x131),'one\x20or\x20more\x20terms,\x20searched\x20independently')[_0x42afa7(0x12c)](new _0x1ec18d('--unit\x20<unit>',_0x42afa7(0x144))[_0x42afa7(0x132)](_0x381247))['action']((_0x4fc5aa,_0x282c27)=>{const _0x3776df=_0x42afa7;let _0x12f3b2=_0x139f72[_0x3776df(0x188)][_0x3776df(0x15a)]({'terms':_0x4fc5aa,..._0x282c27['unit']===void 0x0?{}:{'unit':_0x282c27[_0x3776df(0x18d)]}});_0x4e2e9c[_0x3776df(0x13c)]()[_0x3776df(0x159)]?.(l(_0x12f3b2,_0x282c27[_0x3776df(0x18d)])+'\x0a');}),_0x4e2e9c['command'](_0x42afa7(0x136))[_0x42afa7(0x12a)]('Show\x20exact\x20API\x20classes,\x20members,\x20types,\x20fields,\x20or\x20enum\x20values')[_0x42afa7(0x14c)](_0x42afa7(0x17a),_0x42afa7(0x158))[_0x42afa7(0x145)](_0xcd8c87=>{const _0x40f089=_0x42afa7;w(_0x4e2e9c,_0x139f72[_0x40f089(0x188)][_0x40f089(0x136)](_0xcd8c87));}),_0x4e2e9c;}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.0.0",
4
+ "version": "1.0.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/api-reference": "1.0.0"
21
+ "@univer-cli/api-reference": "1.0.2"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "commander": "^15.0.0"