Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grundstein

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grundstein

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Grundstein

GitHub license Gem

I was annoyed to do the same work over and over. Often, I found myself to create the same Vagrantfile, .gitignore or Gemfile for each new project. Grundstein automates this step in a very simple way: We have (smart) templates which are copied to your repo. These templates are (in Rails fashion) called generators.

Examples

  • You can call something like grundstein vagrant and you get a Vagrantfile and a little note in your README.
  • When you call grundstein rubocop you get a .rubocop file with some defaults and a few lines in your Rakefile.

Principles

  • Don't be smart detecting stuff, ask! (some stuff might not have been created by the developer yet)
  • Generate rather more useful stuff than too few: A user can delete quicker than adding new stuff.
  • Show the user what is happening and what needs to be done next.
  • If in doubt, append.

Pro Tip: Commit before running generators. Then review the changes via git diff or a visual git tool.

Installation

Please make sure you have ruby >= 2.0.0 and git >= 1.7 installed. Then run:

gem install grundstein

Usage

The project's root folder is determined based on the current working directory. If there is no .git directory in the current directory, the script will try to move up until it finds a .git. Hence, the project must be a git repository.

grundstein list # see all generators
cd myproject
grundstein add rubocop

Contribute & Development

Please see README.Development.md.

FAQs

Package last updated on 11 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc