iCmd, iSh, iPgm, ... should take kwargs instead of options dictionary

Issue #4 resolved
Kevin Adler created an issue

compare:

iPgm('foo', 'FOO', {'lib': 'MYLIB', 'function': 'bar' }) # call function 'bar' in MYLIB/FOO

to:

iPgm('foo', 'FOO', lib='MYLIB', function='bar')

https://pythontips.com/2013/08/04/args-and-kwargs-in-python-explained/ (this works similarly in Ruby as well, just search for kwargs)

Comments (5)

  1. Log in to comment