- common/script_help.py is the master copy of the colored, wrapped help; each script that imports it ships a copy listed in its feed files, and autotest checks the copies match - each list row is the command on its own line with its description wrapped below; with color on the command is bold cyan, and --help colors the program name and section titles - without the helper the script prints plain rows and plain help (spec items 2.1.1 to 2.1.3) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
name, version
| name | version |
|---|---|
| daedalus-scripts | 1.2.0 |
daedalus-scripts
The owner's external source for daedalus. It holds scripts that used to ship inside daedalus and now install on request. Each script is a folder with its own tests and spec.
Scripts
| Script | Id | Version | Description |
|---|---|---|---|
linux-security-audit |
daedalus.linux-security-audit |
1.2.0 | Read-only local Linux security audits, one template per check (linux-security-audit/spec.md). |
Use
daedalus source add https://gitea.nolivaldeziii.com/nvaldez/daedalus-scripts.git
daedalus install daedalus.linux-security-audit # shows a draft; answer yes
daedalus linux-security-audit all # runs by bare name once installed
daedalus daedalus.linux-security-audit all # the full id always works
The install is pinned to the release tag in daedalus_feed.json, so
every install gets the same commit. Installing shows the commit and the
files before anything changes.
Standalone
The audit script also runs without daedalus:
python3 linux-security-audit/linux_security_audit.py disabled-root-login
It needs Python 3.11 or newer. argcomplete is optional; without it the
script works and only shell completion is off.
Development
python3 -m venv .venv
. .venv/bin/activate
python -m pip install -e ../daedalus # the linter and the daedalus CLI
python -m pip install --group dev # pytest, pytest-cov, ruff
python autotest.py # pytest for every */tests, then the linter
Tests never import daedalus. conftest.py puts each script's folder on
sys.path, so a test imports the script by its module name.
Shared help
common/script_help.py is the master of the colored, wrapped help. Copy it
into each script folder that imports it and list script_help.py in that
entry's feed files; python autotest.py checks both. A script imports it
in a try and prints plain help without it.
Release
- Bump
versionin the script's*.script.jsonand itsspec.mdfront matter, and in this README's table. - Commit the change.
- Tag the commit with an annotated tag
v<version>, for examplegit tag -a v1.1.1 -m "linux-security-audit 1.1.1". - Set the
refindaedalus_feed.jsonto the new tag, commit that, and push the commit and the tag.
Installed copies keep their pinned commit until daedalus update moves
them, and daedalus update shows the new commit in its draft first.