Options
All
  • Public
  • Public/Protected
  • All
Menu

Module tools/sell-server

Index

Executable

Executable

  • main(ns: NS): Promise<void>
  • Sell servers from the Terminal.

    export
    example

    Sell a single server with given hostname.

    run /tools/sell-server.js [host]
    
    example

    Sell multiple servers with given hostnames.

    run /tools/sell-server.js [host0] ... [hostn]
    

    Parameters

    • ns: NS

      The Netscript object.

    Returns Promise<void>

Generated using TypeDoc