37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# File 'lib/github_exporter/cli.rb', line 37
def usage
puts "Usage:\n\n $github_exporter -e, --exts=EXT1 EXT2 EXT3 -u, --url=URL -theme=theme_name\n\nExample:\n\n # Export the *.rb from the given repository\n\n $github_exporter -e rb -u https://github.com/agilecreativity/filename_cleaner.git\n\n # Export the *.rb and also 'Gemfile' from a given directory 'filename_cleaner'\n # Note: must be one directory directly relative to current directory\n\n $github_exporter -e rb -f Gemfile -u filename_cleaner\n\n # Export the *.rb and also 'Gemfile' from a given directory 'filename_cleaner'\n # using 'solarized' theme\n # Note: must be one directory directly relative to current directory\n\n $github_exporter -e rb -f Gemfile -u filename_cleaner -t solarized\n\nOptions:\n\n -u, --url=URL # The full url of the github project to be cloned\n\n -e, --exts=EXT1 EXT2 EXT3 .. # The list of extension names to be exported\n # e.g. -e md rb java\n\n -f, [--non-exts=one two three] # The list of file without extension to be exported\n # e.g. -f Gemfile LICENSE\n\n -t, [--theme=theme_name] # The theme to be used with vim_printer see :h :colorscheme from Vim\n # default: 'default'\n # e.g. -t solarized\n\nExport a given URL or project to a single pdf file\n\n EOS\nend\n"
|