Add advanced doc on creating CLI command