Skip to content

goeil/cff-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cff-cli

CLI client to SBB/CFF API (for Swiss trains), written in Go

Usage

Request for now

cff <origin> <destination>

Print 5 next relations from origin station to destination

Example: cff court tavannes

Request for today, particular time

cff <origin> <destination> <time>

Example: cff court tavannes 18:00

Print 5 next relations from origin station to destination from today provided time

Reques for particular date and time

cff <origin> <destination> <time> <day>

Print 5 next relations from origin station to destination from provided time and provided day

Example: cff court tavannes 18:00 20240731

About

CLI client to cff api, whitten in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages