Skip to content

Support for additional py_binary kwargs in entry_point#600

Description

@phlax

馃殌 feature request

Relevant Rules

  • entry_point
  • py_binary

Description

afaict, you cant pass kwargs - eg args, data etc into an entry_point rule, it would be handy if you could

Describe the solution you'd like

To be able to do something like

alias(
    name = "my_command",
    actual = entry_point(
        pkg = "my.upstream.command",
        script = "my.upstream.command",
        data = [":some_local_data"],
        args = ["$(location :some_local_data)"],
    ),
)

Describe alternatives you've considered

wrapping the entry_point one way or another to call it with the required data, args

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Can Close?Will close in 30 days if there is no new activity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions