watson-ruby icon indicating copy to clipboard operation
watson-ruby copied to clipboard

Should command line args append or overwrite config/RC parameters? [lib/watson/command.rb]

Open nhmood opened this issue 11 years ago • 0 comments

filename : lib/watson/command.rb line # : 19 tag : review md5 : 09b421d74dc4a5721a92c766da0a14d8

    # [review] - Should command line args append or overwrite config/RC parameters?
    #            Currently we overwrite, maybe add flag to overwrite or not?
            # Identify method entry
        debug_print "#{ self } : #{ __method__ }\n"

        # List of possible flags, used later in parsing and for user reference
        _flag_list = ["-c", "--context-depth",
                      "-d", "--dirs",
                      "-f", "--files",
                      "-h", "--help",
                      "-i", "--ignore",
                      "-p", "--parse-depth",
                      "-r", "--remote",
                      "-t", "--tags",
                      "-u", "--update",
                      "-v", "--version"

nhmood avatar Nov 21 '13 16:11 nhmood