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
0
Merge Requests
0
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
Łukasz Nowak
slapos.core
Commits
5a09abdd
Commit
5a09abdd
authored
Jan 31, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added version number to slapos help
parent
efd0b05d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
setup.py
setup.py
+3
-1
slapos/entry.py
slapos/entry.py
+3
-2
slapos/version.py
slapos/version.py
+3
-0
No files found.
setup.py
View file @
5a09abdd
from
setuptools
import
setup
,
find_packages
import
glob
import
os
version
=
'0.34.1-dev'
from
slapos.version
import
version
name
=
'slapos.core'
long_description
=
open
(
"README.txt"
).
read
()
+
"
\
n
"
+
\
open
(
"CHANGES.txt"
).
read
()
+
"
\
n
"
...
...
slapos/entry.py
View file @
5a09abdd
...
...
@@ -43,6 +43,7 @@ from slapos.grid.slapgrid import runUsageReport as report
from
slapos.grid.svcbackend
import
supervisord
from
slapos.grid.svcbackend
import
supervisorctl
from
slapos.register.register
import
main
as
register
from
slapos.version
import
version
# Note: this whole file is a hack. We should better try dedicated library
# like https://github.com/dhellmann/cliff or https://github.com/docopt/docopt.
...
...
@@ -173,7 +174,7 @@ def main():
else
:
is_node
=
False
usage
=
"""SlapOS command line interface.
usage
=
"""SlapOS
%s
command line interface.
For more informations, refer to SlapOS documentation.
Client subcommands usage:
...
...
@@ -195,7 +196,7 @@ Node subcommands usage:
slapos node status <process>
slapos node supervisorctl
slapos node supervisord
"""
"""
%
version
# Parse arguments
# XXX remove the "positional arguments" from help message
...
...
slapos/version.py
0 → 100644
View file @
5a09abdd
version
=
'0.34.1-dev'
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