NETSCRIPT: Add the 'cat' method to 'ns.singularity' (#1999)

This commit is contained in:
Naga
2025-03-23 03:04:26 -04:00
committed by GitHub
parent 70a083b34b
commit 1539c428bc
5 changed files with 46 additions and 0 deletions

View File

@@ -2656,6 +2656,15 @@ export interface Singularity {
*/
getCurrentServer(): string;
/**
* Displays the content of a file on the currently connected server.
* @remarks
* RAM cost: 0.5 * 16/4/1
*
* @param filename - Name of the file to display, including its extension.
*/
cat(filename: string): void;
/**
* Connect to a server.
* @remarks