fix(cli): add commands.yml.mako

It was previously hidden thanks to .gitignore.

Good I made a fresh clone to see if make really really works.
This commit is contained in:
Sebastian Thiel
2015-04-12 10:03:54 +02:00
parent acd42dfccc
commit 51ddcf74a6

View File

@@ -0,0 +1,16 @@
<%namespace name="util" file="../../lib/util.mako"/>\
<%
from util import (hash_comment, new_context)
from cli import (subcommand_md_filename, SPLIT_START, SPLIT_END)
c = new_context(schemas, resources, context.get('methods'))
%>\
% for resource in sorted(c.rta_map.keys()):
% for method in sorted(c.rta_map[resource]):
${SPLIT_START} ${subcommand_md_filename(resource, method)}
${resource.upper()} DOCS
${method.upper()}
${SPLIT_END}
% endfor # each method
% endfor # each resource