aiContext Presets Reference
Presets are additive configurations that provide sensible defaults for common technologies by extending the excludePaths
and includeExtensions
lists.
You can apply a preset with the -p
or --preset
flag.
# Apply the Go and Python presets
npx aicontext -p go python
Below is a list of all available presets and the settings they add.
Web & General
nodejs
: Excludescoverage/
,.env
. Includes.mjs
,.cjs
.python
: Excludes__pycache__/
,.venv/
,venv/
,*.pyc
,.env
,requirements.txt
. Includes.py
.
Mobile
android
: Excludescaptures/
,*.apk
,*.aab
,*.iml
,gradle/
,gradlew
,gradlew.bat
,local.properties
. Includes.java
,.kt
,.kts
,.xml
,.gradle
,.pro
.swift
: Excludes.swiftpm/
,Packages/
,DerivedData/
,*.xcodeproj
,*.xcworkspace
. Includes.swift
.
Backend & Systems
java
: Excludestarget/
,.mvn/
,*.jar
,*.war
,logs/
. Includes.java
,.xml
,.properties
,.pom
.go
: Excludes*.exe
,*.bin
,go.sum
. Includes.go
.rust
: Excludestarget/
,Cargo.lock
. Includes.rs
.ruby
: Excludestmp/
,log/
,Gemfile.lock
. Includes.rb
.php
: Excludescomposer.lock
. Includes.php
.dotnet
: Excludesbin/
,obj/
,*.sln
,*.csproj
. Includes.cs
.c_cpp
: Excludes*.o
,*.out
,*.a
,*.so
,Makefile
,CMakeLists.txt
. Includes.c
,.h
,.cpp
,.hpp
.
Data Science
r
: Excludes.Rhistory
,.RData
. Includes.r
,.R
.