Skip to content

Commit

Permalink
Merge pull request #3 from tsirysndr/plugin/docker/compose
Browse files Browse the repository at this point in the history
docker: add docker compose command
  • Loading branch information
tsirysndr authored Oct 3, 2023
2 parents 1056be6 + 9210bbc commit 8038ac7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class Docker implements Plugin {
search: (args: string[]) => spawn(this.name, ["search", ...args]),
version: (args: string[]) => spawn(this.name, ["version", ...args]),
info: (args: string[]) => spawn(this.name, ["info", ...args]),
compose: (args: string[]) => spawn(this.name, ["compose", ...args]),
help: () => {
console.log(`Common Commands:
run Create and run a new container from an image
Expand All @@ -30,7 +31,8 @@ class Docker implements Plugin {
logout Log out from a registry
search Search Docker Hub for images
version Show the Docker version information
info Display system-wide information`);
info Display system-wide information
compose Docker Compose`);
return Promise.resolve();
},
};
Expand Down
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async function repl(

// Learn more at https://deno.land/manual/examples/module_metadata#concepts
if (import.meta.main) {
console.log("Repl v0.1.0 🚀 ✨");
console.log("Repl v0.2.1 🚀 ✨");
console.log("exit using ctrl+c, or exit, type help for more info");
repl();
}

0 comments on commit 8038ac7

Please sign in to comment.