Skip to main content

Usage

In your shell:

export LAUNCHDARKLY_SERVER_KEY="some-random-key"
export LAUNCHDARKLY_FLAGS="foo"

This script provides several command-line options:

  • -f or --flag: This option is used to specify the flag key to evaluate. This option is required and can be used multiple times. The value for this option can also be provided through the LAUNCHDARKLY_FLAGS environment variable.

  • --sdk-key: This option is used to specify the LaunchDarkly SDK server key. The value for this option can also be provided through the LAUNCHDARKLY_SERVER_KEY environment variable.

  • -v or --verbose: This option is used to increase logging verbosity. The more times this option is used, the more verbose the logging.

:warning: You can specify either environment variables or command-line options.

For example, to run the script with a flag key of "foo" and an SDK key of "sdk-34324dfd-fake-ke5", you would use the following command:

ld-flag-lookup -f "foo" --sdk-key "sdk-34324dfd-fake-key" -vv

Metadata

Release files for ld-flag-lookup 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ld-flag-lookup 1.0.0
File Size Uploaded
ld_flag_lookup-1.0.0.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ld-flag-lookup 1.0.0
File Interpreter ABI Platform
ld_flag_lookup-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.3 kB

Release files / ld_flag_lookup-1.0.0.tar.gz

Download URL ld_flag_lookup-1.0.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
31b88db631fb3b520fd9642fb74b6a8c64afeeff61bc264ed3b05ab261564917
BLAKE2b-256 checksum
How to use checksums
7e211417de510fd347a94cbb4f9d8d4d7304a15494648eae8fa881430afdc76e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.8 Linux/5.15.146.1-microsoft-standard-WSL2

Release files / ld_flag_lookup-1.0.0-py3-none-any.whl

Download URL ld_flag_lookup-1.0.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01b6dd37dc204d38084a8feede30493c0702088c34357209525cc9c6febfee5c
BLAKE2b-256 checksum
How to use checksums
06162786c63b0bf40c9b40df7137244b72fbc6112fef354bebecd323e883035e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.8 Linux/5.15.146.1-microsoft-standard-WSL2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page