Skip to content

Can't set decoration using config file #108

@caiocotts

Description

@caiocotts

It is currently impossible to set the decoration with the config file. So doing something like this:
reflex.conf

--start-service \
    --decoration=none \
    --regex='\.go$' \
    -- go run .

results in the following error:
Could not parse configs: error on line 1 of reflex.conf: unknown flag: --decoration

This seems to be because the decoration flag is not being set via globalConfig.registerFlags(globalFlags).

Is it possible to allow decoration to be a config flag as well? Or is this behaviour intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions