システム · コマンドリファレンス
qzx getCurrentDirectory
機能
現在の作業ディレクトリと、その内容の有用なインベントリを表示します。
コマンドの成熟度: Alpha
実際の利用とフィードバックに使えますが、インターフェースと動作はまだ変更される可能性があります。 これは現在の開発チェックアウトに対する評価です。今後の各不変リリースタグには、そのバージョンに含まれた正確な評価が保存されます。 PyPI 0.2.2.0.9 で利用できます。ドキュメントは alpha チェックアウト 0.2.2.0.9 に対応しています。
動作と組み込み保護
状態を変更せずに検査します
この操作は直接実行されます
ネイティブプログラムを呼び出さずに動作します
ネットワークを使わずに動作します
権限昇格なしで動作するよう設計されています
この安全分類は 2026-08-25 に OpenAI GPT-5.6 Pro が実装ダイジェスト sha256:97129a232a0a5fb5464056db34600937e724d35ffa33189f51041969392d344c と照合してレビューしました。
正確な構文
qzx getCurrentDirectory [full] [size] [details] [limit] --jsonパラメータ
スワイプするか横スクロールバーを使って、すべての列を表示してください。
| 名前 | 型 | 必須 | 既定値 | 説明 |
|---|---|---|---|---|
| full | bool | いいえ | true | 完全パスを表示 (true)、またはディレクトリ名だけを表示 (false) |
| size | bool | いいえ | false | ディレクトリの論理サイズと配下のファイル・ディレクトリ総数を再帰的に計算 |
| details | bool | いいえ | false | 再帰分析、直下エントリのプレビュー、拡張子別要約、最大・最新ファイル、権限、ファイルシステム容量を含める |
| limit | int | いいえ | 10 | 各詳細リストの最大エントリ数 (1-100、既定値: 10) |
入力例
qzx getCurrentDirectory現在のパスを表示し、その階層のファイルとディレクトリを数える
qzx getCurrentDirectory --sizeファイルシステムを 1 回走査して再帰サイズと子孫総数を追加
qzx getCurrentDirectory --details --limit 20各リスト最大 20 項目でディレクトリの詳細分析を返す
qzx getCurrentDirectory --full false表示パスとして現在のディレクトリ名だけを表示
完全な構造化ペイロードを取得するには --json を追加します: qzx getCurrentDirectory [full] [size] [details] [limit] --json
観測された出力例
Windows 11 上の QZX 0.2.2.0.9 で取得。終了コードは 0。ホスト依存の値や所要時間は変わる場合があります。
例のコマンド: qzx getCurrentDirectory --json
{
"success": true,
"current_dir": "C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\QZX-Source",
"full_path": true,
"displayed_path": "C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\QZX-Source",
"directory_name": "QZX-Source",
"parent_directory": "C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange",
"contents": {
"scope": "current_level",
"entry_count": 36,
"file_count": 25,
"directory_count": 11,
"symlink_count": 0,
"other_count": 0,
"hidden_count": 5,
"is_empty": false,
"immediate_files_size_bytes": 149389,
"immediate_files_size_formatted": "145.89 KiB",
"detected_project_markers": [
".git",
"README.md",
"pyproject.toml",
"setup.py"
],
"scan_complete": true,
"scan_error_count": 0
},
"analysis_requested": {
"size": false,
"details": false,
"list_limit": 10
},
"message": "Current directory: C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\QZX-Source. At this level: 25 files, 11 directories, 0 symbolic links, 0 other entries (36 total).",
"meta": {
"command": "getCurrentDirectory",
"command_maturity": {
"stage": "alpha",
"label": "Alpha",
"sequence": 2,
"public_executable": true,
"stability": "interface_may_change",
"summary": "Available for real use and feedback while its interface and behavior can still evolve.",
"promotion_review_required": false,
"assessment_scope": "development_checkout"
},
"duration_ms": 7.988,
"schema_version": 1
}
}JSON 結果コントラクトを見る
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": [
"success",
"message",
"meta"
],
"properties": {
"success": {
"type": "boolean"
},
"message": {
"type": "string"
},
"meta": {
"type": "object",
"required": [
"command",
"command_maturity",
"duration_ms",
"schema_version"
],
"properties": {
"command": {
"type": "string"
},
"command_maturity": {
"type": "object",
"required": [
"stage",
"label",
"sequence",
"public_executable",
"stability",
"summary",
"promotion_review_required",
"assessment_scope"
],
"properties": {
"stage": {
"type": "string"
},
"label": {
"type": "string"
},
"sequence": {
"type": "integer"
},
"public_executable": {
"type": "boolean"
},
"stability": {
"type": "string"
},
"summary": {
"type": "string"
},
"promotion_review_required": {
"type": "boolean"
},
"assessment_scope": {
"type": "string"
},
"note": {
"type": "string"
},
"review": {
"type": "object",
"required": [
"reviewed_on",
"rationale",
"evidence"
],
"properties": {
"reviewed_on": {
"type": "string",
"format": "date"
},
"rationale": {
"type": "string"
},
"evidence": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
},
"replacement": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": true
},
"duration_ms": {
"type": "number"
},
"schema_version": {
"type": "integer"
}
},
"additionalProperties": true
},
"analysis_requested": {
"type": "object",
"properties": {
"size": [],
"details": [],
"list_limit": []
},
"additionalProperties": true
},
"contents": [],
"current_dir": [],
"details": {
"type": "object",
"properties": {
"received_limit": [],
"minimum": {
"type": "integer"
},
"maximum": {
"type": "integer"
}
},
"additionalProperties": true
},
"directory_name": [],
"displayed_path": [],
"error": {
"type": "string"
},
"error_code": {
"type": "string"
},
"full_path": [],
"home_relative_path": [],
"parent_directory": [],
"recursive_analysis": []
},
"additionalProperties": true
}エラーと制限
公開コントラクトでは失敗時に success=false と説明的な message が必要です。このカタログではまだコマンドごとのエラー分類を宣言していません。結果を確認し、存在しないコードを推測しないでください。
QZX は alpha 段階です。オプション依存関係、権限、ホスト機能によって結果が変わる場合があります。
証拠フロー: 取得済み・ダイジェストで検証済み。
証拠と出所
- ドキュメントチャネル
- 開発ドキュメント 0.2.2.0.9 · main · sha256:cfba936e39931c286ca23add0ae546693db17d8b316e7cbc3891d26642d9b7e8
- 提供状況
- 0.2.2.0.9 以前
さらに探す
関連コマンド
これらのコマンドも システム カテゴリに属します。比較して、タスクに最適な操作を選んでください。