relation¶
relation list¶
List relation between usersets and datasets or filesets
jexia relation list
[-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--sort-column SORT_COLUMN]
--project PROJECT_ID
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated to show multiple columns
-
--quote<QUOTE_MODE>¶ when to include quotes, defaults to nonnumeric
-
--noindent¶ whether to disable indenting the JSON
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--sort-columnSORT_COLUMN¶ specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
-
--projectPROJECT_ID¶ Projects ID
relation create¶
Create relation between usersets and dataset or fileset
jexia relation create
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
--project PROJECT_ID
--relation RELATION
(--dataset DATASET | --fileset FILESET)
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated to show multiple columns
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--projectPROJECT_ID¶ Projects ID
-
--relationRELATION¶ Relation’s type from userset to other resource (ONE-MANY, MANY-MANY, MANY-ONE, ONE-ONE)
-
--datasetDATASET¶ ID of dataset
-
--filesetFILESET¶ ID of fileset