https://github.com/piraces/tram-api
Go CLI app to fetch data from Zaragoza's Tram and write them to CSV
https://github.com/piraces/tram-api
Last synced: 7 months ago
JSON representation
Go CLI app to fetch data from Zaragoza's Tram and write them to CSV
- Host: GitHub
- URL: https://github.com/piraces/tram-api
- Owner: piraces
- License: mit
- Created: 2022-04-26T11:40:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-27T09:46:58.000Z (over 3 years ago)
- Last Synced: 2025-01-08T09:45:09.455Z (about 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tram-cli project
Go CLI app to fetch data from Zaragoza's Tram and write them to CSV
# Usage
## Show help
```shell
go run ./cmd/tram-cli/main.go help
```
## Help of main command
```shell
go run ./cmd/tram-cli/main.go tram-stops help
```
## Tram stops status to csv
### To default output file
```shell
go run ./cmd/tram-cli/main.go tram-stops
```
### To custom output file
```shell
go run ./cmd/tram-cli/main.go tram-stops -o my_output.csv
```