Commit Graph

22 Commits

Author SHA1 Message Date
Roman Hotsiy
f31cf3534c
chore: fix cli declarations 2019-03-11 17:58:23 +02:00
Siarhei Bautrukevich
4e8ee0305d feat(cli): Add templateOptions param to pass additional data to custom template (#792)
* Add templateOptions param to pass additional data to custom template
* Update README for ReDoc cli
2019-01-31 09:51:44 +08:00
Melvyn Sopacua
df43cfbe64 refactor(cli): Use chokidar for watching
Caveat: could not get this to work with a debounce.
Fixes: recursive file watching on Linux (and thus Docker).
2018-11-03 17:03:59 +01:00
Roman Hotsiy
7df471b69d
chore: fix cli ts compiling 2018-10-18 14:10:32 +03:00
Roman Hotsiy
76906eb126
fix(cli): cli output crashes if script closing tag is in the spec
fixes #563
2018-07-17 15:16:06 +03:00
Roman Hotsiy
bab3e7dfce
fix: fix broken link in CLI help
fixes #559
2018-07-17 11:12:42 +03:00
Roman Hotsiy
7daa070311
chore(cli): cli v0.5.0 2018-06-25 14:43:58 +03:00
brushmate
723516b089 feat(cli): watch the directory that contains the specified spec instead of the spec itself (#519)
Fixes #514
2018-06-25 14:15:00 +03:00
brushmate
370d08aa1a fix(cli): make positional arguments required and handle errors in serve and bundle manually (#518) 2018-05-31 12:56:35 +03:00
brushmate
720c304484 fix(cli): return 1 as exit code if an error happens in the cli (#516) 2018-05-29 17:51:15 +03:00
brushmate
ac7372be6f fix(cli): create directories when a path is specified in the --output option (#513)
Fixes #512
2018-05-29 12:46:31 +03:00
Roman Hotsiy
3ee4210e6f
chore: fix cli lint issues 2018-05-17 11:49:38 +03:00
Roman Hotsiy
50184739c7
fix(cli): escape \u2029 \u2028 characters
see http://www.thespanner.co.uk/2011/07/25/the-json-specification-is-now-wrong/
related to #475
2018-05-17 11:43:53 +03:00
Roman Hotsiy
d9ee2d0d89
fix(cli): don't wait for content loaded in bundled HTML 2018-03-22 17:49:15 +02:00
Roman Hotsiy
c9c6bc5255
fix(cli): allow to set url to the spec in SSR mode 2018-03-20 13:22:41 +02:00
Roman Hotsiy
c729c6c75b
fix(cli): fix output option type 2018-03-20 13:01:45 +02:00
Roman Hotsiy
8891f5c97d
fix(cli): fix crash 2018-03-20 12:51:23 +02:00
Roman Hotsiy
2732c89316
feat(cli): add options to specify redoc options 2018-03-20 11:31:36 +02:00
Roman Hotsiy
b7afce9481
feat(cli): add --template option 2018-03-20 11:00:45 +02:00
Roman Hotsiy
bb8a6784c2
feat(cli): add title option to bundle 2018-03-20 10:21:05 +02:00
Roman Hotsiy
f993e9b443
chore: fix redoc standalone path in CLI 2018-03-18 17:49:07 +02:00
Roman Hotsiy
95c7585628
fix: move cli to a separate npm package 2018-03-18 11:15:17 +02:00