WolvenKit / gpm

gpm or Game Package Manager is a tool for downloading, installing, uninstalling, building, and publishing mod packages
GNU Affero General Public License v3.0
7 stars 3 forks source link

use anyhow for error, remove custom prompt and some other enhancement #4

Closed marius851000 closed 3 years ago

marius851000 commented 3 years ago

Use 4 space instead of 2 for tabulation, as assumed by cargo fmt (auto formatting for rust) Use anyhow for error management. Allow for way better error reporting compared to string. remove custom prompt. the dialoguer (or any equivalent) crate should be used instead. added some pub to allow direct access for code in other file.