mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 16:52:55 +02:00
MISC: Support css file type (#2378)
This commit is contained in:
@@ -5,7 +5,7 @@ export const TerminalHelpText: string[] = [
|
||||
" analyze Get information about the current machine ",
|
||||
" backdoor Install a backdoor on the current machine ",
|
||||
" buy [-l/-a/program] Purchase a program through the Dark Web",
|
||||
" cat [file] Display a .msg, .lit, or .txt file",
|
||||
" cat [file] Display a .msg, .lit, or text file",
|
||||
" cd [dir] Change to a new directory",
|
||||
" changelog Display changelog",
|
||||
" check [script] [args...] Print a script's logs to Terminal",
|
||||
@@ -39,7 +39,7 @@ export const TerminalHelpText: string[] = [
|
||||
" [--temporary] [args...]",
|
||||
" scan Prints all immediately-available network connections",
|
||||
" scan-analyze [d] [-a] Prints info for all servers up to d nodes away",
|
||||
" scp [files...] [server] Copies a file to a destination server",
|
||||
" scp [files...] [server] Copies text or .lit files to a destination server",
|
||||
" sudov Shows whether you have root access on this computer",
|
||||
" tail [script/pid] [args...] Displays dynamic logs for the specified script",
|
||||
" top Displays all running scripts and their RAM usage",
|
||||
@@ -56,7 +56,7 @@ const TemplatedHelpTexts: Record<string, (command: string) => string[]> = {
|
||||
`Usage: ${command} [file names...] | [glob]`,
|
||||
` `,
|
||||
`Opens up the specified file(s) in the Script Editor. Only scripts (.js, .jsx, .ts, .tsx) `,
|
||||
`or text files (.txt, .json) can be edited using the Script Editor. If a file does not exist, a new `,
|
||||
`or text files (.txt, .json, .css) can be edited using the Script Editor. If a file does not exist, a new `,
|
||||
`one will be created.`,
|
||||
` `,
|
||||
`If a glob is provided as the only argument, ${command} can crawl directories and open all matching `,
|
||||
@@ -142,7 +142,7 @@ export const HelpTexts: Record<string, string[]> = {
|
||||
cat: [
|
||||
"Usage: cat [file name]",
|
||||
" ",
|
||||
"Display message (.msg), literature (.lit), script (.js, .jsx, .ts, .tsx), or text (.txt, .json) files. Examples:",
|
||||
"Display message (.msg), literature (.lit), script (.js, .jsx, .ts, .tsx), or text (.txt, .json, .css) files. Examples:",
|
||||
" ",
|
||||
" cat j1.msg",
|
||||
" ",
|
||||
@@ -258,7 +258,7 @@ export const HelpTexts: Record<string, string[]> = {
|
||||
" -h --no-filename suppress printing file name with output lines. Default when one FILE argument passed. Overrides -H",
|
||||
" -n --line-number print line number with output lines",
|
||||
" -q --quiet --silent suppress printing to terminal",
|
||||
" -O --output OUTFILE pipe output to text file. The following argument must be a valid .txt or .json filename. Does NOT overwrite by default",
|
||||
" -O --output OUTFILE pipe output to text file. The following argument must be a valid text file (.txt, .json, .css). Does NOT overwrite by default",
|
||||
" -f --allow-overwrite combine with [-O/--output] to allow overwriting provided output file",
|
||||
" ",
|
||||
"Context control:",
|
||||
@@ -386,7 +386,7 @@ export const HelpTexts: Record<string, string[]> = {
|
||||
"Usage: mv [src] [dest]",
|
||||
" ",
|
||||
"Move the source file to the specified destination. This can also be used to rename files. ",
|
||||
"This command only works for scripts (.js, .jsx, .ts, .tsx) and text files (.txt, .json). This command CANNOT be used to ",
|
||||
"This command only works for scripts (.js, .jsx, .ts, .tsx) and text files (.txt, .json, .css). This command CANNOT be used to ",
|
||||
"convert to different file types",
|
||||
" ",
|
||||
"Note that, unlike the Linux 'mv' command, the destination argument must be the ",
|
||||
@@ -470,7 +470,7 @@ export const HelpTexts: Record<string, string[]> = {
|
||||
"Usage: scp [file names...] [target server]",
|
||||
" ",
|
||||
"Copies the specified file(s) from the current server to the target server. ",
|
||||
"This command only works for script files (.js, .jsx, .ts, .tsx), text files (.txt, .json), ",
|
||||
"This command only works for script files (.js, .jsx, .ts, .tsx), text files (.txt, .json, .css), ",
|
||||
"and literature files (.lit).",
|
||||
"The second argument passed in must be the hostname or IP of the target server. Examples:",
|
||||
" ",
|
||||
@@ -532,7 +532,7 @@ export const HelpTexts: Record<string, string[]> = {
|
||||
"Usage: wget [url] [target file]",
|
||||
" ",
|
||||
"Retrieves data from a URL and downloads it to a file on the current server. The data can only ",
|
||||
"be downloaded to a script (.js, .jsx, .ts, .tsx) or a text file (.txt, .json).",
|
||||
"be downloaded to a script (.js, .jsx, .ts, .tsx) or a text file (.txt, .json, .css).",
|
||||
"If the file already exists, it will be overwritten by this command.",
|
||||
" ",
|
||||
"Note that it will not be possible to download data from many websites because they do not allow ",
|
||||
|
||||
Reference in New Issue
Block a user