Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
65afbcf7
Commit
65afbcf7
authored
Jun 24, 2022
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show python version with slapos --version
$ slapos --version slapos 1.7.7 (Python 3.9.2)
parent
2b481142
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
slapos/cli/entry.py
slapos/cli/entry.py
+2
-1
No files found.
slapos/cli/entry.py
View file @
65afbcf7
...
@@ -32,6 +32,7 @@ import codecs
...
@@ -32,6 +32,7 @@ import codecs
import
collections
import
collections
import
locale
import
locale
import
logging
import
logging
import
platform
import
sys
import
sys
import
os
import
os
...
@@ -138,7 +139,7 @@ class SlapOSApp(App):
...
@@ -138,7 +139,7 @@ class SlapOSApp(App):
def
__init__
(
self
):
def
__init__
(
self
):
super
(
SlapOSApp
,
self
).
__init__
(
super
(
SlapOSApp
,
self
).
__init__
(
description
=
'SlapOS client %s'
%
slapos
.
version
.
version
,
description
=
'SlapOS client %s'
%
slapos
.
version
.
version
,
version
=
slapos
.
version
.
version
,
version
=
'%s (Python %s)'
%
(
slapos
.
version
.
version
,
platform
.
python_version
())
,
command_manager
=
SlapOSCommandManager
(
'slapos.cli'
),
command_manager
=
SlapOSCommandManager
(
'slapos.cli'
),
)
)
# replace default complete command
# replace default complete command
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment