Sha256: fcb266e95124ffa0512419148beb64bc8a52db88e9302b120861845f72549304

Contents?: true

Size: 1.32 KB

Versions: 4

Compression:

Stored size: 1.32 KB

Contents

This command is used to configure ticketmaster settings for use in your terminal.

By default, ticketmaster searches for the config information in a file named 'ticketmaster.yml' in the current directory. Next it searches for 'config/ticketmaster.yml' and if that fails, it uses the home directory's ~/.ticketmaster.yml (note the . in front on this one). There is also the TICKETMASTER_CONFIG environment variable that you can set to point to another configuration file anywhere if necessary.

This command helps facilitate the creation of a ticketmaster.yml.

Warning: Due to the way the authentication is parsed, if any keys or values contain a comma (,) or colin (:), it can not be parsed through the -A command. Usually this isn't a problem, and if it is, it can be resolved though putting the values in a config file.

Example:
  ticket -c ~/.ticketmaster.yml -p dummy -A username:cheese,password:cakes -P 555 config --add
  ticket -p dummy config --set-default-provider

The format for ticketmaster.yml is:
  default: <default provider>
  <provider name>:
    authentication:
      <authentication information>
    project: <project>
  [...]

For example, a ticketmaster.yml with the Dummy provider would look something like this:
  default: dummy
  dummy:
    authentication:
      username: name
      password: doesnt-matter
    project: 555

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ticketmaster-0.3.4 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.3.3 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.3.2 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.3.1 lib/ticketmaster/cli/commands/help/config