forgexa-cli 1.0.2__tar.gz → 1.0.3__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.
- {forgexa_cli-1.0.2 → forgexa_cli-1.0.3}/PKG-INFO +14 -14
- {forgexa_cli-1.0.2 → forgexa_cli-1.0.3}/README.md +11 -11
- {forgexa_cli-1.0.2 → forgexa_cli-1.0.3}/forgexa_cli/__init__.py +1 -1
- {forgexa_cli-1.0.2 → forgexa_cli-1.0.3}/forgexa_cli/main.py +10 -21
- {forgexa_cli-1.0.2 → forgexa_cli-1.0.3}/forgexa_cli.egg-info/PKG-INFO +14 -14
- {forgexa_cli-1.0.2 → forgexa_cli-1.0.3}/pyproject.toml +3 -3
- {forgexa_cli-1.0.2 → forgexa_cli-1.0.3}/forgexa_cli/py.typed +0 -0
- {forgexa_cli-1.0.2 → forgexa_cli-1.0.3}/forgexa_cli.egg-info/SOURCES.txt +0 -0
- {forgexa_cli-1.0.2 → forgexa_cli-1.0.3}/forgexa_cli.egg-info/dependency_links.txt +0 -0
- {forgexa_cli-1.0.2 → forgexa_cli-1.0.3}/forgexa_cli.egg-info/entry_points.txt +0 -0
- {forgexa_cli-1.0.2 → forgexa_cli-1.0.3}/forgexa_cli.egg-info/top_level.txt +0 -0
- {forgexa_cli-1.0.2 → forgexa_cli-1.0.3}/setup.cfg +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: forgexa-cli
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: Forgexa CLI — command-line client for managing workspaces, projects, requirements, and agent runtimes
|
|
5
5
|
Author-email: Shinetech <dev@shinetechsoftware.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://forgexa.net
|
|
8
8
|
Project-URL: Documentation, https://docs.forgexa.net
|
|
9
|
-
Project-URL: Repository, https://github.com/
|
|
10
|
-
Project-URL: Issues, https://github.com/
|
|
9
|
+
Project-URL: Repository, https://github.com/forgexa/forgexa
|
|
10
|
+
Project-URL: Issues, https://github.com/forgexa/forgexa/issues
|
|
11
11
|
Keywords: forgexa,ai,software-factory,cli,devops,agent
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
13
13
|
Classifier: Environment :: Console
|
|
@@ -48,7 +48,7 @@ forgexa version
|
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
50
|
# Install from source (editable mode)
|
|
51
|
-
git clone https://github.com/
|
|
51
|
+
git clone https://github.com/forgexa/forgexa.git
|
|
52
52
|
cd ai-software-factory/cli
|
|
53
53
|
pip install -e .
|
|
54
54
|
```
|
|
@@ -60,16 +60,16 @@ pip install -e .
|
|
|
60
60
|
export FORGEXA_SERVER_URL=https://your-server.example.com
|
|
61
61
|
|
|
62
62
|
# Login (saves token to ~/.forgexa/token)
|
|
63
|
-
|
|
63
|
+
forgexa login
|
|
64
64
|
|
|
65
65
|
# List workspaces
|
|
66
|
-
|
|
66
|
+
forgexa workspace list
|
|
67
67
|
|
|
68
68
|
# List projects
|
|
69
|
-
|
|
69
|
+
forgexa project list --workspace <workspace-id>
|
|
70
70
|
|
|
71
71
|
# Show kanban board
|
|
72
|
-
|
|
72
|
+
forgexa board --project <project-id>
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
## Commands
|
|
@@ -109,9 +109,9 @@ asf board --project <project-id>
|
|
|
109
109
|
## Output Format
|
|
110
110
|
|
|
111
111
|
```bash
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
forgexa workspace list # Table (default)
|
|
113
|
+
forgexa workspace list --format json # JSON
|
|
114
|
+
forgexa workspace list --format quiet # IDs only
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
## Daemon Management
|
|
@@ -151,11 +151,11 @@ cd cli/
|
|
|
151
151
|
|
|
152
152
|
```bash
|
|
153
153
|
# Bump version (updates pyproject.toml + __init__.py)
|
|
154
|
-
./scripts/bump-version.sh
|
|
154
|
+
./scripts/bump-version.sh 1.1.0
|
|
155
155
|
|
|
156
156
|
# Then commit, tag, and publish
|
|
157
|
-
git add -A && git commit -m "release(cli):
|
|
158
|
-
git tag cli-
|
|
157
|
+
git add -A && git commit -m "release(cli): v1.1.0"
|
|
158
|
+
git tag cli-v1.1.0
|
|
159
159
|
./scripts/publish.sh
|
|
160
160
|
```
|
|
161
161
|
|
|
@@ -21,7 +21,7 @@ forgexa version
|
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
23
|
# Install from source (editable mode)
|
|
24
|
-
git clone https://github.com/
|
|
24
|
+
git clone https://github.com/forgexa/forgexa.git
|
|
25
25
|
cd ai-software-factory/cli
|
|
26
26
|
pip install -e .
|
|
27
27
|
```
|
|
@@ -33,16 +33,16 @@ pip install -e .
|
|
|
33
33
|
export FORGEXA_SERVER_URL=https://your-server.example.com
|
|
34
34
|
|
|
35
35
|
# Login (saves token to ~/.forgexa/token)
|
|
36
|
-
|
|
36
|
+
forgexa login
|
|
37
37
|
|
|
38
38
|
# List workspaces
|
|
39
|
-
|
|
39
|
+
forgexa workspace list
|
|
40
40
|
|
|
41
41
|
# List projects
|
|
42
|
-
|
|
42
|
+
forgexa project list --workspace <workspace-id>
|
|
43
43
|
|
|
44
44
|
# Show kanban board
|
|
45
|
-
|
|
45
|
+
forgexa board --project <project-id>
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
## Commands
|
|
@@ -82,9 +82,9 @@ asf board --project <project-id>
|
|
|
82
82
|
## Output Format
|
|
83
83
|
|
|
84
84
|
```bash
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
forgexa workspace list # Table (default)
|
|
86
|
+
forgexa workspace list --format json # JSON
|
|
87
|
+
forgexa workspace list --format quiet # IDs only
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
## Daemon Management
|
|
@@ -124,11 +124,11 @@ cd cli/
|
|
|
124
124
|
|
|
125
125
|
```bash
|
|
126
126
|
# Bump version (updates pyproject.toml + __init__.py)
|
|
127
|
-
./scripts/bump-version.sh
|
|
127
|
+
./scripts/bump-version.sh 1.1.0
|
|
128
128
|
|
|
129
129
|
# Then commit, tag, and publish
|
|
130
|
-
git add -A && git commit -m "release(cli):
|
|
131
|
-
git tag cli-
|
|
130
|
+
git add -A && git commit -m "release(cli): v1.1.0"
|
|
131
|
+
git tag cli-v1.1.0
|
|
132
132
|
./scripts/publish.sh
|
|
133
133
|
```
|
|
134
134
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""forgexa-cli — Forgexa command-line client."""
|
|
2
|
-
__version__ = "1.0.
|
|
2
|
+
__version__ = "1.0.3"
|
|
@@ -31,19 +31,16 @@ from pathlib import Path
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
def _api_url() -> str:
|
|
34
|
-
return os.environ.get("FORGEXA_SERVER_URL"
|
|
34
|
+
return os.environ.get("FORGEXA_SERVER_URL", "http://localhost:8000")
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
def _token() -> str | None:
|
|
38
|
-
|
|
39
|
-
token = os.environ.get("FORGEXA_TOKEN") or os.environ.get("ASF_TOKEN")
|
|
38
|
+
token = os.environ.get("FORGEXA_TOKEN")
|
|
40
39
|
if token:
|
|
41
40
|
return token
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
token_file
|
|
45
|
-
if token_file.exists():
|
|
46
|
-
return token_file.read_text().strip()
|
|
41
|
+
token_file = Path.home() / ".forgexa" / "token"
|
|
42
|
+
if token_file.exists():
|
|
43
|
+
return token_file.read_text().strip()
|
|
47
44
|
return None
|
|
48
45
|
|
|
49
46
|
|
|
@@ -162,13 +159,9 @@ def cmd_login(args: argparse.Namespace) -> None:
|
|
|
162
159
|
|
|
163
160
|
|
|
164
161
|
def cmd_logout(_args: argparse.Namespace) -> None:
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
token_file
|
|
168
|
-
if token_file.exists():
|
|
169
|
-
token_file.unlink()
|
|
170
|
-
removed = True
|
|
171
|
-
if removed:
|
|
162
|
+
token_file = Path.home() / ".forgexa" / "token"
|
|
163
|
+
if token_file.exists():
|
|
164
|
+
token_file.unlink()
|
|
172
165
|
print("Logged out. Token removed.")
|
|
173
166
|
else:
|
|
174
167
|
print("No token file found.")
|
|
@@ -197,12 +190,8 @@ def cmd_daemon_status(_args: argparse.Namespace) -> None:
|
|
|
197
190
|
|
|
198
191
|
|
|
199
192
|
def cmd_daemon_stop(_args: argparse.Namespace) -> None:
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
pid_file = Path.home() / pid_path
|
|
203
|
-
if pid_file.exists():
|
|
204
|
-
break
|
|
205
|
-
else:
|
|
193
|
+
pid_file = Path.home() / ".forgexa-daemon.pid"
|
|
194
|
+
if not pid_file.exists():
|
|
206
195
|
print("No daemon PID file found. Is a daemon running?")
|
|
207
196
|
sys.exit(1)
|
|
208
197
|
pid = int(pid_file.read_text().strip())
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: forgexa-cli
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: Forgexa CLI — command-line client for managing workspaces, projects, requirements, and agent runtimes
|
|
5
5
|
Author-email: Shinetech <dev@shinetechsoftware.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://forgexa.net
|
|
8
8
|
Project-URL: Documentation, https://docs.forgexa.net
|
|
9
|
-
Project-URL: Repository, https://github.com/
|
|
10
|
-
Project-URL: Issues, https://github.com/
|
|
9
|
+
Project-URL: Repository, https://github.com/forgexa/forgexa
|
|
10
|
+
Project-URL: Issues, https://github.com/forgexa/forgexa/issues
|
|
11
11
|
Keywords: forgexa,ai,software-factory,cli,devops,agent
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
13
13
|
Classifier: Environment :: Console
|
|
@@ -48,7 +48,7 @@ forgexa version
|
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
50
|
# Install from source (editable mode)
|
|
51
|
-
git clone https://github.com/
|
|
51
|
+
git clone https://github.com/forgexa/forgexa.git
|
|
52
52
|
cd ai-software-factory/cli
|
|
53
53
|
pip install -e .
|
|
54
54
|
```
|
|
@@ -60,16 +60,16 @@ pip install -e .
|
|
|
60
60
|
export FORGEXA_SERVER_URL=https://your-server.example.com
|
|
61
61
|
|
|
62
62
|
# Login (saves token to ~/.forgexa/token)
|
|
63
|
-
|
|
63
|
+
forgexa login
|
|
64
64
|
|
|
65
65
|
# List workspaces
|
|
66
|
-
|
|
66
|
+
forgexa workspace list
|
|
67
67
|
|
|
68
68
|
# List projects
|
|
69
|
-
|
|
69
|
+
forgexa project list --workspace <workspace-id>
|
|
70
70
|
|
|
71
71
|
# Show kanban board
|
|
72
|
-
|
|
72
|
+
forgexa board --project <project-id>
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
## Commands
|
|
@@ -109,9 +109,9 @@ asf board --project <project-id>
|
|
|
109
109
|
## Output Format
|
|
110
110
|
|
|
111
111
|
```bash
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
forgexa workspace list # Table (default)
|
|
113
|
+
forgexa workspace list --format json # JSON
|
|
114
|
+
forgexa workspace list --format quiet # IDs only
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
## Daemon Management
|
|
@@ -151,11 +151,11 @@ cd cli/
|
|
|
151
151
|
|
|
152
152
|
```bash
|
|
153
153
|
# Bump version (updates pyproject.toml + __init__.py)
|
|
154
|
-
./scripts/bump-version.sh
|
|
154
|
+
./scripts/bump-version.sh 1.1.0
|
|
155
155
|
|
|
156
156
|
# Then commit, tag, and publish
|
|
157
|
-
git add -A && git commit -m "release(cli):
|
|
158
|
-
git tag cli-
|
|
157
|
+
git add -A && git commit -m "release(cli): v1.1.0"
|
|
158
|
+
git tag cli-v1.1.0
|
|
159
159
|
./scripts/publish.sh
|
|
160
160
|
```
|
|
161
161
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "forgexa-cli"
|
|
3
|
-
version = "1.0.
|
|
3
|
+
version = "1.0.3"
|
|
4
4
|
description = "Forgexa CLI — command-line client for managing workspaces, projects, requirements, and agent runtimes"
|
|
5
5
|
requires-python = ">=3.9"
|
|
6
6
|
license = { text = "MIT" }
|
|
@@ -30,8 +30,8 @@ dependencies = []
|
|
|
30
30
|
[project.urls]
|
|
31
31
|
Homepage = "https://forgexa.net"
|
|
32
32
|
Documentation = "https://docs.forgexa.net"
|
|
33
|
-
Repository = "https://github.com/
|
|
34
|
-
Issues = "https://github.com/
|
|
33
|
+
Repository = "https://github.com/forgexa/forgexa"
|
|
34
|
+
Issues = "https://github.com/forgexa/forgexa/issues"
|
|
35
35
|
|
|
36
36
|
[project.scripts]
|
|
37
37
|
forgexa = "forgexa_cli.main:main"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|