Redesign Zed Gist sync workflow
This commit is contained in:
+66
-53
@@ -79,8 +79,8 @@
|
||||
"export-dialog"
|
||||
],
|
||||
"allow_concurrent_runs": false,
|
||||
"reveal": "never",
|
||||
"hide": "always",
|
||||
"reveal": "always",
|
||||
"hide": "never",
|
||||
"show_summary": false,
|
||||
"show_command": false,
|
||||
"save": "all"
|
||||
@@ -93,81 +93,94 @@
|
||||
"import-dialog"
|
||||
],
|
||||
"allow_concurrent_runs": false,
|
||||
"reveal": "never",
|
||||
"hide": "always",
|
||||
"show_summary": false,
|
||||
"show_command": false,
|
||||
"save": "all"
|
||||
},
|
||||
{
|
||||
"label": "Zed Settings: Configure GitHub Gist...",
|
||||
"command": "node",
|
||||
"args": [
|
||||
"__SYNC_SCRIPT__",
|
||||
"gist-configure"
|
||||
],
|
||||
"allow_concurrent_runs": false,
|
||||
"reveal": "no_focus",
|
||||
"reveal": "always",
|
||||
"hide": "never",
|
||||
"show_summary": false,
|
||||
"show_command": false,
|
||||
"save": "all"
|
||||
},
|
||||
{
|
||||
"label": "Zed Settings: Show GitHub Gist Status",
|
||||
"label": "Zed Settings: Set Up / Reconfigure Sync...",
|
||||
"command": "node",
|
||||
"args": [
|
||||
"__SYNC_SCRIPT__",
|
||||
"gist-status"
|
||||
"setup"
|
||||
],
|
||||
"allow_concurrent_runs": false,
|
||||
"reveal": "no_focus",
|
||||
"reveal": "always",
|
||||
"hide": "never",
|
||||
"show_summary": false,
|
||||
"show_summary": true,
|
||||
"show_command": false,
|
||||
"save": "all"
|
||||
},
|
||||
{
|
||||
"label": "Zed Settings: Push to GitHub Gist",
|
||||
"label": "Zed Settings: Show Sync Status",
|
||||
"command": "node",
|
||||
"args": [
|
||||
"__SYNC_SCRIPT__",
|
||||
"gist-push"
|
||||
],
|
||||
"allow_concurrent_runs": false,
|
||||
"reveal": "no_focus",
|
||||
"hide": "never",
|
||||
"show_summary": false,
|
||||
"show_command": false,
|
||||
"save": "all"
|
||||
},
|
||||
{
|
||||
"label": "Zed Settings: Pull from GitHub Gist",
|
||||
"command": "node",
|
||||
"args": [
|
||||
"__SYNC_SCRIPT__",
|
||||
"gist-pull"
|
||||
],
|
||||
"allow_concurrent_runs": false,
|
||||
"reveal": "no_focus",
|
||||
"hide": "never",
|
||||
"show_summary": false,
|
||||
"show_command": false,
|
||||
"save": "all"
|
||||
},
|
||||
{
|
||||
"label": "Zed Settings: Authenticate GitHub...",
|
||||
"command": "powershell",
|
||||
"args": [
|
||||
"-NoExit",
|
||||
"-Command",
|
||||
"Remove-Item Env:GH_TOKEN,Env:GITHUB_TOKEN -ErrorAction SilentlyContinue; gh auth login"
|
||||
"status"
|
||||
],
|
||||
"allow_concurrent_runs": false,
|
||||
"reveal": "always",
|
||||
"hide": "never",
|
||||
"show_summary": false,
|
||||
"show_command": true,
|
||||
"show_command": false,
|
||||
"save": "all"
|
||||
},
|
||||
{
|
||||
"label": "Zed Settings: Push Now",
|
||||
"command": "node",
|
||||
"args": [
|
||||
"__SYNC_SCRIPT__",
|
||||
"push"
|
||||
],
|
||||
"allow_concurrent_runs": false,
|
||||
"reveal": "always",
|
||||
"hide": "never",
|
||||
"show_summary": false,
|
||||
"show_command": false,
|
||||
"save": "all"
|
||||
},
|
||||
{
|
||||
"label": "Zed Settings: Pull Now",
|
||||
"command": "node",
|
||||
"args": [
|
||||
"__SYNC_SCRIPT__",
|
||||
"pull"
|
||||
],
|
||||
"allow_concurrent_runs": false,
|
||||
"reveal": "always",
|
||||
"hide": "never",
|
||||
"show_summary": false,
|
||||
"show_command": false,
|
||||
"save": "all"
|
||||
},
|
||||
{
|
||||
"label": "Zed Settings: Enable Automatic Sync",
|
||||
"command": "node",
|
||||
"args": [
|
||||
"__SYNC_SCRIPT__",
|
||||
"auto-enable"
|
||||
],
|
||||
"allow_concurrent_runs": false,
|
||||
"reveal": "always",
|
||||
"hide": "never",
|
||||
"show_summary": false,
|
||||
"show_command": false,
|
||||
"save": "all"
|
||||
},
|
||||
{
|
||||
"label": "Zed Settings: Disable Automatic Sync",
|
||||
"command": "node",
|
||||
"args": [
|
||||
"__SYNC_SCRIPT__",
|
||||
"auto-disable"
|
||||
],
|
||||
"allow_concurrent_runs": false,
|
||||
"reveal": "always",
|
||||
"hide": "never",
|
||||
"show_summary": false,
|
||||
"show_command": false,
|
||||
"save": "none"
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user