- I wrote a scripts to copy and generate all commands missing in iris from fig repo: https://github.com/withfig/autocomplete - Add a new script to generate commands docs about which commands currently are inside commands folder 377d4aac663590e504fe39a92eb4dac4cbd333b2 - Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
28 lines
1.3 KiB
Go
28 lines
1.3 KiB
Go
package sys
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "ncal",
|
|
Description: "Displays a calendar and the date of Easter",
|
|
Options: []core.Option{
|
|
{Name: "-h", Description: "Turns off highlighting of today"},
|
|
{Name: "-J", Description: "Display date of Easter (for western churches)"},
|
|
{Name: "-j", Description: "Display Julian days (days one-based, numbered from January 1)"},
|
|
{Name: "-m", Description: "Display a calendar for the specified year"},
|
|
{Name: "-o", Description: "Display date of Orthodox Easter (Greek and Russian Orthodox Churches)"},
|
|
{Name: "-p", Description: "Print the number of the week below each week column"},
|
|
{Name: "-3", Description: "Display the previous, current and next month surrounding today"},
|
|
{Name: "-A", Description: "Display the number of months after the current month"},
|
|
{Name: "-B", Description: "Display the number of months before the current month"},
|
|
{Name: "-C", Description: "Switch to cal mode"},
|
|
{Name: "-N", Description: "Switch to ncal mode"},
|
|
{Name: "-d", Description: "Use yyyy-mm as the current date (for debugging of date selection)"},
|
|
{Name: "-H", Description: "Use yyyy-mm-dd as the current date (for debugging of highlighting)"},
|
|
},
|
|
})
|
|
}
|