Skip to content

Commit

Permalink
chore: bump to version v0.20.0 (#1090)
Browse files Browse the repository at this point in the history
* chore: bump to version v0.20.0
  • Loading branch information
geffersonFerraz authored Jul 4, 2024
1 parent 11cd1b5 commit 7fe2be6
Show file tree
Hide file tree
Showing 213 changed files with 7,389 additions and 10,769 deletions.
9 changes: 8 additions & 1 deletion mgc/cli/cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package cmd

import (
"fmt"
"regexp"
"runtime"
"slices"
"strings"

Expand Down Expand Up @@ -32,9 +34,14 @@ func normalizeFlagName(f *pflag.FlagSet, name string) pflag.NormalizedName {
func Execute() (err error) {
sdk := &mgcSdk.Sdk{}

vv := fmt.Sprintf("\nVersion: %s\nSO: %s/%s",
mgcSdk.Version,
runtime.GOOS,
runtime.GOARCH)

rootCmd := &cobra.Command{
Use: argParser.FullProgramPath(),
Version: mgcSdk.Version,
Version: vv,
Short: "CLI tool for OpenAPI integration",
Long: `This CLI is a dynamic processor of OpenAPI files that
can generate a command line on-demand for Rest manipulation`,
Expand Down
607 changes: 0 additions & 607 deletions mgc/cli/openapis/block-storage.openapi.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion mgc/cli/openapis/container-registry.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ paths:
in: query
required: false
schema:
default: created:asc
default: created_at:asc
pattern: (^[\w-]+:(asc|desc)(,[\w-]+:(asc|desc))*)?$
type: string
description: Fields to use as reference to sort.
Expand Down
Loading

0 comments on commit 7fe2be6

Please sign in to comment.