Skip to content

Commit

Permalink
Merge pull request #5 from PercussiveElbow/crystal_0.35.1_upgrade
Browse files Browse the repository at this point in the history
Crystal 0.35.1 upgrade
  • Loading branch information
PercussiveElbow authored Sep 19, 2020
2 parents de04091 + afa205d commit c43238c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ To grab the latest release:
Usage: ./crobat_client [arguments]
-d DOMAIN, --domain Target domain.
-s TYPE, --type Search type. (SUBDOMAIN, ALL, TLD)
-f FORMAT, --format Output format. (JSON, TXT, CSV)
-o FILE, --output Output file.
-f FORMAT, --format File output format. (JSON, TXT, CSV)
-o FILE, --output File output location.
-h, --help Show help.
E.g ./crobat_client -d twitter.com -s subdomain
```

Expand Down
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: crobat
version: 0.1.3
version: 1.0.0

authors:
- PercussiveElbow <PercussiveElbow@users.noreply.github.com>
Expand All @@ -11,6 +11,6 @@ targets:
description: |
Crystal SDK for the Crobat API.
crystal: 0.34.0
crystal: 0.35.1

license: MIT
6 changes: 3 additions & 3 deletions src/crobat_client.cr
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def cli
parser.banner = "Crobat Client.\nUsage: ./crobat.cr [arguments]"
parser.on("-d DOMAIN", "--domain", "Target domain.") { |domain| target = domain }
parser.on("-s TYPE","--type", "Search type. (SUBDOMAIN, ALL, TLD)") { |type| search_type = type }
parser.on("-f FORMAT", "--format","Output format. (JSON, TXT, CSV)") { |format| output_format = format}
parser.on("-o FILE", "--output","Output file.") { |file| output_path = file}
parser.on("-f FORMAT", "--format","File output format. (JSON, TXT, CSV)") { |format| output_format = format}
parser.on("-o FILE", "--output","File output location.") { |file| output_path = file}
parser.on("-h", "--help", "Show help.") { puts parser }
end

Expand Down Expand Up @@ -89,4 +89,4 @@ def cli

end

cli()
cli()

0 comments on commit c43238c

Please sign in to comment.