Rewrite of 'destinations' subcommand + a simple unit test