ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Colcon aliases ?

asked 2019-08-19 09:18:56 -0500

Hi all,

is there a way to define custom aliases for colcon similarly to what's possible with catkin tools??

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-08-19 10:45:53 -0500

Dirk Thomas gravatar image

colcon doesn't offer aliases atm.

While you could create a Python package adding those that would be rather heavy weight for an alias.

You could also define the alias in your shell.

edit flag offensive delete link more

Comments

Thanks for the answer. While having shell alias is handy for some cmd, it would still be nice to have aliases for command/verbs or options. E.g. build --package-up-to -> --build-to or --event-handlers console_direct+ -> --verbose or --event-handlers console_direct+ --pytest-args -s -> --pytest-verbose, you got the idea. Marking as correct answer since it does answer the initial question.

artivis gravatar image artivis  ( 2019-08-19 13:19:15 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2019-08-19 09:18:56 -0500

Seen: 330 times

Last updated: Aug 19 '19