The problem
Although the vscode extension updates itself automatically every time we push a new version, the same is not true of cursorless-talon. The only way to update the talon side is for the user to manually do a git pull. Although we have been advised against automatically touching anything in the user's talon home directory, we'd like to make it as easy as possible for the user to perform the talon-side upgrade.
The solution
Add a task provider that can perform an upgrade
Things to think about
The problem
Although the vscode extension updates itself automatically every time we push a new version, the same is not true of
cursorless-talon. The only way to update the talon side is for the user to manually do agit pull. Although we have been advised against automatically touching anything in the user's talon home directory, we'd like to make it as easy as possible for the user to perform the talon-side upgrade.The solution
Add a task provider that can perform an upgrade
cursorless-talon.user.vscode_with_plugin("workbench.action.tasks.runTask", "Task name")Things to think about
cursorless-talondirectory is cleancursorless-talonrepo