{"_id":"@agconnect/agc-cli","_rev":"6-b70032b020aca6ae49b3c3cfb54b5408","name":"@agconnect/agc-cli","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0-beta":{"name":"@agconnect/agc-cli","version":"1.0.0-beta","main":"index.js","bin":{"agcli":"bin/agcli.js"},"description":"","author":"","license":"ISC","dependencies":{"axios":"^0.21.1","chalk":"^4.1.1","commander":"^7.2.0","crypto-js":"^4.0.0","ejs":"^3.1.6","express":"^4.17.1","form-data":"^3.0.1","inquirer":"^8.0.0","node-localstorage":"^2.1.6","open":"^8.2.0","ora":"^5.4.0","silly-datetime":"^0.1.2","urlencode":"^1.1.0"},"_resolved":"","_integrity":"","_from":"file:agconnect-agc-cli-1.0.0-beta.tgz","_id":"@agconnect/agc-cli@1.0.0-beta","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-dDfEG+autd0pkFQAHNpHB2eUx7GoSTgNlEfWtS/9tjyMOBADURe3NyGirttE43YUl4DGRz+kFsabWxoiCosXXA==","shasum":"549579c9646affd5cd1560fc91da8e0621fb8129","tarball":"https://registry.npmjs.org/@agconnect/agc-cli/-/agc-cli-1.0.0-beta.tgz","fileCount":38,"unpackedSize":36787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3ntgCRA9TVsSAnZWagAArg8P/0oC5OER+F8Fy4rWqbgA\n1+9SxChs5l7yY8iD3jm2Zns3M2eMpGnMKV8hAsiLLGipS/ZuthZiKTXV/tGi\n333nvuXzWJMe03RdObmRLxQVElX5exSMLpHtixfMpIbZR43yZvdbeYHdVhTZ\n3eaND/u0WiA/EpayJzEEgBUiM4fhCz2/WY2+5lQocDWSjDHhL0XM5UidvSd5\nw8wXoWsfp+RvyUywCDbhhXD1iZ+RBhWt/JVGWj/MPHxJkP4GYXKH+/9EivOG\npEGXczI3N6rGrpwSs+xfiS/O9GeTL7Jta+PXhvh8O/nSwHbar41i1robfol1\nn8r+ehXQCYGUVREnS58D/y7o30QkVpYmX4n1GlDodC+8dzWUU74cC0393WcV\nyPA8AO+iK2Ij+LyReZFdial3Au4dDUUI7NkRP3WepIilIWV70PdT7RWs4a+a\n5d1GNW+y21NTwYQdN8uXOc7VnWBkraS/KKX0x95Pv6tXjssGyPEnMh+mZZxh\noaSUN0+kfxddkQtDASaBmL6K72RGmmseGMZrWUdpFBFrcv8k578b7oKACvmV\nlbSrrXBHLSNBpYd4MxMjqRBeyKeCE7okfg63vsC7P4C3Zb2ISAlZfpHeKgpW\nI730PsdS5hl+BOqOVuoRusDZhsAqLJspPdBqFggr2dr3JlCQacz0jz42K5Ik\nGz2Z\r\n=1S3i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGR6nwaKtF+yVUIEi9ZQr93JCmNvbSnmijVcZTfnbn+DAiBuwdPH83FY4mfI+y6A0KYOPAv6VvCXwgQO+cZqZ+mygQ=="}]},"_npmUser":{"name":"hwopencapability","email":"opencapability@huawei.com"},"directories":{},"maintainers":[{"name":"hwopencapability","email":"opencapability@huawei.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/agc-cli_1.0.0-beta_1625193312444_0.42050794439678896"},"_hasShrinkwrap":false},"1.0.0":{"name":"@agconnect/agc-cli","version":"1.0.0","main":"index.js","bin":{"agcli":"bin/agcli.js"},"description":"","author":"","license":"ISC","dependencies":{"axios":"^0.21.1","chalk":"^4.1.1","commander":"^7.2.0","crypto-js":"^4.0.0","ejs":"^3.1.6","express":"^4.17.1","form-data":"^3.0.1","inquirer":"^8.0.0","node-localstorage":"^2.1.6","open":"^8.2.0","ora":"^5.4.0","silly-datetime":"^0.1.2","urlencode":"^1.1.0"},"_resolved":"","_integrity":"","_from":"file:agconnect-agc-cli-1.0.0.tgz","_id":"@agconnect/agc-cli@1.0.0","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-CcaSRrKXs3ScbWVFi1ctfGMpeiknNHJvT2vMn9xNrTcym4ya7GZ5poHUDqd2QQjftyJZ/T43D9C4HbwEPuN6UA==","shasum":"011aa359be88785f4753e81edb9541b2d2bb174d","tarball":"https://registry.npmjs.org/@agconnect/agc-cli/-/agc-cli-1.0.0.tgz","fileCount":38,"unpackedSize":37525,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEOfjCRA9TVsSAnZWagAAuOoP/iTWcNutC+iaHsFl/KVA\nMSpme3Mo+M5DDKZaRHcIcPGS6uiUyvp/8g5lXoP8vUyIPEblU1R461/8M6RF\n1WwCNzpVH37evFQBKdCMUDOjConS5CELtnMSpoxzqlC3MZDgfyWIITrqitXV\nvsw4CrlP+bL97mA+piiawTpFa6LDKadYxk5wYwJLk3HAplMlvkPdTuXRcxJK\nhSyIHCbzqc5PCN1WQfEqOp45dzomM9xQ5QrekPcGPl4urOnqZgzX/yjV4OCT\nE62uiE4pwAK4V2XZCgwBFF3eJMyvabmFjF3v8XvkSfbHCJUuL+GbUKOAb8RS\nSZV58NouL8Nkp0PBo82yeYDquMXy3VVltuvl/0ZmsYslP3fx4Q8Ppon8r5a3\ncJ2Q+NA8iV3MC9M9h0jEfHnkSctT0oT5hs90iskL4CabM3lzk02r4UE5ZSdf\nf4mbFPrOoWM1JzzVOoWXHFYh73P/2Y8QGLxMYfnAW/LiERxtS1TxTYCJFaak\ngUXjonnwRHpyDXiU0k4WcvdzQD9yC6rmz80wo3N3KPalBB4mq8UHpg1qhUoY\nbVzPOYt1JMOTL3j+w8dMXmxAHit3lpxMbb5YuvdgeAD3bzWnn9es/GWEeUcY\n+xA9BFCS62VODnIHBeP6majGMe7T9C3f4QLJ33WRlrzCXY5m0tm+BQ9gt6k3\nu2eS\r\n=qyqu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqWUBXEJ5JvPS0FbMHk1SYn6pqyQYaaMhaShmZmruCDAIhAO5Fb8mgNr2KozZ3/0RB8KQy7/qD8Ry7X1EzPIsPkVq+"}]},"_npmUser":{"name":"hwopencapability","email":"opencapability@huawei.com"},"directories":{},"maintainers":[{"name":"hwopencapability","email":"opencapability@huawei.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/agc-cli_1.0.0_1628497890850_0.1019101482853042"},"_hasShrinkwrap":false},"1.1.0":{"name":"@agconnect/agc-cli","version":"1.1.0","main":"index.js","bin":{"agcli":"bin/agcli.js"},"description":"","author":"","license":"ISC","dependencies":{"axios":"^0.21.1","chalk":"^4.1.1","commander":"^8.1.0","crypto-js":"^4.0.0","ejs":"^3.1.6","express":"^4.17.1","form-data":"^3.0.1","inquirer":"^8.0.0","node-localstorage":"^2.1.6","open":"^8.2.0","ora":"^5.4.0","silly-datetime":"^0.1.2","urlencode":"^1.1.0"},"_resolved":"","_integrity":"","_from":"file:agconnect-agc-cli-1.1.0.tgz","_id":"@agconnect/agc-cli@1.1.0","_nodeVersion":"16.13.2","_npmVersion":"6.14.8","dist":{"integrity":"sha512-irvahtM8oCmLiuq2QGMH09HaTpSVEkbeMgO9pQGL93ZzwEWcMEYvgTv2t9An+eVU0xAm7Raka2iHYA8/PfwPMg==","shasum":"696fed30768d2d042536ed4638895bbc0866ba13","tarball":"https://registry.npmjs.org/@agconnect/agc-cli/-/agc-cli-1.1.0.tgz","fileCount":90,"unpackedSize":208874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNFF4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpeuw/+ITETdmryxZthy18HsAxC63QROu4/FgOFcHm+0fZUAiRyC3UR\r\n+pTSEJh4uAFMQFEaW+A9S0jKO6M3JaeMne5qys+Wn5hgnT7tXxKx4sbinXxC\r\n99de+6g00lBCtJZEYrEioe2124flM+awwJ/2IBskUytDOemnngemcAV4cXoT\r\nveYEO/BrG311Af+kSAkbFepU9VwBVGBI7hdNpNUxBk+ovQ3Egys2lQVv3wGj\r\n9p0j0Gylzhghy+Tp44pApM7MZ6wFGzl26AIJ7Y1f9OMqClTRx1Xw1A+M0yPY\r\nszyOarUmoUmFwmPwQhsXlqydzmNw/yOW+ngWFAEA0PzLBI8usCKqcb8QZdjo\r\nfKKZXbkIY33eoKFzae5tdXsHHR/ggWNM4oKk6v0d6+e/LbeYNGXDixVFe93A\r\nsthRiPuNSYSsE+8z8wqTQSGkTzpU8cZAeBpFbuKVwyl8O4UNNDVog8H7xafB\r\nevj3fby23O58laprRLJnLIOaxq0/n9ox8ifh2W3IAnOyLXcJ6/xHvXY0sSqQ\r\naOsDLYJp66MA0Pkm2lo9zymW65IdMZ5lpECUU49C34uacZms01LFda+kl+ac\r\noo3VEjMclDcDPZ746YuO5wu6OCvgAoK/ao83MP+c1D5x7I5TNZr9DP6A6341\r\nyKLcPVgqgH8Fi1yBtX8IlUQ41e0fFP/boYA=\r\n=CHY2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFRDZlggdCmlSST/9m+Wd1dlBltLvayzirfFdvWkkjiXAiEA8PHYI6yAEK5a5FtGch9Y/fKKwtgkr4MHRXTxwvDNuDA="}]},"_npmUser":{"name":"hwopencapability","email":"opencapability@huawei.com"},"directories":{},"maintainers":[{"name":"hwopencapability","email":"opencapability@huawei.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/agc-cli_1.1.0_1647595896092_0.7102889313999521"},"_hasShrinkwrap":false,"deprecated":"version 1.1.0 deprecated"},"1.1.0-301":{"name":"@agconnect/agc-cli","version":"1.1.0-301","main":"index.js","bin":{"agcli":"bin/agcli.js"},"description":"","author":"","license":"ISC","dependencies":{"adm-zip":"0.5.9","archiver":"^5.3.0","axios":"0.21.4","chalk":"4.1.2","commander":"9.4.0","crypto-js":"4.1.1","express":"4.18.1","form-data":"3.0.1","inquirer":"8.2.3","node-localstorage":"2.2.1","open":"8.2.0","ora":"5.4.0","nunjucks":"3.2.2","js-yaml":"4.1.0"},"_id":"@agconnect/agc-cli@1.1.0-301","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-gL509wXqE7HPmQXbZbjB9lSKw9hlt+vwWb9z2As5TqRaE8N1UBv3Prlz55niPrc3r6M5p9l3uXGr9/u4MDBkBw==","shasum":"00eb6c1a8f4d8b6775681acbe72253a0eee2176f","tarball":"https://registry.npmjs.org/@agconnect/agc-cli/-/agc-cli-1.1.0-301.tgz","fileCount":172,"unpackedSize":311446,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaK7K2GlhLatphlCenmMnoFE/MGuqzHaL2N5/+rV7bOgIgZcjuOGMuMgw0Zr3LIx0dHjptjJaN+XI51JgV5NccSKM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvlKZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJcg/9Fu1I6+BnxSUyJ/3fiQkyECqF77Swd8aI4b/7DRhHymrHfj4L\r\n320XdOExUQTfJHXikdl9bU0TGNN1wqc/h7UeTIbpjfEmUlfv3R2wxvEZRgrc\r\nyShjmTgQoG7hWmo+rne4RCXKEeufWXtFzPG2Cpy5Xu1h+dweeZkTOfQeSdne\r\nqh1Xyp0F8Qtp4BDqrLkrqtvsEuLv3Zbzg01mAEFQIs5AQeuvPM0CdjAQ1TRe\r\nqNF1re+HpN4YGWbzTaZvLFzPsx5RJ84ck8so4crjtF5OGQPv2A45LFuREJri\r\nUGcJQCljr3u9b+z9pRoC5isIRPqzd1wEb82RTm5H9eFl8pEpert9LPo0TphO\r\nk5amFXTleTWbZMi8rXCSJKLPfq3JNKjCqkAzLyp0GHaTdQDZ9wPMChjA1AJ4\r\nVjk/ZOq041xKcSuxfSDbIijRC42dF/Q5a0jVJm2YFAz2PN5j4C+T77ivnHkj\r\ncBRXq4dpQDiVrl37n/aA2TTyDluVWO9eOvigj2uaby51rT52Qr7BpFB7jciw\r\nPDSEPsVgHDWVgaVkgGern1edfRG9s2pnoBXT5cTK75AM7tsITBGKNuIMtfSM\r\nDX5o0LeFqtMVamH1MCyLRiIldrdU+CtrG0zBwN0VVrQv0bXVslkqiojChDWM\r\neU6awZ1txYU/1vbbV9+t+3eoiy3SnnXzwEE=\r\n=bcVR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"hwopencapability","email":"opencapability@huawei.com"},"directories":{},"maintainers":[{"name":"hwopencapability","email":"opencapability@huawei.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/agc-cli_1.1.0-301_1673417368980_0.5509710619931523"},"_hasShrinkwrap":false},"1.2.0":{"name":"@agconnect/agc-cli","version":"1.2.0","main":"index.js","bin":{"agcli":"bin/agcli.js"},"description":"- [Overview](#overview)\r - [Prerequisites](#prerequisites)\r - [Installation](#installation)\r - [Usage](#usage)\r - [Documentation](#documentation)\r     - [Cloud Functions](#cloud-functions)\r     - [Cloud Storage](#cloud-storage)\r - [License](#license)","author":"","license":"ISC","dependencies":{"@agconnect/auth-server":"1.2.0","@agconnect/cloudstorage-server":"1.0.1","@agconnect/common-server":"1.2.1","adm-zip":"0.5.9","archiver":"^5.3.0","axios":"0.21.4","chalk":"4.1.2","commander":"9.4.0","crypto-js":"4.1.1","express":"4.18.1","form-data":"3.0.1","inquirer":"8.2.3","js-yaml":"4.1.0","node-localstorage":"2.2.1","open":"8.2.0","ora":"5.4.0","nunjucks":"3.2.2"},"_id":"@agconnect/agc-cli@1.2.0","_nodeVersion":"18.14.0","_npmVersion":"9.6.2","dist":{"integrity":"sha512-D4Uk/O3COQ8PpeNqp0he4m8f1skKTN0xVoq5WrDJsEtIM0DFlC0X7sYlQz3gNErWqcNI22HNYrj6X27+TOgAdQ==","shasum":"37813daa7ffd095fc528ec0183fea08d2bf8551b","tarball":"https://registry.npmjs.org/@agconnect/agc-cli/-/agc-cli-1.2.0.tgz","fileCount":211,"unpackedSize":850750,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0/6BY9C9pdd92w0mbwJD5Q2OwkBqdATPuwUaGMDS+3AiBtgtbFKkmhX2aoSB8ww3Ph4wqQXUavqEMVHZbcnsIltg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLri+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrfSw/8DPbWDBy3JU812S7lYVsWIvFMqtwdZP8Q5Thhc4XBi+0YkWeT\r\ngoV+KkNcfGslQ/fKR8rhfpt7K7xuC5JZZtSRAg2e6n1pNhIMVgyNrnqKOQBZ\r\n5cqTxBWoYlTsQ44BOXwrg3pPtRPI1ekCER4N7kyRJgmYThv2QeMBWJyF8VAe\r\nZGtJVTlxVq3j49mupRPYgUhXIjezva60uS9pDpSDSBVfv/2eThKYiMZm/VRp\r\nLOYcm85FUgoKxPl0MxVL3AlFrMBfHAbBn2xR0GF0NXXMiAyQ+yl4j9i3FyB5\r\nEfHuuS0UlvA6gZ8Apiz7SEKzGRqyPX/NKIzMwffMx0a5dRyd9d6daZnRN1EC\r\nTq0n/VzXhrSYhFBr9BErEl3Q4G14j58qbTetrdGU478yGp/n47vaJMA8yT80\r\n0/RGq62XB0vB9CfPkUDc3MK96XMYfqGQ0JvWw25dzWzvUnq0QWDrb3NUuyk8\r\ns7ZdW0clzab6JgHSBbGz342G2RC9b7LbnlSR/kYvMyIVaffASjapri1fkIwr\r\nFmZ8v6aQyj9YkmWoDUm5481zlQf/Wdkokb5uvW8ZudsSEIUzQE547mrUjNei\r\nIgMroB9q71fBzVFwasMtA4FJF/lt3VjMUtDKOz/bp5GU57JcC3Ewam4vapzO\r\nJGyBhKT0s47pBuHX6STmA7Og6wTghs/03o0=\r\n=h65J\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"hwopencapability","email":"opencapability@huawei.com"},"directories":{},"maintainers":[{"name":"hwopencapability","email":"opencapability@huawei.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/agc-cli_1.2.0_1680783550074_0.6391958269834395"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-02T02:35:12.148Z","1.0.0-beta":"2021-07-02T02:35:12.595Z","modified":"2023-04-06T12:19:10.403Z","1.0.0":"2021-08-09T08:31:31.049Z","1.1.0":"2022-03-18T09:31:36.294Z","1.1.0-301":"2023-01-11T06:09:29.188Z","1.2.0":"2023-04-06T12:19:10.283Z"},"maintainers":[{"name":"hwopencapability","email":"opencapability@huawei.com"}],"license":"ISC","readme":"# AM_AppGallery_AppGalleryConnectCliTool\r\n\r\n## Table Of Contents\r\n- [Overview](#overview)\r\n- [Prerequisites](#prerequisites)\r\n- [Installation](#installation)\r\n- [Usage](#usage)\r\n- [Documentation](#documentation)\r\n    - [Cloud Functions](#cloud-functions)\r\n    - [Cloud Storage](#cloud-storage)\r\n- [License](#license)\r\n\r\n\r\n## Overview\r\n\r\nAppGalleryConnectCliTool (AGCLI for short), is a command line tool which helps you to operate and manage your application services on AppGalleryConnect, The AGCLI provides;\r\n\r\n* Development and maintenance services for developers through command lines.\r\n* Basic capabilities such as developer login and logout, team switchover, and selecting project.\r\n* Ease of use and accessibility to AGC App Services such as Cloud Function, Cloud Storage and more to reduce the operations that you would need to complete on AGC Web Portal.\r\n\r\n\r\n## Prerequisites\r\n\r\nEnsure that:\r\n\r\n* You have registered an account on the [HUAWEI Developer](https://developer.huawei.com/consumer/en/) website and passed real-name authentication. For details, see [HUAWEI ID Registration](https://developer.huawei.com/consumer/en/doc/start/registration-and-verification-0000001053628148).\r\n\r\n* You have created a team on the [AppGallery Connect console](https://developer.huawei.com/consumer/en/console). For details, see [Managing the Team Account](https://developer.huawei.com/consumer/en/doc/distribution/app/agc-help-manageaccount-0000001099996700).\r\n\r\n* You have created a project and app on the [AppGallery Connect console](https://developer.huawei.com/consumer/en/console). For details, see [Creating Your Project and App](https://developer.huawei.com/consumer/en/doc/distribution/app/agc-help-createproject-0000001100334664).\r\n\r\n* You have [installed Node.js and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) on your local PC.\r\n\r\n## Installation\r\nGo to the compilation platform and run the following command to download and install AGCLI:\r\n\r\n```bash\r\nnpm install -g @agconnect/agc-cli\r\n```\r\n\r\nIf the installation fails, switch the repository to\r\n[here](https://registry.npmjs.org) or run the following command:\r\n\r\n```bash\r\nnpm config set registry https://registry.npmjs.org/\r\n```\r\n\r\n## Usage\r\nRun the following command to log in to AGCLI:\r\n\r\n```bash\r\n agcli login\r\n```\r\n\r\nRun the following command to select a team: After entering the command, press arrow keys to select a team.\r\n\r\n```bash \r\nagcli team change\r\n```\r\n\r\nRun the following command to select a project: After entering agcli project change, press arrow keys to select a project.\r\n\r\n```bash \r\nagcli project change\r\n```\r\n## Documentation\r\nYou can find the usage documentation in this section.\r\n\r\n### Cloud Functions\r\n\r\nThe commands for operating Cloud Functions is described in the following table. For more information please check the [Service Introduction](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-cloudfunction-guidancen-0000001324585185) in the Huawei Developers Website.\r\n\r\n| Resource       | Command                 | Description                                                                                                           |\r\n| -------------- | ------------------------|---------------------------------------------------------------------------------------------------------------------- |\r\n| **Function**   | **create-function**     |                            Creates cloud functions.                                                                   |\r\n| **Function**   | **publish-function**    |                            Publishes cloud functions.                                                                 |\r\n| **Function**   | **update-and-publish-function** |                    Updates and publishes cloud functions.                                                     |\r\n| **Function**   | **update-function-code**        |                    Updates cloud function code.                                                               |\r\n| **Function**   | **update-function-config**      |                    Updates cloud function configurations.                                                     |\r\n| **Function**   | **list-functions**      |                            Queries all cloud functions.                                                               |\r\n| **Function**   | **list-function-versions**.     |                    Queries all versions of a function.                                                        |\r\n\r\n\r\n| Resource       | Command                 | Description                                                                                                           |\r\n| -------------- | ------------------------|---------------------------------------------------------------------------------------------------------------------- |\r\n| **Layer**   | **query-function-version**     |                     Queries a function version.                                                                   |\r\n| **Layer**   | **invoke**    |                                      Calls cloud functions.                                                                        |\r\n| **Layer**   | **create-layer** |                                   Creates a layer.                                                                              |\r\n| **Layer**   | **create-layer-version**        |                    Creates a layer version.                                                                      |\r\n| **Layer**   | **list-layers**      |                               Queries all layers.                                                                           |\r\n| **Layer**   | **list-layer-versions**      |                       Queries all versions of a layer.                                                              |\r\n| **Layer**   | **query-layer-version**      |                       Queries a layer version.                                                                      |\r\n\r\n\r\n| Resource       | Command                 | Description                                                                                                           |\r\n| -------------- | ------------------------|---------------------------------------------------------------------------------------------------------------------- |\r\n| **Trigger**   | **create-http-trigger**  |                     Creates an HTTP trigger.                                                                          |\r\n| **Trigger**   | **create-cron-trigger**  |                     Creates a CRON trigger.                                                                           |\r\n| **Trigger**   | **update-cron-trigger**  |                     Updates a CRON trigger.                                                                           |\r\n| **Trigger**   | **create-layer-version** |                     Creates a layer version.                                                                          |\r\n| **Trigger**   | **list-triggers**        |                     Queries all function triggers.                                                                    |\r\n| **Trigger**   | **query-trigger**        |                     Queries a trigger of a function.                                                                  |\r\n\r\n\r\n| Resource       | Command                 | Description                                                                                                           |\r\n| -------------- | ------------------------|---------------------------------------------------------------------------------------------------------------------- |\r\n| **Alias**   | **create-alias**  |                     Creates an alias of a function.                                                                            |\r\n| **Alias**   | **update-alias**  |                     Updates an alias of a function                                                                             |\r\n| **Alias**   | **list-aliases**  |                     Queries all aliases of a function.                                                                         |\r\n| **Alias**   | **query-alias**   |                     Queries an alias of a function.                                                                            |\r\n\r\n\r\n**************************************************\r\n\r\n### Cloud Storage\r\n\r\nThe commands for operating Cloud Storage is described in the following table. For more information please check the [Service Introduction](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-cloudstorage-view-0000001274972232) in the Huawei Developers Website.\r\n\r\n| Command        | Description                                                                                                                                     |\r\n| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |\r\n| **agcli storage enable**      | Enable Cloud Storage.                                                                        |\r\n| **agcli storage doc**     |Link to document.                                                                                                                   |\r\n| **agcli storage upload-file --path <path> --bucket <bucket>**   | Upload a file                                                                       |\r\n| **agcli storage list-file --bucket <bucket> --prefix <prefix>**  | List all files.                                                                                                    |\r\n| **View details of a file** | Delete files.                                                                                                                   |\r\n| **agcli storage delete-file --path <storagePaths>**  | Set the default account to use for this project                                                                                                 |\r\n| **agcli storage download-file --path <storagePaths>**        | Download files.                                                                                            |\r\n| **agcli storage add-cors --origin <origin> --method <method> --header <headers> --exposed-header <exposedHeaders> --cache-duration <seconds>**       | List all cross-origin policies.                                                                                           |\r\n| **agcli storage delete-cors --index <index>**       | Delete a cross-orgin policy |\r\n**************************************************\r\n\r\n\r\n## License\r\n\r\nHuawei AppGalleryConnectCliTool is licensed under the \"ISC\".","readmeFilename":"README.md","description":"- [Overview](#overview)\r - [Prerequisites](#prerequisites)\r - [Installation](#installation)\r - [Usage](#usage)\r - [Documentation](#documentation)\r     - [Cloud Functions](#cloud-functions)\r     - [Cloud Storage](#cloud-storage)\r - [License](#license)"}