Skip to content
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.

marathon list [--packages] or [--scripts] #30

Open
pixyzehn opened this issue Apr 5, 2017 · 7 comments
Open

marathon list [--packages] or [--scripts] #30

pixyzehn opened this issue Apr 5, 2017 · 7 comments

Comments

@pixyzehn
Copy link
Contributor

pixyzehn commented Apr 5, 2017

I'd like to introduce simple two options in the list command,

$ marathon list
📦  Packages
-----------
Files ([email protected]:JohnSundell/Files.git)
SwiftyJSON (https://github.com/SwiftyJSON/SwiftyJSON.git)

📄  Scripts
----------
/Users/pixyzehn/Developer/sandbox-for-marathon/fufufufuf.swift
/Users/pixyzehn/Developer/sandbox-for-marathon/hehe.swift

$ marathon list --packages
📦  Packages
-----------
Files ([email protected]:JohnSundell/Files.git)
SwiftyJSON (https://github.com/SwiftyJSON/SwiftyJSON.git)

$ marathon list --scripts
📄  Scripts
----------
/Users/pixyzehn/Developer/sandbox-for-marathon/fufufufuf.swift
/Users/pixyzehn/Developer/sandbox-for-marathon/hehe.swift

$ marathon list --packages --scripts (or --scripts --packages)
📦  Packages
-----------
Files ([email protected]:JohnSundell/Files.git)
SwiftyJSON (https://github.com/SwiftyJSON/SwiftyJSON.git)

📄  Scripts
----------
/Users/pixyzehn/Developer/sandbox-for-marathon/fufufufuf.swift
/Users/pixyzehn/Developer/sandbox-for-marathon/hehe.swift
@JohnSundell
Copy link
Owner

Sure, great idea 👍 But I think the flags should be pluralized, like --packages and --scripts.

@pixyzehn
Copy link
Contributor Author

pixyzehn commented Apr 6, 2017

Sure, I agree! Just updated.

@pixyzehn pixyzehn changed the title marathon list [--package] or [--script] marathon list [--packages] or [--scripts] Apr 6, 2017
@garricn
Copy link

garricn commented May 22, 2017

I might be able to complete this task. Any hint so I can look around first?

@JohnSundell
Copy link
Owner

Yeah, we basically just need to check for the --packages or --scipts flag in the ListTask, and then either just list packages or scripts.

@garricn
Copy link

garricn commented Jun 3, 2017

I have a better handle on the project now. I'm sure I can handle it. I'll be at dub dub this week and I want to land #71 first though.

@clayellis
Copy link

@garricn Lucky! Have fun!

@dyna-dot
Copy link

What do we call them?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants