Fork me on GitHub
#babashka
<
2021-04-28
>
Ian Fernandez01:04:06

there’s a port for rebel readline for babashka?

borkdude08:04:51

@d.ian.b Not aware of any such thing

Karol Wójcik14:04:45

Hmm.. I would like to send to shell command list of capabilities: Something like:

sam deploy --template-file blabla --stack-name blabla --region some-region --capabilities CAPABILITY1 CAPABILITY2
I've tried:
(shell "sam" "deploy"
             "--template-file" blabla
             "--stack-name" blabla
             "--region" blabla
             (when CAPABILITIES
               "--capabilities")
             CAPABILITIES)

Where CAPABILITIES is: "CAPABILITY1 CAPABILITY2".
How can I splice those arguments?

Karol Wójcik14:04:42

Just use apply 😄