Giter Club home page Giter Club logo

ecto_gen's People

Contributors

albertmoravec avatar filipjakab avatar ondrejvalenta avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ecto_gen's Issues

Add `-y` flag to eg.gen

Add -y flag to mix eg.gen so that you don't have to confirm overwriting output location manually.

Check that repo exists before running

Check that the repo module given in db_config actually exists and is valid, otherwise show a comprehensible error message.

For the reference, this would be shown now:

** (FunctionClauseError) no function clause matching in Keyword.get/3    

    The following arguments were given to Keyword.get/3:

        # 1
        nil

        # 2
        :ssl

        # 3
        false

    Attempted function clauses (showing 1 out of 1):

        def get(keywords, key, default) when is_list(keywords) and is_atom(key)

    (elixir 1.12.2) lib/keyword.ex:218: Keyword.get/3
    (postgrex 0.15.13) lib/postgrex.ex:630: Postgrex.ensure_deps_started!/1
    (postgrex 0.15.13) lib/postgrex.ex:247: Postgrex.start_link/1
    (ecto_gen 0.7.1) lib/mix/tasks/generate.ex:18: Mix.Tasks.Eg.Gen.run/1
    (mix 1.12.2) lib/mix/task.ex:394: anonymous fn/3 in Mix.Task.run_task/3
    (mix 1.12.2) lib/mix/cli.ex:84: Mix.CLI.run_task/2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.