Enhance CLI command structure and add new functionalities

- Refactored existing CLI commands to follow a more structured naming convention, improving clarity and usability.
- Introduced new commands for dungeon and graphics handling, including `dungeon export`, `gfx export-sheet`, and `gfx import-sheet`, with placeholder implementations.
- Added palette export and import commands, enhancing the CLI's capabilities for managing graphical assets.
- Updated usage examples and help text to reflect the new command structure and improve user guidance.
- Incremented version number in TUI components to reflect the latest changes.
This commit is contained in:
scawful
2025-09-30 21:21:19 -04:00
parent a346865701
commit e7d4f5ea02
8 changed files with 227 additions and 43 deletions

View File

@@ -46,6 +46,31 @@ class Tile16Transfer : public CommandHandler {
absl::Status Run(const std::vector<std::string>& arg_vec) override;
};
class GfxExport : public CommandHandler {
public:
absl::Status Run(const std::vector<std::string>& arg_vec) override;
};
class GfxImport : public CommandHandler {
public:
absl::Status Run(const std::vector<std::string>& arg_vec) override;
};
class PaletteExport : public CommandHandler {
public:
absl::Status Run(const std::vector<std::string>& arg_vec) override;
};
class PaletteImport : public CommandHandler {
public:
absl::Status Run(const std::vector<std::string>& arg_vec) override;
};
class DungeonExport : public CommandHandler {
public:
absl::Status Run(const std::vector<std::string>& arg_vec) override;
};
class Open : public CommandHandler {
public:
absl::Status Run(const std::vector<std::string>& arg_vec) override {
@@ -186,4 +211,4 @@ class Expand : public CommandHandler {
} // namespace cli
} // namespace yaze
#endif
#endif // YAZE_CLI_Z3ED_H