CLI¶
CLI Interface¶
rc¶
A CLI for working with LaunchDarkly relay instances.
rc [OPTIONS] COMMAND [ARGS]...
Options
-
-v
,
--verbosity
<LVL>
¶ Either CRITICAL, ERROR, WARNING, INFO or DEBUG
-
--version
¶
Show the version and exit.
-
--help
¶
Show this message and exit.
generate-relay-config¶
Generate Relay Proxy Configuration.
Generate a ld-relay.conf file to quickly spin up a relay proxy. Right now this is mostly used for integration testing.
- param project
LaunchDarkly project key
rc generate-relay-config [OPTIONS]
Options
-
-p
,
--project
<project>
¶ Required
update-ld-api¶
Execute command against the LaunchDarkly API.
This command is generally not used directly, instead it is called as a
part of running the playback()
function.
- param project
LaunchDarkly project key.
- param environment
LaunchDarkly environment key.
- param feature
LaunchDarkly feature key.
- param state
State for a feature flag.
rc update-ld-api [OPTIONS]
Options
-
-p
,
--project
<project>
¶ Required
-
-e
,
--environment
<environment>
¶ Required
-
-f
,
--feature
<feature>
¶ Required
-
-s
,
--state
<state>
¶ Required
update-redis¶
Update redis state for a feature flag.
- param project
LaunchDarkly project key.
- param environment
LaunchDarkly environment key.
- param feature
LaunchDarkly feature key.
- param state
State for a feature flag.
rc update-redis [OPTIONS]
Options
-
-p
,
--project
<project>
¶ Required
-
-e
,
--environment
<environment>
¶ Required
-
-f
,
--feature
<feature>
¶ Required
-
-s
,
--state
<state>
¶ Required