ACCESS-NRI / amami

ACCESS Models Accessory Multitool Interface (AMAMI) is a Python package that bundles a set of commands to handle ACCESS models input and output files.
Apache License 2.0
0 stars 0 forks source link

Refactor commands modules main functions to take separate input args #30

Open atteggiani opened 6 months ago

atteggiani commented 6 months ago

Expand args in main() functions of commands modules (um2nc, etc.) to help clarity & testing.

From

def main(args): 
  ...

to

def main(
  input,
  output,
  <other_argument>,
  ...,
): 
  ...