Managing your Weni by VTEX projects
Manage your Weni by VTEX projects with the CLI.
Project Management
Learn how to manage your Weni by VTEX projects using the CLI.
Project Commands
List Projects
View all projects you have access to:
_10weni project list
Filter projects by organization UUID:
_10weni project list --org <org-uuid>
If many results are available, you'll be prompted to load more pages (p) or quit (q).
This command shows:
- Project UUID
- Project name
- Organization
- Creation date
Select Project
Set a project as your current working project:
_10weni project use <project-uuid>
Replace <project-uuid> with the UUID from the project list.
View Current Project
Check which project you're currently working with:
_10weni project current
This prints the current project UUID stored by the CLI, e.g.: Current project: <uuid>
Project Context
The CLI maintains a "current project" context, which is used by other commands like project push. This context is stored in your .weni_cli file.
Why Project Context Matters
- Simplifies command usage (no need to specify project in every command)
- Prevents accidental deployments to wrong projects
- Maintains consistent workflow
Best Practices
Project Organization
-
Naming Conventions
- Use clear, descriptive project names
- Follow your organization's naming standards
-
Project Structure
- Keep related agents together
- Maintain consistent file organization
Working with Multiple Projects
-
Context Switching
- Always verify current project before operations
- Use
project currentto confirm active project
-
Project Isolation
- Keep project-specific files in separate directories
- Use version control for project configurations
Common Workflows
Starting a New Project
-
Create project in Weni by VTEX platform
-
List projects to get UUID:
_10weni project list -
Select the new project:
_10weni project use <new-project-uuid> -
Verify selection:
_10weni project current
Managing Multiple Projects
- List available projects
- Switch between projects as needed
- Verify current project before operations
- Keep project files organized
Troubleshooting
Common Issues
-
Project Not Found
- Verify project UUID
- Check your access permissions
- Ensure you're in the correct environment
-
Unable to Switch Projects
- Verify
.weni_clifile permissions - Check authentication status
- Confirm project exists and is accessible
- Verify
-
Project List Empty
- Verify authentication
- Check environment configuration
- Confirm you have project access
Getting Help
If you encounter issues:
- Check command syntax
- Verify project access
- Contact support if needed