Simple extension to automate the process of using deployment commands in the terminal and streamline the work environment.
Configuration
Inside your project folder create a file called deploy.json and declare the configuration.
"deploy": [
{
"name": "Start",
"icon": "arrow-up",
"command": "docker compose up"
},
{
"name": "Stop",
"icon": "arrow-down",
"command": "docker compose down"
}
]
Mandatory properties:
- name: the name of the button.
- command: the command to run in the terminal.
Optional properties:
- icon: the icon of the button.
- directory: the directory where the terminal command should be run by default it is the root of the project.
| |