Rework commander to support placing flags anywhere on the command line.