- 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
27 lines
1.2 KiB
Go
27 lines
1.2 KiB
Go
package text
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "sha1sum",
|
|
Description: "Print or check SHA1 (160-bit) checksums",
|
|
Options: []core.Option{
|
|
{Name: "-b", Description: "Read in binary mode"},
|
|
{Name: "-c", Description: "Read SHA1 sums from the FILEs and check them"},
|
|
{Name: "--tag", Description: "Create a BSD-style checksum"},
|
|
{Name: "-t", Description: "Read in text mode (default)"},
|
|
{Name: "-z", Description: "End each output line with NUL, not newline, and disable file name escaping"},
|
|
{Name: "--ignore-missing", Description: "Don't fail or report status for missing files"},
|
|
{Name: "--quiet", Description: "Don't print OK for each successfully verified file"},
|
|
{Name: "--status", Description: "Don't output anything, status code shows success"},
|
|
{Name: "--strict", Description: "Exit non-zero for improperly formatted checksum lines"},
|
|
{Name: "-w", Description: "Warn about improperly formatted checksum lines"},
|
|
{Name: "--help", Description: "Output help message and exit"},
|
|
{Name: "--version", Description: "Output version information and exit"},
|
|
},
|
|
})
|
|
}
|