kislyuk / argcomplete

Python and tab completion, better together.
https://kislyuk.github.io/argcomplete/
Apache License 2.0
1.39k stars 129 forks source link

Recommended replacement for `split_line`? #419

Closed blink1073 closed 1 year ago

blink1073 commented 1 year ago

Thanks for this library! We're using it ipython/traitlets, and were relying to the top level split_line that was removed in #414. I noticed in the tests that you're still using the private _split_line. Do you have a recommended replacement for using that function directly?

kislyuk commented 1 year ago

Thanks for the feedback. I'm happy to keep this function as part of the public API if you are continuing to use it. I'll push a patch release shortly.

kislyuk commented 1 year ago

OK, split_line is back in v3.0.3. I'm happy to keep it in the API but will probably eventually move it to argcomplete.lexers.split_line to keep the top level namespace minimal and ergonomic.

blink1073 commented 1 year ago

Thank you!