Skip to content

feat(cast, anvil): add CLI flag to read an array of labels from a file #10403

Open
@ngotchac

Description

@ngotchac

Component

Cast, Anvil

Describe the feature you would like

The labeling feature is awesome, but managing it directly in foundry.toml is not the right place when working with a lot of contracts. An option (in foundry.toml directly, or via a CLI arg) to set a filepath as somewhere to read labels from, whether JSON formatted, or maybe CSV, would be great!

It would enable using https://github.com/dawsbot/eth-labels easily for example, without having to import it directly in this repo/at build time. It would enable us to generate such a "labels" file for our own use cases.

This might relate to this issue: #640

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions