mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 12:45:00 +00:00
improved handling of defaults
This commit is contained in:
parent
3be2c3e893
commit
65c9a7866a
5 changed files with 118 additions and 89 deletions
|
@ -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__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue