Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lucawen/repoch

Humanize epoch conversions
https://github.com/lucawen/repoch

cli command-line epoch rust rust-lang tools

Last synced: 24 days ago
JSON representation

Humanize epoch conversions

Awesome Lists containing this project

README

        

# REPOCH

[![Build Status](https://travis-ci.com/lucawen/repoch.svg?branch=master)](https://travis-ci.com/lucawen/repoch)
[![Crates.io](https://img.shields.io/crates/v/repoch.svg)](https://crates.io/crates/repoch)

REPOCH is cli to convert epoch timestamp datetime and datetime to timestamp.



Its convert a epoch time from utc to datetime.

#### Building for source
For build the binary just:
```sh
$ cargo build
```
To run, just run this example:
```sh
$ cargo run -- 1558150671
```
### Installation
Install simple typing:s

```sh
cargo install repoch
```

### Documentation
The documentation, for now, is the help return of tool:

```sh
Convert the epoch value to datetime and datetime to epoch (everyting as utc)

USAGE:
repoch [FLAGS] [OPTIONS]

FLAGS:
-h, --help Prints help information
-d, --date If will convert from date to epoch or not
-V, --version Prints version information

OPTIONS:
-f, --format Conversion format, Epoch is output and Date is input [default: %Y-%m-%d %H:%M:%S]

ARGS:
Value to convert
```

License
----

MIT

**Free Software, Hell Yeah!**