Build Meta can accept any arbitrary data and display it in the UI, assuming it matches the format { [key: string]: string | { url: string, value: string } }. Unfortunately, the CLI does not have any way to set this information.
Solution
Adds a --meta option that takes a string of JSON-encoded, parses it, and attaches it to the Build.
Unifies the arguments that are shared between create-build and upload-build
Fixes #150
TODO
[x] 🤓 Add & update tests (always try to increase test coverage)
[x] 🔬 Ensure CI is passing (yarn lint:ci, yarn test, yarn tsc:ci)
Problem
Build Meta can accept any arbitrary data and display it in the UI, assuming it matches the format
{ [key: string]: string | { url: string, value: string } }
. Unfortunately, the CLI does not have any way to set this information.Solution
--meta
option that takes a string of JSON-encoded, parses it, and attaches it to the Build.create-build
andupload-build
Fixes #150
TODO
yarn lint:ci
,yarn test
,yarn tsc:ci
)