|
Porytiles
|
Lists tileset names in the project. More...
#include <command_list_tilesets.hpp>
Public Member Functions | |
| ListTilesetsCommand (CLI::App &parent_app) | |
| void | Run () override |
Public Member Functions inherited from Command | |
| virtual | ~Command ()=default |
| Command (CLI::App &parent_app, const std::string &name, const std::string &desc, const std::string &group) | |
| Command (const Command &)=delete | |
| Command & | operator= (const Command &)=delete |
| Command (Command &&)=delete | |
| Command & | operator= (Command &&)=delete |
| CLI::App & | get_app () const |
Additional Inherited Members |
Lists tileset names in the project.
ListTilesetsCommand provides a way to list all tilesets in a project. This is useful for scripting, getting an overview of the project, and for shell completion scripts.
The command supports filtering by management status:
all: Return all tilesets found in the project (default)managed: Return only tilesets that have been imported/created by Porytilesunmanaged: Return only tilesets not yet managed by PorytilesCRITICAL: This command must NEVER write to stderr, as that would corrupt shell completion results. All errors are silently ignored.
Definition at line 30 of file command_list_tilesets.hpp.
|
inlineexplicit |
Definition at line 32 of file command_list_tilesets.hpp.
|
inlineoverridevirtual |
Implements Command.
Definition at line 48 of file command_list_tilesets.hpp.