Skip to content
/ ctap Public

⏱ This is a CLI crontab parser which allows you to convert cron expression into human readable description, and output into the specified format(csv/markdown).

License

Notifications You must be signed in to change notification settings

Sean0628/ctap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ctap

Build License: MIT

Overview

ctap is a CLI crontab parser written in Go.

This allows you to convert cron expression into human readable description, and output into the specified format(csv/markdown). The command is based on hcron created by Quy Le.

Usage

$ ctap -h
ctap is a CLI crontab parser written in Go.

Usage:
  ctap [flags]

Flags:
      --24-hour             Prints out description in 24 hour time format.
  -d, --dow-starts-at-one   Is day of the week starts at 1 (Monday-Sunday: 1-7).
  -f, --format string       Prints out in the specified format. options: csv, markdown
  -h, --help                help for ctap
  -i, --input string        Path to a crontab file to be read from.
  -l, --locale string       Prints out description in the specified locale. (default "en")
  -o, --output string       Path to an output file. If this option is not set, the results are printed out to standard output.
  -s, --sort                Prints out cron expressions in ascending order.
  -v, --verbose             Prints out description in verbose format.
  -V, --version             Prints out version information.

Demo

Installation

with go get

$ go get -u -v github.com/Sean0628/ctap

Copyright

Copyright (c) 2020 Sho ITO. See LICENSE.md for further details.

About

⏱ This is a CLI crontab parser which allows you to convert cron expression into human readable description, and output into the specified format(csv/markdown).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages