Skip to content

Chef CLI 0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@B-Lorentz B-Lorentz released this 29 Oct 08:42
· 14 commits to main since this release
74d2b66

Two new capabilites are added:

ctx switch

to easily switch into the context of a sync unit without needing to manually copy various environment variables:

$ export DEVREV_TOKEN=$(devrev profiles get-token access)
$ chef-cli ctx switch --env dev
9537fba4-87e5-47eb-b66c-c5315385cb25: jira / Some Test Project
f513e555-d6c7-45e5-a35f-af084e0e88a6: jira / Other Test Project
$ eval $(chef-cli ctx switch --env dev --id 9537fba4-87e5-47eb-b66c-c5315385cb25)

chef-cli ctx switch queries our backend for the list of airdrop syncs, and prints it. When the --id is provided, the context of the sync unit is emitted to environment variable (as a bash command that can be evaled)

Error reporting on 'try transformation'

When trying out a transformation, the jq errors that are found are reported per-field, together with any mismatches in between the format of the output an what DevRev expects. This helps to quickly iterate 'use jq expression' transformations:
image