goodwithtech / dockle

Container Image Linter for Security, Helping build the Best-Practice Docker Image, Easy to start
https://containers.goodwith.tech/
Apache License 2.0
2.8k stars 139 forks source link

Move new app initialization out of main #174

Closed lior-orca closed 2 years ago

lior-orca commented 2 years ago

In order to use 'Dockle' programmatically, the app initialization logic cannot be placed in the main package.

The commit simply transitions the relevant logic out of the main package.

lior-orca commented 2 years ago

@tomoyamachi our initial change is not sufficient :/ we need to have the command in a new module...