Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AvianY opened this issue Apr 5, 2018 · 1 comment
Closed

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

AvianY opened this issue Apr 5, 2018 · 1 comment

Comments

@AvianY
Copy link
Contributor

AvianY commented Apr 5, 2018

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.

@tyru
Copy link
Member

tyru commented Apr 5, 2018

Thanks! I'll fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants