API Documentation Index
This directory contains auto-generated API documentation for the Varvis Download CLI.
CLI Reference
- CLI Reference - Complete command-line interface reference
- Configuration Schema - Configuration file schema and examples
API Documentation
The following modules are documented:
- apiClient - Default headers for all requests to avoid undici v7's automatic sec-fetch-mode: cors
- archiveUtils - Triggers restoration for an archived analysis file using the internal restore endpoint.
- arrayUtils - Array utility functions for normalizing CLI and config inputs.
- authService - Default headers for all requests to avoid undici v7's automatic sec-fetch-mode: cors
- configUtils - Loads configuration from a specified file.
- fetchUtils - Prompts the user to confirm restoration of an archived file.
- fileUtils - Prompts the user to confirm file overwrite if the file already exists.
- filterUtils - Parses a filter expression into its components.
- logger - Creates a logger with specified configuration.
- promptUtils - Prompts the user for a password with hidden/muted input.
- rangedUtils - Performs a ranged download for a BAM file using samtools.
- restorationState - Deep equality comparison for objects that is order-independent.
- toolChecks - Wraps spawn in a Promise to maintain async/await syntax.
- urlUtils - URL utility functions for handling S3 pre-signed URL expiration.
- varvis-download - Main CLI application entry point
Generation
This documentation is auto-generated from JSDoc comments in the source code. To regenerate:
bash
npm run docs:generateLast generated: 2026-06-02
