banesullivan / scooby

🐶 🕵️ Great Dane turned Python environment detective
MIT License
47 stars 12 forks source link

support command line usage #98

Closed smason closed 1 year ago

smason commented 1 year ago

might be nice to allow python -m scooby

it would just be a matter of creating scooby/__main__.py, containing:

from . import Report

def main():
    print(Report())

if __name__ == "__main__":
    main()

maybe adding argparse support later to allow things like HTML output

prisae commented 1 year ago

This is actually in the works, have a look at #86 - feedback/input there welcome!

smason commented 1 year ago

thanks, that looks exactly like what I was thinking, and a bit more!

prisae commented 1 year ago

With the just released v0.7.0 this is now possible @smason!