visidata: add IP type with CIDR + lookups
This commit is contained in:
1 parent
c45c729ad4
commit
8cbdc9f41f
4 files changed
+409
-4
No files matched your search
@@ -0,0 +1,19 @@
|
||||
"""
|
||||
Local VisiData plugins.
|
||||
|
||||
VisiData (v3.3) imports the top-level `plugins` package early (before config.py)
|
||||
when `options.imports` contains "plugins" (default). Import submodules here so
|
||||
their commands/types are registered on startup.
|
||||
"""
|
||||
|
||||
# Keep imports resilient: a missing optional plugin shouldn't prevent VisiData from starting.
|
||||
for _mod in (
|
||||
"hidecol",
|
||||
"iptype",
|
||||
):
|
||||
try:
|
||||
__import__(f"{__name__}.{_mod}")
|
||||
except Exception:
|
||||
# VisiData will show exceptions in its error sheet if needed; don't hard-fail here.
|
||||
pass
|
||||
|
||||
Reference in new issue
Block a user