Skip to content

Last updated: July 02, 2024

dqo rule command-line command

The reference of the rule command in DQOps. Edit sensor template


dqo rule edit

Edit rule that matches a given condition

Description

This command can be used to update the rule. It is important to use caution when using this command, as it can impact the execution of data quality checks.

Command-line synopsis

$ dqo [dqo options...] rule edit [-h] [-fw] [-hl] [-f=<ext>] [-of=<outputFormat>] [-r=<name>]

DQOps shell synopsis

dqo> rule edit [-h] [-fw] [-hl] [-f=<ext>] [-of=<outputFormat>] [-r=<name>]

Command options

All parameters supported by the command are listed below.

Command argument     Description Required Accepted values
-f
--ext
File type PYTHON
YAML
-fw
--file-write
Write command response to a file
--headless
-hl
Starts DQOps in a headless mode. When DQOps runs in a headless mode and the application cannot start because the DQOps Cloud API key is missing or the DQOps user home folder is not configured, DQOps will stop silently instead of asking the user to approve the setup of the DQOps user home folder structure and/or log into DQOps Cloud.
-h
--help
Show the help for the command and parameters
-of
--output-format
Output format for tabular responses TABLE
CSV
JSON
-r
--rule
Rule name