Repository navigation
Viaalink CLI v3.2.1
The CLI is via all the way down: via.yaml, VIA_* settings and via data and config directories. Existing asd.yaml files, ASD_* names and asd directories keep working.
New
via.yamlis the project file.via initwritesvia.yamlin a new project. A project with onlyasd.yamlkeeps using it, unchanged. When a folder has both,via.yamlis used and the CLI saysasd.yamlis ignored.- Every
ASD_*setting can be set asVIA_*(VIA_SKIP_BINARIES=all,VIA_MODE,VIA_HTTP_HOST, …). When both are set,VIA_wins. The installers readVIA_INSTALL_BASE_URL,VIA_HOMEandVIA_NO_MODIFY_PATH. - Your data and config directories are named
via:~/.local/share/viaand~/.config/viaon Linux,~/Library/Application Support/viaon macOS,%LOCALAPPDATA%\viaand%APPDATA%\viaon Windows. The installer, or the firstviarun, moves an existingasddirectory there and leaves a link at the old name. Relay enrolments, device keys, the vault, projects and running services carry on untouched. If Windows holds a file in the old directory open, the CLI keeps using it and tries the move again on a later start.
Changed
- Messages, help and
via schemanamevia.yaml, theviadirectories andVIA_*settings.via authprintsVIA_TUNNEL_*exports for containers. - The relay client is
viaalink-relay1.37.0, with pinned checksums for Linux, macOS and Windows. - On Windows the CLI is installed in
%LOCALAPPDATA%\via\bin.
Also in this release (from 3.1.9)
3.1.9 and 3.2.0 were not published on their own; everything in them ships here.
New
via files start [folder]shares a folder in the browser. It asks three questions: keep serving in the background (yes), publish it on your relay (no), and put a login in front (yes). Flags answer them for scripts:--background/--foreground,--public,--auth=none|basic.via files tunnelshares it publicly in one step;via files listandvia files stop <name>manage shares, from any folder. Hidden files (.env,.git/…) are never served, and a symlink cannot lead outside the shared folder.via expose auth --rotatereplaces the logins of a project (the basic auth and the web terminal's). Old passwords and links stop working at once. It asks first;--yesfor scripts.- Quick login, opt-in:
via config set preferences.show_auth_in_urls true. In a terminal that supports it, links open with one click and show the password as dots. In CI, a pipe, a log or Apple Terminal no password is printed. via exposechecks the public address before it says it is live, and tells you when the tunnel does not answer yet.
Changed
- No passwords in output. Only
via expose authshows them, now including the web terminal's login.terminal start,net apply, the service menus andvia urlsno longer print one. - You pick the default relay. The first relay you add becomes the default. Adding another asks whether it should be the default; without a terminal the default stays and the new relay is added to
via relay list.--defaultswitches without asking;via relay set <name>switches later. via relay rotate-keyasks before it replaces the device key;--yesfor scripts.via net applywithout a relay applies everything on this machine and ends with a clear warning that nothing was published, with the steps to add a relay.- Output says
viaand Viaalink. Hints name the command you typed, and services read "VS Code", "Network inspector", "Database manager", "Web terminal" and "Dashboard". - A bare
viashows the same task-ordered overview asvia help. via helpno longer listsdatabase(it needs a separate Bun install) and, on Windows,code(no Windows build). Both still run.via initregisters the folder as a project, sovia projects listshows it.
Fixed
via expose listshows exposes without a tunnel ("On this machine only") and no longer reports a live tunnel in a temp folder as an orphan.- Short options take their value:
-s prod,-n 50,-p <dir>. via ssh connectworks when the project path contains a space.via vault importimports.envfiles next to a.env.exampleand skips a Python.env/folder.- On Windows the installer keeps
%VAR%entries in your PATH. via terminal startpoints atvia terminal tunnel(theexposehint led to a login loop).- Stop commands say "stopped" or "was not running"; "Did you mean?" no longer suggests unrelated commands.
- A
python3 -m http.serveris detected as a service.