Skip to content

Instantly share code, notes, and snippets.

@artistro08
Created March 3, 2023 01:33
Show Gist options
  • Save artistro08/7a021947d26d59fe2b11621b332f7708 to your computer and use it in GitHub Desktop.
Save artistro08/7a021947d26d59fe2b11621b332f7708 to your computer and use it in GitHub Desktop.
Add October CMS Commands to VS Code
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "october:install",
"type": "shell",
"command": "php artisan october:install",
"problemMatcher": []
},
{
"label": "october:migrate",
"type": "shell",
"command": "php artisan october:migrate",
"problemMatcher": []
},
{
"label": "october:update",
"type": "shell",
"command": "php artisan october:update",
"problemMatcher": []
},
{
"label": "theme:install",
"type": "shell",
"command": "php artisan theme:install ${input:themeCode}",
"problemMatcher": []
},
{
"label": "plugin:install",
"type": "shell",
"command": "php artisan theme:install ${input:pluginCode}",
"problemMatcher": []
},
{
"label": "Open in Browser",
"type": "shell",
"command": "valet open",
"problemMatcher": []
}
],
"inputs": [
{
"description": "Theme Code",
"id": "themeCode",
"type": "promptString"
},
{
"description": "Plugin Code",
"id": "pluginCode",
"type": "promptString"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment