Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add dev server to usage template #411

Merged

Conversation

mike-zorn
Copy link
Contributor

@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
10 checks passed
@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