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: 0

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