argocli 0.1.0__py3-none-any.whl → 0.1.1__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.
@@ -0,0 +1,92 @@
1
+ Metadata-Version: 2.4
2
+ Name: argocli
3
+ Version: 0.1.1
4
+ Summary: A command-line interface for Argo Workflows
5
+ Requires-Python: >=3.12
6
+ Description-Content-Type: text/markdown
7
+ License-File: LICENSE
8
+ Requires-Dist: cac-core>=0.4.1
9
+ Requires-Dist: packaging>=25.0
10
+ Requires-Dist: requests>=2.32.4
11
+ Dynamic: license-file
12
+
13
+ # Argo CLI
14
+
15
+ A command-line interface for interacting with Argo.
16
+
17
+ This project uses [UV](https://github.com/astral-sh/uv) for dependency management.
18
+
19
+ ## Installation
20
+
21
+ ```bash
22
+ pip install argocli
23
+ ```
24
+
25
+ ## Authentication
26
+
27
+ On first-run, you'll be prompted for an Argo API token. This will be stored in your system credential store (e.g. Keychain on Mac OS) in an items called `argocli`.
28
+
29
+ ## Configuration
30
+
31
+ On first-run, a configuration file will be generated at `~/.config/argocli/config.yaml`. In this file you'll need to replace the values of `server`, `namespace`, and `username` with appropriate values.
32
+
33
+ ```yaml
34
+ server: https://your-jira-instance.atlassian.net
35
+ namespace: YOUR_PROJECT_NAMESPACE
36
+ username: your.email@example.com
37
+ ```
38
+
39
+ ## Usage
40
+
41
+ The Argo CLI follows a command-action pattern for all operations:
42
+
43
+ ```bash
44
+ argocli <command> <action> [options]
45
+ ```
46
+
47
+ ### Global Options
48
+
49
+ - `--verbose`: Enable debug output
50
+ <!-- - `--output [table|json]`: Control output format (default table) -->
51
+ - `--help`: Show command help
52
+ <!-- --suppress-output: Hide command output -->
53
+ <!-- --version: Display version information -->
54
+
55
+ ### Examples
56
+
57
+ #### Workflow Commands
58
+
59
+ Show the status of a workflow:
60
+
61
+ ```bash
62
+ argocli workflow status -n WORKFLOW_NAME
63
+ ```
64
+
65
+ ## Development
66
+
67
+ ### Setup Development Environment
68
+
69
+ ```bash
70
+ # Install dependencies including dev dependencies
71
+ uv sync
72
+
73
+ # Activate the venv
74
+ source .venv/bin/activate
75
+
76
+ # Run tests
77
+ uv run pytest
78
+ ```
79
+
80
+ Please note that tests are still WIP
81
+
82
+ ### Project Structure
83
+
84
+ - `argocli/commands/` - Command implementations
85
+ - `workflow/` - Workflow-related commands
86
+ - `argocli/cli/` - CLI entry point and argument parsing
87
+
88
+ ### Adding New Commands
89
+
90
+ 1. Create a new action module in the appropriate command directory.
91
+ 2. Define a class that inherits from the command's base class.
92
+ 3. Implement `define_arguments()` and `execute()` methods.
@@ -4,9 +4,9 @@ argocli/commands/command.py,sha256=K9ehMVba9_Rg_TsEPnFec4GP24BpXvHWdfp2A7wvmTc,1
4
4
  argocli/commands/workflow/__init__.py,sha256=6f-gZGuBNw_YM4iK8-gviJ20uDSfmhEtC7Lx8TpWMP8,1489
5
5
  argocli/commands/workflow/status.py,sha256=YxNFmieCiBaqOBt6D-uyCDTVr6SC4cLxhgtqxJyxcLE,819
6
6
  argocli/core/client.py,sha256=00NMaRbEFmgHGHea2OJPdg7bMAn9wa0gLuJT_kdJ_fU,1246
7
- argocli-0.1.0.dist-info/licenses/LICENSE,sha256=9zKZw6P2NbYxuA1UuxzvAvTc3VhTW07CAgN3bLxCkqo,1066
8
- argocli-0.1.0.dist-info/METADATA,sha256=5dwg-OC9EsVNFARFla9mZ02aWmZJ5E3iKWV-0kMeiF4,306
9
- argocli-0.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
- argocli-0.1.0.dist-info/entry_points.txt,sha256=cAplzeUUaQ8IXiVEBR_9p5_7iRHyAGZQgxl0hITGqrg,50
11
- argocli-0.1.0.dist-info/top_level.txt,sha256=k62Rfx-hxDMUXTnXBBpjRw16LlSfB6I7rTai_DPoJuw,8
12
- argocli-0.1.0.dist-info/RECORD,,
7
+ argocli-0.1.1.dist-info/licenses/LICENSE,sha256=9zKZw6P2NbYxuA1UuxzvAvTc3VhTW07CAgN3bLxCkqo,1066
8
+ argocli-0.1.1.dist-info/METADATA,sha256=iE2Haz86SWVxcF3hl-t12ME44ZTmUMVzyTGrBbN_R1E,2168
9
+ argocli-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
+ argocli-0.1.1.dist-info/entry_points.txt,sha256=cAplzeUUaQ8IXiVEBR_9p5_7iRHyAGZQgxl0hITGqrg,50
11
+ argocli-0.1.1.dist-info/top_level.txt,sha256=k62Rfx-hxDMUXTnXBBpjRw16LlSfB6I7rTai_DPoJuw,8
12
+ argocli-0.1.1.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: argocli
3
- Version: 0.1.0
4
- Summary: A command-line interface for Argo Workflows
5
- Requires-Python: >=3.12
6
- Description-Content-Type: text/markdown
7
- License-File: LICENSE
8
- Requires-Dist: cac-core>=0.4.1
9
- Requires-Dist: packaging>=25.0
10
- Requires-Dist: requests>=2.32.4
11
- Dynamic: license-file