     case argv do
       [] -> Mix.Task.run "help", ["kitto.new"]
       [path|_] ->
-        app = Path.basename(Path.expand(path))
+        app = (opts[:app] || Path.basename(Path.expand(path))) |> String.downcase
         check_application_name!(app)
         mod = Macro.camelize(app)
 


  It expects the path of the project as argument.

      mix kitto.new PATH [--edge] [--dev KITTO_PATH]

  A project at the given PATH will be created. The application name and module
  name will be retrieved from the path.

  ## Options

  * `--edge` - use the `master` branch of Kitto as your dashboard's dependency
  * `--dev` - use a local copy of Kitto as your dashboard's dependency

  ## Examples

      # Create a new Kitto dashboard
      mix kitto.new hello_world

      # Create a new Kitto dashboard using the master branch to get the latest
      # Kitto features


  def run(argv) do
    {opts, argv} =
      case OptionParser.parse(argv, switches: [edge: :boolean, dev: :string, app: :string]) do
        {opts, argv, []} ->
          {opts, argv}
        {_opts, _argv, [switch | _]} ->
