mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-24 00:21:15 +00:00
seems standalone pub command is depcrecated and flutter and dart embed different versions (subcommands/flags differ)
25 lines
644 B
Go
25 lines
644 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/rsteube/carapace-bin/completers/flutter_completer/cmd/action"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var pub_global_deactivateCmd = &cobra.Command{
|
|
Use: "deactivate",
|
|
Short: "Remove a previously activated package",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(pub_global_deactivateCmd).Standalone()
|
|
|
|
pub_global_deactivateCmd.Flags().BoolP("help", "h", false, "Print this usage information.")
|
|
pub_globalCmd.AddCommand(pub_global_deactivateCmd)
|
|
|
|
carapace.Gen(pub_global_deactivateCmd).PositionalCompletion(
|
|
action.ActionActivePackages(),
|
|
)
|
|
}
|