Comments (7)
Actually, looking at cocoapods/command/lib.rb it appears this is the standard for CLAide commands in the main pods gem.
from cocoapods-plugins.
So what, should we keep everything in one big file like for the pod lib
command that only lies in lib.rb
?
I suggest that we split it anyways, contrary to the structure used in the main pods gem.
- The main pod gem has a lot of commands, and creating a subfolder and separate
.rb
files would create a lot of files and hierarchy levels, that is probably why they didn't do it - Here we are in a plugin, which as way much less code and is a much smaller project, so keeping it readable with more but smaller files seems a good idea
I was willing to start the refactoring, but will wait for your advice about which way to go, splitting in separate files or keeping it all in a big single one.
from cocoapods-plugins.
In our case, the search
command is quite different in function compared
to the create
command so I'd rather separate those two classes.
On Tue, Apr 29, 2014 at 3:33 PM, AliSoftware [email protected]:
So what, should we keep everything in one big file like for the pod libcommand that only lies in
lib.rb?I suggest that we split it anyways, contrary to the structure used in the
main pods gem.
- The main pod gem has a lot of commands, and creating a subfolder and
separate .rb files would create a lot of files and hierarchy levels,
that is probably why they didn't do it- Here we are in a plugin, which as way much less code and is a much
smaller project, so keeping it readable with more but smaller files seems a
good ideaI was willing to start the refactoring, but will wait for your advice
about which way to go, splitting in separate files or keeping it all in a
big single one.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-41721576
.
from cocoapods-plugins.
D'oh! Reply by email may not be as good an idea as I thought.
from cocoapods-plugins.
I vote for refactoring everything... also the main gem! ☀️
from cocoapods-plugins.
@irrationalfab 👍
I'm beginning to like submitting ruby PRs… even as a ruby newbie (I'm an iOS expert to begin with, not a ruby programmer at all), so maybe I'll give it a try on the main gem sometime 😉
from cocoapods-plugins.
@AliSoftware Looking forward to it!
from cocoapods-plugins.
Related Issues (20)
- [plugins.json] Add cocoapods-framework
- [plugins.json] Add cocoapods-remove-duplicates
- [plugins.json] Add cocoapods-lhj-bin
- [plugins.json] Add cocoapods-gollen HOT 1
- [plugins.json] Add cocoapods-fix-xcframework-slice
- [plugins.json] Add cocoapods-proxy
- [plugins.json] Add cocoapods-panglePackager
- [plugins.json] Add cocoapods-packing-cubes HOT 1
- [plugins.json] Add cocoapods-githooks
- [plugins.json] Add cocoapods-githooks
- [plugins.json] Add cocoapods-rij-bin
- [plugins.json] Add cocoapods-binarycb
- [plugins.json] Add cocoapods-embed-flutter HOT 1
- [Idea] Installation hooks for plugins
- [plugins.json] Add cocoapods-mexdup HOT 1
- [plugins.json] Add cocoapods-mexdups
- [plugins.json] Add cocoapods-triumph-sdk-plugin
- https://github.com/CocoaPods/cocoapods-plugins/issues/49#issue-65770089 HOT 1
- [plugins.json] Add cocoapods--tyme-amicable
- [plugins.json] Add cocoapods-ug
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 cocoapods-plugins.