| 
									
										
										
										
											2024-03-16 17:59:32 -04:00
										 |  |  | #!/bin/bash
 | 
					
						
							|  |  |  | CURR=$(dirname "${BASH_SOURCE[0]}") | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | out=$CURR/docs/user-guide/cli-options.md | 
					
						
							|  |  |  | echo "# All Command-Line Options" > $out | 
					
						
							|  |  |  | echo "" >> $out | 
					
						
							| 
									
										
										
										
											2024-03-29 16:46:54 -04:00
										 |  |  | echo "The Browsertrix Crawler Docker image currently accepts the following parameters, broken down by entrypoint:" >> $out | 
					
						
							|  |  |  | echo "" >> $out | 
					
						
							|  |  |  | echo "## crawler" >> $out | 
					
						
							| 
									
										
										
										
											2024-03-16 17:59:32 -04:00
										 |  |  | echo "" >> $out | 
					
						
							|  |  |  | echo '```' >> $out | 
					
						
							|  |  |  | #node $CURR/../dist/main.js --help >> $out | 
					
						
							| 
									
										
										
										
											2024-03-29 16:46:54 -04:00
										 |  |  | docker run webrecorder/browsertrix-crawler crawl --help | tail -n +3 >> $out | 
					
						
							|  |  |  | echo '```' >> $out | 
					
						
							|  |  |  | echo "" >> $out | 
					
						
							|  |  |  | echo "## create-login-profile" >> $out | 
					
						
							|  |  |  | echo "" >> $out | 
					
						
							|  |  |  | echo '```' >> $out | 
					
						
							|  |  |  | docker run webrecorder/browsertrix-crawler create-login-profile --help | tail -n +3 >> $out | 
					
						
							| 
									
										
										
										
											2024-03-16 17:59:32 -04:00
										 |  |  | echo '```' >> $out |