Linux command
avo 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Initialize
avo init
Pull
avo pull
Pull
avo pull [source_name]
Check implementation status
avo status
Switch
avo checkout [branch]
Merge
avo merge main
Log into
avo login
说明
avo is the command-line interface for the Avo analytics tracking plan platform. It lets you pull type-safe analytics wrappers (codegen) from your Avo workspace directly into your project, ensuring analytics implementations match your tracking plan. The main workflow is running `avo pull` to fetch the latest generated analytics code based on your tracking plan defined at avo.app. On first run, it prompts you to select which Avo source to generate code for and where to save it. This configuration is stored in the avo.json file.
参数
- init
- Initialize an Avo workspace in the current folder.
- pull _source_
- Pull analytics wrappers from your Avo workspace.
- checkout _branch_
- Switch to a different Avo branch.
- source _command_
- Manage sources for the current project.
- status _source_
- Show the status of the Avo implementation.
- merge main
- Pull the Avo main branch into your current branch.
- conflict
- Resolve git conflicts in Avo files.
- edit
- Open the Avo workspace in the browser.
- login
- Log into the Avo platform.
- logout
- Log out from the Avo platform.
- whoami
- Show the currently logged in username.
- -v, --verbose
- Make output more verbose.
- -f, --force
- Proceed with merge when incoming branch is open.
- --version
- Show version number.
- --help
- Show help.
FAQ
What is the avo command used for?
avo is the command-line interface for the Avo analytics tracking plan platform. It lets you pull type-safe analytics wrappers (codegen) from your Avo workspace directly into your project, ensuring analytics implementations match your tracking plan. The main workflow is running `avo pull` to fetch the latest generated analytics code based on your tracking plan defined at avo.app. On first run, it prompts you to select which Avo source to generate code for and where to save it. This configuration is stored in the avo.json file.
How do I run a basic avo example?
Run `avo init` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does init do in avo?
Initialize an Avo workspace in the current folder.