Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 793 Bytes

File metadata and controls

38 lines (25 loc) · 793 Bytes
title task send
description Send input to a task

Send input to a task

Usage

coder task send [flags] <task> [<input> | --stdin]

Description

Send input to a task. If the task is paused, it will be automatically resumed before input is sent. If the task is initializing, it will wait for the task to become ready.
  - Send direct input to a task:

     $ coder task send task1 "Please also add unit tests"

  - Send input from stdin to a task:

     $ echo "Please also add unit tests" | coder task send task1 --stdin

Options

--stdin

Type bool

Reads the input from stdin.