Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lucawen/repoch
- Owner: lucawen
- License: mit
- Created: 2019-05-18T04:29:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-18T05:08:45.000Z (over 5 years ago)
- Last Synced: 2024-04-23T09:44:52.511Z (7 months ago)
- Topics: cli, command-line, epoch, rust, rust-lang, tools
- Language: Rust
- Size: 146 KB
- Stars: 18
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rust-cn - repoch - ci.com/lucawen/repoch.svg?branch=master">](https://travis-ci.com/lucawen/repoch/) (应用 / Utilities)
- awesome-rust - repoch - ci.com/lucawen/repoch.svg?branch=master">](https://travis-ci.com/lucawen/repoch/) (Applications / Utilities)
- awesome-rust-zh - repoch - 将纪元转换为日期时间,和日期时间转换为纪元[<img src="https://api.travis-ci.com/lucawen/repoch.svg?branch=master">](https://travis-ci.com/lucawen/repoch/) (应用 / 实用)
- awesome-rust - repoch - ci.com/lucawen/repoch.svg?branch=master">](https://travis-ci.com/lucawen/repoch/) (应用 Applications / 公用事业 Utilities)
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 informationOPTIONS:
-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!**