view test.py @ 1:07647d52d7d3 draft

planemo upload for repository https://github.com/rolfverberg/galaxytools commit 0814301cace61040b468d4185a9056a1aed4050d-dirty
author rv43
date Mon, 20 Mar 2023 18:06:45 +0000
parents 7cc026583189
children
line wrap: on
line source

#!/usr/bin/env python3

import sys
import argparse

def __main__():

    # Parse command line arguments
    parser = argparse.ArgumentParser(
            description='Test')
    parser.add_argument('-l', '--log', 
            type=argparse.FileType('w'),
            default=sys.stdout,
            help='Log file')
    args = parser.parse_args()

    print('Hello world')

if __name__ == "__main__":
    __main__()