Documentation ¶
Overview ¶
Package parser manages holds the logic behind the sub command `parse` this package is responsible for parsing a crontab file into valid config yaml file
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ParserCmd = &cobra.Command{ Use: "parse <crontab file path>", ValidArgs: []string{"crontab file path"}, Short: "Parse crontab syntax and converts it into yaml syntax for crontab-go", Run: run, } )
Functions ¶
This section is empty.
Types ¶
type CronString ¶
type CronString struct {
// contains filtered or unexported fields
}
func NewCronString ¶
func NewCronString(cron string) CronString
func (*CronString) ParseConfig ¶
Click to show internal directories.
Click to hide internal directories.