Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/SamVerschueren/dev-time-cli

Get the current local time of a GitHub user.
https://github.com/SamVerschueren/dev-time-cli

Last synced: 19 days ago
JSON representation

Get the current local time of a GitHub user.

Awesome Lists containing this project

README

        

# dev-time-cli [![Build Status](https://travis-ci.org/SamVerschueren/dev-time-cli.svg?branch=master)](https://travis-ci.org/SamVerschueren/dev-time-cli)

> Get the current local time of a GitHub user.

## Install

```
$ npm install --global dev-time-cli
```

## Usage

```
$ dev-time --help

Usage
$ dev-time ...

Options
-v, --verbose Show UTC offset.
--format The moment format of the output. [Default: HH:mm - D MMM. YYYY]
--token The GitHub authentication token.

Examples
$ dev-time SamVerschueren
19:47 - 8 Dec. 2015

$ dev-time SamVerschueren sindresorhus
SamVerschueren
19:47 - 8 Dec. 2015
sindresorhus
18:47 - 8 Dec. 2015

$ dev-time SamVerschueren -v
19:47 - 8 Dec. 2015 - UTC+1

$ dev-time SamVerschueren --format DD-MM-YYYY
07-12-2015
```

## Related

- [dev-time](https://github.com/SamVerschueren/dev-time) - API for this module

## License

MIT © [Sam Verschueren](http://github.com/SamVerschueren)