Thank you cblake i got it to work now!
dispatch(cli, doc = """
Foo
baa
""")
before i tried:
const help = "some help"
dispatch(cli, doc = help)
without noticing that not the content of the help string was printed but the variable name. It might be a good idea if that would also be possible.