Skip to content

[FEATURE] make --setup the default behavior and deprecate the flagΒ #1211

@georgeh0

Description

@georgeh0

Currently several subcommands our CLI (update, server) accepts a --setup. Since --setup needs to be confirmed by users when there's any change needed, it's actually pretty safe if we always turn on --setup.

From now on, we want to always automatically execute setup-related logic for these subcommands, regardless of the --setup flag.

We still want to keep the --setup flag for a while for backward compatibility (users may have some script passing this flag in), but whenever users explicitly turned on --setup, output a warning to tell users it's deprecated.


❀️ Contributors, please refer to πŸ“™Contributing Guide.
Unless the PR can be sent immediately (e.g. just a few lines of code), we recommend you to leave a comment on the issue like I'm working on it or Can I work on this issue? to avoid duplicating work. Our Discord server is always open and friendly.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions