The CLI supports the ability to work with spec
files when working with resources.
The supported formats are yaml
and json
.
Check each specific resource spec
for its documentation
codefresh get
Get a resource from a file, directory or url
Supported resources:.
codefresh create
Create a resource from a file, directory or url
Supported resources:
codefresh delete
Delete a resource from a file, directory or url
Supported resources:
codefresh patch
Patch a resource from a file, directory or url
Patch operation will apply only passed changes to an existing resource and will throw an error if the resource does not exist.
Supported resources:
codefresh upgrade
Upgrade a resource from a file, directory or url
Upgrade operation will apply only passed changes to an existing resource and will throw an error if the resource does not exist.
Supported resources:
codefresh replace
Replace a resource from a file, directory or url
Supported resources:
codefresh diff
Show diff between two resources
Supported resources: runtime-environments.