Sha256: f90f7a807bb07329ef464ec84eb54395dbd3021b145d11c84e11dea692ed1ad0

Contents?: true

Size: 1.31 KB

Versions: 26

Compression:

Stored size: 1.31 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:
  tm -c ~/.ticketmaster.yml -p dummy -A username:cheese,password:cakes -P 555 config --add
  tm -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

26 entries across 26 versions & 1 rubygems

Version Path
ticketmaster-0.7.0 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.6.10 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.6.9 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.6.8 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.6.7 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.6.6 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.5.6 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.5.5 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.5.3 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.5.2 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.5.1 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.5.0 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.4.9 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.4.8 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.4.7 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.4.6 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.4.5 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.4.3 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.4.2 lib/ticketmaster/cli/commands/help/config
ticketmaster-0.4.1 lib/ticketmaster/cli/commands/help/config