Command-Line Options
NestCLI offers a variety of command-line options to customize your experience.
#
Available OptionsFlag | Description | Default |
---|---|---|
-d, --depth <level> | Limit directory tree depth | Infinite |
-e, --extensions <ext> | Filter files by extensions (comma-separated) | All |
-l, --line-numbers | Show line numbers in file content | false |
-s, --size | Display file sizes in tree view | false |
--hidden | Include hidden files and directories | false |
-t, --tree-only | Show only the directory structure | false |
-f, --file-only | Show only file contents (hide tree) | false |
-L, --line-limit <num> | Set number of lines to display per page | 200 |
-S, --search <term> | Search for files by name (case-insensitive) | none |
-r, --regex | Enable regex-based search | false |
--syntax-highlight | Enable syntax highlighting | false |
-k, --keyboard-nav | Enable interactive navigation | false |
--save-config | Save current options as default | - |
--reset-config | Reset to default configuration | - |
#
Examplenest_cli --depth 3 --line-numbers --syntax-highlight