How do I add a new change reason?
Add a new change reason. See the CLI inventory for sibling recipes.
Question
How do I add a new change reason using ores.cli?
Answer
export ORES_CLI_DB_PASSWORD ./ores.cli dq change-reasons add ${db_args} ${log_args} \ --code "test.reason" \ --description "Test change reason for CLI demonstration" \ --category-code "operational" \ --applies-to-amend 1 \ --applies-to-delete 0 \ --requires-commentary 1 \ --display-order 100 \ --recorded-by admin \ --change-commentary "Adding test change reason via CLI"