WIP: Workflow Updates
-
Themes should be grouped by name, and list the versions under the name: both versions created by git branches and non-git versions
-
Themes API file save should NOT delete the static files since the theme publish function is what should do that
thm publish: make public
If it was created as a git branch then you can only edit it with the thm
We just need a way to delete finished branches
If the default thm preview command always creates a new version,
Leave the id out of the theme.json, else things get messy when the branched themes are cleaned up and recreated, which would
update the id everytime that happens, and the id would also be broken
For non-git versioning use: thm new version -t "Update Header"
... -t rather than -n because this is a title, not a name
If they are not using git then just straight update the main version of the theme
...but only if it was not a git-handled theme
thm upload should not create a new version, unless it's an untracked, new git branch
Options.yml
thm pull options
- replaces local copy with remote options for the branch.
thm push options
- replaces remote copy with local options.