improved handling of defaults

This commit is contained in:
Paul Gauthier 2024-06-06 13:40:16 -07:00
parent 3be2c3e893
commit 65c9a7866a
5 changed files with 118 additions and 89 deletions

View file

@ -483,7 +483,12 @@ def get_sample_yaml():
def main():
print(get_sample_yaml())
arg = sys.argv[1] if len(sys.argv[1:]) else None
if arg == "md":
print(get_help())
else:
print(get_sample_yaml())
if __name__ == "__main__":