arvis-store
v0.3.2
Published
Publish and Retrieve Arvis extension info
Downloads
46
Readme
arvis-store
Publish and Retrieve Arvis extension info
Check on docs
Usage - cli
view
To view some extension info on cli, run below command.
$ arvis-store view [some_extension_name]
set github token
To publish arvis extension to store, need to set github api token first.
Gey your github access token in here and,
Run below command to set your github api token.
$ arvis-store set-gh-api-key [github_api_key]
publish
To publish current extension directory to arvis-store, run below command.
If the extension in uploaded on npm, run
$ arvis-store publish --npm
Otherwise, run below command.
Below command upload an arvisworkflow
file or an arvisplugin
file to the arvis-store github repository.
Users can download the file from the store and use it.
$ arvis-store publish --local
download
To download local extension file,
$ arvis-store download workflow [creator_name] [extension_name]
$ arvis-store download plugin [creator_name] [extension_name]
unpublish
To unpublish extension from store, run
$ arvis-store unpublish [creator_name] [extension_name]
How to add arvis-extension to arvis-store
- Install arvis-store
$ npm i -g arvis-store
- Set Github personal access token
$ arvis-store set [github_personal_access_token]
- Run publish command
If the extension in uploaded on npm,
Run
$ arvis-store publish --npm
Otherwise, Run
$ arvis-store publish --local
How it works
The store is
internal/store.json
file. and it is renewed once a day, and every time a new extension is added to the store by github-workflowsinternal/store.json
stores information that always requires renewal like npm download info, it's latest version.internal/statis-store.json
's information updates only when extensions are created or need to be changed by the extension creatorarvis-store publish
command creates a PR that adds your extension to theinternal/static-store.json
.
Related
- arvish - Arvis workflow, plugin creator tools