Monorepo for Tangled tangled.org

jj integration in official cli #4765

Open boltless.me
Open opened by boltless.me

imagine:

instead of

jj git push -c pszwytwr

tngl pr create --branch push-pszwytwr

it can be one command:

jj tngl pr create -r pszwytwr

expecting aliases.tngl = ["util", "exec", "--", "tngl", "jj"]

It might feel weird that it does git-push internally but doesn't specify git as subcommand like jj git push, but I think it's fine because we can discover if target repository supports git or other future jj protocols.

...does this justify writing official cli in rust? 🦀
We can probably hack with jj util commands to implement revspec autocomplete. If jj doesn't support it, we can probably upstream a patch.

Sign up or Sign in to add to the discussion.