eucalypt
>= 0.9.0
>= 0.9.0
  • eucalypt
  • Installation
  • CLI
    • Core
      • Init
      • Launch
      • Console
      • Test
      • Version
      • Rake
      • Help (-H)
    • Generate
      • Controller
      • Helper
      • Model
      • Scaffold
    • Destroy
      • Controller
      • Helper
      • Model
      • Scaffold
    • Blog
      • Setup
      • Article
        • List
        • Generate
        • Destroy
        • Edit
          • Urltitle
          • Datetime
    • Migration
      • Blank
      • Types
      • Create
        • Table
      • Add
        • Index
        • Column
      • Drop
        • Table
        • Index
        • Column
      • Rename
        • Table
        • Index
        • Column
      • Change
        • Column
  • Features
    • Controllers
    • Helpers
    • Views
      • Layouts
      • Partials
    • Static data
    • Core application file
    • Configuration
      • Logging
      • Asset pipeline
        • Manifest asset files
      • Initializers
      • Database
    • Manifest accessor
    • Application path helpers
    • Blog environment
      • Articles
    • Rendering static files
    • Maintenance mode
Powered by GitBook
On this page
  • Command
  • Arguments
  • Options/flags
  • Examples
  1. CLI
  2. Core

Init

Initialize a new application.

Command

$ eucalypt init
# Alias/shortened
$ eucalypt i

Arguments

  • [NAME] - The name of the new application (note that this is simply a directory name and cannot be a path such as apps/my-new-app).

Options/flags

  • --git, --no-git, (Default: True)

    Specify whether or not to run git init (to initialize a Git repository) inside the new application directory.

  • --bundle, --no-bundle, (Default: True)

    Specify whether or not to run bundle install (to install dependencies) inside the new application directory.

  • --silence alias -s, (Default: False)

    Specify whether or not to silence the output of the git init and bundle install commands (only silences if either the --git or --bundle options are active)

  • --blog alias -b, (Default: False)

    Specify whether or not to set up the blog environment after initializing the application.

  • --route alias -r, (Default: "blog")

    Specify the route of the blog controller (only works if the --blog option is active).

Examples

  • $ eucalypt init my-new-app

    Generates a new application with default options.

  • $ eucalypt init my-new-app -s

    Generates a new application and silences the bundle install and git init commands.

  • $ eucalypt init my-new-app --no-bundle --no-git

    Generates a new application and skips dependency installation (bundle install) and Git repository initialization (git init).

  • $ eucalypt init my-new-app -b

    Generates a new application and runs blog environment setup.

  • $ eucalypt init my-new-app -br posts

    Generates a new application and runs blog environment setup at /posts.

PreviousCoreNextLaunch

Last updated 5 years ago