mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 15:57:27 +00:00
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:
@@ -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=())
|
||||
|
||||
Reference in New Issue
Block a user