wapm-cli icon indicating copy to clipboard operation
wapm-cli copied to clipboard

Make package prefix requirement consistent

Open pannous opened this issue 1 year ago • 0 comments

Currently wapm add needs a prefix, whereas wapm run cannot handle it:

wapm add mark/wasi-version   #OK
wapm add wasi-version # error
wapm run mark/wasi-version  #error
wapm run wasi-version  #OK

Please make package prefix requirement consistent, ideally make prefix optional in wapm add (use first / default) and allow it in wapm run (ignore it).

pannous avatar Feb 16 '23 09:02 pannous