cli icon indicating copy to clipboard operation
cli copied to clipboard

Toolchain produces malformed values

Open denismakogon opened this issue 5 years ago • 0 comments

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.

denismakogon avatar Oct 23 '18 09:10 denismakogon