xonsh / xontrib-template

Full-featured template for building extension (xontrib) for the xonsh shell.
MIT License
42 stars 12 forks source link

Copier is not working #41

Closed anki-code closed 3 months ago

anki-code commented 4 months ago

Hey @jnoortheen !

I tried to run copier to create xontrib but got an error. It looks that current instructions is not working.

docker run -it --rm -v $PWD:/ddd python:3.9-alpine sh
pip install copier jinja2-time cookiecutter
copier gh:xonsh/xontrib-template .
# Unknown sub-command 'gh:xonsh/xontrib-template'

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

jnoortheen commented 3 months ago

seems the CLI is now updated https://copier.readthedocs.io/en/stable/changelog/#v800-2023-06-04

so copier copy --trust gh:xonsh/xontrib-template . should work

jnoortheen commented 3 months ago

Fixed in https://github.com/xonsh/xontrib-template/commit/d963ad5aeffc9c290011077819acd50f9765bdd6

anki-code commented 3 months ago

Thanks!