...
...
...
...
Excerpt |
---|
This tutorial goes step by step through creating a custom widget. |
Table of Contents
Table of Contents | ||||
---|---|---|---|---|
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
set CLUSTER="..." set TOKEN="..." |
...
...
Code Block | ||
---|---|---|
| ||
squirro_widget ^
--cluster %CLUSTER% ^
--token %TOKEN% ^
upload ^
--config '{"directory": "result_list_fancy", "title": "Fancy Result List", "baseWidget": "Search", "author": "Developer Name", "description": "Displays a fancy result list"}' |
Note that the lines have been wrapped with the circumflex (^) at the end of each line. On Mac and Linux you will need to use backslash (\) instead.
This command assumes that you have set the variables CLUSTER and TOKEN as described in the Set up Connection section above.
...
Code Block | ||
---|---|---|
| ||
squirro_widget ^ --cluster %CLUSTER% ^ --token %TOKEN% ^ upload ^ --config '{"directory": "clock", "title": "Clock"}' |
Note that the lines have been wrapped with the circumflex (^) at the end of each line. On Mac and Linux you will need to use backslash (\) instead.
This command assumes that you have set the variables CLUSTER and TOKEN as described in the Set up Connection section above.
...