212 Commits

Author SHA1 Message Date
Mariusz Nowak
b5668d5be0 fix(Variables): Ensure resolution of unrecognized CLI options 2021-03-31 14:00:17 +02:00
Mariusz Nowak
fa728e1478 fix(CLI): Fix deprecation warning message 2021-03-31 14:00:17 +02:00
Mariusz Nowak
7601e26360 refactor(Variables): Do not run old resolver when not needed 2021-03-31 12:25:49 +02:00
Mariusz Nowak
f112e4b91c feat(Variables): Report errors on unresolved variables 2021-03-30 10:22:40 +02:00
Mariusz Nowak
385c15bc83 refactor(Variables): Configure dashboard sources in a new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
6292197ee1 refactor(Dashboard): Provide direct internal access to dashboard plugin 2021-03-30 10:22:40 +02:00
Mariusz Nowak
af0242d716 refactor(CLI): Ensure resolved provider.region if dashboard 2021-03-30 10:22:40 +02:00
Mariusz Nowak
ee76876725 feat(Variables): Support source extensions from plugins for new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
3f7f67ccc1 refactor(Variables): Configure ssm source in a new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
12a4cad102 refactor(Variables): Configure s3 source in a new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
a60e90f61c refactor(Variables): Configure cf source in a new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
00652005d4 refactor(CLI): Improve command resolution handling 2021-03-30 10:22:40 +02:00
Mariusz Nowak
32013dc9bb refactor(CLI): Refactor flow into IIFE 2021-03-30 10:22:40 +02:00
Mariusz Nowak
eecd9285d5 refactor(Variables): Configure sls source in a new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
03817c23fb refactor(CLI): Rename module to unify convention 2021-03-26 10:11:57 +01:00
Mariusz Nowak
c2d4f834e5 refactor(CLI): Prevent superfluous vars resolution with help request 2021-03-26 10:11:57 +01:00
Mariusz Nowak
2eb61fc510 refactor(CLI): Render help out of internal context 2021-03-26 10:11:57 +01:00
Mariusz Nowak
8142515bfc refactor(CLI): Ensure to have up to date commands
When invoked by outdated global installation
2021-03-26 10:11:57 +01:00
Mariusz Nowak
9aa026d8f7 refactor(CLI): Recalculate options only if external plugins were loaded 2021-03-26 10:11:57 +01:00
Mariusz Nowak
01b135c69f fix(CLI): Ensure to expose accurate commandsSchema in resolved input 2021-03-26 10:11:57 +01:00
Mariusz Nowak
2dacbcce85 feat(CLI): Validate command and options against resolved schema 2021-03-24 11:50:24 +01:00
Mariusz Nowak
3422a121d7 feat(Variables): Recognize CLI command plugin extensions in new resolver 2021-03-24 11:50:24 +01:00
Mariusz Nowak
9e84423413 refactor(CLI): Improve validation of resolution state of core config 2021-03-24 11:50:24 +01:00
Mariusz Nowak
59434afd95 refactor(CLI): Generalize property resolution validation 2021-03-24 11:50:24 +01:00
Mariusz Nowak
13610cf0f0 refactor(Variables): Recognize only defined CLI options in resolver 2021-03-22 15:31:17 +01:00
Mariusz Nowak
b6382fdb7a refactor(CLI): Resolve command and options gradually
Against command schemas which we know are supported in given context
2021-03-22 15:31:17 +01:00
Mariusz Nowak
9ab04a6747 refactor(CLI): Proritize provider.name validation 2021-03-22 15:31:17 +01:00
Mariusz Nowak
cfe83df174 refactor(Variables): Smarter "is property resolved" validation 2021-03-22 15:31:17 +01:00
Mariusz Nowak
4364acca58 refactor(CLI): Return resolved commandSchema from resolveInput util 2021-03-22 15:31:17 +01:00
Mariusz Nowak
362f5e94e0 refactor(CLI): Expose resolved string command by resolveInput util 2021-03-22 15:31:17 +01:00
Mariusz Nowak
ee01833df8 refactor(Variables): Report immediatelly eventual syntax errors 2021-03-18 14:36:18 +01:00
Mariusz Nowak
851c9f4d52 refactor(CLI): Improve flow documentation 2021-03-18 14:36:18 +01:00
Mariusz Nowak
f67d95a553 feat(Variables): Meaningfully reject not resolvable provider.name 2021-03-18 14:36:18 +01:00
Mariusz Nowak
d851914a44 feat(Variables): For --help output resolve just needed properties
`provider.name` and `plugins` specifically
2021-03-18 14:36:18 +01:00
Mariusz Nowak
a537856651 refactor(Variables): Smarter resolution phases 2021-03-18 14:36:18 +01:00
Mariusz Nowak
ab1c673bb2 refactor(CLI): Improve setup of resolution flow 2021-03-18 14:36:18 +01:00
Mariusz Nowak
5a2da444ea feat(Variables): Disallow provider.variableSyntax with new resolver 2021-03-18 14:36:18 +01:00
Mariusz Nowak
a72b681635 refactor(CLI): Do not show deprecation with help command 2021-03-18 14:36:18 +01:00
Mariusz Nowak
d15efd9108 refactor(CLI): Do not throw errors when help command 2021-03-18 14:36:18 +01:00
Mariusz Nowak
8d44a49e59 refactor(CLI): Improve condition 2021-03-18 14:36:18 +01:00
Mariusz Nowak
ab055a3390 refactor(CLI): Wrap with function for better maintainance 2021-03-18 14:36:18 +01:00
Mariusz Nowak
a48117041c refactor(CLI): Integrate isHelpRequest into resolveInput util 2021-03-18 14:36:18 +01:00
Mariusz Nowak
e01dfacd83 refactor(CLI): Do not read service config for service unrelated commands 2021-03-16 09:34:33 +01:00
Mariusz Nowak
8b301dce9c refactor(CLI): Generalize handling of not supported commands 2021-03-16 09:34:33 +01:00
Mariusz Nowak
524c43df75 refactor(Variables): Improve source fulfillment handling 2021-03-09 12:05:59 +01:00
Mariusz Nowak
aa9dc0a8dc fix(CLI): Fix dashboard error handler error reporting 2021-03-05 16:20:03 +01:00
Mariusz Nowak
5565047382 fix(Variables): Report with meaningful error unresolved "plugins" 2021-03-03 13:13:36 +01:00
Mariusz Nowak
390e7d5f15 refactor(Variables): Improve error wording 2021-03-03 13:13:36 +01:00
Mariusz Nowak
c1d8b58ed8 refactor(Variables): Resolve all env variables with new resolver 2021-03-02 13:54:16 +01:00
Mariusz Nowak
452fdc2445 refactor(Variables): Make resolution error handler reusable 2021-03-02 13:54:16 +01:00