mumoshu / variant2

Turn your bash scripts into a modern, single-executable CLI app today
MIT License
141 stars 11 forks source link

Fix run via shebang to not fail due to redundant/repeated args #26

Closed mumoshu closed 3 years ago

mumoshu commented 3 years ago

There was a regression in the shebang support, that resulted in ./myapp to be internally treated as variant run variant run myapp, which hs been giving you Error: accepts between 0 and 0 arg(s), received 2 errors.