You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-3Lines changed: 25 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,25 @@ Bootstraps the CLI configuration in your project's folder. This command creates
71
71
-`--organization` (string): Organization name, required with `--api-token`
72
72
-`--repository` (string): Repository name, required with `--api-token`
73
73
74
+
### `config discover` — Discover Project Languages
75
+
76
+
Scans a project directory to detect programming languages and automatically configures appropriate static analysis tools. This command updates both `languages-config.yaml` and `codacy.yaml` with relevant tools for detected languages.
77
+
78
+
```bash
79
+
# Discover languages in current directory
80
+
codacy-cli config discover .
81
+
82
+
# Discover languages in specific project path
83
+
codacy-cli config discover /path/to/project
84
+
```
85
+
86
+
**Features:**
87
+
- Automatically detects file extensions and maps them to programming languages
88
+
- Updates `.codacy/tools-configs/languages-config.yaml` with discovered languages
89
+
- Enables relevant tools in `codacy.yaml` based on detected languages
90
+
- Creates tool-specific configuration files for discovered tools
91
+
- Works in both local and cloud modes
92
+
74
93
### `install` — Install Runtimes and Tools
75
94
76
95
Installs all runtimes and tools specified in `.codacy/codacy.yaml`:
0 commit comments