faucet-cli 1.12.0

Config-driven CLI runner for faucet-stream pipelines (YAML / JSON, Meltano-style)
Documentation
# Download an authenticated CSV (or Excel) file from an HTTP/Graph endpoint via
# the REST source's `response_format`, and write it out as JSONL. This reuses
# the REST source's full auth stack (inline or a shared `auth: { ref }`
# provider), retry, and `${...}` context substitution — no separate connector.
#
#   faucet validate cli/examples/rest_file_to_jsonl.yaml
#   AUTH_TOKEN=... faucet run cli/examples/rest_file_to_jsonl.yaml
#
# CSV is always available; Excel (`response_format: excel`) requires the
# `source-rest-excel` feature:
#   cargo install faucet-cli --features source-rest-excel
version: 1
name: rest_file_to_jsonl

pipeline:
  source:
    type: rest
    config:
      base_url: https://example.com
      # A Microsoft Graph / OneDrive / SharePoint `…/content` endpoint, a signed
      # download URL, or any authed static host serving a file.
      path: /exports/contacts.csv
      pagination: none            # file mode fetches a single response
      response_format: csv        # json (default) | csv | excel
      # csv_delimiter: ","        # CSV delimiter byte
      # csv_has_headers: true     # first CSV row supplies field names
      # excel_sheet: "Sheet1"     # Excel: worksheet name or 0-based index
      # excel_header_row: 0       # Excel: 0-based header row
      auth:
        type: bearer
        config:
          token: ${env:AUTH_TOKEN}

  sink:
    type: jsonl
    config:
      path: ./out/contacts.jsonl