as the title says, is there a way to add shared config variables to a pipeline that has been created using the cli via a yml file without using the GUI?
Hello and welcome to the Codefresh community!
Yes it is possible. You can just use the codefresh cli to add/edit entries under the “contexts” fields
in the pipeline definition
Codefresh API · Codefresh | Docs (see the
contexts field description)
For editing shared configuration entries with the CLI, this is also possible Codefresh CLI Documentation
Let me know if you need more clarifications.