OPTIONS -t, --token=token personal API token to authenticate with --deprecated-runtimes show deprecated SDK options for source configuration (for Itly users).
pull down the latest tracking plan and generate a tracking library
` USAGE $ ampli pull [] [-p ] [-b ]
OPTIONS -b, --branch=branch the branch to pull -p, --path=path where the tracking library will be created -t, --token=token personal API token to authenticate with -v, --version=version the version to pull --deprecated-runtimes show deprecated SDK options for source configuration (for Itly users). --include-api-keys include api keys to the tracking library --omit-api-keys omit api keys from the tracking library
EXAMPLES $ ampli pull web $ ampli pull web -p ./ampli -b develop $ ampli pull web -p ./ampli -b develop -v 2.1.1 $ ampli pull --omit-api-keys web $ ampli pull --include-api-keys web $ ampli pull --deprecated-runtimes
`ampli refresh
refresh current branch with any changes that may have been made to main branch
` USAGE $ ampli refresh
OPTIONS -t, --token=token personal API token to authenticate with
EXAMPLE $ ampli refresh
`ampli setup
show setup instructions for the current source
` USAGE $ ampli setup
OPTIONS -t, --token=token personal API token to authenticate with
EXAMPLE $ ampli setup
`ampli source
list all sources
` USAGE $ ampli source
OPTIONS -t, --token=token personal API token to authenticate with
`ampli status
verify (lint) your source code for analytics
` USAGE $ ampli status
OPTIONS -b, --branch=branch enforces source is on provided the branch -t, --token=token personal API token to authenticate with -u, --update update tracking plan with latest implementation status --instanceNames=instanceNames Ampli instance name(s) to check --is-latest check if current version is the latest --is-latest-if-not-default-branch check if current version is the latest (do not check if on default branch) --is-merged check if current branch/version has been merged into default branch --skip-update-on-default-branch prevents updating implementation status on default branch --sourceDirs=sourceDirs source code location
EXAMPLES $ ampli status $ ampli status -u $ ampli status -b main $ ampli status -u --skip-update-on-default-branch $ ampli status --sourceDirs ./src ./util $ ampli status --is-merged $ ampli status --is-latest $ ampli status --is-latest-if-not-default-branch $ ampli status --instanceNames myAmpliInstanceName ampli itly foo