class

Yt::CLI

Inherits Clim < Clim::Types < Reference < Object

The main CLI entry point for the yt application.

Class methods

command
Source
display_video_details(video : Models::Video)
Source
display_video_list(videos : Array(Models::Video))
Source
display_video_yaml(video : Models::Video)
Source
extract_auth_code(input : String) : String
Source
get_access_token(options_token : String | Nil = nil) : String | Nil
Source
handle_api_error(ex : Exception) : Nil
Source
handle_auth_command(opts, args)
Source
handle_delete_command(opts, args)
Source
handle_get_command(opts, args)
Source
handle_list_command(opts)
Source
handle_profile_current_command
Source
handle_profile_delete_command(name : String) : Nil
Source
handle_profile_list_command
Source
handle_profile_rename_command(old_name : String, new_name : String) : Nil
Source
handle_profile_use_command(name : String) : Nil
Source
handle_transcript_command(opts, args)
Source
handle_update_command(opts, args)
Source
handle_upload_command(opts, args)
Source
input
Source
run(args, output_io : IO = STDOUT, input : IO = STDIN)

Helper to allow testing with different IO

Source
start(argv, io : IO = STDOUT)
Source
start_parse(argv, io : IO = STDOUT)
Source

Nested types