mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
fixes for cli refactor
This commit is contained in:
@ -8,7 +8,7 @@ file_loader = FileSystemLoader('templates')
|
|||||||
env = Environment(loader=file_loader)
|
env = Environment(loader=file_loader)
|
||||||
template = env.get_template('manpage_template')
|
template = env.get_template('manpage_template')
|
||||||
output = template.render(today=date.today(),
|
output = template.render(today=date.today(),
|
||||||
jc=jc.cli.about_jc())
|
jc=jc.cli.JcCli.about_jc())
|
||||||
|
|
||||||
with open('man/jc.1', 'w') as f:
|
with open('man/jc.1', 'w') as f:
|
||||||
f.write(output)
|
f.write(output)
|
||||||
|
@ -9,7 +9,7 @@ env = Environment(loader=file_loader)
|
|||||||
template = env.get_template('readme_template')
|
template = env.get_template('readme_template')
|
||||||
# output = template.render(jc=jc.cli.about_jc())
|
# output = template.render(jc=jc.cli.about_jc())
|
||||||
output = template.render(parsers=jc.lib.all_parser_info(),
|
output = template.render(parsers=jc.lib.all_parser_info(),
|
||||||
info=jc.cli.about_jc())
|
info=jc.cli.JcCli.about_jc())
|
||||||
|
|
||||||
with open('README.md', 'w') as f:
|
with open('README.md', 'w') as f:
|
||||||
f.write(output)
|
f.write(output)
|
||||||
|
Reference in New Issue
Block a user