job describe

For experimental.

Add a description to a background job.

Command Type

built-in

Signature

> job describe {flags} (id) (description)

Parameters

  • id: The id of the job to describe.
  • description: The description to assign to the job.

Input/output types:

input output
nothing nothing

Examples

Describe a newly spawned job.

> let id = job spawn { sleep 10sec }; job describe $id abc

Remove the description of a job.

> let id = job spawn { sleep 10sec }; job describe $id abc; job describe $id null

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.