Minor configuration schema updates
This commit is contained in:
@@ -251,7 +251,7 @@ cli_flow_t cli_handler::load_config()
|
|||||||
config = clanguml::config::load(
|
config = clanguml::config::load(
|
||||||
config_path, paths_relative_to_pwd, no_metadata, !no_validate);
|
config_path, paths_relative_to_pwd, no_metadata, !no_validate);
|
||||||
if (validate_only) {
|
if (validate_only) {
|
||||||
LOG_INFO("Configuration file {} is valid.", config_path);
|
std::cout << "Configuration file " << config_path << " is valid.\n";
|
||||||
|
|
||||||
return cli_flow_t::kExit;
|
return cli_flow_t::kExit;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,7 +39,11 @@ types:
|
|||||||
generate_links_t:
|
generate_links_t:
|
||||||
link: string
|
link: string
|
||||||
tooltip: string
|
tooltip: string
|
||||||
git_t: map_t<string;string>
|
git_t:
|
||||||
|
branch: string
|
||||||
|
revision: string
|
||||||
|
commit: string
|
||||||
|
toplevel: string
|
||||||
layout_hint_key: !variant
|
layout_hint_key: !variant
|
||||||
- up
|
- up
|
||||||
- left
|
- left
|
||||||
@@ -51,8 +55,12 @@ types:
|
|||||||
layout_hint_value: [string, [string]]
|
layout_hint_value: [string, [string]]
|
||||||
layout_hint_t: [map_t<layout_hint_key;layout_hint_value>]
|
layout_hint_t: [map_t<layout_hint_key;layout_hint_value>]
|
||||||
layout_t: map_t<string;layout_hint_t>
|
layout_t: map_t<string;layout_hint_t>
|
||||||
package_type_t: !variant [namespace, directory]
|
package_type_t: !variant
|
||||||
member_order_t: !variant [lexical, as_is]
|
- namespace
|
||||||
|
- directory
|
||||||
|
member_order_t: !variant
|
||||||
|
- lexical
|
||||||
|
- as_is
|
||||||
regex_t:
|
regex_t:
|
||||||
r: string
|
r: string
|
||||||
regex_or_string_t: [string, regex_t]
|
regex_or_string_t: [string, regex_t]
|
||||||
@@ -151,7 +159,6 @@ types:
|
|||||||
generate_method_arguments: !optional generate_method_arguments_t
|
generate_method_arguments: !optional generate_method_arguments_t
|
||||||
generate_packages: !optional bool
|
generate_packages: !optional bool
|
||||||
package_type: !optional package_type_t
|
package_type: !optional package_type_t
|
||||||
method_order: !optional member_order_t
|
|
||||||
member_order: !optional member_order_t
|
member_order: !optional member_order_t
|
||||||
group_methods: !optional bool
|
group_methods: !optional bool
|
||||||
type_aliases: !optional map_t<string;string>
|
type_aliases: !optional map_t<string;string>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user