[P1] Add Saved Connection Profiles
- 主要言語
- C#
- スター
- 3
- フォーク
- 7
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 14
説明
## Feature Request
**Priority:** P1 (High)
### Description
CosmosDB Shell has no way to save, list, or switch between named connection profiles. Power users managing multiple accounts/environments must re-type connection strings each time.
### Comparable Features in Other Shells
- **sqlcmd**: `sqlcmd config` subcommands (`config view`, `config use-context`)
### Proposed Behavior
Add a `profile` or `config` command:
- `profile save ` — Save current connection as a named profile
- `profile list` — List saved profiles
- `profile use ` — Connect using a saved profile
- `profile delete ` — Remove a saved profile
- Store profiles securely (credential store integration or encrypted file)
### Example Usage
```
connect --connect "AccountEndpoint=..." --connect-mode direct
profile save prod-account
profile list
profile use dev-account
```
コントリビューションガイド
調査の方向性
まず、既存の connect コマンドと、シェルでコマンドを処理するエントリーポイントを確認し、次にプロファイルを保存、一覧表示、使用、削除するために提案されているフローを比較します。実装前に、安全な認証情報ストレージをどのように機能させるべきかを解決します。名前付きプロファイルを、接続文字列を再入力せずに保存、一覧表示、選択、削除できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- cli, security
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100