This commit is contained in:
Thomas Forgione 2019-02-12 11:17:17 +01:00
parent 8480ae88f0
commit 8cf6a2e556
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,17 @@
//! This crate contains the gclone and pgd commands.
//!
//! The `gclone` command automatically clones a git repository and puts it in the right place.
//! The `pgd` command manages a cache for efficiently being able to print a directory corresponding
//! to a repo or an owner. You can then add the following to automatically `cd` to a directory:
//! ``` zsh
//! cdg() {
//! local newdir
//! newdir=$(pgd $1) && cd $newdir
//! }
//! ```
#![warn(missing_docs)]
use std::{env, fmt, error, result}; use std::{env, fmt, error, result};
use std::process::exit; use std::process::exit;
use std::io; use std::io;