Граф коммитов

190 Коммитов

Автор SHA1 Сообщение Дата
Sebastiaan van Stijn 53293118a8
Merge pull request #55 from thaJeztah/update_deps
update dependencies
2024-07-17 15:21:30 +02:00
Sebastiaan van Stijn 0c2f3974aa
go.mod: github.com/stretchr/testify v1.9.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-15 17:26:49 +02:00
Sebastiaan van Stijn 16aa26da20
go.mod: github.com/spf13/cobra v1.8.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-15 17:24:53 +02:00
CrazyMax 8270ed3dcb
Merge pull request #53 from dvdksn/fix-root-command-desc-examples
fix: generate long desc and examples for root command
2024-07-02 18:35:35 +02:00
David Karlsson 7d56538a0d test: add root flags for tests
Adds a hidden --help flag (like in docker/cli) and a dummy -H flag

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-07-02 15:03:26 +02:00
David Karlsson 7142e86e9e test: doc generation for root command
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-07-02 15:03:26 +02:00
David Karlsson ea2c7ca089 fix: generate long desc and examples for root command
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-07-02 15:03:26 +02:00
CrazyMax c6cc9a5c3f
Merge pull request #54 from docker/dependabot/github_actions/docker/bake-action-5
build(deps): bump docker/bake-action from 4 to 5
2024-07-02 14:56:48 +02:00
dependabot[bot] d4d6680429
build(deps): bump docker/bake-action from 4 to 5
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 4 to 5.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 09:52:05 +00:00
Sebastiaan van Stijn 27c3157f56
Merge pull request #14 from crazy-max/man-support
Man support
2024-02-29 13:10:07 +01:00
Sebastiaan van Stijn 5ef721b947
Merge pull request #52 from crazy-max/codecov-token
ci: set codecov token
2024-02-22 22:41:51 +01:00
CrazyMax b6ffbb739c
ci: set codecov token
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-22 18:09:12 +01:00
CrazyMax 4ecc2f24df
test: "attach" and "buildx dial-stdio" cmds for testing
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-22 13:29:38 +01:00
CrazyMax be388bff2a
add man support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2024-02-22 13:29:38 +01:00
CrazyMax 5090452eb1
Import man/generate.go with history from docker/cli
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2024-02-22 13:27:37 +01:00
Sebastiaan van Stijn 4b6fbdb064
Merge pull request #51 from crazy-max/bump-cobra
vendor: update github.com/spf13/cobra to 1.7.0
2024-02-22 13:21:45 +01:00
CrazyMax 391282764b
example: bump github.com/spf13/cobra to 1.7.0
also align buildx version

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-22 13:09:44 +01:00
CrazyMax 1ff8067ffd
vendor: update github.com/spf13/cobra to 1.7.0
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-22 13:04:43 +01:00
Sebastiaan van Stijn a1e294d6f6
Merge pull request #50 from crazy-max/display-bool-type
markdown: display bool type
2024-02-21 11:46:57 +01:00
CrazyMax 0746f02f82
markdown: display bool type
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-21 10:53:25 +01:00
CrazyMax 522da5169b
Merge pull request #39 from crazy-max/hardened-tests
test: remove hardcoded files to check
2024-02-21 10:32:51 +01:00
CrazyMax 04f2e85bf0
test: remove hardcoded files to check
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2024-02-21 10:19:39 +01:00
CrazyMax 3149c91229
Merge pull request #49 from dvdksn/rewrite-internal-links
yaml: add processing for internal links, and tests
2024-02-19 18:20:29 +01:00
David Karlsson 869802dddd yaml: add processing for internal links, and tests
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-13 14:16:55 +01:00
CrazyMax 40b8303f38
Merge pull request #48 from gmargaritis/47-improve-boolean-flag-documentation
Improve boolean flag documentation generation
2024-02-12 16:09:22 +01:00
George Margaritis e795250f34
Improve boolean flag documentation generation
Update the documentation generation logic to include values in Type and Default columns for boolean flags that have true as a default value.
This change addresses the need for users to differentiate between boolean flags that require explicit negation.

Signed-off-by: George Margaritis <gmargaritis@protonmail.com>
2024-02-12 16:55:22 +02:00
CrazyMax f5886777bd
Merge pull request #46 from docker/dependabot/github_actions/codecov/codecov-action-4
build(deps): bump codecov/codecov-action from 3 to 4
2024-02-06 09:51:14 +01:00
dependabot[bot] 21d7de37de
build(deps): bump codecov/codecov-action from 3 to 4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 09:29:53 +00:00
CrazyMax e1a3957de6
Merge pull request #45 from docker/dependabot/github_actions/actions/upload-artifact-4
Bump actions/upload-artifact from 3 to 4
2023-12-15 11:15:23 +01:00
CrazyMax 8f251737b2
Merge pull request #44 from docker/dependabot/github_actions/actions/setup-go-5
Bump actions/setup-go from 4 to 5
2023-12-15 11:15:04 +01:00
dependabot[bot] 7830626eb5
Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 09:26:08 +00:00
dependabot[bot] 5f724db7b6
Bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 09:39:39 +00:00
CrazyMax 3895c94c94
Merge pull request #40 from docker/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-09-12 11:30:07 +02:00
CrazyMax 8fb1ba29ac
Merge pull request #41 from docker/dependabot/github_actions/docker/bake-action-4
Bump docker/bake-action from 3 to 4
2023-09-12 11:29:53 +02:00
dependabot[bot] 71c94ac9d2
Bump docker/bake-action from 3 to 4
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 3 to 4.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 09:27:32 +00:00
dependabot[bot] 01c697ac56
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 09:33:53 +00:00
Sebastiaan van Stijn 5cb124c70a
Merge pull request #38 from crazy-max/missing-hidden
Take hidden attribute into account
2023-06-27 15:35:38 +02:00
CrazyMax 851d1b74e9
markdown: do not generate docs for hidden commands
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-27 14:19:59 +02:00
CrazyMax f0e625f63a
yaml: set hidden attribute for commands
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-27 14:17:49 +02:00
CrazyMax ce91c05798
Merge pull request #36 from docker/dependabot/github_actions/docker/bake-action-3
Bump docker/bake-action from 2 to 3
2023-04-18 12:02:04 +02:00
dependabot[bot] 97dc5fcb7b
Bump docker/bake-action from 2 to 3
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 2 to 3.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 09:58:03 +00:00
CrazyMax 26861309f2
Merge pull request #35 from docker/dependabot/github_actions/actions/setup-go-4
Bump actions/setup-go from 3 to 4
2023-03-16 10:03:24 +00:00
dependabot[bot] 0729659e07
Bump actions/setup-go from 3 to 4
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 09:58:24 +00:00
CrazyMax 91110f2fe0
Merge pull request #34 from thaJeztah/pretty_markdown_table
markdown: format generated tables to have equal-width columns
2022-12-29 08:27:58 +01:00
Sebastiaan van Stijn 6f4440bf8b
markdown: format generated tables to have equal-width columns
This makes the tables more readable when reading the source code.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 01:05:02 +01:00
Sebastiaan van Stijn ca8c2e2c28
markdown: use stringbuilder.WriteString()
This makes my IDE happier, as there's less unhandled errors.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 00:59:18 +01:00
Sebastiaan van Stijn 64ee5498be
Merge pull request #33 from crazy-max/usage-newline
markdown: replace new line in usage
2022-12-27 10:57:59 +01:00
CrazyMax 6de4bc9711
readme: fix badge
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-12-26 06:31:34 +01:00
CrazyMax 5bd820d68e
markdown: replace new line in usage
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-12-26 06:31:33 +01:00
Sebastiaan van Stijn 77abede221
Merge pull request #32 from thaJeztah/custom_aliases
use custom annotation for aliases
2022-07-04 18:20:28 +02:00