You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 22, 2025. It is now read-only.
@@ -18,10 +19,17 @@ let config = new Config(__dirname),
18
19
tasks.status()
19
20
.then(frames=>{
20
21
if(frames.length===0){
21
-
console.log('No projects are started right now.');
22
+
if(program.opts().s){
23
+
console.log('gtt idle ');
24
+
}else{
25
+
console.log('No projects are started right now.');
26
+
}
22
27
return;
23
28
}
24
-
25
-
frames.forEach(frame=>console.log(`Project ${frame.project.magenta}${frame.resource.type.blue}${('#'+frame.resource.id).blue}${frame.note?frame.note:''} is running, started ${moment(frame.start).fromNow().green} (id: ${frame.id})`));
frames.forEach(frame=>console.log(`Project ${frame.project.magenta}${frame.resource.type.blue}${('#'+frame.resource.id).blue}${frame.note?frame.note:''} is running, started ${moment(frame.start).fromNow().green} (id: ${frame.id})`));
33
+
}
26
34
})
27
35
.catch(error=>Cli.error('Could not read frames.',error));
0 commit comments