- 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
32 lines
1.2 KiB
Go
32 lines
1.2 KiB
Go
package sys
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "omz",
|
|
Description: "Oh My Zsh",
|
|
Subcommands: []core.Subcommand{
|
|
{Name: "help", Description: "Print the help message"},
|
|
{Name: "changelog", Description: "Print the changelog"},
|
|
{Name: "plugin", Description: "Manage plugins"},
|
|
{Name: "disable", Description: "Disable plugin(s)"},
|
|
{Name: "enable", Description: "Enable plugin(s)"},
|
|
{Name: "info", Description: "Get information of a plugin"},
|
|
{Name: "list", Description: "List all available Oh My Zsh plugins"},
|
|
{Name: "load", Description: "Load plugin(s)"},
|
|
{Name: "pr", Description: "Manage Oh My Zsh Pull Requests"},
|
|
{Name: "clean", Description: "Delete all PR branches (ohmyzsh/pull-*)"},
|
|
{Name: "test", Description: "Fetch PR #NUMBER and rebase against master"},
|
|
{Name: "reload", Description: "Reload the current zsh session"},
|
|
{Name: "theme", Description: "Manage themes"},
|
|
{Name: "set", Description: "Set a theme in your .zshrc file"},
|
|
{Name: "use", Description: "Load a theme"},
|
|
{Name: "update", Description: "Update Oh My Zsh"},
|
|
{Name: "version", Description: "Show the version"},
|
|
},
|
|
})
|
|
}
|