Skip to content

Added: --list-installed cli option, listing already downloaded cookiecutter packages#1096

Merged
insspb merged 8 commits intocookiecutter:masterfrom
chrisbrake:master
May 30, 2020
Merged

Added: --list-installed cli option, listing already downloaded cookiecutter packages#1096
insspb merged 8 commits intocookiecutter:masterfrom
chrisbrake:master

Conversation

@chrisbrake
Copy link
Copy Markdown
Contributor

@chrisbrake chrisbrake commented Aug 14, 2018

This is a re-implementation of #916 since that seems to have died due to lack of test coverage.

Adds new command: cookiecutter --list

This lists locally available templates, for example:

user$ cookiecutter --list
7 installed templates:

  • cookiecutter-bottle
  • cookiecutter-pyramid-talk-python-starter
  • cookiecutter-sublime-text-3-plugin
  • cookiecutter-template
  • puppet-openstack-cookiecutter
  • pyramid-cookiecutter-starter
  • python-macon-template

@chrisbrake
Copy link
Copy Markdown
Contributor Author

The Travis failures do not appear to be related to my change.

Unable to download 3.4 archive. The archive may not exist. Please consider a different version.
Unable to download 3.5 archive. The archive may not exist. Please consider a different version.

@marcosfelt
Copy link
Copy Markdown

Any chance of this being merged soon?

@chrisbrake
Copy link
Copy Markdown
Contributor Author

Any chance of this being merged soon?

I've not heard anything from the maintainers.

@marcosfelt
Copy link
Copy Markdown

marcosfelt commented Jan 27, 2019 via email

@insspb insspb added the 1.8.0 label Dec 22, 2019
@ssbarnea
Copy link
Copy Markdown
Member

ssbarnea commented Jan 8, 2020

@marcosfelt can you please resolve conflicts and assure it passes CI? If green I will merge it, if not updated I will closet the PR.

@ssbarnea ssbarnea added this to the 1.8.0 milestone Mar 30, 2020
@ssbarnea ssbarnea removed the 1.8.0 label Mar 30, 2020
@insspb insspb modified the milestones: 1.8.0, 2.0.0 May 26, 2020
@cookiecutter cookiecutter deleted a comment from codecov-io May 28, 2020
@insspb insspb added the feature This issue/PR relates to major feature request. label May 28, 2020
@insspb insspb self-assigned this May 30, 2020
@insspb insspb changed the title Added list command line option Added: --list-installed cli option, listing already downloaded cookiecutter packages May 30, 2020
@insspb insspb merged commit 5917791 into cookiecutter:master May 30, 2020
@insspb
Copy link
Copy Markdown
Member

insspb commented May 30, 2020

@chrisbrake @mikeckennedy Thank you for contribution. I updated this to last codebase version and merged to master.
It will be available in cookiecutter 2.0 or you can use it in current master.
By the way. Please, never use same variables names like build-in defaults (was list).

@marcosfelt
It will be available in cookiecutter 2.0 or you can use it in current master.

@mikeckennedy
Copy link
Copy Markdown
Contributor

Very cool. Thank you.

@simobasso simobasso mentioned this pull request May 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature This issue/PR relates to major feature request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants