Documentation
¶
Overview ¶
Package git...
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ImportCmd clones a Git repository and imports bookmarks. ImportCmd = &cobra.Command{ Use: "import", Short: "import bookmarks from git", RunE: func(cmd *cobra.Command, args []string) error { cfg, err := config.FromContext(cmd.Context()) if err != nil { return fmt.Errorf("failed to get config: %w", err) } if cfg.Flags.Path == "" { return git.ErrGitRepoURLEmpty } a := app.New(cmd.Context(), app.WithConfig(cfg)) return importFromClone(a, cmd.Short) }, } )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.