hub2flic

command module
v0.0.0-...-f1edb0b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

App for migration from GitHub to GitFlic

Edit configuration file in YAML format. For example:

github_name: <username>
github_token: <GitHub token>
per_page: 100
gitflic_name: <username>
gitflic_pass: <userpass>
gitflic_token: <GitFlic token>
clone_path: ./tmp

Run CLI:

Usage of ./hub2flic:
-config string
        Path to YAML config file
-gist string
        Clone gists: 'no' (or without key), 'yes' or 'single' (default "no")
-repo string
        Repository name

Example:

transfer all repos without gists

$ ./hub2flic -config conf.yaml

transfer repo by name

$ ./hub2flic -config conf.yaml -repo github_repo_name

transfer all repos and all gists each in its own repo

$ ./hub2flic -config conf.yaml -gist yes

transfer all repos and all gists in one repo gists.git

$ ./hub2flic -config conf.yaml -gist single

TODO: Подробнее допишу позже

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL