Syntax
Arguments
Optional name of the project to switch to. If omitted, displays an interactive selection menu.
Behavior
With Project Name
When you provide a project name:- Searches for the project by name
- Switches to it immediately if found
- Shows available projects if name not found
Without Project Name
When no project name is provided:- Displays an interactive list of all projects
- Use arrow keys to navigate
- Press Enter to select
- Shows 10 projects per page for easy scrolling
Examples
Switch to specific project
Interactive selection
Switch to project with similar name
Output
On successful switch:Error Handling
- If no projects exist, suggests using
adist init - If project name not found, lists available projects
- Validates project data before switching
Current Project Indicator
After switching, the current project is used by:- adist get - Search in current project
- adist query - Query current project
- adist chat - Chat about current project
- adist reindex - Reindex current project
- adist summary - View current project summary
Related Commands
- adist list - View all projects with current project indicator
- adist init - Create a new project