Sha256: 95bf56eb397e03c4255de11381b6df4a07b18efbdff06b288431b0e8a99b6557
Contents?: true
Size: 1.88 KB
Versions: 58
Compression:
Stored size: 1.88 KB
Contents
--- # meta/qb.yml file for qb.read_json # # qb settings for this role. see README.md for more info. # # description of the role to show in it's help output. description: > read a json file into a variable. yeah. 'cause you need to do it as a role sometimes. # prefix for role variables var_prefix: null # how to get a default for `dir` if it's not provided as the only # positional argument. if a positional argument is provided it will # override the method defined here. # # options: # # - null # - require the value on the command line. # - false # - don't provide qb_dir (means doesn't load or save options either). # - git_root # - use the git root fof the directory that the `qb` command is invoked # from. useful for 'project-centric' commands so they can be invoked # from anywhere in the repo. # - cwd # - use the directory the `qb` command is invoked form. # - {exe: PATH} # - invoke an execuable, passing a JSON serialization of the options # mapping their CLI names to values. path can be relative to role # directory. # - {find_up: FILENAME} # - starting at the current direcotry and climbing up to parent # directories, use the first one that contains FILENAME. error # if none is found. default_dir: false # default user to become for play default_user: null # set to false to not save options in .qb-options.yml files save_options: false options: # [] # - name: example # description: an example of a variable. # required: false # type: boolean # boolean (default) | string # short: e - name: src description: path to source file. required: true type: string short: s - name: var description: variable name to write value into. required: false type: string short: v - name: dump description: dump the value via debug task. required: false type: boolean short: d
Version data entries
58 entries across 58 versions & 1 rubygems