You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: make w3 up --no-wrap work as advertised. (#160)
Fix and test handling of `--wrap` option to `w3 up`
| flag | result |
|--------------|-------------|
| undefined | wrap: true |
| --wrap | wrap: true |
| --wrap true | wrap: true |
| --wrap=true | wrap: true |
| --wrap false | wrap: false |
| --wrap=false | wrap: false |
| --no-wrap | wrap: false |
Also normalises the behaviour of other boolean flags to `w3 up` so we
can set them like `w3 up --hidden=${{input.hidden}}` in scripts, where
it would be fiddly to optionally include a flag. see:
https://github.com/web3-storage/add-to-web3/pull/89/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6R51
License: MIT
---------
Signed-off-by: Oli Evans <oli@protocol.ai>
0 commit comments