Skip to content

Commit

Permalink
Docs: Align README with CLI.md (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Cordes authored and phated committed Dec 21, 2017
1 parent 915f638 commit 48d9b48
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Command Line Utility for Gulp
## Usage

```bash
> gulp [flags] tasks
> gulp [flags] <task> <task>...
```

## Custom Metadata
Expand Down Expand Up @@ -52,7 +52,19 @@ gulp.task(build);

## Tasks

Tasks can be executed by running `gulp <task> <othertask>`. Just running `gulp` will execute the task you registered called `default`. If there is no `default` task, gulp will error.
The task(s) listed on the command line will be executed.
If more than one task is listed, Gulp will execute all of them
concurrently, that is, as if they had all been listed as dependencies of
a single task.

Gulp does not serialize tasks listed on the command line. From using
other comparable tools users may expect to execute something like
`gulp clean build`, with tasks named `clean` and `build`. This will not
produce the intended result, as the two tasks will be executed
concurrently.

Just running `gulp` will execute the task `default`. If there is no
`default` task, gulp will error.

## Completion
> Thanks to the grunt team, specifically Tyler Kellen
Expand Down

0 comments on commit 48d9b48

Please sign in to comment.