- 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
24 lines
959 B
Go
24 lines
959 B
Go
package text
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "shred",
|
|
Description: "Overwrite a file to hide its contents, and optionally delete it",
|
|
Options: []core.Option{
|
|
{Name: "--force", Description: "Change permissions to allow writing if necessary"},
|
|
{Name: "--iterations", Description: "Overwrite N times instead of the default (3)"},
|
|
{Name: "--random-source", Description: "Get random bytes from FILE"},
|
|
{Name: "--size", Description: "Shred this many bytes (suffixes like K, M, G accepted)"},
|
|
{Name: "--remove", Description: "Like -u but give control on HOW to delete"},
|
|
{Name: "--verbose", Description: "Show progress"},
|
|
{Name: "--exact", Description: "Add a final overwrite with zeros to hide shredding"},
|
|
{Name: "--help", Description: "Display this help and exit"},
|
|
{Name: "--version", Description: "Output version information and exit"},
|
|
},
|
|
})
|
|
}
|