Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parse and dispatch strategy #198

Commits on Nov 2, 2023

  1. Remove test_benchcab.py

    Remove tests as they are not compatible with new API changes to the
    Benchcab class. Tests relating to executing PBS commands will be a part
    of the PBS wrapper implementation.
    SeanBryan51 committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    50dd9b5 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Add parse and dispatch strategy

    The current method of executing subcommands can be improved using a
    "parse and dispatch" strategy. Whereby you don't need to run a
    conditional to work out which subcommand to use.
    
    This change refactors the Benchcab class so that its "public" methods
    can be dispatched easily when inspecting the argparse.Namespace object
    returned by the command line parser.
    
    Fixes #196
    SeanBryan51 committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    474d183 View commit details
    Browse the repository at this point in the history