-
-
Notifications
You must be signed in to change notification settings - Fork 143
Enhance Atmos CLI: Add Support for Custom Base Path and Config Paths #1091
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
Merged
Changes from all commits
Commits
Show all changes
118 commits
Select commit
Hold shift + click to select a range
7f13ce6
refactor InitCliConfig
haitham911 9ed97f7
add readConfig function
haitham911 5389ffc
Merge branch 'main' into Viper-built-in-configuration
haitham911 1fe3e66
add load config
haitham911 1cfec36
[autofix.ci] apply automated fixes
autofix-ci[bot] 3ad2d48
add default.go & update snapshots
haitham911 263d14a
resolve comments
haitham911 2532cfc
remove unused function processConfigFile
haitham911 86bf3cc
improve log
haitham911 9de9d7b
[autofix.ci] apply automated fixes
autofix-ci[bot] 037560c
add imports
haitham911 5e134f5
update snapshots
haitham911 413f955
add import config test
haitham911 eae3f97
[autofix.ci] apply automated fixes
autofix-ci[bot] 6c2f103
refactor LoadConfig into smaller helper functions
haitham911 0bc7b4a
update Valid_Log_Level snapshots
haitham911 f87f1e9
update log snapshots
haitham911 d660739
update snapshots
haitham911 1858c2b
update snapshots Valid_Log_Level
haitham911 36cd759
Merge branch 'main' into atmos-import-config
haitham911 daaa03c
remove //nolint:revive
haitham911 c0db066
Exclude any line containing "log."
haitham911 8920e56
fix lint revive.add-constant
haitham911 09fe32d
update add-constant to include "error","path"
haitham911 e4b6f24
improve code lint
haitham911 da8006a
improve log
haitham911 54bb994
improve log charmbracelet aliased
haitham911 36ab8e8
Preprocess Atmos config with custom functions
haitham911 e42aa94
[autofix.ci] apply automated fixes
autofix-ci[bot] 19136b0
remove print line
haitham911 0c95ad9
improve logs
haitham911 b2669c7
refactor processScalarNode
haitham911 ab18aab
improve logs
haitham911 0a9353a
[autofix.ci] apply automated fixes
autofix-ci[bot] 462b5bf
fix linter error
haitham911 55a9b05
fix linter errors
haitham911 115006b
update snapshots
haitham911 6180ff5
fix linter errors
haitham911 6f5d329
fix linter
haitham911 21ae927
add global --base-path ,--config ,--config-path
haitham911 982d33f
add embed atmos config
haitham911 d5c4373
add global --base-path ,--config ,--config-path
haitham911 6a09b65
enhance code
haitham911 0b4f71d
go format file
haitham911 8afa420
[autofix.ci] apply automated fixes
autofix-ci[bot] 1cb9623
disable atmos_vendor_pull
haitham911 d4f7630
update snapshots Valid_Log_Level_in_Environment_Variable
haitham911 ea71b2f
update snapshots
haitham911 7ebb430
Merge branch 'atmos-import-config' into DEV-2790
haitham911 483782e
updates snapshots
haitham911 729e119
update snapshots
haitham911 7cda8a4
Merge branch 'main' into atmos-import-config
haitham911 2ee18b9
set config path dir
haitham911 25688c6
update snapshots
haitham911 351c73b
add processStackConfigs on config.go
haitham911 9ab9d3c
[autofix.ci] apply automated fixes
autofix-ci[bot] eff1fd7
fix linter errors config.go
haitham911 6c661ac
add nolint:gocritic for InitCliConfig
haitham911 3bceb0b
Merge branch 'atmos-import-config' into DEV-2790
haitham911 4a3b34a
Merge branch 'main' into atmos-import-config
osterman 60bed99
fix readEnvAmosConfigPath
haitham911 2cdd2b9
[autofix.ci] apply automated fixes
autofix-ci[bot] 2742bb9
improve log
haitham911 33f1aec
Merge branch 'main' into atmos-import-config
aknysh 498baca
Merge branch 'main' into atmos-import-config
haitham911 c8accb4
fix import
haitham911 23423b3
Merge branch 'main' into atmos-import-config
haitham911 69269ff
Merge branch 'main' into atmos-import-config
osterman 0043a45
Merge branch 'main' into atmos-import-config
haitham911 a7ff480
update snapshots
haitham911 3548783
fix linter error
haitham911 76b4971
Apply suggestions from code review
osterman a33f5ab
[autofix.ci] apply automated fixes
autofix-ci[bot] df9c5a6
remove log
haitham911 a0b0e45
update snap shots
haitham911 31251b1
Merge branch 'main' into atmos-import-config
haitham911 501a94b
add ProcessSchemas
haitham911 2040b9e
resolve comments
haitham911 f78b7b0
fix base path
haitham911 85e3d04
add doc
haitham911 c860c89
move functions to helper
haitham911 9ffb03d
Merge branch 'main' into atmos-import-config
haitham911 c936af3
update snapshots
haitham911 8871f80
[autofix.ci] apply automated fixes
autofix-ci[bot] 29d78c2
update snapshot
haitham911 2bf442b
update snapshots
haitham911 4b6baad
update snapshots
haitham911 2bb9e3f
remove repository root configuration from CLI docs
haitham911 4ca552c
Merge branch 'atmos-import-config' into DEV-2790
haitham911 2444a40
update snapshots
haitham911 751240c
update doc
haitham911 ff38c59
update snapshot
haitham911 fe627ac
fix test TestExecuteVendorPullCommand
haitham911 4b3c1cb
fix tests TestExecuteWorkflowCmd,TestExecuteVendorPull
haitham911 bf346ea
add test cases
haitham911 9534bd4
[autofix.ci] apply automated fixes
autofix-ci[bot] d3195a0
Merge branch 'main' into DEV-2790
haitham911 ad754fe
remove comment
haitham911 3572a9b
Merge branch 'main' into DEV-2790
haitham911 76e30d3
Merge branch 'main' into DEV-2790
haitham911 0fa8ddb
fix test
haitham911 4c9299b
Merge branch 'main' into DEV-2790
haitham911 6db2c92
set --config as global on editorconfig
haitham911 0fa7065
Merge branch 'main' into DEV-2790
aknysh 7157821
modify description flag --config --config-path
haitham911 751c7e7
add test
haitham911 6409fc8
add test
haitham911 12808eb
update snapshots
haitham911 34554ce
[autofix.ci] apply automated fixes
autofix-ci[bot] 5718998
update doc
haitham911 7557d71
update doc
haitham911 0babbe5
Merge branch 'main' into DEV-2790
haitham911 d12b369
set configFilePaths value on editorConfigCmd
haitham911 21b07b9
fix linter error
haitham911 4b47622
fix linter error
haitham911 6992777
fix linter
haitham911 2ce4512
Merge branch 'main' into DEV-2790
aknysh 53afee9
Merge branch 'main' into DEV-2790
aknysh 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| logs: | ||
| # Can also be set using 'ATMOS_LOGS_FILE' ENV var, or '--logs-file' command-line argument | ||
| # File or standard file descriptor to write logs to | ||
| # Logs can be written to any file or any standard file descriptor, including `/dev/stdout`, `/dev/stderr` and `/dev/null` | ||
| file: "/dev/stderr" | ||
| # Supported log levels: Trace, Debug, Info, Warning, Off | ||
| # Can also be set using 'ATMOS_LOGS_LEVEL' ENV var, or '--logs-level' command-line argument | ||
| level: Info |
This file contains hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.