Class: CliCommandSpec
Specification of a CLI command exposed under m.
classDiagram
class CliCommandSpec
click CliCommandSpec href "../CliCommandSpec/"
ModelElement <|-- CliCommandSpec
click ModelElement href "../ModelElement/"
CliCommandSpec : command_group
CliCommandSpec : command_path
CliCommandSpec : command_purpose
CliCommandSpec : coverage_scope
CliCommandSpec --> "*" CoverageScopeEnum : coverage_scope
click CoverageScopeEnum href "../CoverageScopeEnum/"
CliCommandSpec : description
CliCommandSpec : element_kind
CliCommandSpec --> "0..1" ElementKindEnum : element_kind
click ElementKindEnum href "../ElementKindEnum/"
CliCommandSpec : id
CliCommandSpec : input_model
CliCommandSpec --> "*" ApiModelSpec : input_model
click ApiModelSpec href "../ApiModelSpec/"
CliCommandSpec : module_path
CliCommandSpec : name
CliCommandSpec : output_model
CliCommandSpec --> "*" ApiModelSpec : output_model
click ApiModelSpec href "../ApiModelSpec/"
CliCommandSpec : package_kind
CliCommandSpec --> "0..1" PackageKindEnum : package_kind
click PackageKindEnum href "../PackageKindEnum/"
CliCommandSpec : source_file
CliCommandSpec : tags
Inheritance
- NamedElement
- ModelElement
- CliCommandSpec
- ModelElement
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| command_group | 0..1 String |
Slot describing the command group | direct |
| command_path | 0..1 String |
Slot describing the command path | direct |
| command_purpose | 0..1 String |
Slot describing the command purpose | direct |
| input_model | * ApiModelSpec |
Slot describing the input model | direct |
| output_model | * ApiModelSpec |
Slot describing the output model | direct |
| id | 1 Uriorcurie |
Stable identifier for a schema element | NamedElement |
| name | 1 String |
Human-readable name | NamedElement |
| description | 0..1 String |
Narrative description of the element | NamedElement |
| module_path | 0..1 PythonDottedPath |
Python module path where this element is defined | NamedElement |
| source_file | 0..1 RepositoryRelativePath |
Source file relative to repository root | NamedElement |
| package_kind | 0..1 PackageKindEnum |
Package bucket | NamedElement |
| element_kind | 0..1 ElementKindEnum |
Kind of Python declaration | NamedElement |
| coverage_scope | * CoverageScopeEnum |
Where this element surfaces (source/API/CLI/example/test) | NamedElement |
| tags | * String |
Free-form classification tags | NamedElement |
In Subsets
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/mellea
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | mellea:CliCommandSpec |
| native | mellea:CliCommandSpec |
| related | attack:Tool, iso27001:OperationalProcedure, spdx:Tool |
| close | gist_linkml:TaskTemplate |
LinkML Source
Direct
name: CliCommandSpec
description: Specification of a CLI command exposed under `m`.
in_subset:
- interface_surface
from_schema: https://w3id.org/lmodel/mellea
close_mappings:
- gist_linkml:TaskTemplate
related_mappings:
- attack:Tool
- iso27001:OperationalProcedure
- spdx:Tool
is_a: ModelElement
slots:
- command_group
- command_path
- command_purpose
- input_model
- output_model
Induced
name: CliCommandSpec
description: Specification of a CLI command exposed under `m`.
in_subset:
- interface_surface
from_schema: https://w3id.org/lmodel/mellea
close_mappings:
- gist_linkml:TaskTemplate
related_mappings:
- attack:Tool
- iso27001:OperationalProcedure
- spdx:Tool
is_a: ModelElement
attributes:
command_group:
name: command_group
description: Slot describing the command group.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: CliCommandSpec
domain_of:
- CliCommandSpec
range: string
command_path:
name: command_path
description: Slot describing the command path.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: CliCommandSpec
domain_of:
- CliCommandSpec
range: string
command_purpose:
name: command_purpose
description: Slot describing the command purpose.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: CliCommandSpec
domain_of:
- CliCommandSpec
range: string
input_model:
name: input_model
description: Slot describing the input model.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: CliCommandSpec
domain_of:
- CliCommandSpec
range: ApiModelSpec
multivalued: true
inlined: true
inlined_as_list: true
output_model:
name: output_model
description: Slot describing the output model.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: CliCommandSpec
domain_of:
- CliCommandSpec
range: ApiModelSpec
multivalued: true
inlined: true
inlined_as_list: true
id:
name: id
description: Stable identifier for a schema element.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
slot_uri: schema:identifier
identifier: true
owner: CliCommandSpec
domain_of:
- NamedElement
range: uriorcurie
required: true
name:
name: name
description: Human-readable name.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
slot_uri: schema:name
owner: CliCommandSpec
domain_of:
- NamedElement
range: string
required: true
description:
name: description
description: Narrative description of the element.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
slot_uri: schema:description
owner: CliCommandSpec
domain_of:
- NamedElement
range: string
module_path:
name: module_path
description: Python module path where this element is defined.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: CliCommandSpec
domain_of:
- NamedElement
range: PythonDottedPath
source_file:
name: source_file
description: Source file relative to repository root.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: CliCommandSpec
domain_of:
- NamedElement
range: RepositoryRelativePath
package_kind:
name: package_kind
description: Package bucket.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: CliCommandSpec
domain_of:
- NamedElement
range: PackageKindEnum
element_kind:
name: element_kind
description: Kind of Python declaration.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: CliCommandSpec
domain_of:
- NamedElement
range: ElementKindEnum
coverage_scope:
name: coverage_scope
description: Where this element surfaces (source/API/CLI/example/test).
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: CliCommandSpec
domain_of:
- NamedElement
range: CoverageScopeEnum
multivalued: true
tags:
name: tags
description: Free-form classification tags.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: CliCommandSpec
domain_of:
- NamedElement
range: string
multivalued: true