Init
Initialize a new application.
Command
$ eucalypt init
# Alias/shortened
$ eucalypt iArguments
[NAME]- The name of the new application (note that this is simply a directory name and cannot be a path such asapps/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.--silencealias-s, (Default: False)Specify whether or not to silence the output of the
git initandbundle installcommands (only silences if either the--gitor--bundleoptions are active)--blogalias-b, (Default: False)Specify whether or not to set up the blog environment after initializing the application.
--routealias-r, (Default: "blog")Specify the route of the blog controller (only works if the
--blogoption is active).
Examples
$ eucalypt init my-new-appGenerates a new application with default options.
$ eucalypt init my-new-app -sGenerates a new application and silences the
bundle installandgit initcommands.$ eucalypt init my-new-app --no-bundle --no-gitGenerates a new application and skips dependency installation (
bundle install) and Git repository initialization (git init).$ eucalypt init my-new-app -bGenerates a new application and runs blog environment setup.
$ eucalypt init my-new-app -br postsGenerates a new application and runs blog environment setup at
/posts.
Last updated