-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cli): include default.toml and capabilities in plugin template #10030
feat(cli): include default.toml and capabilities in plugin template #10030
Conversation
@@ -1,4 +1,4 @@ | |||
const COMMANDS: &[&str] = &["ping", "execute"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any specific reason to remove the execute command in this PR?
This breaks the example app UI which invokes the execute command.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch, I meant to remove it and replace it with ping
, seems like I missed that part, I will update execute
usages to be ping
instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be fixed now
.with_context(|| "failed to create `permissions` directory")?; | ||
|
||
let default_permissions = r#"[default] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nitpick I noticed "too late" is that this should include a reference to the schema file for autocompletion and validation.
"$schema" = "schemas/schema.json"
…auri-apps#10030) * feat(cli): include default.toml and capabilities in plugin template * replace execute usage with ping * add to capabilities * use default permission set
No description provided.