HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/node_modules/replace/bin/shared-options.js
var path = require("path");

module.exports = {
    regex: {
        position: 0,
        string: true,
        describe: "JavaScript regex for searching file e.g. '\\d+'",
        demandOption: true
    },
    paths: {
        position: 1,
        array: true,
        describe: "File or directory to search",
        default: ["*"]
    },
    stdin: {
        abbr: 'z',
        boolean: true,
        describe: 'Use standard in for input'
    },
    recursive: {
        abbr: 'r',
        boolean: true,
        describe: "Recursively search directories"
    },
    ignoreCase: {
        abbr: 'i',
        boolean: true,
        describe: "Ignore case when searching"
    },
    multiline: {
        abbr: 'm',
        boolean: true,
        describe: "Match line by line",
        default: true
    },
    include: {
        string: true,
        describe: "Only search in these files, e.g. '*.js,*.foo'"
    },
    exclude: {
        string: true,
        describe: "Don't search in these files, e.g. '*.min.js'"
    },
    'exclude-list': {
        string: true,
        describe: "Path of file containing a new-line separated list of files to ignore",
        default: path.join(__dirname, "..", "defaultignore"),
        hidden: true
    },
    n: {
        number: true,
        describe: "Limit the number of lines to preview"
    },
    count: {
        abbr: 'c',
        boolean: true,
        describe: 'Display count of occurances in each file'
    },
    quiet: {
        abbr: 'q',
        boolean: true,
        describe: "Just print the names of the files matches occured in (faster)"
    },
    color: {
        string: true,
        describe: "Highlight color",
        choices: ['red', 'green', 'blue', 'cyan', 'yellow', 'magenta', 'bold', 'italic'],
        default: 'cyan'
    },
    fileColor: {
        string: true,
        describe: "Highlight matching file's name in color",
        choices: ['red', 'green', 'blue', 'cyan', 'yellow', 'magenta', 'bold', 'italic'],
        default: 'yellow'
    },
    async: {
        abbr: 'a',
        boolean: true,
        describe: "Asynchronously read/write files in directory (faster)",
        hidden: true
    },
    noColor: {
        boolean: true,
        describe: "Disable color output"
    }
};