File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ func GetActionTemplates() map[string]string {
1111 "docker -- stats" : "docker stats" ,
1212 "docker -- ps" : "watch docker ps" ,
1313 "docker -- ps -a" : "watch docker ps -a" ,
14- "docker -- inspect <resource>" : "docker inspect %s | jq && read " ,
14+ "docker -- inspect <resource>" : "docker inspect %s | jq | less " ,
1515 "bash -- bash" : "bash" ,
1616 "bash -- htop" : "htop" ,
1717 "django -- python manage.py shell" : "docker exec -u root -it %s python manage.py shell" ,
1818 "django -- python manage.py shell_plus" : "docker exec -u root -it %s python manage.py shell_plus" ,
19- "traefik -- show config routers" : "docker exec %s sh -c 'apk add --no-cache --no-progress -q curl && curl localhost:8080/api/rawdata' | jq '.routers' && " + continueMsg ,
20- "traefik -- show config services" : "docker exec %s sh -c 'apk add --no-cache --no-progress -q curl && curl localhost:8080/api/rawdata' | jq '.services' && " + continueMsg ,
19+ "traefik -- show config routers" : "docker exec %s sh -c 'apk add --no-cache --no-progress -q curl && curl localhost:8080/api/rawdata' | jq '.routers' | less" ,
20+ "traefik -- show config services" : "docker exec %s sh -c 'apk add --no-cache --no-progress -q curl && curl localhost:8080/api/rawdata' | jq '.services' | less" ,
2121 }
2222}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ func GetActionTemplates() map[string]string {
77 "swarm -- ls" : "watch docker service ls" ,
88 "swarm -- ps <service>" : "watch docker service ps %s --no-trunc" ,
99 "swarm -- ps <service> (only running)" : `watch 'docker service ps --filter desired-state=running --format "{{.ID}} {{.Name}} - {{.Node}} | {{.Image}}" %s'` ,
10- "swarm -- inspect <service>" : "docker service inspect %s | jq && read " ,
10+ "swarm -- inspect <service>" : "docker service inspect %s | jq | less " ,
1111 "swarm -- update <service>" : "docker service update %s --force && " + continueMsg ,
1212 "swarm -- logs -f <service>" : "docker service logs -f %s" ,
1313 "swarm -- logs <service> | less" : "docker service logs %s | less" ,
You can’t perform that action at this time.
0 commit comments