docs(CLI): filled README.md

All possible documentation was added in a quality sufficient for
a first release. After all, everything there is is documented.

Fixes #50
This commit is contained in:
Sebastian Thiel
2015-04-26 11:22:28 +02:00
parent 607ba745d1
commit 944e04bd12
6 changed files with 122 additions and 27 deletions

View File

@@ -493,9 +493,7 @@ match result {
dlg.begin(MethodInfo { id: "${m.id}",
http_method: ${method_name_to_variant(m.httpMethod)} });
let mut params: Vec<(&str, String)> = Vec::with_capacity((${len(params) + len(reserved_params)} + ${paddfields}.len()));
% for p in field_params:
<%
pname = 'self.' + property(p.name) # property identifier
if media_params and 'mediaUpload' in m:
upload_type_map = dict()
for mp in media_params:
@@ -504,6 +502,10 @@ match result {
break
# for each meadia param
# end build media param map
%>\
% for p in field_params:
<%
pname = 'self.' + property(p.name) # property identifier
%>\
## parts can also be derived from the request, but we do that only if it's not set
% if p.name == 'part' and request_value: