Skip to content

Context-aware help #7129

@michalbrabec

Description

@michalbrabec

Describe the feature

  • Display only relevant global options for each task (those that are not ignored)
    • For example --network is ignored for npx hardhat build
  • Clarify what is the behaviour of the options for each task
    • For example --init overrides all tasks
  • Update public documentation for built-in tasks, subtasks and global options and clarify their interaction
  • To make some context implicit: the --build-profile option wasn’t being displayed in compile --help, but --default-build-profile was. Leading to confusion. We should fix this

Search terms

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions