This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-releases-client.git


The following commit(s) were added to refs/heads/main by this push:
     new badca90  Remove flags for most arguments
badca90 is described below

commit badca90b09bdaea61a717ee8a18952b1a01c9652
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Jul 10 17:07:56 2025 +0100

    Remove flags for most arguments
---
 COMMANDS.md             | 109 ++++++++++++++++++++++++++----------------------
 pyproject.toml          |   4 +-
 src/atrclient/client.py |  28 ++++++-------
 tests/cli_version.t     |   2 +-
 uv.lock                 |   4 +-
 5 files changed, 78 insertions(+), 69 deletions(-)

diff --git a/COMMANDS.md b/COMMANDS.md
index 955a5fd..693701a 100644
--- a/COMMANDS.md
+++ b/COMMANDS.md
@@ -29,11 +29,13 @@ Usage: exceptions [ARGS] [OPTIONS]
 
 Get check exceptions for a release revision.
 
+╭─ Arguments 
──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
+│ *  PROJECT   [required]                                                      
                                        │
+│ *  VERSION   [required]                                                      
                                        │
+│ *  REVISION  [required]                                                      
                                        │
+╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ╭─ Parameters 
─────────────────────────────────────────────────────────────────────────────────────────────────────────╮
-│ *  PROJECT --project           [required]                                    
                                        │
-│ *  VERSION --version           [required]                                    
                                        │
-│ *  REVISION --revision         [required]                                    
                                        │
-│    --members --no-members  -m  [default: False]                              
                                        │
+│ MEMBERS --members --no-members  -m  [default: False]                         
                                        │
 
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ```
 
@@ -44,11 +46,13 @@ Usage: failures [ARGS] [OPTIONS]
 
 Get check failures for a release revision.
 
+╭─ Arguments 
──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
+│ *  PROJECT   [required]                                                      
                                        │
+│ *  VERSION   [required]                                                      
                                        │
+│ *  REVISION  [required]                                                      
                                        │
+╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ╭─ Parameters 
─────────────────────────────────────────────────────────────────────────────────────────────────────────╮
-│ *  PROJECT --project           [required]                                    
                                        │
-│ *  VERSION --version           [required]                                    
                                        │
-│ *  REVISION --revision         [required]                                    
                                        │
-│    --members --no-members  -m  [default: False]                              
                                        │
+│ MEMBERS --members --no-members  -m  [default: False]                         
                                        │
 
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ```
 
@@ -59,11 +63,13 @@ Usage: status [ARGS] [OPTIONS]
 
 Get check status for a release revision.
 
+╭─ Arguments 
──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
+│ *  PROJECT   [required]                                                      
                                        │
+│ *  VERSION   [required]                                                      
                                        │
+│ *  REVISION  [required]                                                      
                                        │
+╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ╭─ Parameters 
─────────────────────────────────────────────────────────────────────────────────────────────────────────╮
-│ *  PROJECT --project           [required]                                    
                                        │
-│ *  VERSION --version           [required]                                    
                                        │
-│ *  REVISION --revision         [required]                                    
                                        │
-│    --verbose --no-verbose  -v  [default: False]                              
                                        │
+│ VERBOSE --verbose --no-verbose  -v  [default: False]                         
                                        │
 
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ```
 
@@ -74,11 +80,13 @@ Usage: warnings [ARGS] [OPTIONS]
 
 Get check warnings for a release revision.
 
+╭─ Arguments 
──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
+│ *  PROJECT   [required]                                                      
                                        │
+│ *  VERSION   [required]                                                      
                                        │
+│ *  REVISION  [required]                                                      
                                        │
+╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ╭─ Parameters 
─────────────────────────────────────────────────────────────────────────────────────────────────────────╮
-│ *  PROJECT --project           [required]                                    
                                        │
-│ *  VERSION --version           [required]                                    
                                        │
-│ *  REVISION --revision         [required]                                    
                                        │
-│    --members --no-members  -m  [default: False]                              
                                        │
+│ MEMBERS --members --no-members  -m  [default: False]                         
                                        │
 
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ```
 
@@ -119,10 +127,19 @@ Usage: dev COMMAND
 Developer operations.
 
 ╭─ Commands 
───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
+│ env    Show the environment variables.                                       
                                        │
 │ stamp  Update version and exclude-newer in pyproject.toml.                   
                                        │
 
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ```
 
+### atr dev env
+
+```
+Usage: env
+
+Show the environment variables.
+```
+
 ### atr dev stamp
 
 ```
@@ -142,12 +159,12 @@ Show comprehensive CLI documentation in Markdown.
 ## atr drop
 
 ```
-Usage: drop [ARGS] [OPTIONS]
+Usage: drop [ARGS]
 
 Remove a configuration key using dot notation.
 
-╭─ Parameters 
─────────────────────────────────────────────────────────────────────────────────────────────────────────╮
-│ *  PATH --path  [required]                                                   
                                        │
+╭─ Arguments 
──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
+│ *  PATH  [required]                                                          
                                        │
 
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ```
 
@@ -205,14 +222,14 @@ Show stored JWT token.
 ## atr list
 
 ```
-Usage: list [ARGS] [OPTIONS]
+Usage: list [ARGS]
 
 List all files within a release.
 
-╭─ Parameters 
─────────────────────────────────────────────────────────────────────────────────────────────────────────╮
-│ *  PROJECT --project    [required]                                           
                                        │
-│ *  VERSION --version    [required]                                           
                                        │
-│    REVISION --revision                                                       
                                        │
+╭─ Arguments 
──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
+│ *  PROJECT   [required]                                                      
                                        │
+│ *  VERSION   [required]                                                      
                                        │
+│    REVISION                                                                  
                                        │
 
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ```
 
@@ -233,65 +250,57 @@ Release operations.
 ### atr release start
 
 ```
-Usage: start [ARGS] [OPTIONS]
+Usage: start [ARGS]
 
 Start a release.
 
-╭─ Parameters 
─────────────────────────────────────────────────────────────────────────────────────────────────────────╮
-│ *  PROJECT --project  [required]                                             
                                        │
-│ *  VERSION --version  [required]                                             
                                        │
+╭─ Arguments 
──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
+│ *  PROJECT  [required]                                                       
                                        │
+│ *  VERSION  [required]                                                       
                                        │
 
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ```
 
 ## atr revisions
 
 ```
-Usage: revisions [ARGS] [OPTIONS]
+Usage: revisions [ARGS]
 
 List all revisions for a release.
 
-╭─ Parameters 
─────────────────────────────────────────────────────────────────────────────────────────────────────────╮
-│ *  PROJECT --project  [required]                                             
                                        │
-│ *  VERSION --version  [required]                                             
                                        │
+╭─ Arguments 
──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
+│ *  PROJECT  [required]                                                       
                                        │
+│ *  VERSION  [required]                                                       
                                        │
 
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ```
 
 ## atr set
 
 ```
-Usage: set [ARGS] [OPTIONS]
+Usage: set [ARGS]
 
 Set a configuration value using dot notation.
 
-╭─ Parameters 
─────────────────────────────────────────────────────────────────────────────────────────────────────────╮
-│ *  PATH --path    [required]                                                 
                                        │
-│ *  VALUE --value  [required]                                                 
                                        │
+╭─ Arguments 
──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
+│ *  PATH   [required]                                                         
                                        │
+│ *  VALUE  [required]                                                         
                                        │
 
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ```
 
 ## atr upload
 
 ```
-Usage: upload [ARGS] [OPTIONS]
+Usage: upload [ARGS]
 
 Upload a file to a release.
 
-╭─ Parameters 
─────────────────────────────────────────────────────────────────────────────────────────────────────────╮
-│ *  PROJECT --project    [required]                                           
                                        │
-│ *  VERSION --version    [required]                                           
                                        │
-│ *  PATH --path          [required]                                           
                                        │
-│ *  FILEPATH --filepath  [required]                                           
                                        │
+╭─ Arguments 
──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
+│ *  PROJECT   [required]                                                      
                                        │
+│ *  VERSION   [required]                                                      
                                        │
+│ *  PATH      [required]                                                      
                                        │
+│ *  FILEPATH  [required]                                                      
                                        │
 
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
 ```
 
-## atr version
-
-```
-Usage: version
-
-Show the version of the client.
-```
-
 ## atr vote
 
 ```
diff --git a/pyproject.toml b/pyproject.toml
index 59a191f..be2f8af 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,7 +11,7 @@ build-backend = "hatchling.build"
 
 [project]
 name            = "apache-trusted-releases"
-version         = "0.20250710.1549"
+version         = "0.20250710.1606"
 description     = "ATR CLI and Python API"
 readme          = "README.md"
 requires-python = ">=3.13"
@@ -48,4 +48,4 @@ atr = "atrclient.client:main"
 packages = ["src/atrclient"]
 
 [tool.uv]
-exclude-newer = "2025-07-10T15:49:00Z"
+exclude-newer = "2025-07-10T16:06:00Z"
diff --git a/src/atrclient/client.py b/src/atrclient/client.py
index 474fab8..f42e751 100755
--- a/src/atrclient/client.py
+++ b/src/atrclient/client.py
@@ -77,7 +77,7 @@ def app_checks_exceptions(
     project: str,
     version: str,
     revision: str,
-    *,
+    /,
     members: Annotated[bool, cyclopts.Parameter(alias="-m", name="--members")] 
= False,
 ) -> None:
     jwt_value = config_jwt_usable()
@@ -92,7 +92,7 @@ def app_checks_failures(
     project: str,
     version: str,
     revision: str,
-    *,
+    /,
     members: Annotated[bool, cyclopts.Parameter(alias="-m", name="--members")] 
= False,
 ) -> None:
     jwt_value = config_jwt_usable()
@@ -107,7 +107,7 @@ def app_checks_status(
     project: str,
     version: str,
     revision: str,
-    *,
+    /,
     verbose: Annotated[bool, cyclopts.Parameter(alias="-v", name="--verbose")] 
= False,
 ) -> None:
     jwt_value = config_jwt_usable()
@@ -142,7 +142,7 @@ def app_checks_warnings(
     project: str,
     version: str,
     revision: str,
-    *,
+    /,
     members: Annotated[bool, cyclopts.Parameter(alias="-m", name="--members")] 
= False,
 ) -> None:
     jwt_value = config_jwt_usable()
@@ -226,7 +226,7 @@ def app_docs() -> None:
 
 
 @APP.command(name="drop", help="Remove a configuration key using dot 
notation.")
-def app_drop(path: str) -> None:
+def app_drop(path: str, /) -> None:
     parts = path.split(".")
     if not parts:
         show_error_and_exit("Not a valid configuration key")
@@ -282,7 +282,7 @@ def app_jwt_show() -> None:
 
 
 @APP.command(name="list", help="List all files within a release.")
-def app_list(project: str, version: str, revision: str | None = None) -> None:
+def app_list(project: str, version: str, revision: str | None = None, /) -> 
None:
     jwt_value = config_jwt_usable()
     host, verify_ssl = config_host_get()
     url = f"https://{host}/api/list/{project}/{version}";
@@ -293,7 +293,7 @@ def app_list(project: str, version: str, revision: str | 
None = None) -> None:
 
 
 @RELEASE.command(name="info", help="Show information about a release.")
-def app_release_info(project: str, version: str) -> None:
+def app_release_info(project: str, version: str, /) -> None:
     host, verify_ssl = config_host_get()
     url = f"https://{host}/api/releases/{project}/{version}";
     result = asyncio.run(web_get_public(url, verify_ssl))
@@ -301,7 +301,7 @@ def app_release_info(project: str, version: str) -> None:
 
 
 @RELEASE.command(name="list", help="List releases for a project.")
-def app_release_list(project: str) -> None:
+def app_release_list(project: str, /) -> None:
     host, verify_ssl = config_host_get()
     url = f"https://{host}/api/releases/{project}";
     result = asyncio.run(web_get_public(url, verify_ssl))
@@ -309,7 +309,7 @@ def app_release_list(project: str) -> None:
 
 
 @RELEASE.command(name="start", help="Start a release.")
-def app_release_start(project: str, version: str) -> None:
+def app_release_start(project: str, version: str, /) -> None:
     jwt_value = config_jwt_usable()
     host, verify_ssl = config_host_get()
     url = f"https://{host}/api/releases/create";
@@ -321,7 +321,7 @@ def app_release_start(project: str, version: str) -> None:
 
 
 @APP.command(name="revisions", help="List all revisions for a release.")
-def app_revisions(project: str, version: str) -> None:
+def app_revisions(project: str, version: str, /) -> None:
     host, verify_ssl = config_host_get()
     url = f"https://{host}/api/revisions/{project}/{version}";
     result = asyncio.run(web_get_public(url, verify_ssl))
@@ -330,7 +330,7 @@ def app_revisions(project: str, version: str) -> None:
 
 
 @APP.command(name="set", help="Set a configuration value using dot notation.")
-def app_set(path: str, value: str) -> None:
+def app_set(path: str, value: str, /) -> None:
     parts = path.split(".")
     if not parts:
         show_error_and_exit("Not a valid configuration key.")
@@ -342,7 +342,7 @@ def app_set(path: str, value: str) -> None:
 
 
 @APP.command(name="show", help="Show a configuration value using dot 
notation.")
-def app_show(path: str) -> None:
+def app_show(path: str, /) -> None:
     parts = path.split(".")
     if not parts:
         show_error_and_exit("Not a valid configuration key.")
@@ -357,7 +357,7 @@ def app_show(path: str) -> None:
 
 
 @APP.command(name="upload", help="Upload a file to a release.")
-def app_upload(project: str, version: str, path: str, filepath: str) -> None:
+def app_upload(project: str, version: str, path: str, filepath: str, /) -> 
None:
     jwt_value = config_jwt_usable()
     host, verify_ssl = config_host_get()
     url = f"https://{host}/api/upload";
@@ -381,7 +381,7 @@ def app_vote_start(
     project: str,
     version: str,
     revision: str,
-    *,
+    /,
     mailing_list: str,
     duration: Annotated[int, cyclopts.Parameter(alias="-d", 
name="--duration")] = 72,
     subject: Annotated[
diff --git a/tests/cli_version.t b/tests/cli_version.t
index cdb7824..a4b439a 100644
--- a/tests/cli_version.t
+++ b/tests/cli_version.t
@@ -1,2 +1,2 @@
 $ atr --version
-0.20250710.1549
+0.20250710.1606
diff --git a/uv.lock b/uv.lock
index b00b6b0..082c9df 100644
--- a/uv.lock
+++ b/uv.lock
@@ -2,7 +2,7 @@ version = 1
 requires-python = ">=3.13"
 
 [options]
-exclude-newer = "2025-07-10T15:49:00Z"
+exclude-newer = "2025-07-10T16:06:00Z"
 
 [[package]]
 name = "aiohappyeyeballs"
@@ -74,7 +74,7 @@ wheels = [
 
 [[package]]
 name = "apache-trusted-releases"
-version = "0.20250710.1549"
+version = "0.20250710.1606"
 source = { editable = "." }
 dependencies = [
     { name = "aiohttp" },


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to