New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement documentation in Markdown #10
Comments
You are very right. Working on this at the moment. Thanks for the idea. |
I can take up the issue if you'd like.
…On Wed, Jan 18, 2017, 17:42 Ifeora Okechukwu ***@***.***> wrote:
You are very right. Working on this at the moment.
Thanks for the idea.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANsh8dtDj-QsjlHVEJd1_c-WEF1hwGFdks5rTkDogaJpZM4LmPjO>
.
|
@shalvah I'll be glad. Please, go ahead. I have just pushed an EASYDOCS.md file which contains a few things. Feel free to update it as necessary. Thank you so very much for opting to take on this. I appreciate. The load on me concerning this repo is quite enormous. |
I noticed this in the easydocs file...
$ php jollof make:route /home GET
$ php jollof make:controller home
(Forgive any formatting; I'm on mobile.) So, I'm thinking... Since the controller must be named same as route, why not have a command (or a flag to the route-generating command) that creates the controller file too? I believe he idea behind using commands like these is to simplify things by generating oft-used templates, not just to avoid clicking "New File". |
Oh! my bad. I'll correct that error in the EASYDOCS.md file.
I think this's wouldn't be a bad idea. Using one stone to kill two birds. I'll look into this. Infact i'll implement it. |
So, now we have the following already implemented - set-controller serves as the flag to create the controller. $ php jollof make:route /api/contents/@id POST set-controller
@shalvah what do you think ? |
Not bad, but I think we could provide a single-letter flag too (my hand
would be paining me with all that typing). Maybe `-c`? Also, don't forget
the dashes normally used for flags.
…On Tue, Jan 24, 2017, 13:32 Ifeora Okechukwu ***@***.***> wrote:
So, now we have the following already implemented - *set-controller*
serves as the flag to create the controller.
$ php jollof make:route ***@***.*** POST set-controller
@shalvah <https://github.com/shalvah> what do you think ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANsh8RQBM9K7x6B8gwhY6huayN_U2IL7ks5rVe9TgaJpZM4LmPjO>
.
|
@shalvah, a single letter it is "-c". Will have it done soon |
@shalvah , I have already providered 2 alternatives '--controller', '-c'. One is a single-letter flag and the other is a full-option flag (long-option). Pushing v0.0.4 updates in an hours time from now. |
on the advice of a developer, who introduced me to https://semver.org, i actually re-versioned Jollof to begin from v0.0.2 (start) -> v0.0.4 (current) |
Okay, not really a bug or something, but I feel it would make it easier to read and understand, without having to clone the repo, and on mobile too.
The text was updated successfully, but these errors were encountered: