- 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
23 lines
805 B
Go
23 lines
805 B
Go
package view
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "more",
|
|
Description: "Opposite of less",
|
|
Options: []core.Option{
|
|
{Name: "-d", Description: "Do not pause after any line containing a ^L (form feed)"},
|
|
{Name: "-f", Description: "Count logical lines, rather than screen lines"},
|
|
{Name: "-p", Description: "Instead, clear the whole screen and then display the text"},
|
|
{Name: "-c", Description: "Squeeze multiple blank lines into one"},
|
|
{Name: "-u", Description: "Silently ignored as backwards compatibility"},
|
|
{Name: "-n", Description: "Specify the number of lines per screenful"},
|
|
{Name: "--help", Description: "Display help text"},
|
|
{Name: "-V", Description: "Display version information"},
|
|
},
|
|
})
|
|
}
|