출력 메세지 정리

This commit is contained in:
Toki 2024-12-25 23:26:58 +09:00
parent 992689893c
commit 84dc2714eb

View file

@ -115,7 +115,14 @@ class SchedulerManager {
if(!dirLogs.existsSync()) {
dirLogs.createSync(recursive: true);
}
await file.copy('$_schedulerPath/$alias.yaml');
var newPath = '$_schedulerPath/$alias.yaml';
await file.copy(newPath);
print('');
print(':::: Scheduler registered.');
print('');
print('[alias]'.padRight(8) + alias);
print('[path]'.padRight(8) + newPath);
//update settings
var local = _localData;
@ -141,6 +148,8 @@ class SchedulerManager {
}
await _checkTerminate();
print('');
print(":::: Scheduler '$alias's registration has been removed.");
}
Future showList() async {