Files
iris-context/commands/sys/shell_config.go
T
VERSE 2ef3c90819 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
2026-07-04 22:08:36 +07:00

31 lines
1.3 KiB
Go

package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "shell-config",
Description: "Display help for command",
Subcommands: []core.Subcommand{
{Name: "install", Description: "Install MacOS setup with Multi-Selection"},
{Name: "shell", Description: "Setup a shell configuration with a robust set of tools and architecture"},
{Name: "update", Description: "Update the CLI to the latest version"},
{Name: "assets", Description: "Configure your shell assets, such as `gitprofile` and `npmrc`"},
{Name: "external", Description: "Install and manage your external shell"},
{Name: "list", Description: "Show list of all exists externals shells"},
{Name: "file_path", Description: "File to set as external shell"},
{Name: "external_name", Description: "Name to register under the registry"},
{Name: "delete", Description: "Delete external shell"},
{Name: "help", Description: "Display help for command"},
},
Options: []core.Option{
{Name: "-h", Description: "Display help for command"},
{Name: "-t", Description: "Select update version"},
{Name: "-m", Description: "Daemon check for update notification. When specified is true"},
{Name: "-V", Description: "Output the version number"},
},
})
}