Skip to content

[Feature Request] Show the documented adk create --type option in --help #6737

Description

@ftnext

Is your feature request related to a specific problem?

The Agent Config documentation instructs users to run:

adk create --type=config my_agent

However, adk create --help does not list the --type option, even though the option works.
This makes the documented command appear unsupported and creates an inconsistency between the CLI and its documentation.

The option is currently declared with hidden=True

@click.option(
"--type",
type=click.Choice(["CODE", "CONFIG"], case_sensitive=False),
help=(
"EXPERIMENTAL Optional. Type of agent to create: 'config' or 'code'."
" 'config' is not ready for use so it defaults to 'code'. It may change"
" later once 'config' is ready for use."
),
default="CODE",
show_default=True,
hidden=True, # Won't show in --help output. Not ready for use.
)

Describe the Solution You'd Like

Please expose --type in adk create --help, including its supported values (code and config) and its experimental status.

Impact on your work

This would make the documented Agent Config workflow discoverable and clarify that --type=config is supported.

Willingness to contribute

No.

Describe Alternatives You've Considered

Users can follow the documentation despite the missing help entry, but they may reasonably assume the option is unavailable or deprecated.

Proposed API / Implementation

Remove hidden=True from the --type Click option and retain wording that identifies Agent Config as experimental.

Additional Context

Confirmed with ADK Python 2.6.3:

  • adk create --help does not show --type.
  • adk create --type=config my_agent succeeds and generates root_agent.yaml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions