Kuhnuri AWS CLI
Kuhnuri command line tool to run conversions in AWS.
Installing
Requirements:
$ go get -u github.com/kuhnuri/kuhnuri-cli/kuhnuri
Usage
Requires a running Kuhnuri environment.
$ kuhnuri -i INPUT -f TRANSTYPE [-o OUTPUT] [--api API]
or
$ kuhnuri -p PROJECT [-o OUTPUT] [--api API]
INPUT
- Input URL or local file
TRANSTYPE
- Transtype name
PROJECT
- DITA-OT project file
OUTPUT
- Output URL or local directory. Optional
API
- Kuhnuri API URL. Optional
If INPUT
is a local file, contents of the parent directory is zipped and uploaded to a temporary AWS S3 resource.
If OUTPUT
is a local directory, the output ZIP will be uploaded and extracted there.
Configuration
Default options can be configured in .kuhnurirc
file
api = https://example.com/
The configuration file is searched for in order:
- current directory or any ancestor directory
- user home directory
The first .kuhnurirc
file found is used.
Donating
Support this project and others by @jelovirt via Paypal.
License
Kuhnuri AWS CLI is licensed for use under the Apache License 2.0.