Skip to content
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

defining custom tags #25

Open
shakty opened this issue Feb 25, 2013 · 2 comments
Open

defining custom tags #25

shakty opened this issue Feb 25, 2013 · 2 comments

Comments

@shakty
Copy link

shakty commented Feb 25, 2013

Hi,
this issue is about a feature request. Dunno if u r interested in implemented, or if it is feasible at all with the current codebase.

I would like to define custom tags. In fact, some of my functions are emitting events, and I would like to have a tag @emit where I list all the events that can be generated by the function.

I am pretty sure this would be an important feature, and I would not be the only one interested.

Thanks for the great software!

@jbt
Copy link
Owner

jbt commented Feb 28, 2013

Interesting suggestion - not entirely sure how feasible this would be because you'd have to define exactly how the tag gets matched (e.g. does it have a type parameter, a name, a description?). Might be possible as a feature to expose when using docker as a node module, rather than the command line.

I'll have a think, see what I can come up with. Meanwhile if anyone has any suggestions for how they'd like this feature to work from a usage standpoint, feel free to discuss.

@shakty
Copy link
Author

shakty commented Mar 18, 2013

hi, sorry for the delay in coming back here, I have been travelling the past two weeks.

Basically, I don't know how exactly how you parse the tags, but I imagine that we could have an external configuration file where the extra tags are added with all the necessary options. Other options could (should?) be specified there too. Then, I could pass the path to the file as a parameter in the command line, or require it when using Docker from Node.

Cheers

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

No branches or pull requests

2 participants