I have an ArcGIS Toolbox with a bunch of parameters. A python script is used to perform some raster operations, based on this parameters. I am using Python argparse in the script to get the parameters. I do this because the program was originally developed as a command line tool using ArcPy. With argparse I can show some useful help text and use command line switches where the position of the argument in the argument list does not matter. Of course argparse offers much more advantages.
ArcGIS is passing the parameters as positional arguments. So I can't use parameters like -k or --doSomeThing=100
Using a checkbox for example, that is ticked, this will pass a "true" to my script but I would like to have a "real" command line switch like "-k" or something like that. Has anyone an idea if this is possible? Maybe using tool validation?