feat(commands): refactor and add more commands

This commit is contained in:
verse91
2026-04-09 23:30:16 +07:00
parent 76458ce52e
commit f4816d2b5f
31 changed files with 546 additions and 110 deletions
+19
View File
@@ -0,0 +1,19 @@
package dev
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "pip",
Description: "python packages",
Subcommands: []core.Subcommand{
{Name: "install", Description: "install package"},
{Name: "uninstall", Description: "remove package"},
{Name: "freeze", Description: "list packages"},
{Name: "list", Description: "list installed"},
{Name: "show", Description: "show package info"},
},
})
}