cli: config: keep track of whether the config is newly created