docs
This commit is contained in:
		
							
								
								
									
										26
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								README.md
									
									
									
									
									
								
							| @ -35,32 +35,30 @@ $ ws --help | ||||
|  | ||||
|   A simple web-server for productive front-end development. | ||||
|  | ||||
| Synopsis | ||||
| <strong>Synopsis</strong> | ||||
|  | ||||
|   $ ws [<server options>] | ||||
|   $ ws [\<server options\>] | ||||
|   $ ws --config | ||||
|   $ ws --help | ||||
|  | ||||
| Server | ||||
| <strong>Server</strong> | ||||
|  | ||||
|   -p, --port number              Web server port. | ||||
|   -d, --directory path           Root directory, defaults to the current directory. | ||||
|   -f, --log-format string        If a format is supplied an access log is written to | ||||
|                                  stdout. If not, a dynamic statistics view is displayed. | ||||
|                                  Use a preset ('none', 'dev','combined', 'short', 'tiny' | ||||
|                                  or 'logstalgia') or supply a custom format (e.g. | ||||
|                                  ':method -> :url'). | ||||
|   -r, --rewrite expression ...   A list of URL rewrite rules. For each rule, separate the | ||||
|                                  'from' and 'to' routes with '->'. Whitespace surrounded | ||||
|                                  the routes is ignored. E.g. '/from -> /to'. | ||||
|   -f, --log-format string        If a format is supplied an access log is written to stdout. If | ||||
|                                  not, a dynamic statistics view is displayed. Use a preset ('none', | ||||
|                                  'dev','combined', 'short', 'tiny' or 'logstalgia') or supply a | ||||
|                                  custom format (e.g. ':method -> :url'). | ||||
|   -r, --rewrite expression ...   A list of URL rewrite rules. For each rule, separate the 'from' | ||||
|                                  and 'to' routes with '->'. Whitespace surrounded the routes is | ||||
|                                  ignored. E.g. '/from -> /to'. | ||||
|   -s, --spa file                 Path to a Single Page App, e.g. app.html. | ||||
|   -c, --compress                 Serve gzip-compressed resources, where applicable. | ||||
|   -b, --forbid path ...          A list of forbidden routes. | ||||
|   -n, --no-cache                 Disable etag-based caching -forces loading from disk | ||||
|                                  each request. | ||||
|   -n, --no-cache                 Disable etag-based caching -forces loading from disk each request. | ||||
|   --verbose                      Verbose output, useful for debugging. | ||||
|  | ||||
| Misc | ||||
| <strong>Misc</strong> | ||||
|  | ||||
|   -h, --help    Print these usage instructions. | ||||
|   --config      Print the stored config. | ||||
|  | ||||
| @ -35,32 +35,30 @@ $ ws --help | ||||
|  | ||||
|   A simple web-server for productive front-end development. | ||||
|  | ||||
| Synopsis | ||||
| <strong>Synopsis</strong> | ||||
|  | ||||
|   $ ws [<server options>] | ||||
|   $ ws [\<server options\>] | ||||
|   $ ws --config | ||||
|   $ ws --help | ||||
|  | ||||
| Server | ||||
| <strong>Server</strong> | ||||
|  | ||||
|   -p, --port number              Web server port. | ||||
|   -d, --directory path           Root directory, defaults to the current directory. | ||||
|   -f, --log-format string        If a format is supplied an access log is written to | ||||
|                                  stdout. If not, a dynamic statistics view is displayed. | ||||
|                                  Use a preset ('none', 'dev','combined', 'short', 'tiny' | ||||
|                                  or 'logstalgia') or supply a custom format (e.g. | ||||
|                                  ':method -> :url'). | ||||
|   -r, --rewrite expression ...   A list of URL rewrite rules. For each rule, separate the | ||||
|                                  'from' and 'to' routes with '->'. Whitespace surrounded | ||||
|                                  the routes is ignored. E.g. '/from -> /to'. | ||||
|   -f, --log-format string        If a format is supplied an access log is written to stdout. If | ||||
|                                  not, a dynamic statistics view is displayed. Use a preset ('none', | ||||
|                                  'dev','combined', 'short', 'tiny' or 'logstalgia') or supply a | ||||
|                                  custom format (e.g. ':method -> :url'). | ||||
|   -r, --rewrite expression ...   A list of URL rewrite rules. For each rule, separate the 'from' | ||||
|                                  and 'to' routes with '->'. Whitespace surrounded the routes is | ||||
|                                  ignored. E.g. '/from -> /to'. | ||||
|   -s, --spa file                 Path to a Single Page App, e.g. app.html. | ||||
|   -c, --compress                 Serve gzip-compressed resources, where applicable. | ||||
|   -b, --forbid path ...          A list of forbidden routes. | ||||
|   -n, --no-cache                 Disable etag-based caching -forces loading from disk | ||||
|                                  each request. | ||||
|   -n, --no-cache                 Disable etag-based caching -forces loading from disk each request. | ||||
|   --verbose                      Verbose output, useful for debugging. | ||||
|  | ||||
| Misc | ||||
| <strong>Misc</strong> | ||||
|  | ||||
|   -h, --help    Print these usage instructions. | ||||
|   --config      Print the stored config. | ||||
|  | ||||
		Reference in New Issue
	
	Block a user