Skip to content

Commit

Permalink
Improve cli help text (#321)
Browse files Browse the repository at this point in the history
* Improve cli help text

* Minor CI improvements
  • Loading branch information
marcauberer committed May 3, 2022
1 parent e7c67f4 commit 0419826
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ updates:
open-pull-requests-limit: 15
target-branch: release/v1.9.x
reviewers:
- marcauberer
- compose-generator/core-team
assignees:
- marcauberer

Expand All @@ -24,7 +24,7 @@ updates:
open-pull-requests-limit: 15
target-branch: release/v1.9.x
reviewers:
- marcauberer
- compose-generator/core-team
assignees:
- marcauberer

Expand All @@ -38,7 +38,7 @@ updates:
open-pull-requests-limit: 15
target-branch: release/v1.9.x
reviewers:
- marcauberer
- compose-generator/core-team
assignees:
- marcauberer

Expand All @@ -52,6 +52,6 @@ updates:
open-pull-requests-limit: 15
target-branch: release/v1.9.x
reviewers:
- marcauberer
- compose-generator/core-team
assignees:
- marcauberer
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: v1.8.2
version: v1.8.3
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ predefined-services/*.tar.gz
# Ignore custom templates
templates

# Ignore compose-generator output
# Ignore Compose Generator output
./docker-compose.yml
./environment.env

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ var CliCommands = []*cli.Command{
},
{
Name: "predefined-template",
Aliases: []string{"p", "pd"},
Aliases: []string{"p", "pd", "pt"},
Usage: "Manage predefined service templates [DEV]",
Hidden: !isDevVersion(),
Subcommands: []*cli.Command{
Expand Down
9 changes: 5 additions & 4 deletions src/compose-generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ func main() {
cli.VersionFlag = &cli.BoolFlag{
Name: "version",
Aliases: []string{"v"},
Usage: "Prints the version of compose-generator",
Usage: "Prints the version of Compose Generator",
}

// Main cli configuration
app := &cli.App{
Name: "compose-generator",
Version: util.BuildVersion(util.Version, util.Commit, util.Date, util.BuiltBy),
Name: "Compose Generator",
HelpName: "compose-generator",
Version: util.BuildVersion(util.Version, util.Commit, util.Date, util.BuiltBy),
Authors: []*cli.Author{
{
Name: "Marc Auberer",
Expand All @@ -35,7 +36,7 @@ func main() {
},
UseShortOptionHandling: true,
EnableBashCompletion: true,
Usage: "Generate and manage docker compose configuration files for your projects.",
Usage: "Generate and manage Docker Compose configuration files for your projects.",
Copyright: "漏 2021-2022 Compose Generator Contributors",
Flags: cmd.GenerateCliFlags,
Action: cmd.Generate,
Expand Down

0 comments on commit 0419826

Please sign in to comment.