ghosttrap-cli 0.3.18__tar.gz → 0.3.19__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.
- {ghosttrap_cli-0.3.18 → ghosttrap_cli-0.3.19}/PKG-INFO +1 -1
- {ghosttrap_cli-0.3.18 → ghosttrap_cli-0.3.19}/ghosttrap_cli/cli.py +8 -3
- {ghosttrap_cli-0.3.18 → ghosttrap_cli-0.3.19}/ghosttrap_cli.egg-info/PKG-INFO +1 -1
- {ghosttrap_cli-0.3.18 → ghosttrap_cli-0.3.19}/pyproject.toml +1 -1
- {ghosttrap_cli-0.3.18 → ghosttrap_cli-0.3.19}/README.md +0 -0
- {ghosttrap_cli-0.3.18 → ghosttrap_cli-0.3.19}/ghosttrap_cli/__init__.py +0 -0
- {ghosttrap_cli-0.3.18 → ghosttrap_cli-0.3.19}/ghosttrap_cli.egg-info/SOURCES.txt +0 -0
- {ghosttrap_cli-0.3.18 → ghosttrap_cli-0.3.19}/ghosttrap_cli.egg-info/dependency_links.txt +0 -0
- {ghosttrap_cli-0.3.18 → ghosttrap_cli-0.3.19}/ghosttrap_cli.egg-info/entry_points.txt +0 -0
- {ghosttrap_cli-0.3.18 → ghosttrap_cli-0.3.19}/ghosttrap_cli.egg-info/requires.txt +0 -0
- {ghosttrap_cli-0.3.18 → ghosttrap_cli-0.3.19}/ghosttrap_cli.egg-info/top_level.txt +0 -0
- {ghosttrap_cli-0.3.18 → ghosttrap_cli-0.3.19}/setup.cfg +0 -0
|
@@ -13,7 +13,7 @@ import urllib.request
|
|
|
13
13
|
|
|
14
14
|
import websockets
|
|
15
15
|
|
|
16
|
-
__version__ = "0.3.
|
|
16
|
+
__version__ = "0.3.19"
|
|
17
17
|
|
|
18
18
|
GHOSTTRAP_SERVER = "wss://ghosttrap.io/stream/"
|
|
19
19
|
CONFIG_DIR = os.path.expanduser("~/.ghosttrap")
|
|
@@ -206,9 +206,14 @@ def _get_repo_entry(config, requested=None):
|
|
|
206
206
|
for k, entry in repos.items():
|
|
207
207
|
if f"{entry.get('owner')}/{entry.get('name')}" == requested:
|
|
208
208
|
return k, entry
|
|
209
|
-
available = sorted(
|
|
209
|
+
available = sorted(
|
|
210
|
+
f"{e.get('owner')}/{e.get('name')}"
|
|
211
|
+
for e in repos.values()
|
|
212
|
+
if e.get('owner') and e.get('name')
|
|
213
|
+
)
|
|
210
214
|
print(f"error: '{requested}' is not in your config.", file=sys.stderr)
|
|
211
|
-
|
|
215
|
+
if available:
|
|
216
|
+
print(f"available: {', '.join(available)}", file=sys.stderr)
|
|
212
217
|
sys.exit(1)
|
|
213
218
|
cwd_repo = _detect_repo_from_cwd()
|
|
214
219
|
if cwd_repo:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|