clc script
Runs the script in the given local or HTTP location.
The script can contain:
-
SQL statements,
-
CLC commands prefixed with backslash,
-
Comments starting with — (double dash).
The script should have either .clc
or .sql
extension.
Files with one of these two extensions are interpreted equivalently.
Usage:
clc script [path/location] [flags]
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Print the executed command |
|
|
Optional |
Ignore errors during script execution |
|
Global parameters
Parameter | Description | Default | ||
---|---|---|---|---|
|
Path to the configuration file in YAML format. |
The following locations are tried in order for the existence of
|
||
|
Set the output format
|
|
||
|
Set the log level, one of:
|
|
||
|
Set the log path. Use |
|
||
|
Prevent displaying unnecessary output. |
|
||
|
Enable output with more information. |
|
||
|
Timeout for operation to complete. The duration is a string in the form of
Underscore (_) character is ignored in the The following are a few of the valid DURATIONs:
|