Kater CLI Make and compare new
kater new scratch
Makes an empty scratch file in your brainstorm folder, ready for your statements.
It goes at the top of the folder, or in a folder you name. Then add statements, and run them with kater show --select or kater run --select.
Examples
# Create a scratch file at the top of your brainstorm folderkater new scratch --connection snowflake_prod_connection# Create one in the sandbox folder, with a name and a labelkater new scratch --connection snowflake_prod_connection --folder sandbox --name ad_spend_profiling --label "Ad spend profiling"# Show the draft of the file, and create nothingkater new scratch --connection snowflake_prod_connection --folder sandbox --dry-runOptions
It also takes the global options --json, --kater-root, --scope and --help.