Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add usage examples to coder exp task create help text #19656

@blink-so

Description

@blink-so

Summary

Add usage examples to the coder exp task create command help text to improve discoverability and user experience.

Current Behavior

coder exp task create --help

Shows minimal help without examples.

Proposed Changes

Add an EXAMPLES section to the help output:

EXAMPLES:
  # Create a task with all flags specified
  coder exp task create --input "Refactor CLI auth to use OAuth flow" --template coder --org coder
  
  # Create a task with a preset
  coder exp task create --input "Add new API endpoint" --template coder --preset backend

Benefits

  • Better discoverability of command usage
  • Helps users understand the expected input format
  • Consistent with other CLI commands that include examples

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions