@@ -56,18 +56,18 @@ def py_console_script_binary(
56
56
"""Generate a py_binary for a console_script entry_point.
57
57
58
58
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
62
62
for available console_script values. It may be a single file, or a
63
63
group of files, but must contain a file named `entry_points.txt`.
64
64
If not specified, defaults to the `dist_info` target in the same
65
65
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
67
67
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`.
71
71
**kwargs: Extra parameters forwarded to `binary_rule`.
72
72
"""
73
73
main = "rules_python_entry_point_{}.py" .format (name )
0 commit comments