run method
Runs this command.
The return value is wrapped in a Future
if necessary and returned by
CommandRunner.runCommand
.
Implementation
@override
void run() async {
/// Creating assets_cleaner.yaml file
final result = await ConfigServices.instance.create();
if (result) {
print("---------------------------------------");
print("[✅] Successfully create assets_cleaner.yaml file");
print("---------------------------------------");
} else {
print("---------------------------------------");
print("[🚫] Failed to create assets_cleaner.yaml file");
print("---------------------------------------");
}
}