babarot / afx

📦 Package manager for CLI
https://babarot.me/afx/
MIT License
148 stars 6 forks source link

Update show command #16

Closed babarot closed 2 years ago

babarot commented 2 years ago

WHAT

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.