mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-10-02 16:01:56 +00:00
tty7 is split into two Rust processes: a persistent daemon that owns the shells and a GPU-rendered client that talks to it over a local socket. Because the shells live in the daemon, quitting and reopening the app leaves the session intact — detach and reattach, no tmux required. - Persistent sessions — the daemon holds the PTYs and child processes, so closing a window or swapping in a new build never takes a shell down. - Performance — an 11 MB `cat` completes in 95 ms and DOOM-fire renders at 888 fps; the daemon drains the PTY at device speed off the render path. - Shell-aware — new tabs and splits open in the current working directory; zsh, bash, fish, and PowerShell are set up automatically. - Enhanced prompt — inline completion, syntax highlighting, history, and in-terminal search, with rich flag/subcommand signatures for common tools. - Tabs, resizable splits, a command palette, click-to-open links, desktop notifications, eight themes, and CJK/IME input. Native builds for macOS, Windows, and Linux. Built on Zed's gpui and Alacritty's VT core.
1 line
8.1 KiB
JSON
1 line
8.1 KiB
JSON
{"description":"CLI for managing Railway Apps","options":[{"names":["--help","-h"],"description":"Show help for railway","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--version","-V"],"description":"Show railway version","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--verbose","-v"],"description":"Enable verbose output","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[{"names":["add"],"description":"Add a plugin to your project","hidden":false,"options":[],"args":[],"subcommands":[]},{"names":["completion"],"description":"Generate shell-completions","hidden":false,"options":[],"args":[{"name":"shell","description":"The shell to generate completions for","optional":false,"variadic":false,"template":[],"suggestions":[{"names":["bash"],"description":null},{"names":["zsh"],"description":null},{"names":["fish"],"description":null},{"names":["powershell"],"description":null}],"generators":[]}],"subcommands":[]},{"names":["connect"],"description":"Connect to a plugin","hidden":false,"options":[],"args":[{"name":"plugin","description":"The plugin to connect to","optional":true,"variadic":false,"template":[],"suggestions":[{"names":["postgresql"],"description":null},{"names":["mysql"],"description":null},{"names":["redis"],"description":null},{"names":["mongodb"],"description":null}],"generators":[]}],"subcommands":[]},{"names":["delete"],"description":"Delete a project","hidden":false,"options":[],"args":[{"name":"project-id","description":"The project to delete","optional":true,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["docs"],"description":"Open Railway Documentation in default browser","hidden":false,"options":[],"args":[],"subcommands":[]},{"names":["down"],"description":"Remove the most recent deployment","hidden":false,"options":[{"names":["-e","--environment"],"description":"Environment to delete from","args":[{"name":null,"description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["environment"],"description":"Change your environment","hidden":false,"options":[],"args":[{"name":"environment","description":"The environment to change to","optional":true,"variadic":false,"template":[],"suggestions":[{"names":["production"],"description":null},{"names":["preview"],"description":null}],"generators":[]}],"subcommands":[]},{"names":["help"],"description":"Get help about any command","hidden":false,"options":[],"args":[{"name":"command","description":"The command to get help about","optional":true,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["init"],"description":"Create a new railway project","hidden":false,"options":[],"args":[],"subcommands":[]},{"names":["link"],"description":"Connect to an existing railway project","hidden":false,"options":[],"args":[{"name":"project-id","description":"The project to link to","optional":true,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["list"],"description":"List all railway projects","hidden":false,"options":[],"args":[],"subcommands":[]},{"names":["login"],"description":"Login to railway","hidden":false,"options":[{"names":["--browserless"],"description":"Login without opening a browser","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["logout"],"description":"Logout of railway","hidden":false,"options":[],"args":[],"subcommands":[]},{"names":["logs"],"description":"Show logs for the most-recent deployment","hidden":false,"options":[{"names":["-n","--lines"],"description":"Output a specific number of lines","args":[{"name":"Number of lines","description":"The number of lines to output","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["open"],"description":"Open the project","hidden":false,"options":[],"args":[],"subcommands":[{"names":["live"],"description":"Open the live project","hidden":false,"options":[],"args":[],"subcommands":[]},{"names":["metrics"],"description":"Open project metrics","hidden":false,"options":[],"args":[],"subcommands":[]},{"names":["settings"],"description":"Open project settings","hidden":false,"options":[],"args":[],"subcommands":[]}]},{"names":["run"],"description":"Run a local command using variables from the active environment","hidden":false,"options":[{"names":["-e","--environment"],"description":"Environment to run in","args":[{"name":null,"description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-s","--service"],"description":"Define specific service","args":[{"name":"Service name","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["shell"],"description":"Open a subshell with Railway variables available","hidden":false,"options":[{"names":["-s","--service"],"description":"Deploy app to specific service","args":[{"name":"Service name","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["status"],"description":"View the status of railway project","hidden":false,"options":[],"args":[],"subcommands":[]},{"names":["unlink"],"description":"Disconnects the current directory from a Railway project","hidden":false,"options":[],"args":[],"subcommands":[]},{"names":["up"],"description":"Deploy to railway","hidden":false,"options":[{"names":["-d","--detach"],"description":"Detach from build logs","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-e","--environment"],"description":"Environment to run in","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-s","--service"],"description":"Deploy app to specific service","args":[{"name":"Service name","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"path","description":"Path to deploy to","optional":true,"variadic":false,"template":["folders"],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["variables"],"description":"Work with environment variables","hidden":false,"options":[{"names":["-e","--environment"],"description":"Environment","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-s","--service"],"description":"Deploy app to specific service","args":[{"name":"Service name","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[{"names":["delete"],"description":"Delete variable","hidden":false,"options":[],"args":[{"name":"variable","description":"The name of the variable you want to delete","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["get"],"description":"Get variable value","hidden":false,"options":[],"args":[{"name":"variable","description":"The name of the variable you want to get","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["set"],"description":"Set variable value","hidden":false,"options":[],"args":[{"name":"variable","description":"The name of the variable you want to set","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]},{"name":"value","description":"Value of the variable","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[]}]},{"names":["version"],"description":"Get the version of railway's CLI","hidden":false,"options":[],"args":[],"subcommands":[]},{"names":["whoami"],"description":"Get the logged in user","hidden":false,"options":[],"args":[],"subcommands":[]}],"name":"railway"} |