Adds a new Form
Create 1 or forms from .yaml or .json definition files. The syntax for the form definitions should be that described in the forms/ POST API documentation, or its YAML equivalent.
Multiple files can be specified as arguments.
--publish flag, if set, will publish the Forms so they can be used immediately to create documents. If not set, forms remain in the 'NEW' state.
rspace-client eln addForm [flags]
// Create 2 forms; one specified in yaml format and one specified in json format.
// Publish both forms so they are available to use to create documents.
rspace eln addForm myFormDef.yaml mySecondForm.json --publish
-h, --help help for addForm
--publish Publishes the forms
--config string config file (default is $HOME/.rspace)
-o, --outFile string Output file for program output
-f, --outputFormat string Output format: one of 'json','table', 'csv' or 'quiet' (default "table")
- rspace-client eln - Top-level command to work with RSpace ELN