What is the right place to validate command line parameters to kedro run? Let's say I want to check if parameter A has been passed (kedro run --params=a=1) if "env" is local and parameter C exists when env is "prod". It would be great if the process just stops with an error message and not a stack trace.
so you could define a before_pipeline_run
hook which insects things. At that point you could do some if/else/raise
logic or use something like Pydantic so you get validation superpowers
https://docs.kedro.org/en/stable/hooks/index.html