aaron-p-lehmann / selenium_page_stubber

Utility program for generating stubs of selenium pages
Mozilla Public License 2.0
1 stars 1 forks source link

Simplify CLI #22

Closed aaron-p-lehmann closed 2 months ago

aaron-p-lehmann commented 2 months ago

Making the page directory, module, and class for the root page configurable at the main page has resulted in a lot of unnecessary complexity, and should be removed. The subcommands also make things complex, and aren't really necessary, since removing that stuff makes the signatures almost identical. Change the command to:

selenium_page_stubber site

The page and template directories will always be pages and templates, and the base page module and class will always be Page. This will allow importing in https://github.com/aaron-p-lehmann/selenium_page_stubber/issues/21