Skip to content

Commit 60d15e2

Browse files
feat(neon): flatten command hierarchy remove legacy 'neon postgres' group (1.0.0b5)
1 parent 0127dd5 commit 60d15e2

File tree

5 files changed

+31
-29
lines changed

5 files changed

+31
-29
lines changed

src/neon/HISTORY.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
Release History
44
===============
55

6-
1.0.0b1
6+
1.0.0b5
77
++++++
8-
* Initial release.
9-
8+
* Flatten command hierarchy: removed duplicate 'neon postgres' group; all commands now under top-level 'neon'.
9+
* Added consolidated help content.
1010
1.0.0b2
1111
++++++
1212
* Updated command descriptions.
@@ -17,4 +17,9 @@ Release History
1717

1818
1.0.0b4
1919
++++++
20-
* Update the CLI command description to support AI related queries.
20+
* Update the CLI command description to support AI related queries.
21+
22+
1.0.0b5
23+
++++++
24+
* Flatten command hierarchy: deprecate duplicate 'neon postgres' group in favor of top-level 'neon'.
25+
* Add consolidated help content and deprecation notice.

src/neon/azext_neon/_help.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,18 @@
99
# pylint: disable=too-many-lines
1010

1111
from knack.help_files import helps # pylint: disable=unused-import
12+
13+
helps["neon"] = """
14+
type: group
15+
short-summary: Manage Neon Serverless Postgres resources (organizations, projects, branches, databases, roles, endpoints, compute).
16+
long-summary: |-
17+
Manage Neon serverless Postgres on Azure including:
18+
* Organization lifecycle
19+
* Project management
20+
* Branch management
21+
* Database operations
22+
* Role management
23+
* Compute / endpoints
24+
NOTE: Previous nested usage 'az neon postgres <subgroup>' is deprecated. Use 'az neon <subgroup>'.
25+
"""
26+

src/neon/azext_neon/aaz/latest/neon/postgres/__cmd_group.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/neon/azext_neon/aaz/latest/neon/postgres/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
# pylint: skip-file
99
# flake8: noqa
1010

11-
from .__cmd_group import *
11+
"""Loader for Neon subcommand groups without legacy 'neon postgres' wrapper.
12+
13+
The original generated package registered a duplicate root group 'neon postgres'.
14+
That group has been removed to flatten the hierarchy so only 'neon' appears in docs.
15+
"""
16+
1217
from ._create import *
1318
from . import branch
1419
from . import compute

src/neon/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
# HISTORY.rst entry.
13-
VERSION = '1.0.0b4'
13+
VERSION = '1.0.0b5'
1414

1515
# The full list of classifiers is available at
1616
# https://pypi.python.org/pypi?%3Aaction=list_classifiers

0 commit comments

Comments
 (0)