Skip to content

Abtasty cli feature experimentation analyze flag

abtasty-cli feature-experimentation analyze flag

Analyze your codebase and detect the usage of Flagship or custom flags

Synopsis

Analyze your codebase and detect the usage of Flagship or custom flags, in order to synchronize them with your Flag view in the platform

abtasty-cli feature-experimentation analyze flag [create|list] [flags]

Options

      --code-edge int              number of line code edges (default 1)
      --custom-regex string        regex for the pattern you want to analyze
      --custom-regex-json string   json file that contains the regex for the pattern you want to analyze
      --directory string           directory to analyze in your codebase (default ".")
      --files-exclude string       list of files to exclude in analysis (default "[\".git\", \".github\", \".vscode\", \".idea\", \".yarn\", \"node_modules\"]")
  -h, --help                       help for flag
      --origin-platform string     analyze flags made with feature flag platform, we support launchdarkly, optimizely, split and vwo (latest version only)
      --repository-branch string   branch of the code you want to analyze, and is used to track the links of the files where your flags are used (default "main")
      --repository-url string      root URL of your repository, and is used to track the links of the files where your flags are used (default "https://github.com/org/repo")

Options inherited from parent commands

      --output-format string   output format for the get and list subcommands for AB Tasty resources. Only 3 format are possible: table, json, json-pretty (default "table")
      --user-agent string      custom user agent (default "abtasty-cli/main")

SEE ALSO

Auto generated by spf13/cobra on 6-Aug-2024