-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from 0xr00t3d/Documentation
Created README/Documentation for get-title
- Loading branch information
Showing
1 changed file
with
56 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Get-title | ||
|
||
Takes a list of urls and prints their titles | ||
|
||
Tomnomnom's get-title rewritten in Rust :crab: :rocket:! | ||
|
||
## Quick links | ||
|
||
[# Installation](#Installation) <br> | ||
[# Usage](#Usage) <br> | ||
|
||
## Installation | ||
|
||
Run the following command in your terminal/shell | ||
|
||
```sh | ||
$ cargo install --git="https://github.com/knassar702/hacks" get-title | ||
``` | ||
|
||
**OR** | ||
Dowload The source and run: | ||
|
||
```sh | ||
$ cargo build --release && mv target/release/get-title ~/.cargo/bin/. | ||
``` | ||
|
||
now you should be able to run `get-title` in your terminal | ||
|
||
## Usage | ||
|
||
Basic usage would be like : | ||
|
||
```sh | ||
cat urls.txt | get-title | ||
``` | ||
|
||
### Options | ||
|
||
run ``get-title --help`` to see available options: | ||
<br> | ||
```sh | ||
$ get-title --help | ||
|
||
get-title 0.1.0 | ||
Takes a list of urls and prints their titles | ||
|
||
USAGE: | ||
get-title [OPTIONS] | ||
|
||
FLAGS: | ||
-h, --help Prints help information | ||
-V, --version Prints version information | ||
|
||
OPTIONS: | ||
-c <c> max concurrent [default: 40] | ||
``` |