Made clear that generic_plot.kibot.yaml is just a template.

Closes #40
This commit is contained in:
Salvador E. Tropea 2021-01-05 15:14:22 -03:00
parent b0cc64e5c5
commit a6c4bd3bc9
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
# ATTENTION! THIS ISN'T A FULLY FUNCTIONAL EXAMPLE.
# You should take portions of this example and edit the options to make
# them suitable for your use.
# This file is useful to know all the available options.
kibot:
version: 1

View File

@ -395,6 +395,10 @@ def create_example(pcb_file, out_dir, copy_options, copy_expand):
exit(WONT_OVERWRITE)
with open(fname, 'w') as f:
logger.info('Creating {} example configuration'.format(fname))
f.write("# ATTENTION! THIS ISN'T A FULLY FUNCTIONAL EXAMPLE.\n")
f.write("# You should take portions of this example and edit the options to make\n")
f.write("# them suitable for your use.\n")
f.write("# This file is useful to know all the available options.\n")
f.write('kibot:\n version: 1\n')
# Preflights
f.write('\npreflight:\n')