cli
cli copied to clipboard
Toolchain produces malformed values
With a new feature of fn inspect fn <app> <fn> [attribute]
we can chain CLI calls altogether.
Unfortunately, there's no way to chain the following:
fn config fn <app> <fn> FUNC_ID $(fn inspect fn ${APP} alert id)
this type of functionality is very useful for Flow and Fn Invoke API.
because this chain produces malformed values:
"FUNC_ID": "\"01CT6WQNBHNG8G00GZJ0000027\""
but that has to be:
"FUNC_ID": "01CT6WQNBHNG8G00GZJ0000027"
basically with no escaping chars.