lukechampine / user

A CLI renter for Sia
MIT License
12 stars 2 forks source link

Filename argument to form/renew is handled unintuitively #1

Closed lukechampine closed 5 years ago

lukechampine commented 5 years ago

If you run user form a1b2c3d4 10SC 1000 foo.contract, you would expect the resulting contract to be written to foo.contract, but instead it is written to [contract dir]/foo.contract. The contract is also enabled via symlink. If an explicit filename is provided, user should not try to be smart, it should just write the contract to the specified path.

lukechampine commented 5 years ago

fixed by https://github.com/lukechampine/user/commit/6dce8523e3c12e32375d292df0cbba81e6a9d9dc