add commit action

enable a global option to commit staged files
global options

everyday commands included on select loop
fixes #3