Валентина Лебедева, 397, Filemap

Cmd[] commands = new Cmd[] {new ListCmd(), new PutCmd(), ...};
for (Cmd command : commands) {