feat(commands): more commands (#30)
- 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
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package sys
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "sysctl",
|
||||
Description: "Variable name",
|
||||
Options: []core.Option{
|
||||
{Name: "-A", Description: "List all the currently available non-opaque values"},
|
||||
{Name: "-b", Description: "Force the value of the variable(s) to be output in raw, binary format"},
|
||||
{Name: "-d", Description: "Print the description of the variable instead of its value"},
|
||||
{Name: "-e", Description: "Separate the name and the value of the variable(s) with '='"},
|
||||
{Name: "-h", Description: "Format output for human, rather than machine, readability"},
|
||||
{Name: "-i", Description: "Ignore unknown OIDs"},
|
||||
{Name: "-N", Description: "Show only variable names, not their values"},
|
||||
{Name: "-n", Description: "Show only variable values, not their names"},
|
||||
{Name: "-o", Description: "Show opaque variables (which are normally suppressed)"},
|
||||
{Name: "-q", Description: "Suppress some warnings generated by sysctl to standard error"},
|
||||
{Name: "-X", Description: "Equivalent to -x -a (for compatibility)"},
|
||||
},
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user