-
Notifications
You must be signed in to change notification settings - Fork 900
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
cli: Make tinygo help experience more consistent with go help #3739
Labels
enhancement
New feature or request
Comments
Seems to me that making |
deadprogram
changed the title
Make tinygo help experience more coherent with go help
cli: Make tinygo help experience more consistent with go help
May 22, 2023
bjornpagen
added a commit
to bjornpagen/tinygo
that referenced
this issue
May 22, 2023
…org#3739 - Improve tinygo help command output by streamlining layout and command descriptions - Reorganize commands and help topics alphabetically, moving info and targets to help topics - Create a new 'flags' help topic that contains all the flag details - Introduce gc topic to hold information related to garbage collector options - Use 'text/tabwriter' for consistent formatting and structuring of the help output Credit to @m-kru for layout
bjornpagen
added a commit
to bjornpagen/tinygo
that referenced
this issue
May 22, 2023
…org#3739 - Improve tinygo help command output by streamlining layout and command descriptions - Reorganize commands and help topics alphabetically, moving info and targets to help topics - Create a new 'flags' help topic that contains all the flag details - Introduce gc topic to hold information related to garbage collector options - Use 'text/tabwriter' for consistent formatting and structuring of the help output Credit to @m-kru for layout
bjornpagen
added a commit
to bjornpagen/tinygo
that referenced
this issue
May 22, 2023
…org#3739 - Improve tinygo help command output by streamlining layout and command descriptions - Reorganize commands and help topics alphabetically, moving info and targets to help topics - Create a new 'flags' help topic that contains all the flag details - Use 'text/tabwriter' for consistent formatting and structuring of the help output Credit to @m-kru for layout
bjornpagen
added a commit
to bjornpagen/tinygo
that referenced
this issue
May 22, 2023
…org#3739 - Improve tinygo help command output by streamlining layout and command descriptions - Reorganize commands and help topics alphabetically, moving info and targets to help topics - Create a new 'flags' help topic that contains all the flag details - Use 'text/tabwriter' for consistent formatting and structuring of the help output Credit to @m-kru for layout
bjornpagen
added a commit
to bjornpagen/tinygo
that referenced
this issue
May 22, 2023
…org#3739 - Improve tinygo help command output by streamlining layout and command descriptions - Reorganize commands and help topics alphabetically, moving info and targets to help topics - Create a new 'flags' help topic that contains all the flag details - Use 'text/tabwriter' for consistent formatting and structuring of the help output - Remove "No command-line arguments supplied." to match go Credit to @m-kru for layout
bjornpagen
added a commit
to bjornpagen/tinygo
that referenced
this issue
May 22, 2023
…org#3739 - Improve tinygo help command output by streamlining layout and command descriptions - Reorganize commands and help topics alphabetically, moving info and targets to help topics - Create a new 'flags' help topic that contains all the flag details - Use 'text/tabwriter' for consistent formatting and structuring of the help output - Remove "No command-line arguments supplied." to match go Credit to @m-kru for layout
bjornpagen
added a commit
to bjornpagen/tinygo
that referenced
this issue
May 22, 2023
…org#3739 - Improve tinygo help command output by streamlining layout and command descriptions - Reorganize commands and help topics alphabetically, moving info and targets to help topics - Create a new 'flags' help topic that contains all the flag details - Use 'text/tabwriter' for consistent formatting and structuring of the help output - Remove "No command-line arguments supplied." to match go Credit to @m-kru for layout
#3743
vs go:
|
bjornpagen
added a commit
to bjornpagen/tinygo
that referenced
this issue
May 23, 2023
…org#3739 - Improve tinygo help command output by streamlining layout and command descriptions - Reorganize commands and help topics alphabetically, moving info and targets to help topics - Create a new 'flags' help topic that contains all the flag details - Use 'text/tabwriter' for consistent formatting and structuring of the help output - Remove "No command-line arguments supplied." to match go Credit to @m-kru for layout
bjornpagen
added a commit
to bjornpagen/tinygo
that referenced
this issue
May 23, 2023
…org#3739 - Improve tinygo help command output by streamlining layout and command descriptions - Reorganize commands and help topics alphabetically, moving info and targets to help topics - Create a new 'flags' help topic that contains all the flag details - Use 'text/tabwriter' for consistent formatting and structuring of the help output - Remove "No command-line arguments supplied." to match go Credit to @m-kru for layout
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the output from the
tinygo help
command looks as follows:I propose to make
tinygo help
experience more coherent with gogo help
experience because of following reasons:help
command to see what commands and topics are available to formulate more concrete command. Right now they are flooded with flags and one needs to scroll up to see the commands.go help
experience. Making it more coherent would simply feel more natural.I can imagine, that after the change the
go help
output would look something like this:The required work includes:
:
character from the command suffix, and increase space between command and its description.info
andtargets
to additional topics.flags
topic.gc
topic and place all garbage collector related flags and information there.Of course more additional help topics can be added now or in the future when it is decided that it makes sense.
The text was updated successfully, but these errors were encountered: