Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(pkg): readme info #497

Merged
merged 5 commits into from
Jun 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions packages/info/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# webpack-cli info

## Description

It returns a set of information related to the local enviroment.

## Installation

```bash
npm i -D @webpack-cli/info
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add an example to this as well, and how to use it?


## Usage

### Node
```js
const envinfo = require("@webpack-cli/info");
envinfo();
```

### CLI (via `webpack-cli`)
```bash
npx webpack-cli info
```