npm.io
0.0.4 • Published 5 years agoCLI

dawn-till-dusk

Licence
MIT
Version
0.0.4
Deps
6
Size
31 kB
Vulns
23
Weekly
0

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

Keywords