Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Print USAGE.md content when adding a template #754

Closed
notrab opened this issue Oct 9, 2017 · 3 comments
Closed

Print USAGE.md content when adding a template #754

notrab opened this issue Oct 9, 2017 · 3 comments
Milestone

Comments

@notrab
Copy link
Contributor

notrab commented Oct 9, 2017

What feature are you missing?

The ability to write and display a custom README for templates that are added via the CLI.

How could this feature look like in detail? Tradeoffs?

Instead of printing README when a module is added, it could be good to print a custom README that is dedicated for installation tips/next steps.

Currently it displays the README, which often includes parts for adding the module, which looks a bit weird.

Not sure on the best practice for file names, perhaps a dotfiles or a README.graphcool.

Love to hear any further thoughts. Apologies if this is a duplicate issue, but I couldn't find one similar before I posted!

@kbrandwijk
Copy link
Contributor

I see two options:

  • Stick to a convention, e.g. add a USAGE.md or similar to the root of the module folder
  • Specify which file to display by adding a key to package.json, defaulting to README.md if not specified

@notrab
Copy link
Contributor Author

notrab commented Oct 9, 2017

USAGE.md gets my vote @kbrandwijk 😇

@schickling schickling added this to the 0.8 milestone Oct 10, 2017
@schickling schickling changed the title Custom README for CLI Print USAGE.md content when adding a template Oct 10, 2017
@marktani marktani modified the milestones: 0.8, 0.9 Oct 17, 2017
@timsuchanek
Copy link
Contributor

Including the USAGE.md is now implemented

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants