flayer.main¶
flayer.__main__ ¶
Explicit diagnostics and opt-in owned lifecycle CLI without implicit cloud discovery.
DiagnosticArgumentParser ¶
Bases: ArgumentParser
Suppress raw invalid argument values that may contain private endpoint material.
error ¶
error(message: str) -> NoReturn
Preserve argparse's exit contract while keeping untrusted argument text private.
源代码位于: installed/flayer/__main__.py
28 29 30 31 | |
Parser ¶
Parser() -> ArgumentParser
Build an offline help surface and bounded command options.
源代码位于: installed/flayer/__main__.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | |
Main ¶
Main(arguments: Sequence[str] | None = None) -> int
Run explicit diagnostics or authorized lifecycle actions and return their outcome.
源代码位于: installed/flayer/__main__.py
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | |