Skip to main content
aspect axl add adds an AXL module from a GitHub release to your MODULE.aspect. It downloads the release archive, computes its SHA-512 integrity, and appends the axl_archive_dep entry.
The spec is gh:OWNER/REPO[@VERSION]. GitHub is the only source it supports. A version that has a tag but no GitHub release is still accepted. It appends an entry like this to the MODULE.aspect at the Aspect root, creating the file if there isn’t one:
MODULE.aspect
The module name is the repository name, lowercased, with hyphens turned into underscores. What each field means is in Use external AXL modules.

Options

When adding the latest release on a terminal, the command shows the release’s tag, author and integrity and asks before writing. A pinned @<tag> and non-interactive runs skip the prompt. It refuses to add a module whose name is already declared in MODULE.aspect. Pass --name to declare it under another name, or remove the existing entry first.