rejig-cli v0.11.2
Rejig CLI
Command Line Interface for Rejig to process image editing workflows.
See Rejig.Processing for more details on the workflow schema. You can reference the schema from JSON or YAML files like this:
{
"$schema": "https://raw.githubusercontent.com/Cryptacular/Rejig.Processing/master/json-schema/workflow.json"
}...or in YAML:
# yaml-language-server: $schema=https://raw.githubusercontent.com/Cryptacular/Rejig.Processing/master/json-schema/workflow.jsonTable of Contents
- Rejig CLI
- yaml-language-server: $schema=https://raw.githubusercontent.com/Cryptacular/Rejig.Processing/master/json-schema/workflow.json
- Usage
- Commands
Usage
$ npm install -g rejig-cli
$ rejig COMMAND
running command...
$ rejig (--version)
rejig-cli/0.11.2 linux-x64 node-v16.19.1
$ rejig --help [COMMAND]
USAGE
$ rejig COMMAND
...Commands
rejig help [COMMAND]rejig listrejig loginrejig logoutrejig process WORKFLOWrejig pull WORKFLOWrejig push WORKFLOW NAMErejig tags WORKFLOW
rejig help [COMMAND]
Display help for rejig.
USAGE
$ rejig help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for rejig.See code: @oclif/plugin-help
rejig list
List workflows you've published to Rejig
USAGE
$ rejig list
DESCRIPTION
List workflows you've published to Rejig
EXAMPLES
$ rejig listSee code: dist/commands/list.ts
rejig login
Log in to your Rejig account
USAGE
$ rejig login
DESCRIPTION
Log in to your Rejig accountSee code: dist/commands/login.ts
rejig logout
Log out of your Rejig account
USAGE
$ rejig logout
DESCRIPTION
Log out of your Rejig accountSee code: dist/commands/logout.ts
rejig process WORKFLOW
Process one or more workflows in YAML or JSON format, then output an image.
USAGE
$ rejig process [WORKFLOW] [-w] [-o <value>]
ARGUMENTS
WORKFLOW Workflow or folder of workflows to process
FLAGS
-o, --out=<value> Specify folder to write images to. Defaults to the folder the workflow is in.
-w, --watch Watch workflow files for changes and re-process them when they do.
DESCRIPTION
Process one or more workflows in YAML or JSON format, then output an image.
EXAMPLES
$ rejig process workflow.yamlSee code: dist/commands/process.ts
rejig pull WORKFLOW
Pull down a workflow manifest to your machine.
USAGE
$ rejig pull [WORKFLOW]
ARGUMENTS
WORKFLOW Name of the workflow to pull down, e.g. 'workflow-name'. Can optionally also specify a tag, eg.
'workflow-name:tag'. If not specified, the tag defaults to 'latest'
DESCRIPTION
Pull down a workflow manifest to your machine.
EXAMPLES
$ rejig pull my-custom-workflow
$ rejig pull my-custom-workflow:1.0.0See code: dist/commands/pull.ts
rejig push WORKFLOW NAME
Push a workflow to Rejig so that it can be published and used by others. Format is ':', e.g. 'rounded-corners:v1.0.0'
USAGE
$ rejig push [WORKFLOW] [NAME]
ARGUMENTS
WORKFLOW Workflow file to push
NAME Name of the workflow. Should be in kebab-case (all lowercase), e.g. 'workflow-name'. Can optionally also
specify a tag, eg. 'workflow-name:tag'. If not specified, the tag defaults to 'latest'
DESCRIPTION
Push a workflow to Rejig so that it can be published and used by others. Format is '<workflow-name>:<tag>', e.g.
'rounded-corners:v1.0.0'
EXAMPLES
$ rejig push workflow.yaml my-custom-workflow
$ rejig push workflow.yaml my-custom-workflow:1.0.0See code: dist/commands/push.ts
rejig tags WORKFLOW
Lists the tags available for a particular workflow published to Rejig
USAGE
$ rejig tags [WORKFLOW]
ARGUMENTS
WORKFLOW The workflow to inspect tags for
DESCRIPTION
Lists the tags available for a particular workflow published to Rejig
EXAMPLES
$ rejig tags some-user/some-workflowSee code: dist/commands/tags.ts
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago