feat(shell): add quote/cursor-aware completion, Ctrl+P fuzzy picker, and opt-in history
- Add quote-aware, mid-cursor, and command/subcommand-aware Tab completion in shell - Add Ctrl+P keybinding and pick command for interactive fuzzy search via search/suggest and path-picker - Add explicit opt-in persistent shell history (pages shell --history) stored in 0700/0600 files with secret-line filtering - Add unit tests and update README.md and docs/client-contract.md
This commit is contained in:
1 parent
a1956dcc6a
commit
44be7c6382
4 files changed
+488
-32
No files matched your search
@@ -158,11 +158,12 @@ OSの言語からは推測しません。最初に名前付きプロファイル
|
||||
| `mput LOCAL... REMOTE_PREFIX` | ローカルファイル/globから新規Pageを一括作成(`-r` / `--strip-ext` / `--dry-run`、既存Pathは412で停止) |
|
||||
| `recover [PATH]` | 退避された原稿の一覧表示・再開・破棄(`--list` / `--edit` / `--discard`) |
|
||||
| `search QUERY` | 権限付きの検索候補 |
|
||||
| `pick [QUERY]`(シェル内 `Ctrl+P`) | 対話シェルでのファジー検索選択・入力補完・操作 |
|
||||
| `open ADDRESS` | ブラウザで閲覧。ブラウザ側ログインを使用 |
|
||||
| `status` / `logout` | 接続状態表示/セッション失効 |
|
||||
|
||||
`pages --help`、`pages configure --help`、`pages edit --help` で引数を確認できます。
|
||||
Tab補完、上下キーのプロセス内履歴に対応。複雑な引用位置の補完、Ctrl+Pのfuzzy UIは後続です。
|
||||
`pages --help`、`pages configure --help`、`pages edit --help`、`pages shell --help` で引数を確認できます。
|
||||
コマンド名・サブコマンド・引用文字・途中カーソル位置に対応したTab補完、`Ctrl+P`(または `pick`)によるファジー検索選択、上下キーの履歴に対応しています。履歴は既定でプロセス内のみ保持し、`pages shell --history` を明示指定した場合だけ秘密情報を除外して `0600` ファイルへ保存します。
|
||||
|
||||
### 言語を指定して編集する
|
||||
|
||||
|
||||
Reference in new issue
Block a user