AGENT SKILL

quickstart

暂无简介

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

02 资源文件 7

03 SKILL.md 正文

concurrently - Run Commands Concurrently

Commands

  • concurrently <resource> <action> — Execute concurrently commands
  • concurrently run commands — Run multiple commands concurrently
  • concurrently run kill-others — Run commands concurrently, kill others if one fails
  • concurrently _ _ — Passthrough to concurrently CLI

Overview

concurrently is a CLI tool that runs multiple commands concurrently with better output tracking and error handling. It's cross-platform (including Windows) and makes it easy to track which command is outputting what.

Quick Start

Run commands concurrently

sc concurrently run commands "command1" "command2" "command3"

Run commands with kill-others flag

sc concurrently run kill-others "command1" "command2"

Passthrough to concurrently CLI

sc concurrently _ <concurrently-args>

Key Features

  • Cross Platform: Works on Windows, macOS, and Linux
  • Output Prefixing: Each command's output is prefixed for easy tracking
  • Kill Others: Option to kill all commands if one fails
  • Color Coding: Different colors for each command's output
  • Flexible Input: Can run npm scripts, shell commands, or any executable

Installation

npm install -g concurrently

Usage Examples

Run npm scripts

concurrently "npm run watch-js" "npm run watch-css"

Run shell commands

concurrently "sleep 5 && echo done" "sleep 3 && echo done"

Kill others on first failure

concurrently --kill-others "npm test" "npm run lint"

With custom names

concurrently --names "server,client" "npm run server" "npm run client"

Notes

  • Surround commands with quotes to avoid shell interpretation issues
  • On Windows, use double quotes for commands
  • Can be used in package.json scripts for development workflows
  • Output is easier to follow than using & in shell

04 同仓库更多 Skills