There is no way to set an input value other than a string.
- Set a text value:
dagger input string
- Set an int value: ?
- Set an arbitrary value from json: ?
- Set an arbitrary value from yaml: ?
My test case is changing the node count of a kubernetes cluster:
dagger input set XXX cluster.nodes 42
Where XXX could be:
- int
- number
- json
- value
- nothing (
dagger input set cluster.nodes 42)
I have a slight preference for value with an optional —format=json|yaml|text|cue flag. The default format would be json.
dagger input text would be a shortcut for dagger input value -f text.
I could set my cluster size with dagger input set value cluster.nodes 42.
There is no way to set an input value other than a string.
dagger input stringMy test case is changing the node count of a kubernetes cluster:
Where XXX could be:
dagger input set cluster.nodes 42)I have a slight preference for
valuewith an optional—format=json|yaml|text|cueflag. The default format would be json.dagger input textwould be a shortcut fordagger input value -f text.I could set my cluster size with
dagger input set value cluster.nodes 42.