<filename>src/mylib-sample.py
import cmdline

print("\n----- cmdline module -----\n")
print('* ' + '\n* '.join(dir(cmdline)))

print("\n----- parse_args() document -----\n")
print(cmdline.parse_args.__doc__)

<filename>src/mylib-sample.py
import cmdline

print("\n----- cmdline module -----\n")
print('* ' + '\n* '.join(dir(cmdline)))

print("\n----- parse_args() document -----\n")
print(cmdline.parse_args.__doc__)
