Skip to content

Add help informations for a task  #107

@skurtzemann

Description

@skurtzemann

Request

Ability to add help informations for a task.

Example

version: "2"

tasks:
  "gcloud:docker:push":
    desc: Push Docker image to Google cloud registry
    help: |
        Push Docker image to Google cloud registry.

        The env variable "DOCKER_IMAGE_FQN" define the Docker image name to push.
    silent: true
    cmds:
    - cmd: gcloud docker -- push {{.DOCKER_IMAGE_FQN}}
$ task -l
task: Available tasks for this project:
* gcloud:docker:push: 	Push Docker image to Google cloud registry
$ task help gcloud:docker:push

Push Docker image to Google cloud registry.

The env variable "DOCKER_IMAGE_FQN" define the Docker image name to push

Finally

What do you think ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssues that are good for first-time contributors to pick up.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions