wasmCloud / wash

WAsmcloud SHell - the comprehensive command-line tool for wasmCloud development
https://wasmcloud.com
Apache License 2.0
148 stars 58 forks source link

[FEATURE] Add comands for actor claim management (add/list/remove) #856

Closed vados-cosmonic closed 10 months ago

vados-cosmonic commented 11 months ago

Is your feature request related to a problem? Please describe.

Currently, managing claims (listing, adding, and removing them) on built actors requires writing Rust code (usually by utilizing wascap) -- building this functionality into wash would make it far more accessible to people building actors with wash.

Describe the solution you'd like

Add commands for managing claims on built actors to wash, in particular, users should be able to:

Describe alternatives you've considered

N/A

Additional context

The code for wash inspect is a great place to reference

Consider using an example like echo-wasi-preview2 for testing the build process. Note that it has one claim which is for the httpserver contract

connorsmith256 commented 10 months ago

I think we should merge this with https://github.com/wasmCloud/wasmCloud/issues/842

vados-cosmonic commented 10 months ago

That's a great idea -- I'll close this one for now and make a comment in wasmCloud/wasmCloud#842