Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xenv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hps-public
xenv
Merge requests
!2
Add xenv -U argument
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add xenv -U argument
add-use-cmd
into
master
Overview
2
Commits
3
Pipelines
0
Changes
2
Merged
Ghost User
requested to merge
add-use-cmd
into
master
6 years ago
Overview
2
Commits
3
Pipelines
0
Changes
2
Expand
With -U the "module use" command can be executed as part of the xenv evaluation chain.
0
0
Merge request reports
Compare
master
version 1
bf400a32
6 years ago
master (base)
and
latest version
latest version
28143239
3 commits,
6 years ago
version 1
bf400a32
1 commit,
6 years ago
2 files
+
9
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
xenv/modules.py
+
6
−
1
Options
@@ -81,6 +81,11 @@ def purge(env):
return
_module_command_function_pointer
(
env
)(
env
,
[
"
purge
"
])
# Restore moduls from collection.
# Restore modul
e
s from collection.
def
restore
(
env
,
name
):
return
_module_command_function_pointer
(
env
)(
env
,
[
"
restore
"
,
name
])
# Restore modules from collection.
def
use
(
env
,
modules
):
return
_module_command_function_pointer
(
env
)(
env
,
[
"
use
"
]
+
modules
)
Loading