Args: Remove action arguments
Superseded by subcommands to perform the same action. Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
parent
79f9c6e854
commit
d990bbc431
1 changed files with 0 additions and 25 deletions
|
|
@ -35,28 +35,6 @@ class ConfigOverrideConfig(BaseConfigModel):
|
|||
_metadata: Metadata = PrivateAttr(Metadata(include_in_config=False))
|
||||
|
||||
|
||||
class UtilityActions(BaseConfigModel):
|
||||
"""Model used for arg actions."""
|
||||
|
||||
# YAML export options
|
||||
export_config: Optional[str] = Field(
|
||||
None, description="generate a template config file"
|
||||
)
|
||||
config_export_path: Optional[Path] = Field(
|
||||
"config_sample.yml", description="path to export configuration file to"
|
||||
)
|
||||
|
||||
# OpenAPI JSON export options
|
||||
export_openapi: Optional[bool] = Field(
|
||||
False, description="export openapi schema files"
|
||||
)
|
||||
openapi_export_path: Optional[Path] = Field(
|
||||
"openapi.json", description="path to export openapi schema to"
|
||||
)
|
||||
|
||||
_metadata: Metadata = PrivateAttr(Metadata(include_in_config=False))
|
||||
|
||||
|
||||
class NetworkConfig(BaseConfigModel):
|
||||
"""Options for networking"""
|
||||
|
||||
|
|
@ -470,8 +448,5 @@ class TabbyConfigModel(BaseModel):
|
|||
developer: Optional[DeveloperConfig] = Field(
|
||||
default_factory=DeveloperConfig.model_construct
|
||||
)
|
||||
actions: Optional[UtilityActions] = Field(
|
||||
default_factory=UtilityActions.model_construct
|
||||
)
|
||||
|
||||
model_config = ConfigDict(validate_assignment=True, protected_namespaces=())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue