https://github.com/petergrace/templatectl
Add/remove xochitl templates with ease
https://github.com/petergrace/templatectl
remarkable-tablet rust xochitl
Last synced: 10 months ago
JSON representation
Add/remove xochitl templates with ease
- Host: GitHub
- URL: https://github.com/petergrace/templatectl
- Owner: PeterGrace
- License: mit
- Created: 2021-01-13T15:32:55.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-27T17:28:30.000Z (almost 3 years ago)
- Last Synced: 2025-04-05T12:33:27.442Z (about 1 year ago)
- Topics: remarkable-tablet, rust, xochitl
- Language: Rust
- Homepage:
- Size: 46.9 KB
- Stars: 36
- Watchers: 5
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://remarkable.com/store/remarkable)
[](https://remarkable.com/store/remarkable-2)
[](https://toltec-dev.org/)
# templatectl
A tool for reMarkable tablet users. Updates the xochitl templates.json file for you programmatically so you don't need to fiddle with json.
## Usage
### Add entry
```
USAGE:
templatectl add [FLAGS] [OPTIONS] --name --filename [-icon_code "code" -c "Category1" -c "Category2" ... ]
FLAGS:
-h, --help Prints help information
-l, --landscape specify that template is landscape mode
-V, --version Prints version information
OPTIONS:
-c, --category ... one or more categories to list this template under
-f, --filename path to png file
-i, --icon_code specify an icon to use in xochitl
-n, --name the name of the template
```
The add functionality will add the specified name and filename to the template list. If you specify landscape via -l,
it will save it as landscape (and auto-set the icon to landscape mode as well.). If you wish to put the template into
one or more categories, specify multiple -c options to list the categories you wish to set.
### Remove entry
```
USAGE:
templatectl remove --name
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-n, --name the name of the template
```
The remove functionality will remove any templates listed in the templates.json that match the name specified in the name argument.