dekshell 0.2.8__py3-none-any.whl → 0.2.9__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.
- dekshell/core/contexts/methods.py +8 -1
- {dekshell-0.2.8.dist-info → dekshell-0.2.9.dist-info}/METADATA +1 -1
- {dekshell-0.2.8.dist-info → dekshell-0.2.9.dist-info}/RECORD +5 -5
- {dekshell-0.2.8.dist-info → dekshell-0.2.9.dist-info}/WHEEL +0 -0
- {dekshell-0.2.8.dist-info → dekshell-0.2.9.dist-info}/entry_points.txt +0 -0
|
@@ -137,8 +137,15 @@ def _io(x=None):
|
|
|
137
137
|
return BytesIO(x) if isinstance(x, bytes) else StringIO(x)
|
|
138
138
|
|
|
139
139
|
|
|
140
|
+
def _cd(path=None):
|
|
141
|
+
if path is None:
|
|
142
|
+
path = os.path.expanduser('~')
|
|
143
|
+
os.chdir(path)
|
|
144
|
+
return path
|
|
145
|
+
|
|
146
|
+
|
|
140
147
|
path_common_methods = {
|
|
141
|
-
'cd':
|
|
148
|
+
'cd': _cd,
|
|
142
149
|
'cwd': lambda: os.getcwd(),
|
|
143
150
|
'which': lambda *x: which(*x) or '',
|
|
144
151
|
'where': lambda *x: where(*x) or '',
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
dekshell-0.2.
|
|
2
|
-
dekshell-0.2.
|
|
3
|
-
dekshell-0.2.
|
|
1
|
+
dekshell-0.2.9.dist-info/METADATA,sha256=jQr2EOL1fMZ89s4wFbcoj3FgePYiLdUMwAk6uJYwEt8,572
|
|
2
|
+
dekshell-0.2.9.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
|
3
|
+
dekshell-0.2.9.dist-info/entry_points.txt,sha256=d-kbfULiUTZWIBBsrQF3J_-wESncF-4K2rwHT08grlI,75
|
|
4
4
|
dekshell/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
dekshell/click/__entry__.py,sha256=CMuxUzXoEe4TcHFZwv-MNFwHnu1HSZCDpXFpqQ814uM,42
|
|
6
6
|
dekshell/click/__init__.py,sha256=rFzB_exzPQaIcbbms5PdHAU3NGdl2MBaYbq9v7g7BOI,1870
|
|
7
7
|
dekshell/core/__init__.py,sha256=ZAJtMPFCVClHCPkoP5rmTq1vVLLMQRa8MP-QJXLBgNM,5337
|
|
8
8
|
dekshell/core/contexts/__init__.py,sha256=ynsfv37azOKfI2UKd0iPl2M6iBW-k5cb1BqSLOWuJpI,482
|
|
9
|
-
dekshell/core/contexts/methods.py,sha256=
|
|
9
|
+
dekshell/core/contexts/methods.py,sha256=tOfgG-t4oh0-BjKgK9uk34bgZ1Zmp1AM-kpmB78jM_w,7485
|
|
10
10
|
dekshell/core/contexts/properties.py,sha256=6rEQjExvAmZ69OfhPLLIQwnynRzAjX0nIbcBuZ5yuzM,2314
|
|
11
11
|
dekshell/core/markers/__init__.py,sha256=BRp4z_IkbwV7xQr-5wugd7GCCyGp8k4z_p8qRgVjKxw,1850
|
|
12
12
|
dekshell/core/markers/base/__init__.py,sha256=To25RVX3h1MluV3OmktVMw2bigex79GjWHUPWtIlczI,13433
|
|
@@ -36,4 +36,4 @@ dekshell/utils/cmd.py,sha256=akykpgPCovXpvavKF28G-eNM3mOZ4TY0LlSWGozDp34,1204
|
|
|
36
36
|
dekshell/utils/pkg.py,sha256=TgYqRqawoJfjkxt6UAHnp9ttmpjuHiWRFbqxADOS1VE,1337
|
|
37
37
|
dekshell/utils/serializer.py,sha256=aIdF2Wzo-qHmIshv46jn1XD0X66vQ1JFdU-g3ZFbH2w,386
|
|
38
38
|
dekshell/utils/shell.py,sha256=0NoA2-SOOMinbmZZipwzL-npBbzPOdWEfdPVYqq5G5g,92
|
|
39
|
-
dekshell-0.2.
|
|
39
|
+
dekshell-0.2.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|