ctap

command module
v0.0.0-...-9b86b93 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2020 License: MIT Imports: 3 Imported by: 0

README

ctap

Build

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 (c) 2020 Sho ITO. See LICENSE.md for further details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL