-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Plugin auto complete system #77
Labels
new
New feature or request
Comments
List of commandsThe plugin should implement a function function scope.help()
return {
{'connect', scope.arg('dev_name', scope.dyn)},
{'disconnect'},
{'write', scope.arg('characteristic', scope.dyn), scope.arg('data', scope.str)}
{'read', scope.arg('characteristic', scope.dyn)},
{'track', scope.arg('characteristic', scope.dyn), scope.arg('mode', scope.options('last', 'all'))},
}
end Types of arguments
Resolve the dynamic argumentfunction scope.resolve(command, argument)
if argument == 'characteristic' then
return scope.ble_chars()
end
end |
Do help for |
This was referenced Feb 20, 2024
It'll be made on #98 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dependencies
The text was updated successfully, but these errors were encountered: