Commit Graph

67 Commits (08533d2562e15af40619f4db483ec79b22cfe0e7)

Author SHA1 Message Date
gardenapple 08533d2562
deno lint 2 years ago
gardenapple 247425c6f5
Dual Node/Deno package!
+ fix "bad CLI usage" exit code on yargs fail
2 years ago
gardenapple b108b74fa4
Suggest UTF-8 when decoding local files, (workaround) fixes #9 2 years ago
gardenapple 047195d709
Add error code 69; update dependencies 3 years ago
gardenapple e5e228fef0
Rename man page from 'readability-cli', suggest symlink 3 years ago
gardenapple 0e14bf4f8f
Make --help shorter thanks to man page; remove 'no-op' 3 years ago
gardenapple 8029211c8f
Make error codes more consistent 3 years ago
gardenapple be9804f877
Reorganize arg parsing 3 years ago
gardenapple 750bd10559
Replace process.exit with return; fixes y18n updateFiles 3 years ago
gardenapple d7e761f397
Update help message and locales 3 years ago
gardenapple 586d210546
Change behavior for Firefox Reader Mode CSS 3 years ago
gardenapple 10ff3fcccd
Fix body appearing outside of <body> tag with custom CSS 3 years ago
Akira Komamura b5e5e1e276 Add --keep-classes option 3 years ago
gardenapple 09fe1b8bda
Limit --help to 100 cols instead of 120 3 years ago
gardenapple bfc742a0e1
Move from scoped yargs dependency to release candidate 3 years ago
gardenapple 9b43bec44e
Fix crash when sanitizing HTML 3 years ago
gardenapple b5d80a68a4
Remove debug info 3 years ago
gardenapple 32b5737814
Also read http_proxy and lowercase https_proxy env vars 3 years ago
gardenapple b004527216
Allow configuring JSDOM's ResourceLoader 3 years ago
gardenapple 1771f9e6b3
Add localization for --style option description 3 years ago
gardenapple 4acd520b45
Print author and horizontal line with custom styles as well 3 years ago
gardenapple 5f84b9741c
Adapt HTML to Firefox Reader Mode if --style is missing 3 years ago
gardenapple c34d556dbc
Add Firefox Reader Mode stylesheet 3 years ago
gardenapple 7632a3d195
v2.0.0 pre-release 5, fix require('yargs') 3 years ago
gardenapple 189ce4cd46
Sanitize whole HTML as DOM rather than string 3 years ago
gardenapple ceefa25625
Spit out HTML on Readability failure if --low-confidence=keep 3 years ago
gardenapple 74e40fc426
Output full <html> with <head> and <title> by default
Old behavior can be invoked by explicitly setting
--properties html-title html-content
3 years ago
gardenapple eaaa11f808
Rename no-op to keep and alphabetize --help 3 years ago
gardenapple a91521846c
Sanitize HTML by default 3 years ago
gardenapple 68f5a3b6c5
Rework output
Breaking changes:
* Properties are now printed as a single line (all except html-content
  and text-content)
* Properties are now printed without prefixes or localization
* Properties are now printed in the order given by the user
3 years ago
gardenapple 035ae5ff82
Russian localization + minor fixes 3 years ago
gardenapple 4ca8958355
Fix zsh completion and locale dir 3 years ago
gardenapple 86acd52b61
Better error handling, and beginning of i18n 3 years ago
gardenapple 2362e45247
Fix -- and --json option 3 years ago
gardenapple 0df0fbd3b4
Improved messages 3 years ago
gardenapple 7325c8b4ef
Deprecate (and improve) --is-url, add --is-file 3 years ago
gardenapple 32a4281288
Merge branch 'yargs' 3 years ago
gardenapple 921e6fb206
Better help formatting and autocompletion 3 years ago
gardenapple d08103e500
Auto-completion works with all options 3 years ago
gardenapple 53be7c0c3a
Clearer comment 3 years ago
Olivier Tremblay 3d5c867c90 Introduce JSON-only output
For a specific use case where I want to arrange the output otherwise,
I require the ability to manipulate the output as JSON. So I added
an option for that.
4 years ago
gardenapple c46b08effa
Migrate to Mozilla's NPM package 4 years ago
gardenapple d752077cd6
Rename --url to --base 4 years ago
gardenapple 8c22aac58d
Playing around with auto-completion (- broken) 4 years ago
gardenapple cbcc1e9a68
Cleanup, implement all options 4 years ago
gardenapple ed2803d107
Convert from minimist to yargs 4 years ago
gardenapple a423ae6766
Improved help, allow -h argument 4 years ago
gardenapple 366b405ad6
On-demand loading of JSDOM library 4 years ago
gardenapple a97b1ee269
Added low-confidence mode, change default behavior 4 years ago
gardenapple 01276e726b
v1.0.3: better stability & performance + no URL warning 4 years ago