vor show frameworks
vor show frameworks¶
List framework(s) for a given playpen
Synopsis¶
List frameworks for a given playpen. If writing to JSON or YAML, the output can be used to create new framework(s) using the "vor create framework" command.
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
Table format is the default output format. Displayed fields can be subset using the --fields flag:
$ vor show frameworks --id 1,204 --fields id,Name,ModelMap,UserPlaypen,username
+-----+--------------------------------------+---------------------------+-------------+-------------+
| ID | NAME | MODELMAP | USERPLAYPEN | USERNAME |
+-----+--------------------------------------+---------------------------+-------------+-------------+
| 1 | Z-Factor Framework | [model:1 model:2 model:3] | 1 | vuser |
| 204 | 80aa0461-d603-4c6a-aa42-af1279366317 | [model:1 model:2 model:3] | 2 | Henry Skiba |
+-----+--------------------------------------+---------------------------+-------------+-------------+
vor show frameworks [flags]
Options¶
--fields strings List of fields to display for table output (default [Id,Name,Type,Version,Processed,ModelMap,Comment,UserPlaypen,UserName,UserId,UserEmail])
-h, --help help for frameworks
--id ints List of framework ID's to retrieve (overrides "play" flag)
--output string Format for printing the results. Available formats are "json", "yaml", and "table" (default "table")
--pretty If output=json, pretty format the results
-t, --token string VOR Stream token to use when making API call
Options inherited from parent commands¶
--play string playpen path
--renew-token renew token (default true)
SEE ALSO¶
- vor show - Print details of an object