/StarTrekCLI

A CLI tool to query Star Trek info

Primary LanguageRubyMIT LicenseMIT

StarTrekCLI

A CLI tool to query Star Trek info! Happy searching trekkies.

This gem uses the website http://chakoteya.net/.

The library will currently aggressively cache the whole site – this is not production quality.

If you use this, make sure to send some tea money to Chrissie, who was able to make this gem happen.

Note at the time, this CLI only covers Star Trek, The Next Generation, Deep Space Nine, and Voyager. Enterprise and Discovery TBD.

Installation

Add this line to your application's Gemfile, if you want to use this as a library:

gem 'StarTrekCLI'

And then execute:

$ bundle StarTrekCLI

Or install it yourself for command line usage:

$ gem install StarTrekCLI

Usage

$ startrek --help
$ startrek --list-series
$ startrek --list-episode-info 'The Next Generation':2:129

StarTrekCLI will walk you through the chain of commands.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the StarTrekCLI project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.