Skip to main content

sqry_cli/args/
sort.rs

1use clap::ValueEnum;
2
3#[derive(Clone, Copy, Debug, PartialEq, Eq, ValueEnum)]
4pub enum SortField {
5    /// Sort by file path (lexicographic), then line/column, then name
6    File,
7    /// Sort by line number, then column, then file path
8    Line,
9    /// Sort by symbol name (lexicographic), then file path, then line
10    Name,
11    /// Sort by symbol kind (lexicographic), then name, then file path
12    Kind,
13}