title: call python module functions from command line
body: <p>I would like to know if there is a way to call module functions from the command line. My problem is that I have a file package called find_mutations. This requires that the input files are sorted in a specific way, so i made a function to do so. I would like the user to be able to have the option to run the code normally:</p>
  
  <pre><code>$ python -m find_mutations -h
  </code></pre>
  
  <p>or run the specific sort_files function:</p>
  
  <pre><code>$ python -m find_mutations.sort_files -h
  </code></pre>
  
  <p>Is something like this possible? If so, does the sort_files function need to be in its own strip? Do I need to add something to my <code>__init__.py</code> script? The package install properly and runs fine, I would just like to add this.</p>