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

feat(args): check version subcommand for version info #8

Merged
merged 3 commits into from Mar 14, 2023

Conversation

orhun
Copy link
Owner

@orhun orhun commented Mar 14, 2023

Description

This PR adds version subcommand to the list of arguments to check for version info.

Motivation and Context

e.g. zig binary doesn't have a flag for getting the
version information. It requires to run zig version.

How Has This Been Tested?

-

Screenshots / Logs (if applicable)

-

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (no code change)
  • Refactor (refactoring production code)
  • Other

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have formatted the code with rustfmt.
  • I checked the lints with clippy.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

e.g. `zig` binary doesn't have a flag for getting the
version information. It requires to run `zig version`.
@orhun
Copy link
Owner Author

orhun commented Mar 14, 2023

bors r+

@bors
Copy link
Contributor

bors bot commented Mar 14, 2023

👎 Rejected by too few approved reviews

@orhun
Copy link
Owner Author

orhun commented Mar 14, 2023

bors r+

@bors
Copy link
Contributor

bors bot commented Mar 14, 2023

👎 Rejected because of missing code owner approval

@orhun
Copy link
Owner Author

orhun commented Mar 14, 2023

bors r+

bors bot added a commit that referenced this pull request Mar 14, 2023
8: feat(args): check `version` subcommand for version info r=orhun a=orhun

<!--- Thank you for contributing to halp! 🐙 -->

## Description

This PR adds `version` subcommand to the list of arguments to check for version info.

## Motivation and Context

e.g. `zig` binary doesn't have a flag for getting the
version information. It requires to run `zig version`.

## How Has This Been Tested?

\-

## Screenshots / Logs (if applicable)

\-

## Types of Changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation (no code change)
- [ ] Refactor (refactoring production code)
- [ ] Other <!--- (provide information) -->

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->

- [x] My code follows the code style of this project.
- [x] I have updated the documentation accordingly.
- [x] I have formatted the code with [rustfmt](https://github.com/rust-lang/rustfmt).
- [x] I checked the lints with [clippy](https://github.com/rust-lang/rust-clippy).
- [ ] I have added tests to cover my changes.
- [x] All new and existing tests passed.


Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
@bors
Copy link
Contributor

bors bot commented Mar 14, 2023

Build failed:

@orhun
Copy link
Owner Author

orhun commented Mar 14, 2023

bors retry

@bors bors bot merged commit 818d203 into main Mar 14, 2023
16 checks passed
@bors bors bot deleted the feat/check_version_subcommand branch March 14, 2023 15:38
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.

None yet

1 participant