# gulp-command-task

> Execute command line processes from a gulp task (have it look pretty and do logging, if you like).

Latest version **0.1.1** (published 2015-01-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install gulp-command-task
pnpm add gulp-command-task
yarn add gulp-command-task
bun add gulp-command-task
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2015-01-02 |
| First published | 2015-01-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sean P Kennedy |
| Maintainers | seanpkps |
| Keywords | command, cli, gulp, task, execute, spawn, invoke, run, exec |

## Links

- npm: https://www.npmjs.com/package/gulp-command-task
- Repository: https://github.com/PointSource/gulp-command-task
- Issues: https://github.com/PointSource/gulp-command-task/issues
- npm.io page: https://npm.io/package/gulp-command-task

## Dependencies (3)

- [q](https://npm.io/package/q.md) ^1.1.2
- [gulp](https://npm.io/package/gulp.md) ^3.8.10
- [simple-command](https://npm.io/package/simple-command.md) ^0.1.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2015-01-02
- 0.1.0 — 2015-01-02

## README

# gulp-command-task

Execute command line processes from a gulp task (have it look pretty and do logging, if you like).

## usage

get it: `npm install --save gulp-command-task`

use it:

```javascript
var CommandTask = require('gulp-command-task');
var gulp = require('gulp');

var listPkgRootWithFullOutput = new CommandTask('ls -Alh', '.');
listPkgRootWithFullOutput.tuneOutput('none');

var listPkgRecursivelyToFile = new CommandTask('ls -ARlh', '.', '.');
var gulptask = listPkgRecursivelyToFile.registerGulpTask('ls-ARlh_package');
listPkgRecursivelyToFile.tuneOutput(10, {
	pre: 'Recursively listing your home directory.',
	post: 'You can find the output in ' + listPkgRecursivelyToFile.name + '.log.'
});

listPkgRootWithFullOutput.start()
.then(function () {
	gulptask.fn();
});
```

## docs

[Generated API Docs](docs/md/CommandTask.md).

## more examples?

Check out the [tests](tests/).

---
_Source: https://npm.io/package/gulp-command-task · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
