Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
rebar help COMMAND
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tuncer Ayaz  
View profile  
 More options Nov 12 2012, 10:41 am
From: Tuncer Ayaz <tuncer.a...@gmail.com>
Date: Mon, 12 Nov 2012 16:40:21 +0100
Local: Mon, Nov 12 2012 10:40 am
Subject: [erlang-questions] rebar help COMMAND
While I was drafting how to implement a more useful 'rebar help'
command which accepts an argument, I wondered how much interest there
is for such a feature. It is inspired by similar help commands in
other cli tools.

print common help string:
$ rebar help
$ rebar -h
$ rebar --help

print command specific help string for all plugins implementing the
given command:
$ rebar help compile
erlc_compiler:compile
  On 'compile' rebar_erlc_compiler builds sources with the extensions
  *.erl, *.yrl, *.xrl, <...> and accepts the following rebar.config
  options:
  erl_opts: [...]

plugin_2:compile
  similar to above
...

I think such an enhancement can improve the discoverability of rebar
commands and supported options quite a lot.

Is there enough interest that I should try to get this into the next
release?
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Loïc Hoguin  
View profile  
 More options Nov 12 2012, 11:02 am
From: Loïc Hoguin <es...@ninenines.eu>
Date: Mon, 12 Nov 2012 17:01:52 +0100
Local: Mon, Nov 12 2012 11:01 am
Subject: Re: [erlang-questions] rebar help COMMAND
On 11/12/2012 04:40 PM, Tuncer Ayaz wrote:

> Is there enough interest that I should try to get this into the next
> release?

Yes. You shouldn't need to ask this. Rebar is too opaque today for
people to figure out all the things you can do with it without looking
at the source or cruising the web looking for the info. That needs fixing.

--
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Watson  
View profile  
 More options Nov 13 2012, 3:38 am
From: Tim Watson <watson.timo...@gmail.com>
Date: Tue, 13 Nov 2012 08:38:07 +0000
Local: Tues, Nov 13 2012 3:38 am
Subject: Re: [erlang-questions] rebar help COMMAND
It would help plugin authors a lot if this behaviour was implemented in terms of reading some module metadata rather than being fixed to a subset of internal modules only. If that is something you'd consider.

Sent from my iPhone.

On 12 Nov 2012, at 16:01, Loïc Hoguin <es...@ninenines.eu> wrote:

> On 11/12/2012 04:40 PM, Tuncer Ayaz wrote:
>> Is there enough interest that I should try to get this into the next
>> release?

> Yes. You shouldn't need to ask this. Rebar is too opaque today for people to figure out all the things you can do with it without looking at the source or cruising the web looking for the info. That needs fixing.

> --
> Loïc Hoguin
> Erlang Cowboy
> Nine Nines
> http://ninenines.eu
> _______________________________________________
> erlang-questions mailing list
> erlang-questi...@erlang.org
> http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam Rutkowski  
View profile  
 More options Nov 13 2012, 4:40 am
From: Adam Rutkowski <h...@mtod.org>
Date: Tue, 13 Nov 2012 10:40:15 +0100
Local: Tues, Nov 13 2012 4:40 am
Subject: Re: [erlang-questions] rebar help COMMAND
+1

On 12 Nov 2012, at 16:40, Tuncer Ayaz wrote:

--
Adam

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kunthar  
View profile  
 More options Nov 13 2012, 4:53 am
From: Kunthar <kunt...@gmail.com>
Date: Tue, 13 Nov 2012 11:53:11 +0200
Local: Tues, Nov 13 2012 4:53 am
Subject: Re: [erlang-questions] rebar help COMMAND
+1
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tuncer Ayaz  
View profile  
 More options Nov 13 2012, 7:55 am
From: Tuncer Ayaz <tuncer.a...@gmail.com>
Date: Tue, 13 Nov 2012 13:54:19 +0100
Local: Tues, Nov 13 2012 7:54 am
Subject: Re: [erlang-questions] rebar help COMMAND

On Tue, Nov 13, 2012 at 9:38 AM, Tim Watson wrote:
> It would help plugin authors a lot if this behaviour was implemented
> in terms of reading some module metadata rather than being fixed to
> a subset of internal modules only. If that is something you'd
> consider.

That's actually pretty much what the current draft looks like.
FYI, there's an ongoing discussion on the rebar list concerning
implementation details.

Thanks everybody for the feedback.

> On 12 Nov 2012, at 16:01, Loïc Hoguin wrote:

>> On 11/12/2012 04:40 PM, Tuncer Ayaz wrote:
>>> Is there enough interest that I should try to get this into the
>>> next release?

>> Yes. You shouldn't need to ask this. Rebar is too opaque today for
>> people to figure out all the things you can do with it without
>> looking at the source or cruising the web looking for the info.
>> That needs fixing.

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »