Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

consider QoL changes such as for error handling #2

Description

@kojq
  • Return appropriate error messages or use exceptions instead of calling quit immediately on errors (e.g., missing config file or insufficient command-line arguments)
  • Split the code into separate modules or procedures such as for configuration parsing
  • JSON (or another format) validation such as by checking whether mandatory keys exist or if values are of the expected type
  • Asynchronous command execution

I don't think logging, unit tests, sanitizing, or automatic generation of documentation will be needed, but we will see.

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions