Prisma1: Print USAGE.md content when adding a template

Created on 9 Oct 2017  路  3Comments  路  Source: prisma/prisma1

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!

Most helpful comment

USAGE.md gets my vote @kbrandwijk 馃槆

All 3 comments

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

USAGE.md gets my vote @kbrandwijk 馃槆

Including the USAGE.md is now implemented

Was this page helpful?
0 / 5 - 0 ratings

Related issues

schickling picture schickling  路  36Comments

sapkra picture sapkra  路  40Comments

marktani picture marktani  路  34Comments

sorenbs picture sorenbs  路  48Comments

marktani picture marktani  路  71Comments