| 189 | } |
| 190 | |
| 191 | pub fn print_help_list() { |
| 192 | println!("FileQL is a SQL like query language to run on local files"); |
| 193 | println!(); |
| 194 | println!("Usage: FileQL [OPTIONS]"); |
| 195 | println!(); |
| 196 | println!("Options:"); |
| 197 | println!("-f, --files <paths> Path for local files to run query on"); |
| 198 | println!("-e, --excludes <paths> Path for local files to exclude from query scope"); |
| 199 | println!("-q, --query <GQL Query> FileQL query to run on selected repositories"); |
| 200 | println!("-p, --pagination Enable print result with pagination"); |
| 201 | println!("-ps, --pagesize Set pagination page size [default: 10]"); |
| 202 | println!("-o, --output Set output format [render, json, csv]"); |
| 203 | println!("-a, --analysis Print Query analysis"); |
| 204 | println!("-h, --help Print FileQL help"); |
| 205 | println!("-v, --version Print FileQL Current Version"); |
| 206 | } |