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

banner: add page #2440

Merged
merged 6 commits into from
Oct 15, 2018
Merged

banner: add page #2440

merged 6 commits into from
Oct 15, 2018

Conversation

glenacota
Copy link
Collaborator


  • The page (if new), does not already exist in the repo.

  • The page (if new), has been added to the correct platform folder:
    common/ if it's common to all platforms, linux/ if it's Linux-specific, and so on.

  • The page has 8 or fewer examples.

  • The PR is appropriately titled:
    <command name>: add page for new pages, or <command name>: <description of changes> for pages being edited.

  • The page follows the contributing guidelines.

@CLAassistant
Copy link

CLAassistant commented Oct 13, 2018

CLA assistant check
All committers have signed the CLA.

@owenvoke owenvoke added the new command Issues requesting creation of a new page. label Oct 13, 2018
Copy link
Member

@owenvoke owenvoke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @glenacota, thanks for the new page!

I just have a few minor comments below.

pages/common/banner.md Outdated Show resolved Hide resolved
pages/common/banner.md Outdated Show resolved Hide resolved
Copy link
Member

@mfrw mfrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

pages/common/banner.md Outdated Show resolved Hide resolved

> Print the given argument as a large ASCII art.

- Print the text message as a large banner. Note: quotes are optional:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just put "quotes are optional" within parenthesis before finishing the sentence. No need for "Note:"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, but I wanted to be consistent with the format used for the echo command. Do you think we should change the sentence also there?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Yes, sometimes pages deviate from a common style. I think we should change the echo page too. Note that the last example in the echo page too uses parenthesis.


- Print the text message as a banner with a width of 50 characters:

`banner -w 50 {{"Hello World"}}`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

50 is still not within tokens.

pages/common/banner.md Outdated Show resolved Hide resolved
@agnivade agnivade merged commit 90a186b into tldr-pages:master Oct 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new command Issues requesting creation of a new page.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants