Type of issue
Feature Request
Description
Relates to #179
For local use cli args should be accepted.
Describe the solution you'd like
I think index.sh should handle all the scm parameters, pass other -* parameters to shellcheck, and the rest are filenames after -- - pre-commit passes file names to the hook. If the file names are not passed - scan all the files based on INPUT_TRIGGERING_EVENT, BASE and HEAD. I think INPUT_TRIGGERING_EVENT should remain an env variable for the actions only, and manual should be the default mode for local use.