Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a616551

Browse files
authored
Removes references to exclusions
Exclusions are not possible, so remove the documentation discussing them.
1 parent e2aa364 commit a616551

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,6 @@ The commands in the CLI accept any number of arguments. This means you _could_ p
258258

259259
However, it's recommended to instead use quotes, which means that Ruby is responsible for performing the file path expansion instead. This ensures a consistent experience across different environments and shells. The globs must follow the Ruby-specific globbing syntax as specified in the documentation for [Dir](https://ruby-doc.org/core-3.1.1/Dir.html#method-c-glob).
260260

261-
Baked into this syntax is the ability to provide exceptions to file name patterns as well. For example, if you are in a Rails app and want to exclude files named `schema.rb` but write all other Ruby files, you can use the following syntax:
262-
263-
```shell
264-
stree write '**/{[!schema]}*.rb'
265-
```
266-
267261
## Library
268262

269263
Syntax Tree can be used as a library to access the syntax tree underlying Ruby source code.

0 commit comments

Comments
 (0)