Skip to content

Allow use of contract filepath for gen deploy #5

@bayological

Description

@bayological

When generating a deployment script it would be nice to allow users to specify the filepath of the contract or the contract name. Right now it looks like it assumes the contract will be in the src dir.

Example, I created a mock contract that I wanted to deploy to a local fork. The contract lived outside src but in the test dir. When I run `treb gen deploy [contract]' I get contract not found error.

Image

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