Sprites exec

Hi. I’m playing around with Sprites. Ultimately I’d like to do something more complicated, but ATM I can’t even get an example command with arguments working. From the docs:

sprite exec ls -la

My mac (zshell) returns

Error: unknown shorthand flag: ‘l’ in -la

So I tried wrapping the command

sprite exec “ls -la”

executable file ls -la not found in $PATH: No such file or directory

So, IDK. Feeling dumb and would love some help. Thanks!

sprite is interpreting -la as being for sprite instead of for ls. You can separate the command with sprite exec -- ls -la. I’ve fixed the help page for the next release!

Related: be careful about oblique quotes; they are not likely to work.