Open jpluscplusm opened 2 months ago
https://cl-1199888-1--cue-cls.netlify.app/examples/aliases-dont-work/
https://github.com/cue-lang/cuelang.org/commit/de45fd542329b7bc024d95bf8bea925fd87cb5ef via https://cuelang.org/cl/1199888
I tried to use an alias inside a script block.
script
The motivation for this was to demonstrate a cue command invocation like this:
cue
Hidden block:
alias cue='go run cuelang.org/go/cmd/cue@master'
Visible block:
$ go install cuelang.org/go/cmd/cue@master $ cue version <some pseudo-version>
That the alias would work.
I would just sidestep the problem:
# hidden export GOBIN=/tmp/goinstall export PATH=/tmp/goinstall:$PATH # not hidden go install cuelang.org/go/cmd/cue@master cue version
What page were you looking at?
https://cl-1199888-1--cue-cls.netlify.app/examples/aliases-dont-work/
What version of the site were you looking at?
https://github.com/cue-lang/cuelang.org/commit/de45fd542329b7bc024d95bf8bea925fd87cb5ef via https://cuelang.org/cl/1199888
What did you do?
I tried to use an alias inside a
script
block.The motivation for this was to demonstrate a
cue
command invocation like this:Hidden block:
Visible block:
What did you expect?
That the alias would work.
What did you see instead?