jj/cli
Matt Stark a524f1f996 refactor: Allow the aliases map to map to arbitrary types.
For #3673, we will have aliases such as:
```toml
'upload(revision)' = [
  ["fix", "-r", "$revision"],
  ["lint", "-r", "$revision"],
  ["git", "push", "-r", "$revision"],
]
```

Template aliases:
1) Start as Config::Value
2) Are converted to String
3) Are placed in the alias map
4) Expand to a TemplateExpression type via expand_defn.

However, command aliases:
1) Start as Config::Value
2) Are converted to Vec<Vec<String>>
3) Are placed in an alias map
4) Do not expand

Thus, AliasesMap will need to support non-string values.
2024-10-08 10:19:14 +11:00
..
examples templater: pass diagnostics receiver around 2024-09-23 07:07:07 +09:00
src refactor: Allow the aliases map to map to arbitrary types. 2024-10-08 10:19:14 +11:00
testing style: inline variables into format strings 2024-10-04 22:29:13 +02:00
tests cli: in color-words diffs, highlight word-level hunks in context lines 2024-10-06 09:45:27 +09:00
build.rs style: inline variables into format strings 2024-10-04 22:29:13 +02:00
Cargo.toml cargo: inherit lints configuration from workspace 2024-10-04 22:29:13 +02:00
LICENSE