1.0.5 • Published 4 years ago

ark-tool v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Ark CLI

The Ark CLI creates versions within an Ark project and uploads artifacts to existing projects. It serves the purpose of integrating Ark to existing CI/CD workflows.

Installation

Register and login to our private registry.

npm config set "@merthin:registry" https://www.myget.org/F/merthin/npm/
npm login --registry https://www.myget.org/F/merthin/npm/

Enter MyGet user credentials and install the package.

npm install -g @merthin/ark

Run ark -h for help screen.

Create version

Use the following command to create versions within an existing project.

You'll need to use a CLI Key issued by Ark Dashboard. There's no need to specify a project since each CLI Key is issued for a single project.

ark new-version <versionName> -k <cli-key>

Example:

ark new-version 1.0.0 -k xJhXdgw5xza0WdXh2jH1y3Lj8r13fKcgzxJeO1rwg6AgbRNOmaTsgZYuQBz5L7WidNL02E1WKR0gMSiz4ptos20FKTeVQcBEAahM

Upload version artifact

Use the following command to upload an artifact into an existing version. Any kind of file could be uploaded, but we suggest to use a zip file. This is mandatory if you need to upload artifacts with multiple binaries. You can replace an existing artifact by uploading another file using the same CLI Key and version name.

You'll need to use a CLI Key issued by Ark Dashboard. There's no need to specify a project since each CLI Key is issued for a single project.

ark upload <artifact-path> -v <versionName> -k <cli-key>

Example:

ark upload ./app.zip -v 1.0.0 -k xJhXdgw5xza0WdXh2jH1y3Lj8r13fKcgzxJeO1rwg6AgbRNOmaTsgZYuQBz5L7WidNL02E1WKR0gMSiz4ptos20FKTeVQcBEAahM
1.0.5

4 years ago