Skip to content

Volt list template example gives hard-to-read output #224

Description

@AvianY

The example for volt list is as follows:
$ volt list -f '{{ range .Profiles }}{{ if eq $.CurrentProfileName .Name }}{{ range .ReposPath }}{{ . }}{{ end }}{{ end }}{{ end }}'
which will print all the plugins for the current profile in a single continous line. I advise the following command replace it:
$ volt list -f '{{ range .Profiles }}{{ if eq $.CurrentProfileName .Name }}{{ range .ReposPath }}{{ println . }}{{ end }}{{ end }}{{ end }}'

which gives one plugin per line output.

Activity

  1. tyru commented on Apr 5, 2018

    @tyru
    Member

    Thanks! I'll fix it.

  2. added 3 commits that reference this issue on Apr 9, 2018
    01cc1f8
    9b67da2
    11a01ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions