community_0_cli_commands - grisuno/LazyOwn GitHub Wiki
cli/commands
Community 0 | 157 files | cohesion 0.55
Definition
This community groups 157 file(s) rooted at cli/commands with dominant language py (cohesion 0.55). Central symbols: AddonHotReloader, AddonInfo, AddonRegistry, AliasResolver, AntiForensicsCommandSet, AppLockerBypassCommandSet, AuditCommandSet, BackendAdapterSpec. Core file: tests/test_improvements_spec.py (160 symbols). Documented purpose: Autor: Gris Iscomeback Correo electrónico: grisiscomeback[at]gmail[dot]com Fecha de creación: 09/06/2024 Licencia: GPL v3 Descripción: Este archivo contiene la.
Files
cli/commands (56 files)
tests (45 files)
modules (30 files)
cli (14 files)
core (8 files)
. (2 files)
| File |
Language |
Layer |
Symbols |
Doc |
banner.py |
py |
utility |
3 |
yes |
utils.py |
py |
utility |
124 |
yes |
contrib/legacy (1 files)
scripts/devtools (1 files)
... and 137 more files in this community.
Key Symbols
image_to_bash (function, banner.py:26) def image_to_bash(image_path, image_res)
list_png_files (function, banner.py:50) def list_png_files()
main (function, banner.py:60) def main()
_SafeFormatDict (class, cli/aliases.py:29) class _SafeFormatDict(dict) - str.format_map source that returns "" for missing/None values.
__missing__ (method, cli/aliases.py:32) def __missing__(self, key)
__getitem__ (method, cli/aliases.py:35) def __getitem__(self, key)
_substitute (function, cli/aliases.py:42) def _substitute(template, payload) - Render template against payload placeholders.
template_placeholders (function, cli/aliases.py:56) def template_placeholders(template) - Return the {name} placeholders referenced by template.
empty_placeholders (function, cli/aliases.py:72) def empty_placeholders(template, context) - Return placeholders whose rendered value against context is empty.
load_aliases (function, cli/aliases.py:77) def load_aliases(payload, path, lazy) - Return the cmd2 alias map.
BannerConfig (class, cli/banner_config.py:59) class BannerConfig - Centralised constants for the banner renderer and configurator.
ColorRegistry (class, cli/banner_config.py:143) class ColorRegistry - Named ANSI colors operators can assign to any segment.
names (method, cli/banner_config.py:170) def names(self)
has (method, cli/banner_config.py:173) def has(self, name)
resolve (method, cli/banner_config.py:176) def resolve(self, name)
cycle (method, cli/banner_config.py:179) def cycle(self, current, direction)
default_name (method, cli/banner_config.py:187) def default_name(self)
GlyphRegistry (class, cli/banner_config.py:191) class GlyphRegistry - Glyph slots used by the Neon Box renderer with cyclable choices.
slots (method, cli/banner_config.py:212) def slots(self)
choices (method, cli/banner_config.py:215) def choices(self, slot)
has (method, cli/banner_config.py:218) def has(self, slot)
default (method, cli/banner_config.py:221) def default(self, slot)
cycle (method, cli/banner_config.py:225) def cycle(self, slot, current, direction)
SegmentSpec (class, cli/banner_config.py:237) class SegmentSpec - Metadata describing a prompt segment available for toggling.
ColorPalette (class, cli/banner_config.py:250) class ColorPalette - ANSI escape codes for the box chrome itself.
RenderContext (class, cli/banner_config.py:268) class RenderContext - Pre-resolved data delivered to every :class:SegmentRenderer.
_bracketed (function, cli/banner_config.py:293) def _bracketed(label, value, bullet, value_color, ctx, glyphs) - Render one bracketed top-row segment with the chosen value color.
_middle (function, cli/banner_config.py:307) def _middle(label, value, value_color, ctx, glyphs) - Render one middle-row segment with the chosen value color.
SegmentRenderer (class, cli/banner_config.py:314) class SegmentRenderer(ABC) - Contract for a single prompt segment.
spec (method, cli/banner_config.py:319) def spec(self)
Internal vs External Edges
- Internal resolved imports (EXTRACTED): 537
- Cross-boundary resolved imports (EXTRACTED): 452
Connections
- [EXTRACTED] depends_on community 2 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/init.py imports cli/aliases.py.
- [EXTRACTED] depends_on community 10 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/auto_crypto.py imports modules/cli_auth.py.
- [EXTRACTED] depends_on community 0 <-> 8 (strength 0.9): Extracted import edge crosses communities: cli/banner_config.py imports core/parsers.py.
- [EXTRACTED] depends_on community 0 <-> 9 (strength 0.9): Extracted import edge crosses communities: cli/banner_config.py imports core/safe_exec.py.
- [EXTRACTED] depends_on community 12 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/commands/active_directory.py imports cli/commands/_base.py.
- [EXTRACTED] depends_on community 1 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/commands/automation.py imports cli/commands/_base.py.
- [EXTRACTED] depends_on community 3 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/commands/caldera.py imports cli/commands/_base.py.
- [EXTRACTED] depends_on community 13 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/commands/cloud_attacks.py imports cli/commands/_base.py.
- [EXTRACTED] depends_on community 11 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/commands/database.py imports cli/commands/_base.py.
- [EXTRACTED] depends_on community 0 <-> 7 (strength 0.9): Extracted import edge crosses communities: cli/commands/defaults.py imports cli/assign.py.
Risks
Open Questions
Sources