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
yep. still hacking away on it. I have some other stuff I'm spreading my time out on as well. this particular ticket is deceiving because position dependent flags are not really in clap by default. but I think I know a way to accomplish it.
🚀 Goal
Add a new command to the Web5 Rust CLI that allows users to create a presentation definition.
🔑 Tasks
web5 pd create
)Example
web5 pd create Command Structure
Basic Usage
Options
--name <name>
: Set the name of the Presentation Definition--purpose <purpose>
: Set the purpose of the Presentation Definition--input-descriptor <descriptor>
: Add an input descriptor (can be used multiple times)id:name:purpose
--field <field>
: Add a field to the last input descriptor (can be used multiple times)id:name:path:purpose:optional:predicate
path
should be a comma-separated list of stringsoptional
should be "true" or "false"predicate
should be "required" or "preferred"--filter <filter>
: Add a filter to the last field (can be used multiple times)type:pattern:const_value
🌟 Resources
⚡ Getting Started
💭 Questions?
If you have any questions or need clarification, please comment on this issue or join our Discord community.
Happy coding! 🎉
The text was updated successfully, but these errors were encountered: