Skip to content

Use flags for magic constants #39

@lucasgpulcinelli

Description

@lucasgpulcinelli

Sucury as is has many hardcoded constants, however the user might want to change them without having to open the python file and edit manually. For that, I propose the usage of the "argparse" module with options such as "--grid-size", "--width", "--height", etc. with default values as the ones defined. This would be simple to implement and add a lot of customization options (and a --help by default, which is a must for any CLI invoked program!).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions