- I think it would be better if one for commands only, one for the spec handling core logic so people won't be confused by the core logic inside the commands folder (cleaner I guess) - Regen docs
18 lines
457 B
Go
18 lines
457 B
Go
package sys
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/spec"
|
|
)
|
|
|
|
func init() {
|
|
spec.Register(&spec.Spec{
|
|
Name: "cal",
|
|
Description: "Displays a calendar and the date of Easter",
|
|
Options: []spec.Option{
|
|
{Name: "-h", Description: "Turns off highlighting of today"},
|
|
{Name: "-j", Description: "Display Julian days (days one-based, numbered from January 1)"},
|
|
{Name: "-m", Description: "Display a calendar for the specified year"},
|
|
},
|
|
})
|
|
}
|