dprojectstools 0.0.3__tar.gz → 0.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: dprojectstools
3
- Version: 0.0.3
4
- Summary: A Set of development tools
3
+ Version: 0.0.4
4
+ Summary: A set of development tools
5
5
  Author-email: Marc Delos <marcdp@dprojects.com>
6
6
  Project-URL: Homepage, https://github.com/marcdp/dprojectstools
7
7
  Project-URL: Issues, https://github.com/marcdp/dprojectstools/issues
@@ -12,5 +12,5 @@ Requires-Python: >=3.8
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
 
15
- # xmenu
16
- A command line menu controller
15
+ # dprojectstools
16
+ A set of development tools
@@ -0,0 +1,2 @@
1
+ # dprojectstools
2
+ A set of development tools
@@ -10,11 +10,11 @@ where = ["src"]
10
10
 
11
11
  [project]
12
12
  name = "dprojectstools"
13
- version = "0.0.3"
13
+ version = "0.0.4"
14
14
  authors = [
15
15
  { name="Marc Delos", email="marcdp@dprojects.com" },
16
16
  ]
17
- description = "A Set of development tools"
17
+ description = "A set of development tools"
18
18
  readme = "README.md"
19
19
  requires-python = ">=3.8"
20
20
  classifiers = [
@@ -134,9 +134,6 @@ class CommandsManager:
134
134
 
135
135
  self._commands.sort(key=lambda x: x.index)
136
136
 
137
- #for command in self._commands:
138
- # print(command.name, command.index)
139
-
140
137
  def showMenu(self):
141
138
  # sort
142
139
  self.sort()
@@ -148,10 +145,12 @@ class CommandsManager:
148
145
  indent = self._indent * " "
149
146
  while True:
150
147
  # show menu
151
- print(indent + "Escoge una opción:")
152
- print(indent + "==================")
148
+ print(indent + "Select an option:")
149
+ print(indent + "=================")
153
150
  command_ant = None
154
151
  for command in self._commands:
152
+ if command_ant == None and command.index > 1:
153
+ print(indent + f" : ")
155
154
  if command_ant != None and command_ant.name[0] != command.name[0]:
156
155
  print(indent + f" : ")
157
156
  print(indent + f"{command.index:2} : {command.title}")
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: dprojectstools
3
- Version: 0.0.3
4
- Summary: A Set of development tools
3
+ Version: 0.0.4
4
+ Summary: A set of development tools
5
5
  Author-email: Marc Delos <marcdp@dprojects.com>
6
6
  Project-URL: Homepage, https://github.com/marcdp/dprojectstools
7
7
  Project-URL: Issues, https://github.com/marcdp/dprojectstools/issues
@@ -12,5 +12,5 @@ Requires-Python: >=3.8
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
 
15
- # xmenu
16
- A command line menu controller
15
+ # dprojectstools
16
+ A set of development tools
@@ -1,2 +0,0 @@
1
- # xmenu
2
- A command line menu controller
File without changes
File without changes