Module: Cloudphoto::Help

Defined in:
lib/cloudphoto/help.rb

Class Method Summary collapse

Class Method Details

.help_downloadObject



23
24
25
26
27
28
# File 'lib/cloudphoto/help.rb', line 23

def help_download
  <<~HELP
    cloudphoto download -p path -a album
    Download all photos from **album** album to **path** directory
  HELP
end

.help_listObject



30
31
32
33
34
35
# File 'lib/cloudphoto/help.rb', line 30

def help_list
  <<~HELP
    cloudphoto list -a album
    List available photos in **album** album
  HELP
end

.help_uploadObject



16
17
18
19
20
21
# File 'lib/cloudphoto/help.rb', line 16

def help_upload
  <<~HELP
    cloudphoto upload -p path -a album
    Upload all photos in **path** directory to **album** album
  HELP
end