Skip to content

command

trestle.core.commands.author.command ¤

Trestle author command.

Umbrella command for all markdown related transformations

Attributes¤

logger = logging.getLogger(__name__) module-attribute ¤

Classes¤

AuthorCmd ¤

Bases: CommandPlusDocs

trestle author, a collection of commands for authoring compliance content outside of OSCAL.

Source code in trestle/core/commands/author/command.py
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
class AuthorCmd(CommandPlusDocs):
    """trestle author, a collection of commands for authoring compliance content outside of OSCAL."""

    name = 'author'

    subcommands = [
        CatalogAssemble,
        CatalogGenerate,
        ComponentAssemble,
        ComponentGenerate,
        Docs,
        Folders,
        Headers,
        JinjaCmd,
        ProfileAssemble,
        ProfileGenerate,
        ProfileInherit,
        ProfileResolve,
        SSPAssemble,
        SSPFilter,
        SSPGenerate
    ]
Attributes¤
name = 'author' class-attribute instance-attribute ¤
subcommands = [CatalogAssemble, CatalogGenerate, ComponentAssemble, ComponentGenerate, Docs, Folders, Headers, JinjaCmd, ProfileAssemble, ProfileGenerate, ProfileInherit, ProfileResolve, SSPAssemble, SSPFilter, SSPGenerate] class-attribute instance-attribute ¤

handler: python