Skip to content

Commit d2bd87c

Browse files
authored
Add files via upload
1 parent a99fc63 commit d2bd87c

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

README.md

+15-11
Original file line numberDiff line numberDiff line change
@@ -97,22 +97,26 @@ Ok this can get a little bit complicated because there is a variety of operatin
9797
To understand why all this may become an issue, we need to take a look at how communication between dragonfly and the plugin works.
9898

9999

100-
Probably by far the most convenient way is via sublime comand line interface. This is the default method used. The script invokes the subl cli tool with a command like that:
100+
Probably by far the most convenient way is via sublime comand line interface. This is the default method used. For example after a command of the form
101101

102-
``` bash
103-
subl --command python_voice_coding_plugin
104-
{ "arg" :
102+
```python
103+
"[smart] [<adjective>] argument <argument_index>"
104+
```
105+
like
106+
107+
```
108+
"first argument 2"
109+
```
105110

106-
{
107-
111+
The script invokes the subl cli tool with a command like that:
112+
113+
``` bash
114+
subl --command python_voice_coding_plugin { "arg" : {
108115
"command":"argument",
109116
"format":1,
110117
"adjective":"first",
111-
"index":2,
112-
113-
}
114-
115-
118+
"argument_index":2,
119+
}
116120
}
117121
```
118122
So effectively we trigger the command our plugin provides in its top file and pass information about the type of query we want and the parameters we used as a dict encoded as a json string.

0 commit comments

Comments
 (0)