feat(main): implement --from-latest-tag flag

Fixes #6