multi-ui-cli
v1.1.1
Published
CLI for multi-ui components
Downloads
5
Maintainers
Readme
��#� �M�u�l�t�i�-�U�I� �C�L�I�
�
�
�
�A� �p�o�w�e�r�f�u�l� �c�o�m�m�a�n�d�-�l�i�n�e� �i�n�t�e�r�f�a�c�e� �t�o�o�l� �f�o�r� �m�a�n�a�g�i�n�g� �a�n�d� �i�n�t�e�g�r�a�t�i�n�g� �U�I� �c�o�m�p�o�n�e�n�t�s� �f�r�o�m� �b�o�t�h� �G�i�t�H�u�b� �a�n�d� �M�o�n�g�o�D�B� �s�o�u�r�c�e�s�.�
�
�
�
�#�#� �=� �F�e�a�t�u�r�e�s�
�
�
�
�-� �I�n�t�e�r�a�c�t�i�v�e� �c�o�m�p�o�n�e�n�t� �s�e�l�e�c�t�i�o�n�
�
�-� �S�u�p�p�o�r�t� �f�o�r� �b�o�t�h� �T�y�p�e�S�c�r�i�p�t� �a�n�d� �J�a�v�a�S�c�r�i�p�t�
�
�-� �C�o�m�p�o�n�e�n�t� �s�e�a�r�c�h� �f�u�n�c�t�i�o�n�a�l�i�t�y�
�
�-� �C�u�s�t�o�m� �n�a�m�i�n�g� �s�u�p�p�o�r�t�
�
�-� �E�x�a�m�p�l�e� �f�i�l�e� �i�n�t�e�g�r�a�t�i�o�n�
�
�-� �M�o�n�g�o�D�B� �c�o�m�p�o�n�e�n�t� �i�n�t�e�g�r�a�t�i�o�n�
�
�-� �A�u�t�o�m�a�t�i�c� �T�y�p�e�S�c�r�i�p�t� �t�o� �J�a�v�a�S�c�r�i�p�t� �c�o�n�v�e�r�s�i�o�n�
�
�-� �P�r�o�j�e�c�t�-�s�p�e�c�i�f�i�c� �c�o�n�f�i�g�u�r�a�t�i�o�n�
�
�
�
�#�#� �=��� �I�n�s�t�a�l�l�a�t�i�o�n�
�
�
�
����b�a�s�h�
�
�n�p�m� �i�n�s�t�a�l�l� �-�g� �@�o�m�s�a�l�u�n�k�e�0�8�5�2�/�m�u�l�t�i�-�u�i�-�c�l�i�
�
����
�
�
�
�#�#� �=�'� �S�e�t�u�p�
�
�
�
�B�e�f�o�r�e� �u�s�i�n�g� �t�h�e� �C�L�I�,� �y�o�u� �n�e�e�d� �t�o� �s�e�t� �u�p� �y�o�u�r� �p�r�o�j�e�c�t� �p�r�e�f�e�r�e�n�c�e�s�:�
�
�
�
����b�a�s�h�
�
�n�p�x� �m�u�l�t�i�-�u�i� �s�e�t�u�p�
�
����
�
�
�
�T�h�i�s� �c�o�m�m�a�n�d� �w�i�l�l�:�
�
�1�.� �I�n�s�t�a�l�l� �n�e�c�e�s�s�a�r�y� �B�a�b�e�l� �p�r�e�s�e�t�s�
�
�2�.� �L�e�t� �y�o�u� �c�h�o�o�s�e� �y�o�u�r� �p�r�e�f�e�r�r�e�d� �l�a�n�g�u�a�g�e� �(�T�y�p�e�S�c�r�i�p�t�/�J�a�v�a�S�c�r�i�p�t�)�
�
�3�.� �S�e�t� �u�p� �y�o�u�r� �c�o�m�p�o�n�e�n�t� �d�i�r�e�c�t�o�r�y� �s�t�r�u�c�t�u�r�e�
�
�4�.� �C�r�e�a�t�e� �a� �c�o�n�f�i�g�u�r�a�t�i�o�n� �f�i�l�e� �(��m�u�l�t�i�-�u�i�.�c�o�n�f�i�g�.�j�s�o�n��)�
�
�
�
�#�#� �=��� �C�o�m�m�a�n�d�s�
�
�
�
�#�#�#� �L�i�s�t� �C�o�m�p�o�n�e�n�t�s�
�
����b�a�s�h�
�
�n�p�x� �m�u�l�t�i�-�u�i� �l�i�s�t�
�
����
�
�S�h�o�w�s� �a�l�l� �a�v�a�i�l�a�b�l�e� �c�o�m�p�o�n�e�n�t�s� �w�i�t�h�:�
�
�-� �T�o�t�a�l� �n�u�m�b�e�r� �o�f� �c�o�m�p�o�n�e�n�t�s�
�
�-� �N�u�m�b�e�r� �o�f� �v�a�r�i�a�n�t�s� �p�e�r� �c�o�m�p�o�n�e�n�t�
�
�-� �T�o�t�a�l� �v�a�r�i�a�n�t� �c�o�u�n�t�
�
�-� �O�r�g�a�n�i�z�e�d� �h�i�e�r�a�r�c�h�i�c�a�l� �v�i�e�w�
�
�
�
�#�#�#� �I�n�t�e�r�a�c�t�i�v�e� �M�o�d�e�
�
����b�a�s�h�
�
�n�p�x� �m�u�l�t�i�-�u�i� �i�n�t�e�r�a�c�t�i�v�e�
�
����
�
�P�r�o�v�i�d�e�s� �a� �s�t�e�p�-�b�y�-�s�t�e�p� �g�u�i�d�e�d� �p�r�o�c�e�s�s� �t�o�:�
�
�1�.� �S�e�l�e�c�t� �a� �c�o�m�p�o�n�e�n�t� �f�r�o�m� �a�v�a�i�l�a�b�l�e� �o�p�t�i�o�n�s�
�
�2�.� �C�h�o�o�s�e� �a� �s�p�e�c�i�f�i�c� �v�a�r�i�a�n�t�
�
�3�.� �O�p�t�i�o�n�a�l�l�y� �p�r�o�v�i�d�e� �a� �c�u�s�t�o�m� �n�a�m�e�
�
�4�.� �C�h�o�o�s�e� �w�h�e�t�h�e�r� �t�o� �i�n�c�l�u�d�e� �e�x�a�m�p�l�e� �f�i�l�e�s�
�
�
�
�#�#�#� �S�e�a�r�c�h� �C�o�m�p�o�n�e�n�t�s�
�
����b�a�s�h�
�
�n�p�x� �m�u�l�t�i�-�u�i� �s�e�a�r�c�h� �<�t�e�r�m�>�
�
����
�
�S�e�a�r�c�h� �f�o�r� �c�o�m�p�o�n�e�n�t�s� �b�y� �n�a�m�e�:�
�
�-� �C�a�s�e�-�i�n�s�e�n�s�i�t�i�v�e� �s�e�a�r�c�h�
�
�-� �P�a�r�t�i�a�l� �m�a�t�c�h� �s�u�p�p�o�r�t�
�
�-� �S�h�o�w�s� �m�a�t�c�h�i�n�g� �c�o�m�p�o�n�e�n�t�s� �w�i�t�h� �t�h�e�i�r� �v�a�r�i�a�n�t�s�
�
�
�
�#�#�#� �A�d�d� �C�o�m�p�o�n�e�n�t�s�
�
�
�
�#�#�#�#� �F�r�o�m� �G�i�t�H�u�b�
�
����b�a�s�h�
�
�n�p�x� �m�u�l�t�i�-�u�i� �a�d�d� �<�C�o�m�p�o�n�e�n�t�N�a�m�e�>� �[�c�u�s�t�o�m�F�i�l�e�n�a�m�e�]�
�
����
�
�E�x�a�m�p�l�e�:�
�
����b�a�s�h�
�
�n�p�x� �m�u�l�t�i�-�u�i� �a�d�d� �A�c�c�o�r�d�i�o�n�_�1�
�
�n�p�x� �m�u�l�t�i�-�u�i� �a�d�d� �A�c�c�o�r�d�i�o�n�_�1� �M�y�C�u�s�t�o�m�A�c�c�o�r�d�i�o�n�
�
����
�
�
�
�#�#�#�#� �F�r�o�m� �M�o�n�g�o�D�B�
�
����b�a�s�h�
�
�n�p�x� �m�u�l�t�i�-�u�i� �a�d�d� �<�C�o�m�p�o�n�e�n�t�I�D�>� �[�c�u�s�t�o�m�F�i�l�e�n�a�m�e�]�
�
����
�
�E�x�a�m�p�l�e�:�
�
����b�a�s�h�
�
�n�p�x� �m�u�l�t�i�-�u�i� �a�d�d� �6�7�e�b�e�9�e�a�0�2�9�8�2�b�0�2�d�0�f�f�c�9�d�8�
�
�n�p�x� �m�u�l�t�i�-�u�i� �a�d�d� �6�7�e�b�e�9�e�a�0�2�9�8�2�b�0�2�d�0�f�f�c�9�d�8� �C�u�s�t�o�m�C�o�m�p�o�n�e�n�t�
�
����
�
�
�
�#�#�#�#� �A�d�d� �E�x�a�m�p�l�e� �F�i�l�e�s�
�
����b�a�s�h�
�
�n�p�x� �m�u�l�t�i�-�u�i� �a�d�d� �<�C�o�m�p�o�n�e�n�t�N�a�m�e�>� �-�-�e�x�a�m�p�l�e� �[�c�u�s�t�o�m�F�i�l�e�n�a�m�e�]�
�
����
�
�E�x�a�m�p�l�e�:�
�
����b�a�s�h�
�
�n�p�x� �m�u�l�t�i�-�u�i� �a�d�d� �A�c�c�o�r�d�i�o�n�_�1� �-�-�e�x�a�m�p�l�e�
�
�n�p�x� �m�u�l�t�i�-�u�i� �a�d�d� �A�c�c�o�r�d�i�o�n�_�1� �M�y�A�c�c�o�r�d�i�o�n� �-�-�e�x�a�m�p�l�e�
�
����
�
�
�
�#�#�#� �R�e�m�o�v�e� �C�o�m�p�o�n�e�n�t�s�
�
����b�a�s�h�
�
�n�p�x� �m�u�l�t�i�-�u�i� �r�e�m�o�v�e� �<�C�o�m�p�o�n�e�n�t�N�a�m�e�>�
�
����
�
�R�e�m�o�v�e�s� �b�o�t�h� �t�h�e� �c�o�m�p�o�n�e�n�t� �a�n�d� �i�t�s� �e�x�a�m�p�l�e� �f�i�l�e�s� �(�i�f� �t�h�e�y� �e�x�i�s�t�)�.�
�
�
�
�#�#�#� �V�e�r�s�i�o�n� �I�n�f�o�r�m�a�t�i�o�n�
�
����b�a�s�h�
�
�n�p�x� �m�u�l�t�i�-�u�i� �-�-�v�e�r�s�i�o�n�
�
�#� �o�r�
�
�n�p�x� �m�u�l�t�i�-�u�i� �-�v�
�
����
�
�S�h�o�w�s� �t�h�e� �c�u�r�r�e�n�t� �v�e�r�s�i�o�n� �o�f� �t�h�e� �C�L�I� �t�o�o�l�.�
�
�
�
�#�#�#� �H�e�l�p�
�
����b�a�s�h�
�
�n�p�x� �m�u�l�t�i�-�u�i� �-�-�h�e�l�p�
�
�#� �o�r�
�
�n�p�x� �m�u�l�t�i�-�u�i� �-�h�
�
����
�
�D�i�s�p�l�a�y�s� �c�o�m�p�r�e�h�e�n�s�i�v�e� �h�e�l�p� �i�n�f�o�r�m�a�t�i�o�n� �a�b�o�u�t� �a�l�l� �c�o�m�m�a�n�d�s�.�
�
�
�
�#�#� �<د� �C�o�m�p�o�n�e�n�t� �S�t�r�u�c�t�u�r�e�
�
�
�
�C�o�m�p�o�n�e�n�t�s� �a�r�e� �o�r�g�a�n�i�z�e�d� �i�n� �t�h�e� �f�o�l�l�o�w�i�n�g� �s�t�r�u�c�t�u�r�e�:�
�
����
�
�y�o�u�r�-�p�r�o�j�e�c�t�/�
�
�%�%�% �s�r�c�/�
�
� � � � �%�%�% �a�p�p�/�
�
� � � � � � � � �%�%�% �m�u�l�t�i�-�u�i�/�
�
� � � � � � � � � � � � �%�%�% �c�o�m�p�o�n�e�n�t�s�/�
�
� � � � � � � � � � � � � � � � �%�%�% �Y�o�u�r�C�o�m�p�o�n�e�n�t�.�t�s�x�
�
� � � � � � � � � � � � � � � � �%�%�% �e�x�a�m�p�l�e�s�/�
�
� � � � � � � � � � � � � � � � � � � � �%�%�% �Y�o�u�r�C�o�m�p�o�n�e�n�t�_�E�x�a�m�p�l�e�.�t�s�x�
�
����
�
�
�
�#�#� ��&� �C�o�n�f�i�g�u�r�a�t�i�o�n�
�
�
�
�T�h�e� ��m�u�l�t�i�-�u�i�.�c�o�n�f�i�g�.�j�s�o�n�� �f�i�l�e� �c�o�n�t�a�i�n�s� �y�o�u�r� �p�r�o�j�e�c�t� �p�r�e�f�e�r�e�n�c�e�s�:�
�
����j�s�o�n�
�
�{�
�
� � �"�l�a�n�g�u�a�g�e�"�:� �"�t�y�p�e�s�c�r�i�p�t�"�,� �/�/� �o�r� �"�j�a�v�a�s�c�r�i�p�t�"�
�
� � �"�c�o�m�p�o�n�e�n�t�P�a�t�h�"�:� �"�s�r�c�/�a�p�p�/�m�u�l�t�i�-�u�i�/�c�o�m�p�o�n�e�n�t�s�"�
�
�}�
�
����
�
�
�
�#�#� �=�� �L�a�n�g�u�a�g�e� �S�u�p�p�o�r�t�
�
�
�
�#�#�#� �T�y�p�e�S�c�r�i�p�t�
�
�-� �C�o�m�p�o�n�e�n�t�s� �a�r�e� �a�d�d�e�d� �w�i�t�h� ��.�t�s�x�� �e�x�t�e�n�s�i�o�n�
�
�-� �F�u�l�l� �t�y�p�e� �s�u�p�p�o�r�t�
�
�-� �O�r�i�g�i�n�a�l� �T�y�p�e�S�c�r�i�p�t� �c�o�d�e� �p�r�e�s�e�r�v�e�d�
�
�
�
�#�#�#� �J�a�v�a�S�c�r�i�p�t�
�
�-� �C�o�m�p�o�n�e�n�t�s� �a�r�e� �a�d�d�e�d� �w�i�t�h� ��.�j�s�x�� �e�x�t�e�n�s�i�o�n�
�
�-� �A�u�t�o�m�a�t�i�c� �c�o�n�v�e�r�s�i�o�n� �f�r�o�m� �T�y�p�e�S�c�r�i�p�t�
�
�-� �B�a�b�e�l� �t�r�a�n�s�f�o�r�m�a�t�i�o�n� �f�o�r� �c�o�m�p�a�t�i�b�i�l�i�t�y�
�
�
�
�#�#� �=���� �O�p�t�i�o�n�s�
�
�
�
�|� �O�p�t�i�o�n� �|� �D�e�s�c�r�i�p�t�i�o�n� �|�
�
�|�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�-�-�-�-�|�
�
�|� ��-�-�e�x�a�m�p�l�e�� �|� �A�d�d� �o�n�l�y� �t�h�e� �e�x�a�m�p�l�e� �f�i�l�e� �|�
�
�|� ��-�-�h�e�l�p�� �|� �S�h�o�w� �h�e�l�p� �i�n�f�o�r�m�a�t�i�o�n� �|�
�
�|� ��-�-�v�e�r�s�i�o�n�� �|� �S�h�o�w� �v�e�r�s�i�o�n� �i�n�f�o�r�m�a�t�i�o�n� �|�
�
�
�
�#�#� �=��� �N�o�t�e�s�
�
�
�
�-� �C�u�s�t�o�m� �f�i�l�e�n�a�m�e�s� �w�i�l�l� �a�u�t�o�m�a�t�i�c�a�l�l�y� �g�e�t� �t�h�e� �c�o�r�r�e�c�t� �e�x�t�e�n�s�i�o�n� �(��.�t�s�x�� �o�r� ��.�j�s�x��)�
�
�-� �F�i�l�e� �e�x�t�e�n�s�i�o�n�s� �a�r�e� �h�a�n�d�l�e�d� �a�u�t�o�m�a�t�i�c�a�l�l�y� �b�a�s�e�d� �o�n� �y�o�u�r� �p�r�o�j�e�c�t� �c�o�n�f�i�g�u�r�a�t�i�o�n�
�
�-� �C�o�m�p�o�n�e�n�t�s� �c�a�n� �b�e� �f�e�t�c�h�e�d� �f�r�o�m� �b�o�t�h� �G�i�t�H�u�b� �a�n�d� �M�o�n�g�o�D�B� �s�o�u�r�c�e�s�
�
�-� �E�x�a�m�p�l�e� �f�i�l�e�s� �a�r�e� �s�t�o�r�e�d� �i�n� �a� �s�e�p�a�r�a�t�e� ��e�x�a�m�p�l�e�s�� �d�i�r�e�c�t�o�r�y�
�
�-� �T�h�e� �C�L�I� �m�a�i�n�t�a�i�n�s� �y�o�u�r� �p�r�o�j�e�c�t�'�s� �l�a�n�g�u�a�g�e� �p�r�e�f�e�r�e�n�c�e�
�
�-� �A�l�l� �c�o�m�m�a�n�d�s� �p�r�o�v�i�d�e� �d�e�t�a�i�l�e�d� �s�u�c�c�e�s�s�/�e�r�r�o�r� �m�e�s�s�a�g�e�s�
�
�
�
�#�#� �=�� �S�e�c�u�r�i�t�y�
�
�
�
�-� �M�o�n�g�o�D�B� �c�o�n�n�e�c�t�i�o�n�s� �a�r�e� �h�a�n�d�l�e�d� �s�e�c�u�r�e�l�y�
�
�-� �A�P�I� �k�e�y�s� �a�n�d� �s�e�n�s�i�t�i�v�e� �d�a�t�a� �a�r�e� �p�r�o�t�e�c�t�e�d�
�
�-� �S�e�c�u�r�e� �f�i�l�e� �s�y�s�t�e�m� �o�p�e�r�a�t�i�o�n�s�
�
�
�
�#�#� �=�� �T�r�o�u�b�l�e�s�h�o�o�t�i�n�g�
�
�
�
�I�f� �y�o�u� �e�n�c�o�u�n�t�e�r� �i�s�s�u�e�s�:�
�
�
�
�1�.� �E�n�s�u�r�e� �y�o�u� �h�a�v�e� �r�u�n� �t�h�e� �s�e�t�u�p� �c�o�m�m�a�n�d�
�
�2�.� �C�h�e�c�k� �y�o�u�r� �i�n�t�e�r�n�e�t� �c�o�n�n�e�c�t�i�o�n� �f�o�r� �G�i�t�H�u�b�/�M�o�n�g�o�D�B� �a�c�c�e�s�s�
�
�3�.� �V�e�r�i�f�y� �y�o�u�r� �p�r�o�j�e�c�t� �c�o�n�f�i�g�u�r�a�t�i�o�n�
�
�4�.� �C�h�e�c�k� �f�i�l�e� �p�e�r�m�i�s�s�i�o�n�s� �i�n� �y�o�u�r� �p�r�o�j�e�c�t� �d�i�r�e�c�t�o�r�y�
�
�
�
�#�#� �=��� �L�i�c�e�n�s�e�
�
�
�
�M�I�T� �L�i�c�e�n�s�e� �-� �s�e�e� �L�I�C�E�N�S�E� �f�i�l�e� �f�o�r� �d�e�t�a�i�l�s�
�
�
�
�#�#� �=�e� �C�o�n�t�r�i�b�u�t�i�n�g�
�
�
�
�C�o�n�t�r�i�b�u�t�i�o�n�s� �a�r�e� �w�e�l�c�o�m�e�!� �P�l�e�a�s�e� �f�e�e�l� �f�r�e�e� �t�o� �s�u�b�m�i�t� �a� �P�u�l�l� �R�e�q�u�e�s�t�.�
�
�
