Title: New command: cz init · Issue #57 · commitizen-tools/commitizen · GitHub
Open Graph Title: New command: cz init · Issue #57 · commitizen-tools/commitizen
X Title: New command: cz init · Issue #57 · commitizen-tools/commitizen
Description: Goal Make it easier for users to use commitizen Description Let's suppose we have an already existing repo without commitizen. The user types cz init and we try to be smart and detect some information: Find last tag and ask if that is th...
Open Graph Description: Goal Make it easier for users to use commitizen Description Let's suppose we have an already existing repo without commitizen. The user types cz init and we try to be smart and detect some informat...
X Description: Goal Make it easier for users to use commitizen Description Let's suppose we have an already existing repo without commitizen. The user types cz init and we try to be smart and detect some info...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/57
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New command: cz init","articleBody":"#### Goal\r\nMake it easier for users to use commitizen\r\n\r\n#### Description\r\nLet's suppose we have an already existing repo without commitizen.\r\nThe user types `cz init` and we try to be smart and detect some information:\r\n\r\n1. Find last tag and ask if that is the latest tag. If not prompt which is the latest tag.\r\n2. With that data we can fill the `version` in `[tool.commitizen]`.\r\n3. Detect if the tag begins with `v` or not and define the `tag_format` in `[tool.commitizen]`\r\n4. Find files with a reference to the latest version and define the `files` in `[tool.commitizen]`, we could let the user choose which files from the found should be added (with a multi-choice from questionary).\r\n5. Ask to the user if they want the changelog to be generated from scratch if not present.\r\n\r\n\r\nThis is my initial draft, I'm not sure what else could be detected. Potentially we could ask for every configuration, but it's important to keep it short. It's not about customizing, but initializing quickly. If the user wants to customize more -\u003e read the docs.","author":{"url":"https://github.com/woile","@type":"Person","name":"woile"},"datePublished":"2019-11-15T21:03:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/57/commitizen/issues/57"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:10fe9c83-a792-16b7-980f-e12a6528c444 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF9A:2FA5EC:552384:73CA62:6A4DA65C |
| html-safe-nonce | 2b89097483ac23b62483f571f47f577af49cba3023e0a5459bcdef952c7e127f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjlBOjJGQTVFQzo1NTIzODQ6NzNDQTYyOjZBNERBNjVDIiwidmlzaXRvcl9pZCI6IjE3NTU5ODM2NTI5MDg5OTAzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a67affacdcbf86e52df6bb25bc96171f4b676af3344070c4c52fc4ea60efe3e9 |
| hovercard-subject-tag | issue:523687127 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen-tools/commitizen/57/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5674a46b73ad9f66814e39ed18624718924f0f914d26ef3bd070561487961a36/commitizen-tools/commitizen/issues/57 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5674a46b73ad9f66814e39ed18624718924f0f914d26ef3bd070561487961a36/commitizen-tools/commitizen/issues/57 |
| og:image:alt | Goal Make it easier for users to use commitizen Description Let's suppose we have an already existing repo without commitizen. The user types cz init and we try to be smart and detect some informat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | woile |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7f13faa65cccc9b729d674da83335d5dcfdfd193 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width