massive-column
Subcommands of simetrik massive-column.
simetrik massive-column create
Create a massive comment column with matching rules.
Creates a massive comment column on a resource: a column that pulls comment values from an origin
source and attaches them to rows matched by your rules. Pass --resource-id (the target) and
--name, then identify where the comments come from with --origin-resource-id and
--origin-column-id, and how rows are matched with --rules — a JSON array of
{"column_current_resource_id":N,"column_origin_resource_id":M} pairs that link a column on the
target to a column on the origin.
Reach for this when you want to enrich a source or union with comments maintained in a separate
source, rather than typing them per row. You can supply the origin and rules inline with flags, or
point --spec at a JSON file containing origin_comment_resource_id, origin_comment_column_id,
and rules; inline flags override matching --spec fields. All three of origin resource, origin
column, and rules are required (from either flags or spec) — the command exits with code 2 if any
is missing. To change the name or rules later use simetrik massive-column update; to see what
exists on a resource use simetrik massive-column list.
See also: massive-column update, massive-column list, massive-column delete. Requires the resources · create_edit permission. See permissions.
Flags
--resource-id <id>— Target resource ID--name <name>— Massive comment column name--origin-resource-id <id>— Origin NATIVE resource ID--origin-column-id <id>— Column ID from origin resource holding comments--rules <json>— JSON array of rules: [{"column_current_resource_id":N,"column_origin_resource_id":M}]--spec <path>— JSON spec file with origin_comment_resource_id, origin_comment_column_id, rules-f, --format <fmt>— Output format: table|json
Examples
simetrik massive-column create --resource-id 100 --name "Comentarios" --origin-resource-id 200 --origin-column-id 30 --rules '[{"column_current_resource_id":10,"column_origin_resource_id":20}]'
simetrik massive-column create --resource-id 100 --name "Comentarios" --spec ./massive-column.jsonExit codes
| Code | Meaning |
|---|---|
0 | Massive comment column created |
1 | API error — resource, origin resource, or origin column not found |
2 | Invalid input — missing --origin-resource-id/--origin-column-id/--rules, or malformed --rules / --spec JSON |
4 | Authentication required — run simetrik login |
simetrik massive-column update
Update a massive comment column (name and/or rules).
Updates an existing massive comment column, identified by its <massive_comment_column_id> (the
binding record's ID). Change the display name with --name, replace the matching rules with
--rules, or both. Passing --rules replaces the existing rule set wholesale — it is not a merge,
so include every rule you want to keep.
Use this to rename a massive comment column or to re-point how comments are matched after the origin
or target schema changes; to create one in the first place use simetrik massive-column create. You
must provide at least one of --name or --rules (inline or via a --spec file with those
fields), otherwise the command exits with code 2.
See also: massive-column create, massive-column list, massive-column delete. Requires the resources · create_edit permission. See permissions.
Arguments
massive_comment_column_id— MassiveCommentColumn ID (binding record)
Flags
--name <name>— New name--rules <json>— JSON array of rules (replaces existing rules)--spec <path>— JSON spec file with name and/or rules-f, --format <fmt>— Output format: table|json
Examples
simetrik massive-column update 55 --name "Comentarios revisados"
simetrik massive-column update 55 --rules '[{"column_current_resource_id":10,"column_origin_resource_id":20}]'
simetrik massive-column update 55 --spec ./massive-column-update.jsonExit codes
| Code | Meaning |
|---|---|
0 | Massive comment column updated |
1 | API error — massive comment column not found |
2 | Invalid input — neither --name nor --rules provided, or malformed --rules / --spec JSON |
4 | Authentication required — run simetrik login |
simetrik massive-column delete
Delete a massive comment column (drops setting + rules + DataColumn).
Destructive action
This command modifies or deletes data irreversibly.
Deletes a massive comment column, identified by its <massive_comment_column_id>. This drops the
column's setting, its matching rules, and the backing DataColumn in one step, so the comments it
surfaced disappear from the target resource. The source the comments originate from is not touched —
only the binding on the target is removed.
Use this to retire a massive comment column you no longer want; to change its name or rules instead
of removing it, use simetrik massive-column update. The command prompts for confirmation before
deleting; pass -y/--yes to skip the prompt when scripting.
See also: massive-column create, massive-column update, massive-column list. Requires the resources · create_edit permission. See permissions.
Arguments
massive_comment_column_id— MassiveCommentColumn ID (binding record)
Flags
-y, --yes— Skip confirmation prompt-f, --format <fmt>— Output format: table|json
Examples
simetrik massive-column delete 55
simetrik massive-column delete 55 --yesExit codes
| Code | Meaning |
|---|---|
0 | Massive comment column deleted |
1 | API error — massive comment column not found |
2 | Invalid input — bad ID, or confirmation declined |
4 | Authentication required — run simetrik login |
simetrik massive-column list
List massive comment columns on a resource.
Lists the massive comment columns configured on a resource, given its --resource-id. Each entry is
a binding record whose ID you pass to simetrik massive-column update or simetrik massive-column delete.
Use this to discover what massive comment columns already exist before adding, editing, or removing
one — it is the read-only companion to the create/update/delete subcommands. Use
--format table for a quick scan or the default json to capture IDs programmatically.
See also: massive-column create, massive-column update, massive-column delete. Requires CLI access. See permissions.
Flags
--resource-id <id>— Resource ID-f, --format <fmt>— Output format: table|json
Examples
simetrik massive-column list --resource-id 100
simetrik massive-column list --resource-id 100 --format tableExit codes
| Code | Meaning |
|---|---|
0 | Massive comment columns listed (possibly empty) |
1 | API error — resource not found |
2 | Invalid input — missing or malformed --resource-id |
4 | Authentication required — run simetrik login |