• Iustin Pop's avatar
    Introduce generic multi-command binary handling · 630c73e5
    Iustin Pop authored
    
    
    Currently, the mon-collector binary is the only multi-command binary
    we have in Haskell. Not surprisingly therefore, its command line
    handling is not as robust as we need, not being able to support
    standard "--help" commands.
    
    This patch introduces generic multi-command handling, similar to the
    Python functionality (some parts missing, will be added in future
    patches), and switches mon-collector over to it.
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
    630c73e5
mon-collector.hs 1.03 KB