Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 14, 2025

Bumps github.com/alexflint/go-arg from 1.4.3 to 1.6.0.

Release notes

Sourced from github.com/alexflint/go-arg's releases.

v1.6.0

Hey friends, here is the latest go-arg. What fun. I enjoy maintaining this library a lot. Lots of contributions from new contributors since last release -- check out new contributors section below. Very impressive work everyone.

I'm working on completions support for this library. It's going to be a separate library, in a separate repository, that will (if all goes according to plan) be a general-purpose cross-language cross-shell completion-support binary. I'll then add some options in this library to make use of that project, probably mostly in the form of documentation and examples rather than any significant changes to default behavior. If you'd like to give input on any of that, please reach out via email (see email address in my github profile).

As always, sorry for all the open issues and un-merged PRs!

What's Changed

New Contributors

Full Changelog: alexflint/go-arg@v1.6.0...v1.5.2

v1.5.1

  • Fixes a bug introduced in v1.5.0 where bad struct tags and other parser-level initialization problems would result in a crash rather than a clean exit in MustParse (thanks @​hhromic !)

Version 1.5.0

  • Argument structs can define Description() and Epilogue(), which are added to the usage string

  • Subcommands can have multiple aliases like this:

var args struct {
    Remove *struct{} `arg:"subcommand:remove|rm|r" help:"remove something from somewhere"`
}
  • Improves formatting of usage string when the placeholder tag is set to empty string

  • Do not handle --version when the args struct lacks a Version() function

  • Add StructSubcommands to Config struct

Commits
  • a36ed1e Merge pull request #285 from alexflint/negative-numbers
  • e778224 improve handling of negative numbers
  • 7155e7e Merge pull request #278 from Areson/ioberst-global-help-options
  • a1a65e2 Fix Missing Global Options
  • f218789 Merge pull request #276 from zanvd/make-placeholder-output-consistent
  • a7ee83c Use common output for usage and errors during parsing.
  • 438bbff Merge pull request #258 from hhromic/implement-204
  • efb1be7 Merge pull request #273 from alexflint/pass-dash-dash-through
  • 51d9bef passing the no-more-options string "--" twice or more should pass the second ...
  • cb7e5c1 Add global env prefix example to README
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/alexflint/go-arg](https://github.com/alexflint/go-arg) from 1.4.3 to 1.6.0.
- [Release notes](https://github.com/alexflint/go-arg/releases)
- [Commits](alexflint/go-arg@v1.4.3...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/alexflint/go-arg
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 14, 2025
Copy link

go-test-coverage report:

File coverage threshold (100%) satisfied:	PASS
Total coverage threshold (100%) satisfied:	PASS
Total test coverage: 100% (683/683)

No coverage changes in any files compared to the base.

@vladopajic vladopajic merged commit c70abda into main Jul 16, 2025
9 checks passed
@vladopajic vladopajic deleted the dependabot/go_modules/github.com/alexflint/go-arg-1.6.0 branch July 16, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant