ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli
Ilya Grigoriev e21e5e69d2 cli chore: standardize subcommand function and argument type names
Now, the command for `jj git remote add` is `cmd_git_remote_add` and its
argument type is `GitRemoteAddArgs`. This should make it easier to find
the CLI docs and the implementation for commands.

This is how `jj branch` commands were already set up in this way. The
`jj op` commands were also already set up in this way, except the
functions are called e.g. `cmd_op_undo`, I kept this for simplicity.

I was mainly motivated by the `jj file` commands. Most other commands
had functions already named in the above pattern, but used to have
shorter argument type names.
2024-06-28 13:38:04 -07:00
..
examples revset: drop Eq/PartialEq from RevsetExpression and related types 2024-06-28 10:28:51 +09:00
src cli chore: standardize subcommand function and argument type names 2024-06-28 13:38:04 -07:00
testing cli: add a fake code formatter tool for testing 2024-06-04 14:28:21 -05:00
tests cli: rename jj debug working-copy to jj debug local-working-copy 2024-06-28 21:31:44 +09:00
build.rs
Cargo.toml cli: implement enough of jj fix to run a single tool on all files 2024-06-04 14:28:21 -05:00
LICENSE