current-year-cli
Version:
CLI that just prints the current year.
87 lines (46 loc) • 3.37 kB
Markdown
# current-year-cli
<a href="https://raw.githubusercontent.com/jaid/current-year-cli/master/license.txt"><img src="https://img.shields.io/github/license/jaid/current-year-cli?style=flat-square" alt="License"/></a> <a href="https://github.com/sponsors/jaid"><img src="https://img.shields.io/badge/<3-Sponsor-FF45F1?style=flat-square" alt="Sponsor current-year-cli"/></a>
<a href="https://actions-badge.atrox.dev/jaid/current-year-cli/goto"><img src="https://img.shields.io/endpoint.svg?style=flat-square&url=https%3A%2F%2Factions-badge.atrox.dev%2Fjaid%2Fcurrent-year-cli%2Fbadge" alt="Build status"/></a> <a href="https://github.com/jaid/current-year-cli/commits"><img src="https://img.shields.io/github/commits-since/jaid/current-year-cli/v2.0.0?style=flat-square&logo=github" alt="Commits since v2.0.0"/></a> <a href="https://github.com/jaid/current-year-cli/commits"><img src="https://img.shields.io/github/last-commit/jaid/current-year-cli?style=flat-square&logo=github" alt="Last commit"/></a> <a href="https://github.com/jaid/current-year-cli/issues"><img src="https://img.shields.io/github/issues/jaid/current-year-cli?style=flat-square&logo=github" alt="Issues"/></a>
<a href="https://npmjs.com/package/current-year-cli"><img src="https://img.shields.io/npm/v/current-year-cli?style=flat-square&logo=npm&label=latest%20version" alt="Latest version on npm"/></a> <a href="https://github.com/jaid/current-year-cli/network/dependents"><img src="https://img.shields.io/librariesio/dependents/npm/current-year-cli?style=flat-square&logo=npm" alt="Dependents"/></a> <a href="https://npmjs.com/package/current-year-cli"><img src="https://img.shields.io/npm/dm/current-year-cli?style=flat-square&logo=npm" alt="Downloads"/></a>
**CLI that just prints the current year.**
## Installation
<a href="https://npmjs.com/package/current-year-cli"><img src="https://img.shields.io/badge/npm-current--year--cli-C23039?style=flat-square&logo=npm" alt="current-year-cli on npm"/></a>
```bash
npm install --global current-year-cli@^2.0.0
```
<a href="https://yarnpkg.com/package/current-year-cli"><img src="https://img.shields.io/badge/Yarn-current--year--cli-2F8CB7?style=flat-square&logo=yarn&logoColor=white" alt="current-year-cli on Yarn"/></a>
```bash
yarn global add current-year-cli@^2.0.0
```
<a href="https://github.com/jaid/current-year-cli/packages"><img src="https://img.shields.io/badge/GitHub Packages-@jaid/current--year--cli-24282e?style=flat-square&logo=github" alt="@jaid/current-year-cli on GitHub Packages"/></a>
(if [configured properly](https://help.github.com/en/github/managing-packages-with-github-packages/configuring-npm-for-use-with-github-packages))
```bash
npm install --global @jaid/current-year-cli@^2.0.0
```
## CLI Usage
After installing package `current-year-cli` globally, you can use its command line interface.
```bash
current-year-cli
```
For usage instructions:
```bash
current-year-cli --help
```
## Development
Setting up:
```bash
git clone git@github.com:jaid/current-year-cli.git
cd current-year-cli
npm install
```
Testing:
```bash
npm run test:dev
```
Testing in production environment:
```bash
npm run test
```
## License
[MIT License](https://raw.githubusercontent.com/jaid/current-year-cli/master/license.txt)
Copyright © 2020, Jaid \<jaid.jsx@gmail.com> (https://github.com/jaid)