How to make buildkite-agent meta-data get "key" optional

Hey @Joe

Meta data is scoped to a build so if you are trying to access it from another build or pipeline, you need to pass the --job field to the command.
There is also a --default field for the get operation that will be returned if the key does not exist.

You can check out more info in the docs on the meta-data command at buildkite-agent meta-data v3 | Buildkite Documentation