MCPcopy Index your code
hub / github.com/PeterGrace/templatectl

github.com/PeterGrace/templatectl @v0.1.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.5 ↗ · + Follow
10 symbols 15 edges 5 files 0 documented · 0% updated 2y agov0.1.5 · 2023-02-05★ 424 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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 <name> --filename <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 <categories>...    one or more categories to list this template under
    -f, --filename <filename>         path to png file
    -i, --icon_code <iconcode>        specify an icon to use in xochitl
    -n, --name <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 <name>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -n, --name <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.

Core symbols most depended-on inside this repo

is_template_file
called by 4
src/file.rs
write_file
called by 2
src/file.rs
add_entry
called by 1
src/main.rs
remove_entry
called by 1
src/main.rs
read_file
called by 1
src/file.rs
main
called by 0
build.rs
main
called by 0
src/main.rs
new
called by 0
src/models/template_objects.rs

Shape

Function 7
Class 2
Method 1

Languages

Rust100%

Modules by API surface

src/models/template_objects.rs3 symbols
src/main.rs3 symbols
src/file.rs3 symbols
build.rs1 symbols

For agents

$ claude mcp add templatectl \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact