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

Add --single-line flag #47

Merged
merged 7 commits into from
Aug 29, 2020

Conversation

corbinhesse
Copy link
Contributor

Alias set to l as an o seemed synonymous with output. Another option would be --minimal; however, this word felt like it should remove colors and spinner.

@sindresorhus
Copy link
Owner

Why? What's the purpose?

@corbinhesse
Copy link
Contributor Author

corbinhesse commented Aug 11, 2020

The output contains a single line of data and four empty lines. Reducing the spacing allows to be run in other programs easily.

cli.js Outdated Show resolved Hide resolved
- Remove short alias flag
- Update `readme` to reflect new flag
@corbinhesse corbinhesse changed the title feat(cli): Add --oneline Flag to Reduce Spacing feat(cli): Add --single-ling Flag to Reduce Spacing Aug 15, 2020
cli.js Outdated Show resolved Hide resolved
cli.js Outdated Show resolved Hide resolved
cli.js Outdated Show resolved Hide resolved
@sindresorhus sindresorhus changed the title feat(cli): Add --single-ling Flag to Reduce Spacing Add --single-ling flag Aug 16, 2020
@sindresorhus sindresorhus changed the title Add --single-ling flag Add --single-line flag Aug 16, 2020
corbinhesse and others added 3 commits August 23, 2020 18:53
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
@sindresorhus sindresorhus merged commit ef87aa8 into sindresorhus:master Aug 29, 2020
shiftgeist pushed a commit to shiftgeist/fast-cli-interval that referenced this pull request Feb 13, 2023
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants