You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add documentation for --analyze file analysis feature
- Add new "File Analysis with --analyze" section to README.md
- Include usage instructions and practical example
- Reference analyze.gif demo image
Signed-off-by: Pablo Ridolfi <pabloridolfi@gmail.com>
Copy file name to clipboardExpand all lines: README.md
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,46 @@ Do you want to execute this command? [y/N] n
73
73
$
74
74
```
75
75
76
+
## File Analysis with `--analyze`
77
+
78
+
In addition to command suggestions, `sshq` provides AI-powered file analysis capabilities. Use the `--analyze` flag with the `q` command to ask questions about files on your embedded board.
79
+
80
+

81
+
82
+
### Usage
83
+
84
+
```bash
85
+
q --analyze <file_path><your_question>
86
+
```
87
+
88
+
### Example
89
+
90
+
```
91
+
$ q --analyze /proc/cpuinfo What CPU architecture and features does this system have? Explain them briefly.
92
+
The system has the following CPU architecture and features:
93
+
94
+
CPU Architecture:
95
+
- 8: This indicates an ARMv8-A architecture, which is a 64-bit instruction set architecture.
96
+
97
+
CPU Features:
98
+
- fp: Floating Point - Hardware support for floating-point arithmetic.
99
+
- asimd: Advanced SIMD (Single Instruction, Multiple Data) - Provides parallel processing capabilities for multimedia and signal processing.
100
+
- evtstrm: Event Stream - Support for performance monitoring unit (PMU) event streams.
101
+
- aes: Advanced Encryption Standard - Hardware acceleration for AES encryption and decryption.
102
+
- pmull: Polynomial Multiply - Hardware support for polynomial multiplication, often used in cryptographic operations like GCM.
0 commit comments