Skip to content

Need to know about upcoming train times for your journey? Use this Rust CLI tool to do just that!

Notifications You must be signed in to change notification settings

itzcodex24/rust-trains-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Train Times Rust CLI 🦀

  • Need to know about upcoming train times?
  • Use this Rust CLI to do just that!

How to install

  1. Run git clone https://github.com/itzcodex24/rust-trains-cli train-cli
  2. Run cd train-cli
  3. Run cargo build --release

BOOM 💥

  • Wanna add it to your path?

Using ZSH 👨‍💻

  • Run nvim ~/.zshrc
  • Add the release to your path: export PATH="$HOME/path_to_train_cli/target/release/":$PATH
  • Done! Refresh the config file: source ~/.zshrc
  • And RUN! train-cli --from {station} --to {station}

Does your station name include whitespace? 🚝

  • Simply specify the station name while surrounding it in speech marks ""
  • train-cli --from "{station}" --to "{station}"

About

Need to know about upcoming train times for your journey? Use this Rust CLI tool to do just that!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages