Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #3: --only-collection exports only first collection
I have fixed this bug, but I do however think the whole current approach of the script is off. Currently it is trying to make a new collection for every single resource group, which seems a bit OTT. I work on multiple APIs and each one of those is its own collection, and not just each resource for a specific API. With this PR, the will merge all collections into one, and the name will just be whatever the name of the first resource is. I'd prefer to use the name form the first environment, as you've done so far with other parts, and I would like to see the whole script treat each import as one collection. Let me know if I can help with any of that, or if I can improve this PR.
- Loading branch information
Phil Sturgeon
committed
Nov 17, 2014
1 parent
b356160
commit db851c3
Showing
3 changed files
with
49 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
dist/* | ||
build/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters