Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.51 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.51 KB

dawn-till-dusk 🧛

A simple tool to display the sunrise, sunset and day length based on your location from the comfort of the command line.

Maintainability Coverage Status Status npm NPM

Example output

example output

Installation

npm i -g dawn-till-dusk

Usage

Usage: dtd <command> [options]

Commands:
  index.js dtd  Display sunrise & sunset times

Options:
  --help, -h     Show help                            [boolean] [default: false]
  --version, -v  Show version number                                   [boolean]
  --clean, -c    Clear data cache                     [boolean] [default: false]
  --date, -d     Search by date                      [string] [default: "today"]
  --logging, -l  Output extra logging info            [boolean] [default: false]

Examples:
  dtd -d '2021-08-12'  display sunrise & sunset times for a given day

Credits