Add state.Refresh() method to update state json schema
WHY
Better to show package status (e.g. Installed or not etc) in show command. Then to introduce this, need to update json schema to get package type from deletions. But current deletions doesn't have package type info so need to update json. So added state.Refresh() method. This method will be internally called so automatically json schema will be updated in background.
WHAT
STATUS
column toshow
commandstate.Refresh()
method to update state json schemaWHY
Better to show package status (e.g. Installed or not etc) in
show
command. Then to introduce this, need to update json schema to get package type from deletions. But current deletions doesn't have package type info so need to update json. So addedstate.Refresh()
method. This method will be internally called so automatically json schema will be updated in background.