MCPcopy Index your code
hub / github.com/aws/aws-cli / doc_synopsis_start

Method doc_synopsis_start

awscli/clidocs.py:136–141  ·  view source on GitHub ↗
(self, help_command, **kwargs)

Source from the content-addressed store, hash-verified

134 doc.style.new_paragraph()
135
136 def doc_synopsis_start(self, help_command, **kwargs):
137 self._documented_arg_groups = []
138 doc = help_command.doc
139 doc.style.h2('Synopsis')
140 doc.style.start_codeblock()
141 doc.writeln(f'{help_command.name}')
142
143 def doc_synopsis_option(self, arg_name, help_command, **kwargs):
144 doc = help_command.doc

Callers

nothing calls this directly

Calls 3

h2Method · 0.45
start_codeblockMethod · 0.45
writelnMethod · 0.45

Tested by

no test coverage detected