McKael / madonctl

CLI client for the Mastodon social network API
MIT License
194 stars 9 forks source link

The --command option doesn't accept arguments #25

Open ghaspias opened 4 years ago

ghaspias commented 4 years ago

It would be useful to be able to invoke a coomand with arguments, such as: madonctl stream --command "lua.exe myscript.lua"

Currently this does not work (tested on Windows 10 only).

https://github.com/McKael/madonctl/blob/8d3e9fa1028569dd4d6dbdfbe777c39f5b721650/cmd/utils.go#L157