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

Method doc_title

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

Source from the content-addressed store, hash-verified

119 doc.writeln('')
120
121 def doc_title(self, help_command, **kwargs):
122 doc = help_command.doc
123 doc.style.new_paragraph()
124 reference = help_command.event_class.replace('.', ' ')
125 if reference != 'aws':
126 reference = 'aws ' + reference
127 doc.writeln(f'.. _cli:{reference}:')
128 doc.style.h1(help_command.name)
129
130 def doc_description(self, help_command, **kwargs):
131 doc = help_command.doc

Callers 2

test_titleMethod · 0.45
test_titleMethod · 0.45

Calls 3

new_paragraphMethod · 0.45
writelnMethod · 0.45
h1Method · 0.45

Tested by 2

test_titleMethod · 0.36
test_titleMethod · 0.36