mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
23 lines
500 B
Go
23 lines
500 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var sparseCheckout_addCmd = &cobra.Command{
|
|
Use: "add",
|
|
Short: "Add all files under SOME/DIR/ECTORY/ (at any depth) to the sparse checkout",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(sparseCheckout_addCmd).Standalone()
|
|
|
|
sparseCheckoutCmd.AddCommand(sparseCheckout_addCmd)
|
|
|
|
carapace.Gen(sparseCheckout_addCmd).PositionalAnyCompletion(
|
|
carapace.ActionDirectories(),
|
|
)
|
|
}
|