@emdaer/cli
emdaer CLI
Last updated 2 months ago by flipactual .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @emdaer/cli 
SYNC missed versions from official npm registry.

@emdaer/cli · Travis Documented with emdaer Maintained with lerna

emdaer CLI

Usage

@emdaer/cli is the emdaer cli – see the emdaer monorepo for more information

Documentation

Adding emdaer to your project

We recommend using emdaer with lint-staged and husky.

Install dependencies:

npm install --save-dev @emdaer/cli @emdaer/plugin-value-from-package lint-staged husky

or with yarn:

yarn add @emdaer/cli @emdaer/plugin-value-from-package lint-staged husky -D

Follow the lint-staged setup instructions.

{
  "scripts": {
+   "emdaer": "emdaer && git add *.md",
+   "precommit": "lint-staged"
  }
}

In your lint-staged config file add an entry for emdaer:

module.exports = {
  '*.js': ['eslint --fix', 'prettier --write', 'git add'],
+ '*.emdaer.md': ['emdaer --yes', 'git add'],
};

NOTE: In the case of a precommit hook (or CI/other automation), we don’t want to be prompted about anything. The --yes flag will automatically answer “yes” to any prompts. For example, it will make emdaer write your READMEs without prompting about overwritting direct changes to a destination README file.

Add a .emdaer/README.emdaer.md file:

# <!--emdaer-p
  - '@emdaer/plugin-value-from-package'
  - value: name
-->

And give it a whirl:

npm run emdaer

When you commit your changes, lint-staged will run emdaer on any *.emdaer.md files you may have changed.

Manual Usage

emdaer can be run manually against files by providing space separated file paths:

npm run emdaer -- .emdaer/README.emdaer.md .emdaer/CONTRIBUTING.emdaer.md

If emdaer is not provided a path, the default glob .emdaer/**/*.emdaer.md is searched:

npm run emdaer

NOTE: By default, emdaer checks for existing changes to your READMEs before writing. If it detects changes, it will provide a prompt asking if you would like to overwrite the README with the newly generated content. If you accidentally edited the README directly, you will want to answer n to the prompt, move any changes to the respective .emdaer/*.emdaer.md file, and rerun emdaer. If you would like to discard those changes, answer Y to the prompt or use the --yes flag to skip the prompt all together. In both cases, emdaer will overwrite the README with the newly generated content.

Current Tags

  • 3.2.31                                ...           latest (2 months ago)

136 Versions

  • 3.2.31                                ...           2 months ago
  • 3.2.30                                ...           2 months ago
  • 3.2.27                                ...           a year ago
  • 3.2.26                                ...           a year ago
  • 3.2.25                                ...           a year ago
  • 3.2.24                                ...           a year ago
  • 3.2.23                                ...           a year ago
  • 3.2.22                                ...           a year ago
  • 3.2.21                                ...           a year ago
  • 3.2.20                                ...           a year ago
  • 3.2.19                                ...           a year ago
  • 3.2.18                                ...           a year ago
  • 3.2.17                                ...           a year ago
  • 3.2.16                                ...           a year ago
  • 3.2.15                                ...           a year ago
  • 3.2.14                                ...           a year ago
  • 3.2.13                                ...           a year ago
  • 3.2.12                                ...           a year ago
  • 3.2.11                                ...           a year ago
  • 3.2.10                                ...           a year ago
  • 3.2.9                                ...           a year ago
  • 3.2.8                                ...           a year ago
  • 3.2.7                                ...           a year ago
  • 3.2.6                                ...           a year ago
  • 3.2.5                                ...           a year ago
  • 3.2.4                                ...           a year ago
  • 3.2.3                                ...           2 years ago
  • 3.2.2                                ...           2 years ago
  • 3.2.1                                ...           2 years ago
  • 3.2.0                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.8.12 [deprecated]           ...           2 years ago
  • 1.8.11 [deprecated]           ...           2 years ago
  • 1.8.10 [deprecated]           ...           2 years ago
  • 1.8.9 [deprecated]           ...           2 years ago
  • 1.8.8 [deprecated]           ...           2 years ago
  • 1.8.7 [deprecated]           ...           2 years ago
  • 1.8.6 [deprecated]           ...           2 years ago
  • 1.8.5 [deprecated]           ...           2 years ago
  • 1.8.4 [deprecated]           ...           2 years ago
  • 1.8.3 [deprecated]           ...           2 years ago
  • 1.8.2                                ...           2 years ago
  • 1.8.1                                ...           2 years ago
  • 1.8.0                                ...           2 years ago
  • 1.7.0                                ...           2 years ago
  • 1.6.20                                ...           2 years ago
  • 1.6.19                                ...           2 years ago
  • 1.6.18                                ...           2 years ago
  • 1.6.17                                ...           2 years ago
  • 1.6.16                                ...           3 years ago
  • 1.6.15                                ...           3 years ago
  • 1.6.14                                ...           3 years ago
  • 1.6.13                                ...           3 years ago
  • 1.6.12                                ...           3 years ago
  • 1.6.11                                ...           3 years ago
  • 1.6.10                                ...           3 years ago
  • 1.6.9                                ...           3 years ago
  • 1.6.8                                ...           3 years ago
  • 1.6.7                                ...           3 years ago
  • 1.6.6                                ...           3 years ago
  • 1.6.5                                ...           3 years ago
  • 1.6.4                                ...           3 years ago
  • 1.6.3                                ...           3 years ago
  • 1.6.2                                ...           3 years ago
  • 1.6.1                                ...           3 years ago
  • 1.6.0                                ...           3 years ago
  • 1.5.50                                ...           3 years ago
  • 1.5.49                                ...           3 years ago
  • 1.5.48                                ...           3 years ago
  • 1.5.47                                ...           3 years ago
  • 1.5.46                                ...           3 years ago
  • 1.5.45                                ...           3 years ago
  • 1.5.44                                ...           3 years ago
  • 1.5.43                                ...           3 years ago
  • 1.5.42                                ...           3 years ago
  • 1.5.41                                ...           3 years ago
  • 1.5.40                                ...           3 years ago
  • 1.5.39                                ...           3 years ago
  • 1.5.38                                ...           3 years ago
  • 1.5.37                                ...           3 years ago
  • 1.5.36                                ...           3 years ago
  • 1.5.35                                ...           3 years ago
  • 1.5.34                                ...           3 years ago
  • 1.5.33                                ...           3 years ago
  • 1.5.32                                ...           3 years ago
  • 1.5.31                                ...           3 years ago
  • 1.5.30                                ...           3 years ago
  • 1.5.29                                ...           3 years ago
  • 1.5.28                                ...           3 years ago
  • 1.5.27                                ...           3 years ago
  • 1.5.26                                ...           3 years ago
  • 1.5.25                                ...           3 years ago
  • 1.5.24                                ...           3 years ago
  • 1.5.23                                ...           3 years ago
  • 1.5.22                                ...           3 years ago
  • 1.5.21                                ...           3 years ago
  • 1.5.20                                ...           3 years ago
  • 1.5.19                                ...           3 years ago
  • 1.5.18                                ...           3 years ago
  • 1.5.17                                ...           3 years ago
  • 1.5.16                                ...           3 years ago
  • 1.5.15                                ...           3 years ago
  • 1.5.14                                ...           3 years ago
  • 1.5.13                                ...           3 years ago
  • 1.5.12                                ...           3 years ago
  • 1.5.11                                ...           3 years ago
  • 1.5.10                                ...           3 years ago
  • 1.5.9                                ...           3 years ago
  • 1.5.8                                ...           3 years ago
  • 1.5.7                                ...           3 years ago
  • 1.5.6                                ...           3 years ago
  • 1.5.5                                ...           3 years ago
  • 1.5.4                                ...           3 years ago
  • 1.5.3                                ...           3 years ago
  • 1.5.2                                ...           3 years ago
  • 1.4.0                                ...           3 years ago
  • 1.2.2                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 1.0.0-beta.2                                ...           3 years ago
  • 1.0.0-beta.1                                ...           3 years ago
  • 1.0.0-beta.0                                ...           3 years ago
  • 1.0.0-alpha.11 [deprecated]           ...           3 years ago
  • 1.0.0-alpha.10 [deprecated]           ...           3 years ago
  • 1.0.0-alpha.9 [deprecated]           ...           3 years ago
  • 1.0.0-alpha.8 [deprecated]           ...           3 years ago
  • 1.0.0-alpha.7 [deprecated]           ...           3 years ago
  • 1.0.0-alpha.5 [deprecated]           ...           3 years ago
Downloads
Today 0
This Week 0
This Month 138
Last Day 0
Last Week 136
Last Month 31
Dependencies (7)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |