# get-gulp-args

> get command line arguments for gulp commands

Latest version **0.0.1** (published 2015-05-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install get-gulp-args
pnpm add get-gulp-args
yarn add get-gulp-args
bun add get-gulp-args
```

## 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.0.1 |
| Published | 2015-05-04 |
| First published | 2015-05-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.10 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | tamtakoe |
| Maintainers | tamtakoe |
| Keywords | gulpplugin, arguments |

## Links

- npm: https://www.npmjs.com/package/get-gulp-args
- Repository: https://github.com/tamtakoe/get-gulp-args
- Issues: https://github.com/tamtakoe/get-gulp-args/issues
- npm.io page: https://npm.io/package/get-gulp-args

## Dependencies (1)

- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.0

## Recent versions

- 0.0.1 (latest) — 2015-05-04

## README

# get-gulp-args [![NPM version](https://badge.fury.io/js/get-gulp-args.svg)](http://badge.fury.io/js/get-gulp-args)

> get cmd arguments for gulp commands

## Install with [npm](npmjs.org)

```sh
npm install get-gulp-args
```

## Usage

```sh
gulp build --dev --main
```

```js
var args = require('get-gulp-args')();

process.env.NODE_ENV = args[0] || 'dev';
process.env.PROJECT  = args[1] || 'main';
```

or

```sh
gulp build --env dev --project main
```

```js
var args = require('get-gulp-args')();

process.env.NODE_ENV = args.env     || 'dev';
process.env.PROJECT  = args.project || 'main';
```


## License

Copyright (c) 2014-2015 Oleg Istomin
Released under the MIT license

***

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