- 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
27 lines
1.2 KiB
Go
27 lines
1.2 KiB
Go
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"},
|
|
},
|
|
})
|
|
}
|