sashman / absinthe_gen Goto Github PK
View Code? Open in Web Editor NEWScaffold generator for elixir phoenix absinthe projects
License: MIT License
Scaffold generator for elixir phoenix absinthe projects
License: MIT License
Hello.
I'm trying to generate some files but there is something wrong (with import maybe)
** (File.Error) could not read file "/Users/lucasbesen/Documents/my-project/deps/absinthe_gen/lib/../templates/types.eex": no such file or directory
(elixir) lib/file.ex:353: File.read!/1
lib/eex.ex:184: EEx.compile_file/2
lib/eex.ex:220: EEx.eval_file/3
lib/mix/absinthe.gen.scaffold.ex:25: Mix.Tasks.Absinthe.Gen.Scaffold.run/1
(mix) lib/mix/task.ex:331: Mix.Task.run_task/3
(mix) lib/mix/cli.ex:79: Mix.CLI.run_task/2
i'm trying to generate the files with multiple attributes in this way:
mix absinthe.gen.scaffold my_context my_type [my_field:string, my_other_field:string]
but this isn't working. i'm getting this error: zsh: bad pattern: [my_field:string,
Hey if anyone is interested, I might invest some more time into this and add some more useful features. If anyone has any requests in particular please leave a comment below :)
A command like mix absinthe.gen.scaffold
but perhaps mix absinthe.gen.scaffold_ecto
that takes an already defined ecto schema as a arg. To aid adding absinthe to exsisting projects.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.