awslabs / diagram-as-code

Diagram-as-code for AWS architecture.
Apache License 2.0
405 stars 22 forks source link

[Feature Request] Add automatic .png extension to output filename #77

Open a2ush opened 1 month ago

a2ush commented 1 month ago

Request

Add automatic .png extension to output filename. For example,

Background

Currently, when specifying a filename for the output file, if the .png extension is not included, the tool does not automatically append it. This can lead to confusion and errors, especially for users who are not familiar with file extensions. To improve the user experience and prevent potential issues, it would be beneficial to implement a feature that automatically adds the .png extension to the output filename if it is not already present.