Skip to main content
On this page

Kater CLI Present and share promotion admin

kater promotion admin redraft

Drafts an open promotion again.

With no option, Kater drafts it again as it is. Give another name, another level or other values to change the draft, and Kater checks the new draft again.

Kater refuses a promotion that is not open.

Examples

Terminal window
# Draft a promotion again, as it is
kater promotion admin redraft 00000000-0000-0000-0000-000000000000
# Draft it again under another name for the shared field
kater promotion admin redraft 00000000-0000-0000-0000-000000000000 --name identified_session
# Draft it again to the GA4 Sessions model
kater promotion admin redraft 00000000-0000-0000-0000-000000000000 --level connections/snowflake_prod_connection/modeling/kater_objects/semantic_models/marts/GA4_SESSIONS.sql

Arguments

ArgumentDescription
<promotion>The promotion’s id, as kater promotion admin list shows it.

Options

OptionDescription
--name <name>Another name for the promoted field.
--level <path>Another level: the file of a shared model that the promotion lists.
--value <name>=<value>For a filter with a value written in: another value for one of its parameters, such as is_within_last__union__date_day=6. You can give it more than one time.

It also takes the global options --json, --kater-root, --scope and --help.

See also