vor create frameworks
vor create frameworks¶
Create framework(s) for a given playpen
Synopsis¶
Import one or more frameworks into a playpen. For export, see "vor show frameworks". For updating, see "vor update frameworks".
For example, the following set of commands will export all frameworks in playpen "/my-first-playpen" to a file named "frameworks.json" amd import them into another playpen named "/my-second-playpen" (note that if you're running the command from within the playpen root or VOR_STREAM_PLAY is set, the --play flag is not required):
$ vor show frameworks --play /my-first-playpen --output json > frameworks.json
$ vor create frameworks --play /my-second-playpen --file-type json < frameworks.json
vor create frameworks [flags]
Options¶
-c, --comment string Comment to attach to the created framework(s)
--file string File containing the frameworks to create
-t, --file-type string Type of file to create frameworks from ('yaml' and 'json')--use if file does not have an extension or is read from stdin (default "yaml")
-h, --help help for frameworks
--log-level string Log level to use (debug, info, warn, error, fatal, panic) (default "info")
Options inherited from parent commands¶
--play string playpen path
--renew-token renew token (default true)
SEE ALSO¶
- vor create - Create an object, i.e. playpen, node, queue, process, token