github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/website/source/docs/commands/dev.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: dev"
     4  sidebar_current: "docs-commands-dev"
     5  description: >
     6    The dev command helps Otto manage a development environment for your
     7    application.
     8  ---
     9  
    10  # Command: dev
    11  
    12  The `dev` command helps Otto manage a development environment for your
    13  application.
    14  
    15  Without any subcommands, `otto dev` builds a development environment for your
    16  application using [Vagrant](https://www.vagrantup.com). Then you can use the
    17  various available subcommands to interact with this development environment.
    18  
    19  ## Usage
    20  
    21  ```
    22  otto dev [subcommand]
    23  ```
    24  
    25  You should first run `otto dev` without any subcommands to build a development
    26  environment. Then these subcommands perform various actions against that
    27  environment:
    28  
    29   * `ssh` - Connects to the development environment via SSH. Otto configures the
    30     environment so that the shell starts in your project directory.
    31   * `address` - Shows the IP address that can be used to reach the enviroment.
    32   * `destroy` - Destroys the development environment.
    33   * `vagrant` - An advanced subcommand that can be used to run arbitrary Vagrant
    34     commands against the development environment. Not required for normal Otto
    35     usage.
    36  
    37  A list of these subcommands are also available via `otto dev help`.