๐Ÿ“ฆ Geequlim / command-panel

Run commands by one click for VSCode

โ˜… 2 stars โ‘‚ 1 forks ๐Ÿ‘ 2 watching โš–๏ธ MIT License
๐Ÿ“ฅ Clone https://github.com/Geequlim/command-panel.git
HTTPS git clone https://github.com/Geequlim/command-panel.git
SSH git clone git@github.com:Geequlim/command-panel.git
CLI gh repo clone Geequlim/command-panel
Geequlim Geequlim Fix duplicated run icon in new version of VSCode 8be9b59 3 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ .vscode
๐Ÿ“ media
๐Ÿ“ src
๐Ÿ“„ .editorconfig
๐Ÿ“„ .eslintrc.json
๐Ÿ“„ .gitignore
๐Ÿ“„ .vscodeignore
๐Ÿ“„ .yarnrc
๐Ÿ“„ CHANGELOG.md
๐Ÿ“„ LICENSE
๐Ÿ“„ package.json
๐Ÿ“„ README.md
๐Ÿ“„ tsconfig.json
๐Ÿ“„ webpack.config.js
๐Ÿ“„ yarn.lock
๐Ÿ“„ README.md

Run commands by one click

This plugin provides a panel for defining a series of common commands that can be executed with one click. This plugin is activated when the .vscode/commands.yaml file exists in your project which is the definition file of your commands. ``typescript interface ICommand { /** Command name, the title displayed in the command palette */ name: string; /** The title of the command execution in terminal panel */ title?: string; /** Command description, hint description after the command name */ description?: string; /** The prompt message when the mouse is hovered */ tooltip?: string; /** * The execution content of the command * When an array given the commands will be executed one by one */ command?: string | string[]; /** Subtask list */ actions?: ICommand[]; } ` <details> <summary>Configuration Example</summary> `yaml # .vscode/commands.yaml - name: LayaAir ๅผ€ๅ‘ actions: - name: dev description: ๅฏๅŠจๅผ€ๅ‘็ผ–่ฏ‘ๆœๅŠก command: yarn concurrently -k "yarn serve" "yarn webpack --config laya/webpack.config.js --watch --env esbuild=true entry=develop ws=3102" - name: dev:full description: ็ผ–่ฏ‘ๅ…จ้ƒจๅนณๅฐ็ป„ไปถ command: yarn concurrently -k "yarn serve" "yarn webpack --config laya/webpack.config.js --watch --env esbuild=true entry=all ws=3102" - name: ็”Ÿๆˆ Laya3D ไปฃ็  description: ไปŽ Unity ๅฏผๅ‡บ็š„่ต„ๆบ็”Ÿๆˆ็ป‘ๅฎšไปฃ็  command: node tools/bin/cli.js laya laya/laya3d.yaml - name: FairyGUI ๅฏผๅ‡บ description: ้œ€่ฆๆฟ€ๆดปไธ“ไธš็‰ˆๆœฌ FairyGUI command: node tools/bin/cli.js fairygui laya - name: CLI ๅทฅๅ…ท actions: - name: dev description: ๅฏๅŠจ็ผ–่ฏ‘ๆœๅŠก command: yarn webpack --config tools/webpack.config.js --watch --env esbuild=true target=ES2020 - name: Unity ๅผ€ๅ‘ actions: - name: dev description: ๅฏๅŠจๅผ€ๅ‘็ผ–่ฏ‘ๆœๅŠก command: yarn concurrently -k "yarn serve" "yarn webpack --config unity/webpack.config.js --watch --env ws=3102 esbuild=true entry=dev" - name: dev:full description: ๅฏๅŠจ็ผ–่ฏ‘ๅ…จ้ƒจๆœๅŠก command: yarn concurrently -k "yarn serve" "yarn webpack --config laya/webpack.config.js --watch --env esbuild=true entry=all ws=3102" ``