Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.71 KB

tlserver_fetch.md

File metadata and controls

41 lines (31 loc) · 1.71 KB

tlserver fetch

Fetch GTFS data and create feed versions

Synopsis

Fetch GTFS data and create feed versions

Use after the sync command.

tlserver fetch [flags] [feeds...]

Options

      --allow-ftp-fetch                    Allow fetching from FTP urls
      --allow-local-fetch                  Allow fetching from filesystem directories/zip files
      --allow-s3-fetch                     Allow fetching from S3 urls
      --create-feed                        Create feed record if not found
      --dburl string                       Database URL (default: $TL_DATABASE_URL)
      --dry-run                            Dry run; print feeds that would be imported and exit
      --fail                               Exit with error code if any fetch is not successful
      --feed-url string                    Manually fetch a single URL; you must specify exactly one feed_id
      --fetched-at string                  Manually specify fetched_at value, e.g. 2020-02-06T12:34:56Z
  -h, --help                               help for fetch
      --ignore-duplicate-contents          Allow duplicate internal SHA1 contents
      --limit int                          Maximum number of feeds to fetch
      --secrets string                     Path to DMFR Secrets file
      --storage string                     Storage destination; can be s3://... az://... or path to a directory (default ".")
      --validation-report                  Save validation report
      --validation-report-storage string   Storage path for saving validation report JSON
      --workers int                        Worker threads (default 1)

SEE ALSO

Auto generated by spf13/cobra on 18-Oct-2024