Skip to content

Commit 64ab529

Browse files
Revert "Fix Neon extension: Unify command structure and remove preview status" (Azure#9117)
* Revert "Fix Neon extension: Unify command structure and remove preview status…" This reverts commit a973f80. * Bump version from 1.0.0b4 to 1.0.0b6
1 parent 5d99945 commit 64ab529

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+102
-696
lines changed

NEON_CHANGES.md

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

src/neon/HISTORY.rst

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,18 @@
33
Release History
44
===============
55

6-
1.0.0b5
7-
+++++++
8-
9-
**Breaking Changes**
10-
11-
* az neon postgres: Removed duplicate postgres command group - commands now available directly under az neon
12-
* Breaking change: az neon postgres [command] is now az neon [command]
13-
14-
**Other Changes**
15-
16-
* Flattened command structure for improved user experience
17-
* Consolidated help documentation for easier navigation
18-
* Updated command structure to eliminate redundant command groups
6+
1.0.0b1
7+
++++++
8+
* Initial release.
199

20-
1.0.0b4
10+
1.0.0b2
2111
++++++
22-
* Update the CLI command description to support AI related queries.
12+
* Updated command descriptions.
2313

2414
1.0.0b3
2515
++++++
2616
* GA release of Neon CLI. Supports Change Plan, Project, Branches and Database Connection commands.
2717

28-
1.0.0b2
18+
1.0.0b4
2919
++++++
30-
* Updated command descriptions.
20+
* Update the CLI command description to support AI related queries.

src/neon/azext_neon/_help.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,3 @@
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-
"""

src/neon/azext_neon/aaz/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@
44
#
55
# Code generated by aaz-dev-tools
66
# --------------------------------------------------------------------------------------------
7-
8-
from . import latest

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

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

11-
from . import neon

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@
1515
"neon",
1616
)
1717
class __CMDGroup(AAZCommandGroup):
18-
"""Manage Neon Serverless Postgres resources including organizations, projects, and branches.
18+
"""Manage Neon Postgres databases and related resources within Azure.
1919
"""
2020
pass
2121

2222

2323
__all__ = ["__CMDGroup"]
24-

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@
99
# flake8: noqa
1010

1111
from .__cmd_group import *
12-
from . import postgres
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: skip-file
9+
# flake8: noqa
10+
11+
from azure.cli.core.aaz import *
12+
13+
14+
@register_command_group(
15+
"neon postgres",
16+
)
17+
class __CMDGroup(AAZCommandGroup):
18+
"""Manage Neon Serverless Postgres resources including organizations, projects, and branches.
19+
"""
20+
pass
21+
22+
23+
__all__ = ["__CMDGroup"]

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,5 @@
88
# pylint: skip-file
99
# flake8: noqa
1010

11-
"""Neon Postgres command group and subcommands."""
12-
1311
from .__cmd_group import *
1412
from ._create import *
15-
from . import branch
16-
from . import compute
17-
from . import endpoint
18-
from . import neon_database
19-
from . import neon_role
20-
from . import organization
21-
from . import project

0 commit comments

Comments
 (0)