Skip to content

mi2ebi/gh-file-curler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-file-curler

Grabs only the files from a Github repo, without the Git history

Usage

use gh_file_curler::fetch;
use std::fs;

fn main() {
    fs::remove_dir_all("out").unwrap_or(());
    fs::create_dir("out").unwrap();
    let the = fetch_dir("berrymot", "gh-file-curler", &[""], true, "TOKEN")
        .unwrap();
    the.clone().write_to("out");
    println!("{} files", the.0.len());
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages