Project

General

Profile

Actions

Idea #8087

closed

[SDKs] `arv create` can read JSON from a file, skipping an interactive editor

Added by Nico César almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Start date:
02/23/2016
Due date:
Story points:
0.5

Description

I currently see:

nico@shell:~$ arv create pipeline_template --help
Arvados command line client
Usage: arv create [--project-uuid] pipeline_template [create parameters]

This method supports the following parameters:

  -e, --ensure-unique-name      Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name)
                              collision.
  -h, --help                  Show this message

and if I execute arv create pipeline_template will open the editor.

I'd like to be able to do arv create pipeline_template --from-file file.json and that's the template file to use. This is for automation purposes of pipeline template creation from ansible.


Subtasks 1 (0 open1 closed)

Task #8519: Review PR #43ResolvedJoshua Randall02/23/2016Actions
Actions

Also available in: Atom PDF