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

Method doc_synopsis_end

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

Source from the content-addressed store, hash-verified

163 doc.writeln(f'{option_str}')
164
165 def doc_synopsis_end(self, help_command, **kwargs):
166 doc = help_command.doc
167 # Append synopsis for global options.
168 doc.write_from_file(GLOBAL_OPTIONS_SYNOPSIS_FILE)
169 doc.style.end_codeblock()
170 # Reset the documented arg groups for other sections
171 # that may document args (the detailed docs following
172 # the synopsis).
173 self._documented_arg_groups = []
174
175 def doc_options_start(self, help_command, **kwargs):
176 doc = help_command.doc

Callers

nothing calls this directly

Calls 2

write_from_fileMethod · 0.80
end_codeblockMethod · 0.45

Tested by

no test coverage detected