Skip to content

coder templates pull displays some numbers/null #2777

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

Closed
maryna-hankevich opened this issue Jul 1, 2022 · 3 comments
Closed

coder templates pull displays some numbers/null #2777

maryna-hankevich opened this issue Jul 1, 2022 · 3 comments

Comments

@maryna-hankevich
Copy link

Coder v0.7.6
Windows 10, cmd

Steps:
run coder templates pull [template] and write to a file
view cli output and file content

Actual Result: some numbers are displayed in console after readme.md and main.tf, also NULL displays in the file
image

@bpmct
Copy link
Member

bpmct commented Jul 22, 2022

@maryna-hankevich how are you writing to a file? We have seen some reports on Windows that:

# doesn't work on Windows
coder templates pull template-name > filename.tar.gz

# but this does work
coder templates pull template-name filename.tar.gz

@maryna-hankevich
Copy link
Author

@bpmct I'm writing to a file using the following command: coder templates pull docker file
This is probably some archive data or something like that, not sure if it should be displayed or if it's possible to get rid of it

@bpmct
Copy link
Member

bpmct commented Aug 1, 2022

Gotcha. The pull will add it into an archive file which you'll need to extract. However, this isn't super clear from the help text #2651.

Here's how to get clean files with Windows and 7-zip:

Screen.Recording.2022-08-01.at.10.24.30.AM.mov

@kylecarbs kylecarbs closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2022
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

No branches or pull requests

3 participants