mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-23 03:33:51 +01:00
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:
16
src/mako/cli/docs/commands.yml.mako
Normal file
16
src/mako/cli/docs/commands.yml.mako
Normal 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
|
||||
Reference in New Issue
Block a user