Skip to content

Better default for spack module refresh #2910

@adamjstewart

Description

@adamjstewart

When you run spack module refresh --help, it queries spack.modules.module_types to get a list of choices for --module-type. But regardless of whether or not tcl is in your list of enabled modules, the default is always tcl. We should default to whatever is enabled. If there are multiple module types enabled, then we should refresh all of them.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions