-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.0.0] Import Export CLI - PR 4 #7
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
5315991
refactor(Logs): Update Logs to be More Accurate
menuka94 5d4efed
docs: Add TODO on MultiAttribute Search for Publisher
menuka94 20cad61
test(token-management): refactor error messgaes in tests
menuka94 0d0079e
test: add more tests for ConfigVars and FileIOUtils
menuka94 c5e6d8c
test(cmd): fix running errors on 'cmd' directory
menuka94 d8cd8b8
test(cmd): implement unit tests for 'add-env' command
menuka94 41dba7f
test(cmd): implement tests for 'remove-env' command
menuka94 d3bdaaf
test(cmd): update tests for utils
menuka94 8eea42a
test(cmd): update tests
menuka94 3219189
feat: update bash_completion.sh
menuka94 4bcae35
test: add test for 'http-get'
menuka94 798b585
test(cmd): update 'import-api' tests
menuka94 5e88b45
test: update tests for utils
menuka94 376be18
refactor: inject file paths to ExecutePreCommand function
menuka94 983f047
docs: add CONTRIBUTING guide
menuka94 c77231c
feat(cmd): add 'query' flag to 'list apis' command
menuka94 fda91a3
feat(cmd): encode query in 'export-api' command
menuka94 702dbe9
style: code cleanup
menuka94 bce764f
docs: fix license headers
menuka94 5838b75
chore: update build script and README
menuka94 ff52641
docs: add instructions for installing Go
menuka94 1f1262b
test(cmd): delete temporary directory after test completion
menuka94 1daee41
feat(cmd): introduce --token (-t) flag
menuka94 25a1e25
test(utils): update TokenManagement tests
menuka94 dc86061
test(*): update tests
menuka94 d1e7a65
chore: update with upstream/master
menuka94 de9a7b3
docs: update README.md
menuka94 4334cf5
test(utils): update tests
menuka94 cd9f046
refactor: rename SkipTLSVerifictation to Insecure
menuka94 77599b0
fix: update query encoding
menuka94 bb357bf
docs: update CONTRIBUTING.md
menuka94 d7be7b5
chore: remove unnecessary installer scripts
menuka94 49b82e6
refactor(cmd): create execute-cmd functions
menuka94 0a1845c
refactor: rename some constants
menuka94 10adb1c
feat(cmd): implement export-api with --token flag
menuka94 7cda71f
feat, refactor: move ConfigDirPath to HOME dir
menuka94 fb6e256
refactor: remove unnecessary files, add html link to README
menuka94 939d9f2
docs, chore: update README and build script
menuka94 1d19537
feat: addd main_config.yaml sample to ConfigDir
menuka94 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,7 +84,8 @@ fi | |
#platforms="linux/amd64/linux/x64" | ||
#platforms="darwin/amd64/macosx/x64" | ||
if [ "${full_build}" == "true" ]; then | ||
echo "Building "$'\e[1m'"${filename^^}:${build_version}"$'\e[0m'" for all platforms..." | ||
# following line causes an error in MacOS | ||
# echo "Building "$'\e[1m'"${filename^^}:${build_version}"$'\e[0m'" for all platforms..." | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixes #10 for 3.0.0 |
||
platforms="darwin/amd64/macosx/x64 linux/386/linux/i586 linux/amd64/linux/x64 windows/386/windows/i586 windows/amd64/windows/x64" | ||
else | ||
detectPlatformSpecificBuild | ||
|
@@ -112,9 +113,8 @@ do | |
zipdir="${buildPath}/$filename" | ||
mkdir -p $zipdir | ||
|
||
cp -r "${baseDir}/resources/README.md" $zipdir > /dev/null 2>&1 | ||
cp -r "${baseDir}/resources/README.html" $zipdir > /dev/null 2>&1 | ||
cp -r "${baseDir}/LICENSE" $zipdir > /dev/null 2>&1 | ||
cp -r "${baseDir}/resources/exported" ${zipdir} > /dev/null 2>&1 | ||
|
||
# set destination path for binary | ||
destination="$zipdir/$output" | ||
|
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #12 for 3.0.0