-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cleanup:app] added readme, minor changes
- Loading branch information
Showing
6 changed files
with
91 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# cloneit | ||
|
||
A cli tool to download specific GitHub directories or files. | ||
|
||
# Installation | ||
|
||
### From git | ||
|
||
```bash | ||
git clone https://github.com/alok8bb/cloneit | ||
cd cloneit | ||
cargo install build --release | ||
``` | ||
|
||
# Usage | ||
|
||
``` | ||
cloneit 1.0 | ||
Alok P <alok8bb@gmail.com> | ||
Download specific GitHub directories or files | ||
USAGE: | ||
cloneit [FLAGS] <URL> | ||
ARGS: | ||
<URL> URL to the GitHub directory | ||
FLAGS: | ||
-h, --help Prints help information | ||
-l Generate download link to zipped file | ||
-V, --version Prints version information | ||
-z Download zipped directory | ||
``` | ||
|
||
# Examples | ||
|
||
### Downloading | ||
|
||
```bash | ||
$ cloneit https://github.com/alok8bb/cloneit | ||
``` | ||
|
||
```bash | ||
$ cloneit https://github.com/alok8bb/cloneit/tree/master/src | ||
``` | ||
|
||
```bash | ||
$ cloneit https://github.com/alok8bb/cloneit/tree/master/src/main.rs | ||
``` | ||
|
||
### Zipped File - WIP | ||
|
||
```bash | ||
$ cloneit -z https://github.com/alok8bb/cloneit | ||
``` | ||
|
||
# Todo | ||
|
||
- [ ] Downloading zipped directories | ||
- [ ] Uploading File | ||
- [ ] Advanced Error Handling | ||
- [ ] Code Refactoring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters