The dev command's setup-files should only be copied over on top of the explorer repository's theme files. This should not be feasible with a standard theme, i.e.: Expanse.
Current Default Behaviour
setup-files flag is on by default and will install components' setup to any theme.
theme-path flag is always considered and points to a default value of the explorer repository
New Default Behaviour:
setup-files flag is on by default and will install components' setup to any theme.
theme-path flag is disabled because setup-files is enabled. They are mutually exclusive.
The explorer repository files should be embedded in the plugin repository
The explorer repository files should be used instead of a theme.
Current Behaviour for setup files and theme-path flags
When a theme path is specified, the theme files will be used regardless of the setup-files flag value.
The setup files will be copied to the theme if the flag is true, regardless of whether it is from its default value.
When there is an explicit negation of the --setup-files flag, setup-files will be ignored.
New Behaviour for setup files and theme-path flags
When no theme path is specified
If the setup-files flag is set to true
The setup-files flag defaults to true, and setup-files will be copied.
The --theme-path default value of 'reference-theme' will be manually changed to the explorer files path.
If the setup-files flag is set to false
The default theme is used (reference components), and setup files are ignored
When only a theme path is specified
The setup-files flag default true value will be manually changed to false.
The theme-path flag value will be used normally
When there is an explicit use of both the --setup-files flag and --theme-path on the command line,
If there is an explicit use of the --theme-path flag on the command line, and the --setup-files flag is true, but from the toml file only
The setup-files value from the toml file will be ignored since command line args have a higher priority
The --theme-path flag value will be taken into consideration
A Warning should be issued to explain to the user that the command-line theme-path flag takes precedence over the setup-files flag in the toml file.
Otherwise
The --setup-files flag is the default option. It takes precedence over the --theme-path flag.
If the --setup-files flag is true, then the --theme-path flag value will be ignored, and we will use setup files with the explorer files.
A Warning should be issued to explain to the user that setup files can not be used with a theme.
If the --setup-files flag is false, proceed with the provided --theme-path flag without setup-files
The dev command's setup-files should only be copied over on top of the explorer repository's theme files. This should not be feasible with a standard theme, i.e.: Expanse.
Current Default Behaviour
New Default Behaviour:
Current Behaviour for setup files and theme-path flags
New Behaviour for setup files and theme-path flags
When no theme path is specified
--theme-path
default value of 'reference-theme' will be manually changed to the explorer files path.When only a theme path is specified
true
value will be manually changed to false.theme-path
flag value will be used normallyWhen there is an explicit use of both the
--setup-files
flag and--theme-path
on the command line,If there is an explicit use of the
--theme-path
flag on the command line, and the--setup-files
flag is true, but from the toml file onlyThe setup-files value from the toml file will be ignored since command line args have a higher priority
The
--theme-path
flag value will be taken into considerationA Warning should be issued to explain to the user that the command-line theme-path flag takes precedence over the setup-files flag in the toml file.
Otherwise
The
--setup-files
flag is the default option. It takes precedence over the--theme-path
flag.If the
--setup-files
flag is true, then the--theme-path
flag value will be ignored, and we will use setup files with the explorer files.If the
--setup-files
flag is false, proceed with the provided--theme-path
flag without setup-files