Sha256: d0ad0504558e3f7f7f40e0c05d14aa14731f02e8aa6ad87f1f080851f0f371a2
Contents?: true
Size: 396 Bytes
Versions: 3
Compression:
Stored size: 396 Bytes
Contents
command :info do |c| c.syntax = 'wwdc info SESSION' c.summary = 'Get information about a session by its number and year' c.option '-y', '--year YEAR', 'WWDC Year' c.action do |args, options| determine_session!(args, options) determine_year!(args, options) @session = get(path: "/#{@year}/sessions/#{@number}") describe @session end end alias_command :session, :info
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wwdc-1.1.1 | ./lib/wwdc/commands/info.rb |
wwdc-1.1.0 | ./lib/wwdc/commands/info.rb |
wwdc-1.0.0 | ./lib/wwdc/commands/info.rb |