Visualize an op
TLDR;
The opctl UI allows visualizing ops whether defined locally on the opctl host or remotely in a git repo.
If the op is defined remotely in a git repo and the git repo requires authentication, opctl will prompt for a username & password.
Local Op Example
- Open a terminal and
cd
to any directory that contains ops somewhere in it's subtree. - Use the opctl ui subcommand to open the web UI to the current directory.
opctl ui
- Use the explorer panel to open and visualize an
op.yml
. - Try panning and zooming.
Remote Op Example
- Open a terminal.
- Use the opctl ui subcommand to open the web UI to the remote git tag github.com/opspec-pkgs/_.op.create#3.3.1.
opctl ui github.com/opspec-pkgs/_.op.create#3.3.1
- Use the explorer panel to open and visualize the
op.yml
.If any private remote refs are encountered and aren't cached, you'll be prompted for pullCreds.
- Try panning and zooming.