출력 메세지 정리
This commit is contained in:
parent
992689893c
commit
84dc2714eb
1 changed files with 10 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue