@@ -56,18 +56,18 @@ def py_console_script_binary(
5656 """Generate a py_binary for a console_script entry_point.
5757
5858 Args:
59- name: [`target-name`] The name of the resulting target.
60- pkg: {any}`simple label ` the package for which to generate the script.
61- entry_points_txt: optional [ `label`] , the entry_points.txt file to parse
59+ name: {type}`Name` The name of the resulting target.
60+ pkg: {type}`Label ` the package for which to generate the script.
61+ entry_points_txt: {type} `label | None` , the entry_points.txt file to parse
6262 for available console_script values. It may be a single file, or a
6363 group of files, but must contain a file named `entry_points.txt`.
6464 If not specified, defaults to the `dist_info` target in the same
6565 package as the `pkg` Label.
66- script: [ `str`] , The console script name that the py_binary is going to be
66+ script: {type} `str`, The console script name that the py_binary is going to be
6767 generated for. Defaults to the normalized name attribute.
68- binary_rule: {any}`rule callable`, The rule/macro to use to instantiate
69- the target. It's expected to behave like {any }`py_binary`.
70- Defaults to {any }`py_binary`.
68+ binary_rule: {type}` callable`, The rule/macro to use to instantiate
69+ the target. It's expected to behave like {obj }`py_binary`.
70+ Defaults to {obj }`py_binary`.
7171 **kwargs: Extra parameters forwarded to `binary_rule`.
7272 """
7373 main = "rules_python_entry_point_{}.py" .format (name )
0 commit comments