U s a g e :   r e p o m i x   [ o p t i o n s ]   [ d i r e c t o r i e s . . . ] 
 
 
 
 R e p o m i x   -   P a c k   y o u r   r e p o s i t o r y   i n t o   a   s i n g l e   A I - f r i e n d l y   f i l e 
 
 
 
 A r g u m e n t s : 
 
     d i r e c t o r i e s                                                   l i s t   o f   d i r e c t o r i e s   t o   p r o c e s s   ( d e f a u l t : 
 
                                                                             [ " . " ] ) 
 
 
 
 B a s i c   O p t i o n s 
 
     - v ,   - - 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   a n d   e x i t 
 
 
 
 C L I   I n p u t / O u t p u t   O p t i o n s 
 
     - - v e r b o s e                                                       E n a b l e   d e t a i l e d   d e b u g   l o g g i n g   ( s h o w s   f i l e 
 
                                                                             p r o c e s s i n g ,   t o k e n   c o u n t s ,   a n d 
 
                                                                             c o n f i g u r a t i o n   d e t a i l s ) 
 
     - - q u i e t                                                           S u p p r e s s   a l l   c o n s o l e   o u t p u t   e x c e p t   e r r o r s 
 
                                                                             ( u s e f u l   f o r   s c r i p t i n g ) 
 
     - - s t d o u t                                                         W r i t e   p a c k e d   o u t p u t   d i r e c t l y   t o   s t d o u t 
 
                                                                             i n s t e a d   o f   a   f i l e   ( s u p p r e s s e s   a l l   l o g g i n g ) 
 
     - - s t d i n                                                           R e a d   f i l e   p a t h s   f r o m   s t d i n ,   o n e   p e r   l i n e 
 
                                                                             ( s p e c i f i e d   f i l e s   a r e   p r o c e s s e d   d i r e c t l y ) 
 
     - - c o p y                                                             C o p y   t h e   g e n e r a t e d   o u t p u t   t o   s y s t e m 
 
                                                                             c l i p b o a r d   a f t e r   p r o c e s s i n g 
 
     - - t o k e n - c o u n t - t r e e   [ t h r e s h o l d ]             S h o w   f i l e   t r e e   w i t h   t o k e n   c o u n t s ;   o p t i o n a l 
 
                                                                             t h r e s h o l d   t o   s h o w   o n l y   f i l e s   w i t h     N 
 
                                                                             t o k e n s   ( e . g . ,   - - t o k e n - c o u n t - t r e e   1 0 0 ) 
 
     - - t o p - f i l e s - l e n   < n u m b e r >                         N u m b e r   o f   l a r g e s t   f i l e s   t o   s h o w   i n   s u m m a r y 
 
                                                                             ( d e f a u l t :   5 ,   e . g . ,   - - t o p - f i l e s - l e n   2 0 ) 
 
 
 
 R e p o m i x   O u t p u t   O p t i o n s 
 
     - o ,   - - o u t p u t   < f i l e >                                   O u t p u t   f i l e   p a t h   ( d e f a u l t : 
 
                                                                             r e p o m i x - o u t p u t . x m l ,   u s e   " - "   f o r   s t d o u t ) 
 
     - - s t y l e   < t y p e >                                             O u t p u t   f o r m a t :   x m l ,   m a r k d o w n ,   j s o n ,   o r 
 
                                                                             p l a i n   ( d e f a u l t :   x m l ) 
 
     - - p a r s a b l e - s t y l e                                         E s c a p e   s p e c i a l   c h a r a c t e r s   t o   e n s u r e   v a l i d 
 
                                                                             X M L / M a r k d o w n   ( n e e d e d   w h e n   o u t p u t   c o n t a i n s 
 
                                                                             c o d e   t h a t   b r e a k s   f o r m a t t i n g ) 
 
     - - c o m p r e s s                                                     E x t r a c t   e s s e n t i a l   c o d e   s t r u c t u r e   ( c l a s s e s , 
 
                                                                             f u n c t i o n s ,   i n t e r f a c e s )   u s i n g   T r e e - s i t t e r 
 
                                                                             p a r s i n g 
 
     - - o u t p u t - s h o w - l i n e - n u m b e r s                     P r e f i x   e a c h   l i n e   w i t h   i t s   l i n e   n u m b e r   i n 
 
                                                                             t h e   o u t p u t 
 
     - - n o - f i l e - s u m m a r y                                       O m i t   t h e   f i l e   s u m m a r y   s e c t i o n   f r o m   o u t p u t 
 
     - - n o - d i r e c t o r y - s t r u c t u r e                         O m i t   t h e   d i r e c t o r y   t r e e   v i s u a l i z a t i o n   f r o m 
 
                                                                             o u t p u t 
 
     - - n o - f i l e s                                                     G e n e r a t e   m e t a d a t a   o n l y   w i t h o u t   f i l e 
 
                                                                             c o n t e n t s   ( u s e f u l   f o r   r e p o s i t o r y   a n a l y s i s ) 
 
     - - r e m o v e - c o m m e n t s                                       S t r i p   a l l   c o d e   c o m m e n t s   b e f o r e   p a c k i n g 
 
     - - r e m o v e - e m p t y - l i n e s                                 R e m o v e   b l a n k   l i n e s   f r o m   a l l   f i l e s 
 
     - - t r u n c a t e - b a s e 6 4                                       T r u n c a t e   l o n g   b a s e 6 4   d a t a   s t r i n g s   t o 
 
                                                                             r e d u c e   o u t p u t   s i z e 
 
     - - h e a d e r - t e x t   < t e x t >                                 C u s t o m   t e x t   t o   i n c l u d e   a t   t h e   b e g i n n i n g   o f 
 
                                                                             t h e   o u t p u t 
 
     - - i n s t r u c t i o n - f i l e - p a t h   < p a t h >             P a t h   t o   f i l e   c o n t a i n i n g   c u s t o m 
 
                                                                             i n s t r u c t i o n s   t o   i n c l u d e   i n   o u t p u t 
 
     - - s p l i t - o u t p u t   < s i z e >                               S p l i t   o u t p u t   i n t o   m u l t i p l e   n u m b e r e d   f i l e s 
 
                                                                             ( e . g . ,   r e p o m i x - o u t p u t . 1 . x m l , 
 
                                                                             r e p o m i x - o u t p u t . 2 . x m l ) ;   s i z e   l i k e   5 0 0 k b , 
 
                                                                             2 m b ,   o r   2 . 5 m b 
 
     - - i n c l u d e - e m p t y - d i r e c t o r i e s                   I n c l u d e   f o l d e r s   w i t h   n o   f i l e s   i n   d i r e c t o r y 
 
                                                                             s t r u c t u r e 
 
     - - i n c l u d e - f u l l - d i r e c t o r y - s t r u c t u r e     S h o w   e n t i r e   r e p o s i t o r y   t r e e   i n   t h e 
 
                                                                             D i r e c t o r y   S t r u c t u r e   s e c t i o n ,   e v e n   w h e n 
 
                                                                             u s i n g   - - i n c l u d e   p a t t e r n s 
 
     - - n o - g i t - s o r t - b y - c h a n g e s                         D o n ' t   s o r t   f i l e s   b y   g i t   c h a n g e   f r e q u e n c y 
 
                                                                             ( d e f a u l t :   m o s t   c h a n g e d   f i l e s   f i r s t ) 
 
     - - i n c l u d e - d i f f s                                           A d d   g i t   d i f f   s e c t i o n   s h o w i n g   w o r k i n g   t r e e 
 
                                                                             a n d   s t a g e d   c h a n g e s 
 
     - - i n c l u d e - l o g s                                             A d d   g i t   c o m m i t   h i s t o r y   w i t h   m e s s a g e s   a n d 
 
                                                                             c h a n g e d   f i l e s 
 
     - - i n c l u d e - l o g s - c o u n t   < c o u n t >                 N u m b e r   o f   r e c e n t   c o m m i t s   t o   i n c l u d e   w i t h 
 
                                                                             - - i n c l u d e - l o g s   ( d e f a u l t :   5 0 ) 
 
 
 
 F i l e   S e l e c t i o n   O p t i o n s 
 
     - - i n c l u d e   < p a t t e r n s >                                 I n c l u d e   o n l y   f i l e s   m a t c h i n g   t h e s e   g l o b 
 
                                                                             p a t t e r n s   ( c o m m a - s e p a r a t e d ,   e . g . , 
 
                                                                             " s r c / * * / * . j s , * . m d " ) 
 
     - i ,   - - i g n o r e   < p a t t e r n s >                           A d d i t i o n a l   p a t t e r n s   t o   e x c l u d e 
 
                                                                             ( c o m m a - s e p a r a t e d ,   e . g . , 
 
                                                                             " * . t e s t . j s , d o c s / * * " ) 
 
     - - n o - g i t i g n o r e                                             D o n ' t   u s e   . g i t i g n o r e   r u l e s   f o r   f i l t e r i n g 
 
                                                                             f i l e s 
 
     - - n o - d o t - i g n o r e                                           D o n ' t   u s e   . i g n o r e   r u l e s   f o r   f i l t e r i n g 
 
                                                                             f i l e s 
 
     - - n o - d e f a u l t - p a t t e r n s                               D o n ' t   a p p l y   b u i l t - i n   i g n o r e   p a t t e r n s 
 
                                                                             ( n o d e _ m o d u l e s ,   . g i t ,   b u i l d   d i r s ,   e t c . ) 
 
 
 
 R e m o t e   R e p o s i t o r y   O p t i o n s 
 
     - - r e m o t e   < u r l >                                             C l o n e   a n d   p a c k   a   r e m o t e   r e p o s i t o r y   ( G i t H u b 
 
                                                                             U R L   o r   u s e r / r e p o   f o r m a t ) 
 
     - - r e m o t e - b r a n c h   < n a m e >                             S p e c i f i c   b r a n c h ,   t a g ,   o r   c o m m i t   t o   u s e 
 
                                                                             ( d e f a u l t :   r e p o s i t o r y ' s   d e f a u l t   b r a n c h ) 
 
     - - r e m o t e - t r u s t - c o n f i g                               T r u s t   a n d   l o a d   c o n f i g   f i l e s   f r o m   r e m o t e 
 
                                                                             r e p o s i t o r i e s   ( d i s a b l e d   b y   d e f a u l t   f o r 
 
                                                                             s e c u r i t y ) 
 
 
 
 C o n f i g u r a t i o n   O p t i o n s 
 
     - c ,   - - c o n f i g   < p a t h >                                   U s e   c u s t o m   c o n f i g   f i l e   i n s t e a d   o f 
 
                                                                             r e p o m i x . c o n f i g . j s o n 
 
     - - i n i t                                                             C r e a t e   a   n e w   r e p o m i x . c o n f i g . j s o n   f i l e   w i t h 
 
                                                                             d e f a u l t s 
 
     - - g l o b a l                                                         W i t h   - - i n i t ,   c r e a t e   c o n f i g   i n   h o m e 
 
                                                                             d i r e c t o r y   i n s t e a d   o f   c u r r e n t   d i r e c t o r y 
 
 
 
 S e c u r i t y   O p t i o n s 
 
     - - n o - s e c u r i t y - c h e c k                                   S k i p   s c a n n i n g   f o r   s e n s i t i v e   d a t a   l i k e   A P I 
 
                                                                             k e y s   a n d   p a s s w o r d s 
 
 
 
 T o k e n   C o u n t   O p t i o n s 
 
     - - t o k e n - c o u n t - e n c o d i n g   < e n c o d i n g >       T o k e n i z e r   m o d e l   f o r   c o u n t i n g :   o 2 0 0 k _ b a s e 
 
                                                                             ( G P T - 4 o ) ,   c l 1 0 0 k _ b a s e   ( G P T - 3 . 5 / 4 ) ,   e t c . 
 
                                                                             ( d e f a u l t :   o 2 0 0 k _ b a s e ) 
 
 
 
 M C P 
 
     - - m c p                                                               R u n   a s   M o d e l   C o n t e x t   P r o t o c o l   s e r v e r   f o r 
 
                                                                             A I   t o o l   i n t e g r a t i o n 
 
 
 
 S k i l l   G e n e r a t i o n   ( E x p e r i m e n t a l ) 
 
     - - s k i l l - g e n e r a t e   [ n a m e ]                           G e n e r a t e   C l a u d e   A g e n t   S k i l l s   f o r m a t   o u t p u t 
 
                                                                             t o   . c l a u d e / s k i l l s / < n a m e > /   d i r e c t o r y   ( n a m e 
 
                                                                             a u t o - g e n e r a t e d   i f   o m i t t e d ) 
 
     - - s k i l l - o u t p u t   < p a t h >                               S p e c i f y   s k i l l   o u t p u t   d i r e c t o r y   p a t h 
 
                                                                             d i r e c t l y   ( s k i p s   l o c a t i o n   p r o m p t ) 
 
     - f ,   - - f o r c e                                                   S k i p   a l l   c o n f i r m a t i o n   p r o m p t s   ( c u r r e n t l y : 
 
                                                                             s k i l l   d i r e c t o r y   o v e r w r i t e ) 
 
 
 
 O p t i o n s : 
 
     - h ,   - - h e l p                                                     d i s p l a y   h e l p   f o r   c o m m a n d 
 
 