Skip to content

Commit 9bdb9c9

Browse files
Update Claude Code docs - 2025-09-09 | Updated: cli-reference.md,iam.md ide-integrations.md,security.md settings.md | Added: gitlab-ci-cd.md
1 parent 2d4e7c8 commit 9bdb9c9

7 files changed

Lines changed: 541 additions & 44 deletions

File tree

docs/cli-reference.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,24 @@
2020

2121
Customize Claude Code's behavior with these command-line flags:
2222

23-
| Flag | Description | Example |
24-
| :------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------- |
25-
| `--add-dir` | Add additional working directories for Claude to access (validates each path exists as a directory) | `claude --add-dir ../apps ../lib` |
26-
| `--allowedTools` | A list of tools that should be allowed without prompting the user for permission, in addition to [settings.json files](/en/docs/claude-code/settings) | `"Bash(git log:*)" "Bash(git diff:*)" "Read"` |
27-
| `--disallowedTools` | A list of tools that should be disallowed without prompting the user for permission, in addition to [settings.json files](/en/docs/claude-code/settings) | `"Bash(git log:*)" "Bash(git diff:*)" "Edit"` |
28-
| `--print`, `-p` | Print response without interactive mode (see [SDK documentation](/en/docs/claude-code/sdk) for programmatic usage details) | `claude -p "query"` |
29-
| `--append-system-prompt` | Append to system prompt (only with `--print`) | `claude --append-system-prompt "Custom instruction"` |
30-
| `--output-format` | Specify output format for print mode (options: `text`, `json`, `stream-json`) | `claude -p "query" --output-format json` |
31-
| `--input-format` | Specify input format for print mode (options: `text`, `stream-json`) | `claude -p --output-format json --input-format stream-json` |
32-
| `--verbose` | Enable verbose logging, shows full turn-by-turn output (helpful for debugging in both print and interactive modes) | `claude --verbose` |
33-
| `--max-turns` | Limit the number of agentic turns in non-interactive mode | `claude -p --max-turns 3 "query"` |
34-
| `--model` | Sets the model for the current session with an alias for the latest model (`sonnet` or `opus`) or a model's full name | `claude --model claude-sonnet-4-20250514` |
35-
| `--permission-mode` | Begin in a specified [permission mode](iam#permission-modes) | `claude --permission-mode plan` |
36-
| `--permission-prompt-tool` | Specify an MCP tool to handle permission prompts in non-interactive mode | `claude -p --permission-prompt-tool mcp_auth_tool "query"` |
37-
| `--resume` | Resume a specific session by ID, or by choosing in interactive mode | `claude --resume abc123 "query"` |
38-
| `--continue` | Load the most recent conversation in the current directory | `claude --continue` |
39-
| `--dangerously-skip-permissions` | Skip permission prompts (use with caution) | `claude --dangerously-skip-permissions` |
23+
| Flag | Description | Example |
24+
| :------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- |
25+
| `--add-dir` | Add additional working directories for Claude to access (validates each path exists as a directory) | `claude --add-dir ../apps ../lib` |
26+
| `--allowedTools` | A list of tools that should be allowed without prompting the user for permission, in addition to [settings.json files](/en/docs/claude-code/settings) | `"Bash(git log:*)" "Bash(git diff:*)" "Read"` |
27+
| `--disallowedTools` | A list of tools that should be disallowed without prompting the user for permission, in addition to [settings.json files](/en/docs/claude-code/settings) | `"Bash(git log:*)" "Bash(git diff:*)" "Edit"` |
28+
| `--print`, `-p` | Print response without interactive mode (see [SDK documentation](/en/docs/claude-code/sdk) for programmatic usage details) | `claude -p "query"` |
29+
| `--append-system-prompt` | Append to system prompt (only with `--print`) | `claude --append-system-prompt "Custom instruction"` |
30+
| `--output-format` | Specify output format for print mode (options: `text`, `json`, `stream-json`) | `claude -p "query" --output-format json` |
31+
| `--input-format` | Specify input format for print mode (options: `text`, `stream-json`) | `claude -p --output-format json --input-format stream-json` |
32+
| `--include-partial-messages` | Include partial streaming events in output (requires `--print` and `--output-format=stream-json`) | `claude -p --output-format stream-json --include-partial-messages "query"` |
33+
| `--verbose` | Enable verbose logging, shows full turn-by-turn output (helpful for debugging in both print and interactive modes) | `claude --verbose` |
34+
| `--max-turns` | Limit the number of agentic turns in non-interactive mode | `claude -p --max-turns 3 "query"` |
35+
| `--model` | Sets the model for the current session with an alias for the latest model (`sonnet` or `opus`) or a model's full name | `claude --model claude-sonnet-4-20250514` |
36+
| `--permission-mode` | Begin in a specified [permission mode](iam#permission-modes) | `claude --permission-mode plan` |
37+
| `--permission-prompt-tool` | Specify an MCP tool to handle permission prompts in non-interactive mode | `claude -p --permission-prompt-tool mcp_auth_tool "query"` |
38+
| `--resume` | Resume a specific session by ID, or by choosing in interactive mode | `claude --resume abc123 "query"` |
39+
| `--continue` | Load the most recent conversation in the current directory | `claude --continue` |
40+
| `--dangerously-skip-permissions` | Skip permission prompts (use with caution) | `claude --dangerously-skip-permissions` |
4041

4142
<Tip>
4243
The `--output-format json` flag is particularly useful for scripting and

docs/docs_manifest.json

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"cli-reference.md": {
1616
"original_url": "https://docs.anthropic.com/en/docs/claude-code/cli-reference",
1717
"original_md_url": "https://docs.anthropic.com/en/docs/claude-code/cli-reference.md",
18-
"hash": "f7f1bdc8351ee6f6511ce35cabcde69cd50baacbe43bd3ac2c4bd91c4adab0e4",
19-
"last_updated": "2025-08-14T18:01:48.003977"
18+
"hash": "f5e2351e2ccd5239521dcaba3c8a6aaa047dcbb744fd9e4bc29dab1cb184f5ca",
19+
"last_updated": "2025-09-09T18:06:16.256722"
2020
},
2121
"common-workflows.md": {
2222
"original_url": "https://docs.anthropic.com/en/docs/claude-code/common-workflows",
@@ -54,6 +54,12 @@
5454
"hash": "de4f4b56f46236c29eb47e0f6c2b2ef2f31c52b2f436cf9dc3e353e605f80c45",
5555
"last_updated": "2025-08-28T18:05:49.329385"
5656
},
57+
"gitlab-ci-cd.md": {
58+
"original_url": "https://docs.anthropic.com/en/docs/claude-code/gitlab-ci-cd",
59+
"original_md_url": "https://docs.anthropic.com/en/docs/claude-code/gitlab-ci-cd.md",
60+
"hash": "6b2201f7a6b7be42165b3e3655a3a6ece8c09bcce1eeee34ed767451c3fdcc6b",
61+
"last_updated": "2025-09-09T18:06:20.119841"
62+
},
5763
"google-vertex-ai.md": {
5864
"original_url": "https://docs.anthropic.com/en/docs/claude-code/google-vertex-ai",
5965
"original_md_url": "https://docs.anthropic.com/en/docs/claude-code/google-vertex-ai.md",
@@ -75,14 +81,14 @@
7581
"iam.md": {
7682
"original_url": "https://docs.anthropic.com/en/docs/claude-code/iam",
7783
"original_md_url": "https://docs.anthropic.com/en/docs/claude-code/iam.md",
78-
"hash": "43d29a41e580ef96176752e019d1371a189602b91212e83e7551930219a6acff",
79-
"last_updated": "2025-09-02T18:04:59.414002"
84+
"hash": "5d57610d909251d911a9c6b3a16d4988fed29ef302efb09d5bfdf772dc465d9c",
85+
"last_updated": "2025-09-09T18:06:22.343889"
8086
},
8187
"ide-integrations.md": {
8288
"original_url": "https://docs.anthropic.com/en/docs/claude-code/ide-integrations",
8389
"original_md_url": "https://docs.anthropic.com/en/docs/claude-code/ide-integrations.md",
84-
"hash": "8eeb41ded01f5411202a7bf0d28856cecbad5d17039ee09930b8961b9b86d47d",
85-
"last_updated": "2025-08-23T21:03:48.072795"
90+
"hash": "5c42f451d1344a51db3a1d88f0dc15af8432d6b7369d37c4f2d3c5a1cf963faa",
91+
"last_updated": "2025-09-09T18:06:22.872292"
8692
},
8793
"interactive-mode.md": {
8894
"original_url": "https://docs.anthropic.com/en/docs/claude-code/interactive-mode",
@@ -165,14 +171,14 @@
165171
"security.md": {
166172
"original_url": "https://docs.anthropic.com/en/docs/claude-code/security",
167173
"original_md_url": "https://docs.anthropic.com/en/docs/claude-code/security.md",
168-
"hash": "859dee1f761e603a2aaa8e848da6f495b15b7c4452113221a04a6c419377184f",
169-
"last_updated": "2025-09-05T21:04:23.600611"
174+
"hash": "6719407b518e91df9fe04ac85b55b949caa89966e02cf34f66cf0416d2ebff91",
175+
"last_updated": "2025-09-09T18:06:30.623287"
170176
},
171177
"settings.md": {
172178
"original_url": "https://docs.anthropic.com/en/docs/claude-code/settings",
173179
"original_md_url": "https://docs.anthropic.com/en/docs/claude-code/settings.md",
174-
"hash": "432da98a1db2a3fdec01f290c4b67d981aa486fcce9f469a4f362eef6a2f6861",
175-
"last_updated": "2025-09-05T21:04:24.130218"
180+
"hash": "152e9899e2e3f5cd0d95ab6b3d103ef89325397e64c33be1024b82592aa2c96b",
181+
"last_updated": "2025-09-09T18:06:31.175261"
176182
},
177183
"setup.md": {
178184
"original_url": "https://docs.anthropic.com/en/docs/claude-code/setup",
@@ -225,20 +231,20 @@
225231
}
226232
},
227233
"fetch_metadata": {
228-
"last_fetch_completed": "2025-09-09T15:05:47.338149",
229-
"fetch_duration_seconds": 21.135474,
230-
"total_pages_discovered": 37,
231-
"pages_fetched_successfully": 37,
234+
"last_fetch_completed": "2025-09-09T18:06:34.985360",
235+
"fetch_duration_seconds": 21.566926,
236+
"total_pages_discovered": 38,
237+
"pages_fetched_successfully": 38,
232238
"pages_failed": 1,
233239
"failed_pages": [
234240
"/en/docs/claude-code/sdk/sdk-typescript"
235241
],
236242
"sitemap_url": "https://docs.anthropic.com/sitemap.xml",
237243
"base_url": "https://docs.anthropic.com",
238-
"total_files": 37,
244+
"total_files": 38,
239245
"fetch_tool_version": "3.0"
240246
},
241-
"last_updated": "2025-09-09T15:05:47.338176",
247+
"last_updated": "2025-09-09T18:06:34.985381",
242248
"base_url": "https://raw.githubusercontent.com/mnestorov/cc-docs-mirror/main/docs/",
243249
"github_repository": "mnestorov/cc-docs-mirror",
244250
"github_ref": "main",

0 commit comments

Comments
 (0)