Skip to content

Commit

Permalink
feat(cli): add a default value on api commands
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Sep 26, 2022
1 parent 64d1207 commit 17b8887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/main/java/io/kestra/cli/AbstractApiCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import java.util.Map;

public abstract class AbstractApiCommand extends AbstractCommand {
@CommandLine.Option(names = {"--server"}, description = "Also write core tasks plugins")
@CommandLine.Option(names = {"--server"}, description = "Also write core tasks plugins", defaultValue = "http://localhost:8080")
protected URL server;

@CommandLine.Option(names = {"--headers"}, description = "Also write core tasks plugins")
Expand Down

0 comments on commit 17b8887

Please sign in to comment.