Skip to content

Commit

Permalink
feat: implement PaaS logs follow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuruyia committed Dec 1, 2022
1 parent d0ffd6e commit 757baf7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/commands/paas/logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ class PaasLogs extends PaasKommand {
public static description = "Show logs of the targeted application";

public static flags = {
follow: flags.boolean({
char: "f",
description: "Follow log output",
}),
help: flags.help(),
project: flags.string({
description: "Current PaaS project",
Expand Down Expand Up @@ -76,6 +80,7 @@ class PaasLogs extends PaasKommand {
environmentId: this.args.environment,
projectId: this.flags.project || this.getProject(),
applicationId: this.args.application,
follow: this.flags.follow,
});

// Read the response line by line
Expand Down

0 comments on commit 757baf7

Please sign in to comment.