Skip to content

This open source library allows you to send your feature flag usage to VWO to help you reduce your tech debt.

License

Notifications You must be signed in to change notification settings

wingify/vwo-fme-tech-debt-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VWO FME Tech Debt Client

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.


Features

  • Analyze VWO flag usage in your codebase.
  • Provide recommendations for optimizing VWO flags.

Prerequisites

  • Go (if building from source): Install Go
  • Ensure you have your VWO API Token and Account ID.

Installation

Building from Source

  1. Clone the repository:

    git clone https://github.com/wingify/vwo-fme-tech-debt-client.git
    cd vwo-fme-tech-debt-client
  2. 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

Usage

Command-Line Arguments

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

Example Commands

Basic Usage

Run the client with required parameters:

./tech-debt-client --sourceFolder=/path/to/source --accountId=123456 --apiToken=abcd123 --repoBranch=main --repoName=my-repo

Contributing

Please go through our contributing guidelines

Code of Conduct

Code of Conduct

License

Apache License, Version 2.0

About

This open source library allows you to send your feature flag usage to VWO to help you reduce your tech debt.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages