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

feat(influx): provide for remote files in the template commands #18546

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

jsteenb2
Copy link
Contributor

@jsteenb2 jsteenb2 commented Jun 16, 2020

@rawkode you have been heard

image

@jsteenb2 jsteenb2 requested a review from rawkode June 16, 2020 20:49
@@ -816,11 +817,12 @@ func (b *cmdPkgBuilder) registerPkgPrintOpts(cmd *cobra.Command) {
}

func (b *cmdPkgBuilder) registerPkgFileFlags(cmd *cobra.Command) {
cmd.Flags().StringSliceVarP(&b.files, "file", "f", nil, "Path to template file")
cmd.Flags().StringSliceVarP(&b.files, "file", "f", nil, "Path to template file; A https scheme will provide a remote file and a file scheme or missing scheme will be interpreted as a file")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A https scheme will provide a remote file and a file scheme or missing scheme will be interpreted as a file
Supports HTTP(S) URLs or file paths.

@jsteenb2 jsteenb2 force-pushed the influx/allow_remote_files branch from 2453432 to 1de5291 Compare June 16, 2020 21:24
@jsteenb2 jsteenb2 force-pushed the influx/allow_remote_files branch from 1de5291 to 0388a47 Compare June 16, 2020 21:31
@jsteenb2 jsteenb2 merged commit 18eff15 into master Jun 16, 2020
@jsteenb2 jsteenb2 deleted the influx/allow_remote_files branch June 16, 2020 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants