flyshell 1.1.5__tar.gz → 1.1.6__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.
Files changed (34) hide show
  1. {flyshell-1.1.5/src/flyshell.egg-info → flyshell-1.1.6}/PKG-INFO +1 -1
  2. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/abstract/parent_cmd.py +1 -1
  3. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/builtin/system.py +0 -1
  4. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/constants.py +2 -2
  5. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/core/auth.py +0 -1
  6. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/core/directory.py +3 -7
  7. {flyshell-1.1.5 → flyshell-1.1.6/src/flyshell.egg-info}/PKG-INFO +1 -1
  8. {flyshell-1.1.5 → flyshell-1.1.6}/LICENSE +0 -0
  9. {flyshell-1.1.5 → flyshell-1.1.6}/README.md +0 -0
  10. {flyshell-1.1.5 → flyshell-1.1.6}/pyproject.toml +0 -0
  11. {flyshell-1.1.5 → flyshell-1.1.6}/setup.cfg +0 -0
  12. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/__init__.py +0 -0
  13. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/abstract/__init__.py +0 -0
  14. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/abstract/base_cmd.py +0 -0
  15. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/abstract/base_plugin.py +0 -0
  16. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/builtin/__init__.py +0 -0
  17. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/builtin/diskops.py +0 -0
  18. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/builtin/fs.py +0 -0
  19. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/builtin/utils.py +0 -0
  20. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/core/__init__.py +0 -0
  21. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/core/console.py +0 -0
  22. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/core/data.py +0 -0
  23. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/core/loader.py +0 -0
  24. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell/main.py +0 -0
  25. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell.egg-info/SOURCES.txt +0 -0
  26. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell.egg-info/dependency_links.txt +0 -0
  27. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell.egg-info/entry_points.txt +0 -0
  28. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell.egg-info/requires.txt +0 -0
  29. {flyshell-1.1.5 → flyshell-1.1.6}/src/flyshell.egg-info/top_level.txt +0 -0
  30. {flyshell-1.1.5 → flyshell-1.1.6}/tests/test_auth.py +0 -0
  31. {flyshell-1.1.5 → flyshell-1.1.6}/tests/test_data.py +0 -0
  32. {flyshell-1.1.5 → flyshell-1.1.6}/tests/test_directory.py +0 -0
  33. {flyshell-1.1.5 → flyshell-1.1.6}/tests/test_loader.py +0 -0
  34. {flyshell-1.1.5 → flyshell-1.1.6}/tests/test_security.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flyshell
3
- Version: 1.1.5
3
+ Version: 1.1.6
4
4
  Summary: A modular, zero-dependency command-line environment in Python.
5
5
  License: MIT
6
6
  Requires-Python: >=3.10
@@ -2,7 +2,7 @@
2
2
 
3
3
  from flyshell.abstract.base_cmd import BaseCmd
4
4
 
5
- from typing import Dict, List, Tuple, Union
5
+ from typing import Dict, List, Tuple
6
6
 
7
7
 
8
8
  class ParentCmd(BaseCmd):
@@ -6,7 +6,6 @@ from flyshell.core import auth, data
6
6
 
7
7
  import getpass
8
8
  import os
9
- import re
10
9
  import shutil
11
10
  import subprocess
12
11
 
@@ -5,8 +5,8 @@ import os
5
5
  import platform
6
6
  import time
7
7
 
8
- BUILD = 118
9
- VERSION = "1.1.5"
8
+ BUILD = 119
9
+ VERSION = "1.1.6"
10
10
 
11
11
 
12
12
  def _resolve_app_dir() -> Path:
@@ -7,7 +7,6 @@ import getpass
7
7
  import hashlib
8
8
  import re
9
9
  import secrets
10
- import sys
11
10
 
12
11
 
13
12
  def hash_password(password, salt=None):
@@ -151,13 +151,9 @@ def _execute_single(raw_cmd: str) -> int:
151
151
  elif code == -2:
152
152
  sys.exit(1)
153
153
  return code
154
- elif isinstance(result, int):
155
- return result
156
- elif isinstance(result, str):
157
- if result:
158
- print(result)
159
- return 0
160
- return 0
154
+ else:
155
+ print("\nCommand Error: Unknown exit code error occurred.\n")
156
+ return 1
161
157
  elif cmd_name in c.PLUGINS:
162
158
  log(raw_cmd)
163
159
  plugin = c.PLUGINS[cmd_name]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flyshell
3
- Version: 1.1.5
3
+ Version: 1.1.6
4
4
  Summary: A modular, zero-dependency command-line environment in Python.
5
5
  License: MIT
6
6
  Requires-Python: >=3.10
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes