@artifacter/cli
Artifacter's Command Line Interface utility
Last updated 3 years ago by arth .
GPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @artifacter/cli 
SYNC missed versions from official npm registry.

artifacter-logo@artifacter/cli

Command Line Interface for Artifacter

What's this? - Intro

This a Command Line Interface utility that connects to a running Artifacter Web API and provides artifact generation through a CLI. It follows a similar workflow as @artifacter/ui

How do I use this? - Install and options

A global install via npm is suggested, like this:

npm install -g @artifacter/cli

It requires setting the ARTIFACTER_API environment variable, which must contain the base url where Artifacter's Web API is hosted, by default it goes to http://localhost:8080.

export ARTIFACTER_API=http://yourownapi:8888
Interactive run

If you run the artifacter command without parameters, it will run in Full Interactive mode, where it will ask for every input required to achieve an artifact generation

Artifacter Command Line Interface (full interactive)
version 1.0.0

ARTIFACTER_API env variable is not set!, using the default configuration
Using Artifacter API at 'http://localhost:8080'
Form preset + Interactive run

If you use the --form switch, which specifies both the Form Configuration and Form Index to use, it will start asking only for the input of the preset form, the format is [form-configuration],[form-index]

artifacter --form 1,1
JSON input

With the --json switch, you can specify a json file to use directly as a request to the Artifacter Web API, without any interactive input.

artifacter --json inputRequest.json

Both the Interactive run and Form preset methods, generate a backup JSON file containing all the input values given in each interactive run.

Current Tags

  • 1.0.4                                ...           latest (3 years ago)

5 Versions

  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 5
Last Month 13
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |