Skip to content

Commit b31f6f9

Browse files
committed
Change version to 0.3.0-rc
1 parent c7c042d commit b31f6f9

24 files changed

+1926
-989
lines changed

CHANGELOG.md

+29
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
## 0.3.0-rc (2021-11-14)
2+
3+
* Change shortcut for `--attributes-to-skip` from `-b` to `-A`
4+
* Empty name pattern matches entire name (or its part): `--name ""`
5+
* Empty content pattern matches entire file's content: `--content ""`
6+
* Matching lines/values are not indented by default
7+
* Add allowed values for option `--modify`
8+
* `count`
9+
* `sort-by=count`
10+
* Add option `--max-matches-in-file`
11+
* Add option `--max-matching-files`
12+
* Add option `--max-word-length` (command `spellcheck`)
13+
* Add option `-P,--no-path` (a shortcut for `--path-mode omit`)
14+
* Add option `-C,--no-content` (a shortcut for `--content-mode omit`)
15+
* Deprecate option `--display` and replace it with:
16+
* `--after-context`
17+
* `--before-context`
18+
* `--content-mode`
19+
* `--context`
20+
* `--count`
21+
* `--line-number`
22+
* `--path-mode`
23+
* `-u,--summary`
24+
* `--align-columns`
25+
* Deprecate command `escape` and replace it with `regex escape`
26+
* Deprecate command `list-patterns` and replace it with `regex list`
27+
* Deprecate command `match` and replace it with `regex match`
28+
* Deprecate command `split` and replace it with `regex split`
29+
130
## 0.2.2 (2021-07-21)
231

332
* Add command `sync` ([commit](https://github.com/JosefPihrt/Roslynator/commit/81b2f412f81edb4f205195226777f0a7f565a350))

docs/cli/OptionValues.md

+14-39
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@
44
* [\<ATTRIBUTES>](#attributes)
55
* [\<COMPARE_OPTIONS>](#compare_options)
66
* [\<CONFLICT_RESOLUTION>](#conflict_resolution)
7-
* [\<CONTENT_DISPLAY>](#content_display)
8-
* [\<DISPLAY_OPTIONS>](#display_options)
7+
* [\<CONTENT_MODE>](#content_mode)
98
* [\<EXTENSION_OPTIONS>](#extension_options)
109
* [\<FILE_PROPERTIES>](#file_properties)
1110
* [\<HIGHLIGHT>](#highlight)
1211
* [\<INPUT_OPTIONS>](#input_options)
13-
* [\<MAX_OPTIONS>](#max_options)
1412
* [\<MODIFY_OPTIONS>](#modify_options)
1513
* [\<NAME_PART>](#name_part)
1614
* [\<OUTPUT_OPTIONS>](#output_options)
17-
* [\<PATH_DISPLAY>](#path_display)
15+
* [\<PATH_MODE>](#path_mode)
1816
* [\<PATTERN_OPTIONS>](#pattern_options)
1917
* [\<PIPE_MODE>](#pipe_mode)
2018
* [\<REGEX_OPTIONS>](#regex_options)
@@ -74,7 +72,7 @@
7472
| suffix | | Add suffix to file name if it already exists\. |
7573
| skip | s | Do not copy or move a file if it already exists\. |
7674

77-
## \<CONTENT\_DISPLAY>
75+
## \<CONTENT\_MODE>
7876

7977
| Value | | Description |
8078
| ---------------- | --- | ---------------------------------------------------------------------------------------- |
@@ -85,26 +83,6 @@
8583
| value\-detail | d | Display matched value and include information about each value such as index or length\. |
8684
| omit | o | Do not display file's content\. |
8785

88-
## \<DISPLAY\_OPTIONS>
89-
90-
| Value | | Description |
91-
| ---------------------------------------------- | --- | ---------------------------------------------------------------------- |
92-
| content=[\<CONTENT_DISPLAY>](#content_display) | c | |
93-
| context=\<NUM> | co | A number of lines to display before and after matching line\. |
94-
| context\-before=\<NUM> | b | A number of lines to display before matching line\. |
95-
| context\-after=\<NUM> | a | A number of lines to display after matching line\. |
96-
| count | c | Include number of matches in file\. |
97-
| creation\-time | ct | Include file creation time\. |
98-
| indent=\<INDENT> | | Indentation for a list of results\. Default indentation are 2 spaces\. |
99-
| line\-number | l | Include line number\. |
100-
| modified\-time | mt | Include file last modified time\. |
101-
| no\-align | | Do not align columns\. |
102-
| path=[\<PATH_DISPLAY>](#path_display) | p | |
103-
| size | s | Include file size\. |
104-
| separator=\<SEPARATOR> | s | String that separate each value\. |
105-
| summary | su | Include summary\. |
106-
| trim\-line | | Trim leading and trailing white\-space from a line\. |
107-
10886
## \<EXTENSION\_OPTIONS>
10987

11088
| Value | | Description |
@@ -119,11 +97,11 @@
11997

12098
## \<FILE\_PROPERTIES>
12199

122-
| Value | | Description |
123-
| ---------------------- | --- | --------------------------------------------------------------------------------- |
124-
| creation\-time=\<DATE> | ct | Filter files by creation time \(See 'Expression syntax' for other expressions\)\. |
125-
| modified\-time=\<DATE> | mt | Filter files by modified time \(See 'Expression syntax' for other expressions\)\. |
126-
| size=\<NUM> | s | Filter files by size \(See 'Expression syntax' for other expressions\)\. |
100+
| Value | | Description |
101+
| ---------------------- | --- | ------------------------------------------------------------------------------------------------------------- |
102+
| creation\-time=\<DATE> | ct | Show file's creation time and optionally define condition \(See 'Expression syntax' for other expressions\)\. |
103+
| modified\-time=\<DATE> | mt | Show file's modified time and optionally define condition \(See 'Expression syntax' for other expressions\)\. |
104+
| size=\<NUM> | s | Show file's size and optionally define condition \(See 'Expression syntax' for other expressions\)\. |
127105

128106
## \<HIGHLIGHT>
129107

@@ -150,13 +128,6 @@
150128
| ------ | --- | ------------------------------------------------------------------------------ |
151129
| escape | e | Interpret literals \\a, \\b, \\f, \\n, \\r, \\t and \\v as character escapes\. |
152130

153-
## \<MAX\_OPTIONS>
154-
155-
| Value | | Description |
156-
| -------------- | --- | --------------------------------------------------------------- |
157-
| \<NUM> | | Stop searching after \<NUM> matching files and/or directories\. |
158-
| matches=\<NUM> | m | Stop searching in each file after \<NUM> matches\. |
159-
160131
## \<MODIFY\_OPTIONS>
161132

162133
| Value | | Description |
@@ -170,6 +141,7 @@
170141
| except | | Return values from first file except values from second file\. |
171142
| intersect | | Return values that were found in all files\. |
172143
| group | | Group matching files by matched values\. |
144+
| count | | Show number of values in a group\. |
173145
| ignore\-case | i | Use case\-insensitive matching\. |
174146
| remove\-empty | re | Remove values that are empty strings\. |
175147
| remove\-white\-space | rw | Remove values that are empty or consist of white\-space\. |
@@ -197,7 +169,7 @@
197169
| verbosity=[\<VERBOSITY>](#verbosity) | v | |
198170
| append | a | If the file exists output will be appended to the end of the file\. |
199171

200-
## \<PATH\_DISPLAY>
172+
## \<PATH\_MODE>
201173

202174
| Value | | Description |
203175
| -------- | --- | ----------------------------------------------- |
@@ -294,6 +266,7 @@
294266
| Value | | Description |
295267
| ------ | --- | ------------------------------- |
296268
| length | l | Sort values by value's length\. |
269+
| count | c | Sort values by group's count\. |
297270

298271
## \<SYNC\_CONFLICT\_RESOLUTION>
299272

@@ -317,8 +290,10 @@
317290
| miscellaneous | m | |
318291
| named\-blocks | n | |
319292
| options | o | |
293+
| regex\-options | ro | |
320294
| quantifiers | q | |
321295
| substitutions | s | |
296+
| all | | |
322297

323298
## \<VERBOSITY>
324299

@@ -341,6 +316,6 @@
341316
| `x>=n` |
342317
| `x=<min;max>` | Inclusive interval |
343318
| `x=(min;max)` | Exclusive interval |
344-
| `x=-d\|[d.]hh:mm[:ss]` | x is greater than actual date \- \<VALUE> |
319+
| `x=-d|[d.]hh:mm[:ss]` | x is greater than actual date \- \<VALUE> |
345320

346321
*\(Generated with [DotMarkdown](http://github.com/JosefPihrt/DotMarkdown)\)*

docs/cli/README.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@ Search, replace, rename and delete files and its content using the power of \.NE
44

55
## Commands
66

7-
| Command | Description |
8-
| ----------------------------------------- | ----------------------------------------------------------------------------------------------------- |
9-
| [copy](copy-command.md) | Searches the file system for files and directories and copy them to a destination directory\. |
10-
| [delete](delete-command.md) | Deletes files and directories\. |
11-
| [escape](escape-command.md) | Escapes special characters by replacing them with their escape codes\. |
12-
| [find](find-command.md) | Searches the file system for files and directories and optionally searches files' content\. |
13-
| [help](help-command.md) | Displays help\. |
14-
| [list-patterns](list-patterns-command.md) | Lists regular expression patterns\. |
15-
| [match](match-command.md) | Searches the input string for occurrences of the regular expression\. |
16-
| [move](move-command.md) | Searches the file system for files and directories and move them to a destination directory\. |
17-
| [rename](rename-command.md) | Renames files and directories\. |
18-
| [replace](replace-command.md) | Searches the file system for files and replaces its content\. |
19-
| [spellcheck](spellcheck-command.md) | Searches the files' content for potential misspellings and typos\. |
20-
| [split](split-command.md) | Splits the input string into an list of substrings at the positions defined by a regular expression\. |
21-
| [sync](sync-command.md) | Synchronizes content of two directories\. |
7+
| Command | Description |
8+
| --------------------------------------- | ----------------------------------------------------------------------------------------------------- |
9+
| [copy](copy-command.md) | Searches the file system for files and directories and copy them to a destination directory\. |
10+
| [delete](delete-command.md) | Deletes files and directories\. |
11+
| [find](find-command.md) | Searches the file system for files and directories and optionally searches files' content\. |
12+
| [help](help-command.md) | Displays help\. |
13+
| [move](move-command.md) | Searches the file system for files and directories and move them to a destination directory\. |
14+
| [regex escape](regex-escape-command.md) | Escapes special characters by replacing them with their escape codes\. |
15+
| [regex list](regex-list-command.md) | Lists regular expression patterns\. |
16+
| [regex match](regex-match-command.md) | Searches the input string for occurrences of the regular expression\. |
17+
| [regex split](regex-split-command.md) | Splits the input string into an list of substrings at the positions defined by a regular expression\. |
18+
| [rename](rename-command.md) | Renames files and directories\. |
19+
| [replace](replace-command.md) | Searches the file system for files and replaces its content\. |
20+
| [spellcheck](spellcheck-command.md) | Searches the files' content for potential misspellings and typos\. |
21+
| [sync](sync-command.md) | Synchronizes content of two directories\. |
2222

2323

2424
## Exit Code

0 commit comments

Comments
 (0)