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:
VERSE
2026-07-04 22:08:36 +07:00
committed by GitHub
parent ffa336196a
commit 2ef3c90819
482 changed files with 22971 additions and 5 deletions
+26
View File
@@ -0,0 +1,26 @@
package ops
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "capacitor",
Description: "Add a native platform project to your app",
Subcommands: []core.Subcommand{
{Name: "add", Description: "Add a native platform project to your app"},
{Name: "ls", Description: "List all installed Cordova and Capacitor plugins"},
{Name: "sync", Description: "This command runs copy and then update"},
{Name: "update", Description: "Updates the native plugins and dependencies referenced in package.json"},
},
Options: []core.Option{
{Name: "--list", Description: "Print a list of target devices available to the given platform"},
{Name: "--target", Description: "Run on a specific target device"},
{Name: "--deployment", Description: "Podfile.lock won't be deleted and pod install will use --deployment option"},
{Name: "--inline", Description: "Updates the native plugins and dependencies referenced in package.json"},
{Name: "--help", Description: "Output usage information. Can be used with individual commands too"},
{Name: "--version", Description: "Output the version number"},
},
})
}