The VWO FME Tech Debt Client is a tool that analyzes your VWO flags usage and provides recommendations based on the source code in your project. This application is configurable using command-line arguments.
- Analyze VWO flag usage in your codebase.
- Provide recommendations for optimizing VWO flags.
- Go (if building from source): Install Go
- Ensure you have your VWO API Token and Account ID.
-
Clone the repository:
git clone https://github.com/wingify/vwo-fme-tech-debt-client.git cd vwo-fme-tech-debt-client
-
Build the binary:
# Build the binary go build # Option 1: Using environment variables export VWO_SOURCE_FOLDER=/path/to/source export VWO_ACCOUNT_ID=123456 export VWO_API_TOKEN=abcd123 export VWO_REPO_BRANCH=main export VWO_REPO_NAME=my-repo ./vwo-fme-tech-debt-client # Option 2: Using command line arguments ./vwo-fme-tech-debt-client \ --sourceFolder=/path/to/source \ --accountId=123456 \ --apiToken=abcd123 \ --repoBranch=main \ --repoName=my-repo
The application accepts the following arguments:
Argument | Description | Required |
---|---|---|
--sourceFolder |
Path to the source folder | Yes |
--accountId |
VWO Account ID | Yes |
--apiToken |
VWO API Token | Yes |
--repoBranch |
Branch of the repository | Yes |
--repoName |
Name of the repository | Yes |
Run the client with required parameters:
./tech-debt-client --sourceFolder=/path/to/source --accountId=123456 --apiToken=abcd123 --repoBranch=main --repoName=my-repo
Please go through our contributing guidelines