view test.py @ 12:fa511fc2cfd5 draft

planemo upload for repository https://github.com/rolfverberg/galaxytools commit f8c4bdb31c20c468045ad5e6eb255a293244bc6c
author rv43
date Tue, 21 Mar 2023 13:39:37 +0000
parents 07647d52d7d3
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__()