vortex-cli 4.13.0__tar.gz → 4.13.1__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.
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/PKG-INFO +1 -1
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/setup.cfg +1 -1
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/grep.py +10 -1
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/workspace.py +1 -1
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex_cli.egg-info/PKG-INFO +1 -1
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/LICENSE +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/README.md +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/setup.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/__init__.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/__main__.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/cli.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/colour.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/__init__.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/clean.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/clone.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/code.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/config.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/copy.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/db.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/delete.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/docs.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/execute.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/find.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/list.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/log.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/new.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/commands/watch.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/constants.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/docs/Blackbook.pdf +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/lib/puakma.jar +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/logging.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/main.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/models.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/soap.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/spinner.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex/util.py +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex_cli.egg-info/SOURCES.txt +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex_cli.egg-info/dependency_links.txt +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex_cli.egg-info/entry_points.txt +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex_cli.egg-info/requires.txt +0 -0
- {vortex_cli-4.13.0 → vortex_cli-4.13.1}/vortex_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import functools
|
|
4
|
+
import logging
|
|
4
5
|
import re
|
|
5
6
|
|
|
6
7
|
from vortex.colour import Colour
|
|
@@ -9,6 +10,8 @@ from vortex.models import DesignType
|
|
|
9
10
|
from vortex.models import PuakmaServer
|
|
10
11
|
from vortex.workspace import Workspace
|
|
11
12
|
|
|
13
|
+
logger = logging.getLogger("vortex")
|
|
14
|
+
|
|
12
15
|
|
|
13
16
|
def grep(
|
|
14
17
|
workspace: Workspace,
|
|
@@ -29,10 +32,16 @@ def grep(
|
|
|
29
32
|
]
|
|
30
33
|
|
|
31
34
|
if app_ids:
|
|
32
|
-
apps = [workspace.lookup_app(server,
|
|
35
|
+
apps = [workspace.lookup_app(server, id_) for id_ in app_ids]
|
|
33
36
|
else:
|
|
34
37
|
apps = workspace.listapps(server)
|
|
35
38
|
|
|
39
|
+
if not apps:
|
|
40
|
+
logger.warning(
|
|
41
|
+
"No applications searched. Use 'vortex clone <APP_ID_TO_SEARCH>' first."
|
|
42
|
+
)
|
|
43
|
+
return 0
|
|
44
|
+
|
|
36
45
|
objs = [
|
|
37
46
|
obj
|
|
38
47
|
for app in apps
|
|
@@ -297,7 +297,7 @@ class Workspace:
|
|
|
297
297
|
return
|
|
298
298
|
|
|
299
299
|
# Folder settings
|
|
300
|
-
vortex_dirs = [self.vscode_dir, self.config_dir]
|
|
300
|
+
vortex_dirs = [self.vscode_dir, self.config_dir, self.exports_dir]
|
|
301
301
|
if self.logs_dir.is_dir():
|
|
302
302
|
vortex_dirs.append(self.logs_dir)
|
|
303
303
|
folders = [{"path": str(dir)} for dir in vortex_dirs]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|