Skip to content

fix: Add dev server to usage template#411

Merged
mike-zorn merged 1 commit into
mainfrom
mikezorn/sc-253825/dev-server-missing-from-ldcli-help
Aug 26, 2024
Merged

fix: Add dev server to usage template#411
mike-zorn merged 1 commit into
mainfrom
mikezorn/sc-253825/dev-server-missing-from-ldcli-help

Conversation

@mike-zorn
Copy link
Copy Markdown

@mike-zorn mike-zorn commented Aug 24, 2024

This adds a note in the usage text about the dev-server command.

example

❯ go run . --help
LaunchDarkly CLI to control your feature flags

Usage:
  ldcli [command]

Commands:
  setup                         Create your first feature flag using a step-by-step guide
  config                        View and modify specific configuration values
  completion                    Enable command autocompletion within supported shells
  login                         Log in to your LaunchDarkly account
  dev-server                    Run a development server to serve flags locally

Common resource commands:
  flags                         List, create, and modify feature flags and their targeting
  environments                  List, create, and manage environments
  projects                      List, create, and manage projects
  members                       Invite new members to an account
  segments                      List, create, modify, and delete segments
  ...                           To see more resource commands, run 'ldcli resources'

Flags:
      --access-token string   LaunchDarkly access token with write-level access
      --analytics-opt-out     Opt out of analytics tracking
      --base-uri string       LaunchDarkly base URI (default "https://app.launchdarkly.com")
  -h, --help                  help for ldcli
  -o, --output string         Command response output format in either JSON or plain text (default "plaintext")
  -v, --version               version for ldcli

@mike-zorn mike-zorn merged commit 66a6a25 into main Aug 26, 2024
@mike-zorn mike-zorn deleted the mikezorn/sc-253825/dev-server-missing-from-ldcli-help branch August 26, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants