Refactor --archive-inject into subcommand