chore(commands): more commands for suggestions (#10)
## What's new - color completion message command green https://github.com/versenilvis/IRIS/pull/10/commits/6e141f5e6909fad1ec42725cce38d51729acf399 - new flat command folder structure https://github.com/versenilvis/IRIS/pull/10/commits/87026a854a529ec5d5baed967d5f7a7f0085a24b - fix some linter problems https://github.com/versenilvis/IRIS/pull/10/commits/536de790cefda912f50bf4022e40ce2b965db2e2 - fix some gemini fix suggestions
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package rust
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "cargo",
|
||||
Description: "rust toolchain",
|
||||
Subcommands: []core.Subcommand{
|
||||
{Name: "build", Description: "compile project",
|
||||
Options: []core.Option{
|
||||
{Name: "--release", Description: "optimized build"},
|
||||
},
|
||||
},
|
||||
{Name: "run", Description: "run project"},
|
||||
{Name: "test", Description: "run tests"},
|
||||
{Name: "new", Description: "create project"},
|
||||
{Name: "add", Description: "add dependency"},
|
||||
{Name: "fmt", Description: "format code"},
|
||||
{Name: "clippy", Description: "lint code"},
|
||||
{Name: "check", Description: "check without build"},
|
||||
{Name: "clean", Description: "remove build artifacts"},
|
||||
{Name: "publish", Description: "publish crate"},
|
||||
{Name: "doc", Description: "build documentation"},
|
||||
},
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user