Skip to content

Clean up verbose printing #19

Description

@sevmonster

The echo and print commands for the verbose flag create a lot of bloat and repeated code and it makes the source harder to read. This can be minimized by adding a function that takes a command line as an argument, prints it if we are being verbose, and then runs it. An optional parameter could be used to replace or augment the string to print, since the command line is not always printed verbatim.
If this is something desirable I can submit a PR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions