Skip to content

Commit

Permalink
Update markdown in web_generator.rb
Browse files Browse the repository at this point in the history
Add --suspenders_main parameter example

Use double \ for line breaks

Co-authored-by: Steve Polito <[email protected]>
  • Loading branch information
louis-antonopoulos and stevepolitodesign committed Oct 8, 2024
1 parent e36f736 commit 2a13a8a
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions lib/generators/suspenders/install/web_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,24 @@ class WebGenerator < Rails::Generators::Base
This generatator is intended to be invoked as part of an [application template][].
#### Use the latest suspenders release:
```
rails new <app_name> \
rails new <app_name> \\
--skip-rubocop \\
--skip-test \
-d=postgresql \
--skip-test \\
-d=postgresql \\
-m=https://raw.githubusercontent.com/thoughtbot/suspenders/main/lib/install/web.rb
```
#### OR use the current (possibly unreleased) `main` branch of suspenders:
```
rails new app_name \\
--suspenders_main \\
--skip_rubocop \\
--skip-test \\
-d=postgresql \\
-m=https://raw.githubusercontent.com/thoughtbot/suspenders/main/lib/install/web.rb
```
Expand Down

0 comments on commit 2a13a8a

Please sign in to comment.