Skip to content

feat: Added a new feature for distributing (--outputToOneDirectory) all assets of a certain category into a single dir - #334

Open
ramitha wants to merge 4 commits into
masterfrom
oneDirectory
Open

feat: Added a new feature for distributing (--outputToOneDirectory) all assets of a certain category into a single dir#334
ramitha wants to merge 4 commits into
masterfrom
oneDirectory

Conversation

@ramitha

@ramitha ramitha commented Dec 23, 2021

Copy link
Copy Markdown
Collaborator
  • Added a new feature for distributing (--outputToOneDirectory) all assets of a certain category into a single directory by renaming the asset to iconName-flavor
  • distribute with --colorScheme flag now has a default behavior.
    • It distributes the mixed assets when present, otherwise defaults to the light and dark assets
    • (Using -c mixed light only worked previously because the -mixed asset was overriding the light asset as it had the same name)
  • This fix also slightly changes the behavior of the --withImage flag, in that it now acts as a switch. If it is not present, it only distributes assets without an image by default. (The assumption here is that you won't need both versions of an asset at the same time)
  • --outputToOneDirectory respects the --colorScheme flag, --withImage flag, --doNotRemoveSuffix, and --groupByCategory flags

@ramitha ramitha changed the title fix: distribute with --colorScheme flag now has a default behavior. feat: Added a new feature for distributing (--outputToOneDirectory) all assets of a certain category into a single dir Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant