MCPcopy Create free account
hub / github.com/aws/aws-cli / write_from_file

Method write_from_file

awscli/bcdoc/restdoc.py:122–125  ·  view source on GitHub ↗
(self, filename)

Source from the content-addressed store, hash-verified

120 del self._writes[start:end]
121
122 def write_from_file(self, filename):
123 with open(filename) as f:
124 for line in f.readlines():
125 self.writeln(line.strip())
126
127
128class DocumentStructure(ReSTDocument):

Callers 2

doc_synopsis_endMethod · 0.80
doc_global_optionMethod · 0.80

Calls 1

writelnMethod · 0.95

Tested by

no test coverage detected