dbx icon indicating copy to clipboard operation
dbx copied to clipboard

dbx sync should have options for patterns supplied from files

Open matthayes opened this issue 3 years ago • 0 comments

Expected Behavior

It would be helpful to have options such as --include-patterns-from and --exclude-patterns-from which specify files containing patterns to include or exclude.

Current Behavior

There are options --include-pattern and --exclude-pattern. By default if no include patterns are specified then the contents of a .syncinclude will be used if it exists. But if you want to add additional patterns on top of these in .syncinclude you cannot simply add --include-pattern foo because this will cause .syncinclude to no longer be used. Ideally you could specify --include-pattern foo --include-patterns-from .syncinclude so that both are used.

Steps to Reproduce (for bugs)

Context

Your Environment

  • dbx version used:
  • Databricks Runtime version:

matthayes avatar Jun 08 '22 05:06 matthayes