refacto command generation
Merge branch 'master' of http://git.centreon.com/centreon