Skip to main content

task-pipeliner

Condition-based Task Pipeline Runner

A modern workflow automation tool that lets you define complex task pipelines using simple YAML or JSON files. Supports conditional execution, parallel processing, interactive prompts, and beautiful terminal output.

npm install -g task-pipeliner

Start with Simple YAML

Define workflows declaratively with YAML instead of complex scripts.

workflow.yaml
name: Build and Deploy

baseDir: ./

steps:
  # 1. User choice
  - choose:
      message: "Select deployment environment:"
      options:
        - id: dev
          label: "Development"
        - id: prod
          label: "Production"
      as: env

  # 2. Conditional execution
  - when:
      var:
        env: dev
    run: 'npm run build:dev'

  - when:
      var:
        env: prod
    run: 'npm run build:prod'

  # 3. Parallel execution
  - parallel:
      - run: 'npm test'
      - run: 'npm run lint'

  # 4. Deploy after file check
  - when:
      file: ./dist
    run: 'npm run deploy'
$task-pipeliner run workflow.yaml

Key Features

Discover the powerful features that task-pipeliner offers

🎯

Condition-based Execution

Execute steps based on file existence, user selection, environment variables, and more

  • File existence checks
  • Variable value comparisons
  • User selection validation
  • Complex logic with all/any/not

Parallel Execution

Run multiple tasks simultaneously to save time

  • Execute multiple steps concurrently
  • Isolated workspace state per branch
  • Wait for all steps to complete
  • Stop if any step fails
💬

Interactive Prompts

Request user input and selections during execution

  • Text input prompts
  • Selection menus
  • Default value support
  • Store results as variables
🎨

Beautiful Output

Real-time terminal output with colors and formatting

  • Color-coded output
  • Real-time streaming
  • Formatted step display
  • Error highlighting
🔄

Variable Substitution

Use variables throughout workflows with {{variable}} syntax

  • Store user input as variables
  • Use in commands
  • Check in conditions
  • Case-sensitive variable names

워크플로우 스케줄링

크론 표현식을 사용한 자동 워크플로우 실행

  • 크론 기반 스케줄링
  • 데몬 모드로 백그라운드 실행
  • 실시간 상태 모니터링
  • 타임존 지원

Use Cases

Various scenarios you can solve with task-pipeliner

CI/CD Pipeline

Automate build, test, and deployment workflows

Example:cicd.yaml
View Example

Monorepo Workflow

Manage multiple projects in a single repository

Example:monorepo-example/
View Example

Development Environment

Set up and manage development environments

Example:simple-project/
View Example

Interactive Scripts

Create interactive scripts with user prompts and selections

Example:prompt.yaml, choose.yaml
View Example