The Wayback Machine - https://web.archive.org/web/20201021033701/https://github.com/sindresorhus/fast-cli/pull/47
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
Merged

Conversation

@corbinhesse
Copy link
Contributor

@corbinhesse corbinhesse commented Aug 8, 2020

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

@sindresorhus sindresorhus commented Aug 8, 2020

Why? What's the purpose?

@corbinhesse
Copy link
Contributor Author

@corbinhesse 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 Aug 23, 2020
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
@corbinhesse corbinhesse requested a review from sindresorhus Aug 23, 2020
@sindresorhus sindresorhus merged commit ef87aa8 into sindresorhus:master Aug 29, 2020
1 check passed
1 check passed
Travis CI - Pull Request Build Passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.