import { Command } from 'commander' export const VALID_THEMES = [ 'light', 'dark', 'sepia', 'groove-dark', 'solarized-light', 'solarized-dark', 'nord-light', 'nord-dark' ] const program = new Command() program .name('pdfy') .description('Convert web articles to PDF using Reader View and Puppeteer') .argument('', 'URL of the article to convert, or path to a local HTML file') .option( '-t, --theme ', `Reader View theme (${VALID_THEMES.join(', ')})` ) .option( '--highlight-style