ctx-tui 2.0.4

Manage repo-scoped work contexts: fresh checkouts wrapped in terminal multiplexer sessions
Documentation
1
2
3
4
5
6
7
8
9
�

"�j���B�SrSSKrSrSrS\S\\4SjrS\S\4S	jrg)
zFForge integrations: the PR-hosting service behind a checkout's remote.�N)�gh�pr�view�--web)�glab�mrrr�
remote_url�returnc�R�[S[U5;a
[5$[5$)z�The PR-opening invocation for a checkout, derived from its remote URL.

The forge is per repo, not per installation, so it is read off the
remote's host: GitLab hosts get glab, anything else defaults to gh.
�gitlab)�list�_host�_GITLAB_PR_VIEW�_GITHUB_PR_VIEW)r	s �C/Users/michael/dev/contexts/ctx/rewrite-it-in-rust/src/ctx/forge.py�pr_view_commandrs#���8�u�Z�/@�#@��V�V�o�V�V��urlc��URSS5SRSS5Sn[R"SUSS9SR5$)zCThe host of a remote URL, tolerating ssh/https/scp and local forms.z://�������@z[/:])�maxsplitr)�split�re�lower)r�rests  rrrsJ���9�9�U�A��r�"�(�(��a�0��4�D�
�8�8�G�T�A�.�q�1�7�7�9�9r)�__doc__rrr�strr
rr�rr�<module>r!sD��L�	�0��1��W��W��S�	�W�:�s�:�s�:r