Description
hype preview doesn't work without the tree cli tool.
Steps to Reproduce
- Install ubuntu 24.04 and Go
git clone https://github.com/gopherguides/hype/
cd hype
go install ./cmd/hype
hype preview -theme github -f hype.md
Expected Behavior
I should be able to use the preview
Actual Behavior
$ hype preview -theme github -f hype.md
hype version dev (commit: none, built: unknown)
$ hype
------
*github.com/gopherguides/hype/cmd/hype/cli.App
Available Commands:
Command Description
------- -----------
blog static blog generator commands (init, build, new)
export export the document to a different format (markdown,json,html,etc...)
marked outputs for the Marked app (https://marked2app.com/)
preview live preview server with file watching and auto-reload
slides outputs slide format for presentation
validate validate document integrity without full export
version print version information
Error: initial build failed: execute error: filepath: /home/dolanor/src/hype/hype.md
document: Hype
execute error: filepath: /home/dolanor/src/hype/hype.md
cmd: $ tree ./docs
exit: -1
cmd error: exec: "tree": executable file not found in $PATH
Environment
- OS: Ubuntu 24.04
- Hype version:
hype version dev (commit: none, built: unknown) (actual: v0.8.0 from source)
- Go version:
go version go1.25.0 linux/amd64
Hype Document (if applicable)
the hype.md file from the root directory
Error Output
Error: initial build failed: execute error: filepath: /home/dolanor/src/hype/hype.md
document: Hype
execute error: filepath: /home/dolanor/src/hype/hype.md
cmd: $ tree ./docs
exit: -1
cmd error: exec: "tree": executable file not found in $PATH
Description
hype previewdoesn't work without thetreecli tool.Steps to Reproduce
git clone https://github.com/gopherguides/hype/cd hypego install ./cmd/hypehype preview -theme github -f hype.mdExpected Behavior
I should be able to use the preview
Actual Behavior
Environment
hype version dev (commit: none, built: unknown)(actual: v0.8.0 from source)go version go1.25.0 linux/amd64Hype Document (if applicable)
the
hype.mdfile from the root directoryError Output