Skip to content

Commit

Permalink
Merge pull request #29 from piyoppi/v1.3.0-release
Browse files Browse the repository at this point in the history
Release v1.3.0
  • Loading branch information
piyoppi authored Nov 23, 2024
2 parents e29e71b + fc84639 commit 1dc67f8
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Chiritori Changelog

## 1.3.0

### Features

Add `--removal-marker-target-config` option. See [README](https://github.com/piyoppi/chiritori/blob/v1.3.0/README.md#removal-marker).

## 1.2.1

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chiritori"
version = "1.2.1"
version = "1.3.0"
description = "A tool for removing time-limited source code"
repository = "https://github.com/piyoppi/chiritori"
license = "MIT"
Expand Down
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ Options:
The tag name for removal-marker [default: removal-marker]
--removal-marker-target-name <REMOVAL_MARKER_TARGET_NAME>
Name of removal-marker to be removed [default: vec![]]
--removal-marker-target-config <REMOVAL_MARKER_TARGET_CONFIG>
Config file specifying the name of the removal-marker to be removed. The content of the config file is indicated by the name of the removal target, separated by a newline
-l, --list
List source code to be removed
--list-all
Expand Down Expand Up @@ -174,6 +176,26 @@ If the command line argument `--removal-marker-target-name` is specified, tags w
chiritori --filename=./samples/sample-code.js --removal-marker-target-name="feature1"
```

Removal targets can also be specified using a configuration file.

```
chiritori --filename=./samples/sample-code.js --removal-marker-target-config=./config.txt
```

The configuration file specifies the target for each new line.
If the contents of config.txt are as follows.

```
feature1
feature2
```

It is equivalent to the following commands.

```
chiritori --filename=./samples/sample-code.js --removal-marker-target-name="feature1" --removal-marker-target-name="feature2"
```

#### Attributes

| Name | Detail | Example |
Expand Down

0 comments on commit 1dc67f8

Please sign in to comment.