Commit graph

12 commits

Author SHA1 Message Date
99812c5d7c feat: Proper error handling
- Bump version to 0.8.0
- Added discord error struct
- All errors now implement std::error::Error
- Implemented error handler instead of relying on default
- Fixed bug where you could send answer on a completed quest
2025-12-12 16:52:31 +03:00
b92eaa1241 feat: Added DiscordConfig for future usage
- Added crate::error::Error::IsNotImplemented
- Added Config::full_impl_path
- Added Config::discord_impl for discord crate
2025-12-09 16:07:41 +03:00
1142fe6ad9 feat: Added impl_path field to Config struct
- Also clarified error::Error enum
2025-12-09 14:16:23 +03:00
2960b6dfc4 feat: Implemented file hierarchy initialization
- Bump version to 0.5.1
- Added Config::save method
- cli: Added init command
2025-12-05 17:16:40 +03:00
790fa88fe3 refactor(cli)!: Moved CLI stuff to crate::cli
- Bump version to 0.4.0
- Added Config::try_load
- Added Config.verbose field
- Made Config.path public
- Added -q/--quiet flag to CLI

BREAKING CHANGE: Moved CLI-related objects to squad-quest-cli::cli
2025-12-04 17:37:01 +03:00
b9f75e426c feat: Added Map
- Implemented Map
- Partially implemented CLI interaction with map
- Added load_map test
2025-12-03 17:01:40 +03:00
0e8cdde697 feat!: Account features
- Bump version to 0.2.0
- Added trait SquadObject
- Implemented SquadObject for Quest and Account
- Implemented Config::load_accounts
- Removed src/quest/error.rs
- Added account tests in tests/main.rs

BREAKING CHANGE: Quest::{load,delete,save} are now provided by
SquadObject trait
2025-12-02 14:33:38 +03:00
1dc7d94785 refactor!: moved quest::error::QuestError to crate::error::Error 2025-12-01 17:15:08 +03:00
2e14614bdf feat: full_quests_path
- Added Config::full_quests_path
- Fixed quests saving in parent folder
2025-11-29 14:12:07 +03:00
94d771107d test: Initial unit testing
- Test quests vector loading
- Test default quest on empty fields
- Test correct quest
- Fixed config paths handling
2025-11-28 17:00:17 +03:00
a5eac1b64f feat: Quest loading
- Added config::Config::load_quests()
- Added quest::error::QuestError error type
- Updated documentation
2025-11-28 15:37:48 +03:00
4e3c137f8b feat: Basic structs
- Added Account struct
- Added Config struct
- Added empty Map struct
- Added Quest struct
2025-11-28 14:06:12 +03:00