Homework
nativefier --help and https://github.com/jiahaog/nativefier/blob/master/docs/api.mdBug description
The application location cannot be set with options neither --x and --y
Invalid argument passed: --x .
Nativefier supports short options (like "-n") and long options (like "--name"), all lowercase. Run "nativefier --help" for help.
Aborting
nor -x and -y.
error: unknown option '-x'
Steps to reproduce
nativefier foobar https://google.com --x 10 --y 10
Expected behavior
The location will be set or a short and long option will be available.
Context
@codekandis thaaaanks for the fast and precise report! Fixed in 42.0.2, available now in npm.
You're sooo much welcome! I really appreciate your hard work on it and I really like what I get from it!
I can confirm the options are working now in 42.0.2. I'd suggest to change the old options --x and --y to the short options -x and -y to become strict with all other options. In conclusion you'd need to introduce the new long options --x-position and y-position in the next major release.
I'd suggest to change the old options
--xand--yto the short options-xand-yto become strict with all other options. In conclusion you'd need to introduce the new long options--x-positionandy-positionin the next major release
@codekandis nope, won't do that, because holy backwards compatibility. I do my best to preserve it, so I prefer a little inconsistency of a special case tested by a unit test over annoying users.
Beside my suggestion I totally agree with that.
Most helpful comment
@codekandis thaaaanks for the fast and precise report! Fixed in 42.0.2, available now in npm.