Comments (2)
Ooo I really like this idea. Some thoughts:
- I do want to include room to add more generators soon e.g.
migration
,controller
, not sure about the paths yet (any suggestions? we could do something cheeky like/rails/g/model
. Although maybe keep it short and simple is best e.g./model
) - I'm not super keen on swapping out spaces for
|
, maybe we can just url encode the actual string? Could also do base64 but I think that's a bit overkill - would suggest the query param be
?command
instead
What do you think?
from railshelp.
Thanks for the inputs, honestly I didn't put in much thinking into how it would look like. I added it here to have a discussion with you later. :))
- Yes, I did think about other generators. Your idea of namespacing(
rails/g/model
) sounds good and extensible. - Using
|
as delimiter will add an overhead of parsing. URL encoding sounds perfect, base64 encoding will make URL unnecessarily long. Can explore tiny url API in either case to make it short & shareable? - Yes,
command
sounds great. 🙇🏻♂️
from railshelp.
Related Issues (10)
- Clearing the attribute name will shift field/index type
- [Bug] Selecting field type for empty name, sets name value as field type
- [feature request] Save command history to LocalStorage
- Migration Generator Page HOT 1
- Add search on index page
- Add validations HOT 2
- Generate from Rails classes
- Bug with decimal precision example HOT 2
- Broken link to "USAGE" document in main README
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from railshelp.