@@ -41,7 +41,7 @@ const AclMap = {
4141} ;
4242commander_1 . default
4343 . command ( 'storage:upload <localPath> [cloudPath]' )
44- . option ( '-e, --envId [ envId] ' , '环境 Id' )
44+ . option ( '-e, --envId < envId> ' , '环境 Id' )
4545 . description ( '上传文件/文件夹' )
4646 . action ( function ( localPath , cloudPath = '' , options ) {
4747 return __awaiter ( this , void 0 , void 0 , function * ( ) {
@@ -70,7 +70,7 @@ commander_1.default
7070} ) ;
7171commander_1 . default
7272 . command ( 'storage:download <cloudPath> <localPath>' )
73- . option ( '-e, --envId [ envId] ' , '环境 Id' )
73+ . option ( '-e, --envId < envId> ' , '环境 Id' )
7474 . option ( '-d, --dir' , '下载目标是否为文件夹' )
7575 . description ( '下载文件/文件夹,文件夹需指定 --dir 选项' )
7676 . action ( function ( cloudPath , localPath , options ) {
@@ -97,7 +97,7 @@ commander_1.default
9797} ) ;
9898commander_1 . default
9999 . command ( 'storage:delete <cloudPath>' )
100- . option ( '-e, --envId [ envId] ' , '环境 Id' )
100+ . option ( '-e, --envId < envId> ' , '环境 Id' )
101101 . option ( '-d, --dir' , '下载目标是否为文件夹' )
102102 . description ( '删除文件/文件夹,文件夹需指定 --dir 选项' )
103103 . action ( function ( cloudPath , options ) {
@@ -120,7 +120,7 @@ commander_1.default
120120} ) ;
121121commander_1 . default
122122 . command ( 'storage:list [cloudPath]' )
123- . option ( '-e, --envId [ envId] ' , '环境 Id' )
123+ . option ( '-e, --envId < envId> ' , '环境 Id' )
124124 . option ( '--max' , '传输数据的最大条数' )
125125 . option ( '--markder' , '起始路径名,后(不含)按照 UTF-8 字典序返回条目' )
126126 . description ( '获取文件存储的文件列表' )
@@ -146,7 +146,7 @@ commander_1.default
146146} ) ;
147147commander_1 . default
148148 . command ( 'storage:url <cloudPath>' )
149- . option ( '-e, --envId [ envId] ' , '环境 Id' )
149+ . option ( '-e, --envId < envId> ' , '环境 Id' )
150150 . description ( '获取文件临时访问地址' )
151151 . action ( function ( cloudPath , options ) {
152152 return __awaiter ( this , void 0 , void 0 , function * ( ) {
@@ -160,7 +160,7 @@ commander_1.default
160160} ) ;
161161commander_1 . default
162162 . command ( 'storage:detail <cloudPath>' )
163- . option ( '-e, --envId [ envId] ' , '环境 Id' )
163+ . option ( '-e, --envId < envId> ' , '环境 Id' )
164164 . description ( '获取文件信息' )
165165 . action ( function ( cloudPath , options ) {
166166 return __awaiter ( this , void 0 , void 0 , function * ( ) {
@@ -176,7 +176,7 @@ commander_1.default
176176} ) ;
177177commander_1 . default
178178 . command ( 'storage:get-acl' )
179- . option ( '-e, --envId [ envId] ' , '环境 Id' )
179+ . option ( '-e, --envId < envId> ' , '环境 Id' )
180180 . description ( '获取文件存储权限信息' )
181181 . action ( function ( options ) {
182182 return __awaiter ( this , void 0 , void 0 , function * ( ) {
@@ -189,7 +189,7 @@ commander_1.default
189189} ) ;
190190commander_1 . default
191191 . command ( 'storage:set-acl' )
192- . option ( '-e, --envId [ envId] ' , '环境 Id' )
192+ . option ( '-e, --envId < envId> ' , '环境 Id' )
193193 . description ( '设置文件存储权限信息' )
194194 . action ( function ( options ) {
195195 return __awaiter ( this , void 0 , void 0 , function * ( ) {
0 commit comments