Skip to content

Commit d9e20c7

Browse files
authored
Add basic usage section
1 parent 3a930fb commit d9e20c7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,19 @@ This section is a work-in-progress.
3838

3939
* **Fast**
4040

41+
## Basic usage with the command-line
42+
43+
### Copy result to clipboard
44+
macOS:
45+
```
46+
tree-query '{and: [[Page 1]] [[Page 2]]}' . | pbcopy
47+
```
48+
49+
GNU+Linux:
50+
```
51+
tree-query '{and: [[Page 1]] [[Page 2]]}' . |
52+
```
53+
4154
## Contributing
4255

4356
Tree-query is written in [Dlang](https://dlang.org) but don't let that put you off- if you know C, C++, or Java, you'll pick it up very quickly.

0 commit comments

Comments
 (0)