umu-commander 1.5.3__py3-none-any.whl → 1.5.4__py3-none-any.whl

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.

Potentially problematic release.


This version of umu-commander might be problematic. Click here for more details.

umu_commander/main.py CHANGED
@@ -36,7 +36,7 @@ def main() -> ExitCode:
36
36
 
37
37
  if len(sys.argv) == 1:
38
38
  print_help()
39
- return ExitCode.SUCCESS
39
+ return ExitCode.SUCCESS.value
40
40
 
41
41
  verb: str = sys.argv[1]
42
42
  match verb:
@@ -55,14 +55,14 @@ def main() -> ExitCode:
55
55
  case _:
56
56
  print("Invalid verb.")
57
57
  print_help()
58
- return ExitCode.INVALID_SELECTION
58
+ return ExitCode.INVALID_SELECTION.value
59
59
 
60
60
  tracking.untrack_unlinked()
61
61
  db.dump()
62
62
  config.dump()
63
63
 
64
- return ExitCode.SUCCESS
64
+ return ExitCode.SUCCESS.value
65
65
 
66
66
 
67
67
  if __name__ == "__main__":
68
- exit(main().value)
68
+ exit(main())
umu_commander/util.py CHANGED
@@ -58,7 +58,7 @@ def get_selection(
58
58
  ) -> Element:
59
59
  if not _selection_set_valid(selection_elements, selection_groups):
60
60
  print("Nothing to select from.")
61
- exit(ExitCode.INVALID_SELECTION)
61
+ exit(ExitCode.INVALID_SELECTION.value)
62
62
 
63
63
  if selection_groups is None:
64
64
  selection_groups = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: umu-commander
3
- Version: 1.5.3
3
+ Version: 1.5.4
4
4
  Summary: umu-commander is an interactive CLI tool to help you manage umu.
5
5
  Project-URL: Homepage, https://github.com/Mpaxlamitsounas/umu-commander
6
6
  Project-URL: Issues, https://github.com/Mpaxlamitsounas/umu-commander/issues
@@ -49,4 +49,11 @@ umu-commander needs one of the following verbs specified after the executable na
49
49
  * This is NOT equivalent to `umu-run --config <config_name>`, as vanilla umu configs do not support setting environment variables as of 07/2025.
50
50
 
51
51
  ### Installation/Usage
52
- Add umu-run to your PATH and then install with pipx by running `pipx install umu-commander`. After that you can invoke umu-commander by running `umu-commander <verb>`.
52
+ Add umu-run to your PATH and then install with pipx by running `pipx install umu-commander`. After that you can invoke umu-commander by running `umu-commander <verb>`.
53
+
54
+ ### Return codes
55
+ | Number | Name | Description |
56
+ |:-------|:------------------|:----------------------------------------------------------------|
57
+ | 0 | SUCCESS | Program executed as intended. |
58
+ | 1 | READING_ERROR | Failed to parse a file and could not recover. |
59
+ | 2 | INVALID_SELECTION | User selected an invalid verb or there are no valid selections. |
@@ -2,13 +2,13 @@ umu_commander/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  umu_commander/classes.py,sha256=SW8k4TrP4-W4DdaQC_P88wBIgeJ3TIaV7lyt32IfVD8,1654
3
3
  umu_commander/configuration.py,sha256=tzVFoQx7M1RGGtP_c_k3IUVFNcLwsmjbQplTeKlFUnM,2398
4
4
  umu_commander/database.py,sha256=rkjEEy-Em9ghZOypsWyKTlNjDNMU4XXWuthnpfa6yz4,1343
5
- umu_commander/main.py,sha256=LWLLzMO2xm-45USc0Uw1-oTdPW14tOd0-WAbnLvFTQg,1966
5
+ umu_commander/main.py,sha256=X1r73ATO6UwPCHhP7FhSFr7kp882q61K1a-Ky_uSFtM,1978
6
6
  umu_commander/proton.py,sha256=QWqU5N2v-QqP_d-kFGXxXiCufLFQywnMNrbuLXaINZk,2572
7
7
  umu_commander/tracking.py,sha256=MVj-GfbROyqhKa-m6557RGCzavTxgphNBVPJNtSTe3k,3058
8
8
  umu_commander/umu_config.py,sha256=3b5XeTZppmLpxUGBHi4JSBc7zmKxNKjboldwGfLE0rc,4091
9
- umu_commander/util.py,sha256=mBRdLs-dnrTE_23qSb9wZ7tw4WmcNU3AS9oJFrVLgH4,2642
10
- umu_commander-1.5.3.dist-info/METADATA,sha256=jJ7sIBXBNnm8C00jkxmvGCEm5i314rBFDxA8HS_8kCY,3203
11
- umu_commander-1.5.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
- umu_commander-1.5.3.dist-info/entry_points.txt,sha256=7RGP35zAHeEojZ-sv7JIITuMeH_VVNuG2g2_SUrUnbM,58
13
- umu_commander-1.5.3.dist-info/licenses/LICENSE.txt,sha256=yipFXBRmVZ2Q44x1q18HccPUAECBQLXAOAr21aS57uY,1071
14
- umu_commander-1.5.3.dist-info/RECORD,,
9
+ umu_commander/util.py,sha256=e4IqnxT0K2lLsUUgqnK0Z60MJRasvGCzo90ZX-gVBOE,2648
10
+ umu_commander-1.5.4.dist-info/METADATA,sha256=XfTCvFLZk0OOe43aTsjucUg12N_CAfwo1QsONUVLYGQ,3707
11
+ umu_commander-1.5.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
+ umu_commander-1.5.4.dist-info/entry_points.txt,sha256=7RGP35zAHeEojZ-sv7JIITuMeH_VVNuG2g2_SUrUnbM,58
13
+ umu_commander-1.5.4.dist-info/licenses/LICENSE.txt,sha256=yipFXBRmVZ2Q44x1q18HccPUAECBQLXAOAr21aS57uY,1071
14
+ umu_commander-1.5.4.dist-info/RECORD,,