Usage: main [OPTIONS]

  Upload documentation to Notion.

Parent location: [exactly 1 required]
  --parent-page-id TEXT       Parent page ID (integration connected)
  --parent-database-id TEXT   Parent database ID (integration connected)

Cover image: [mutually exclusive]
  --cover-path FILE           Cover image file path for the page
  --cover-url TEXT            Cover image URL for the page

Other options:
  --file FILE                 JSON File to upload  [required]
  --title TEXT                Title of the page to update (or create if it does
                              not exist)  [required]
  --icon TEXT                 Icon of the page
  --cancel-on-discussion      Cancel upload with error if blocks to be deleted
                              have discussion threads
  --notion-api-base-url TEXT  Override the Notion API base URL. Useful for tests
                              against a mock Notion API.
  --help                      Show this message and exit.
