dapr / dapr/cli

`dapr run` should have a generic `--daprd-flags` option

Open
#1,038 2 comments 0 reactions 1 assignee Claimed by @ItalyPaleAle View on GitHub
pinned
Dominant language
Go
Stars
353
Forks
221
Avg merge
3d 8h
Merged PRs (30d)
2

Description

## Describe the proposal

Right now, the Dapr CLI has a number of flags to pass options to `daprd`. However, only the flags that are allowed in the CLI can be passed.

For end users, this means that only flags that have been explicitly allow-listed by the Dapr CLI can be passed (and there are lots of flags missing today).

For developers working on Dapr, it makes it harder to test new CLI flags we're adding.

My proposal is to add a new generic flag that is a string that will be passed to `daprd` as-is, for example `--daprd-flags`

Example:

```
dapr run \
--app-port 4000 \
--daprd-flags "--dapr-public-port 4020 --enable-foo"
```

## Release Note

RELEASE NOTE: **ADD** `--daprd-flags` CLI option to pass custom flags to daprd

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.