Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add shelr stop (some users expect it)

  • Loading branch information...
commit e87d6e5faffdd541e5a1009fcebeb2b4f7fd1cc4 1 parent fdfe069
@antono antono authored
View
2  Gemfile
@@ -6,6 +6,8 @@ gem 'rake'
gem "pry"
gem "pry-nav"
+gem 'ronn'
+
gem "rspec"
gem "aruba", :git => 'git://github.com/cucumber/aruba.git'
gem "simplecov"
View
8 Gemfile.lock
@@ -40,9 +40,11 @@ GEM
guard (>= 0.2.2)
guard-rspec (0.7.0)
guard (>= 0.10.0)
+ hpricot (0.8.5)
json (1.6.5)
method_source (0.7.1)
multi_json (1.1.0)
+ mustache (0.99.4)
pry (0.9.8.2)
coderay (~> 1.0.5)
method_source (~> 0.7)
@@ -50,6 +52,11 @@ GEM
pry-nav (0.1.0)
pry (~> 0.9.8.1)
rake (0.9.2.2)
+ rdiscount (1.6.8)
+ ronn (0.7.3)
+ hpricot (>= 0.8.2)
+ mustache (>= 0.7.0)
+ rdiscount (>= 1.5.8)
rspec (2.8.0)
rspec-core (~> 2.8.0)
rspec-expectations (~> 2.8.0)
@@ -79,5 +86,6 @@ DEPENDENCIES
pry
pry-nav
rake
+ ronn
rspec
simplecov
View
5 Rakefile
@@ -12,4 +12,9 @@ task :merge do
`chmod +x ./shelr`
end
+task :man do
+ `bundle exec ronn shelr.1.ronn`
+ `rm shelr.1.html`
+end
+
task :default => :spec
View
5 bin/shelr
@@ -13,6 +13,7 @@ HELP = <<-HELP
Recording:
record - record new shellcast
+ stop - stop recording (or just ctrl+d)
Publishing:
@@ -60,6 +61,10 @@ when 'play'
Shelr::Player.list
puts "Select one..."
end
+when 'stop'
+ puts '=> Now you can push your record'
+ puts '=> shelr push last'
+ exit 0
when 'dump'
if ARGV[1]
Shelr::Publisher.new.dump(ARGV[1])
View
4 shelr.1
@@ -22,6 +22,10 @@ Also you can shere Your records at http://shelr\.tv/ or other services\.
Will record your terminal unless you type \fBexit\fR or Ctrl+D and store it to $HOME/\.local/share/shelr/
.
.TP
+\fBstop\fR
+Will stop recording\. You can just type exit in shell or Ctrl+D\. Record will be stored to $HOME/\.local/share/shelr/
+.
+.TP
\fBlist\fR
lists all your shellcasts\.
.
View
4 shelr.1.ronn
@@ -18,6 +18,10 @@ or other services.
Will record your terminal unless you type `exit` or Ctrl+D and
store it to $HOME/.local/share/shelr/
+ * `stop`:
+ Will stop recording. You can just type exit in shell or Ctrl+D.
+ Record will be stored to $HOME/.local/share/shelr/
+
* `list`:
lists all your shellcasts.
Please sign in to comment.
Something went wrong with that request. Please try again.