Skip to content

Commit

Permalink
Merge pull request #13 from 0xr00t3d/Documentation
Browse files Browse the repository at this point in the history
Created README/Documentation for get-title
  • Loading branch information
MindPatch authored Jul 22, 2022
2 parents c8a436a + 83166f8 commit 53a2878
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions get-title/README.md
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]
```

0 comments on commit 53a2878

Please sign in to comment.