add homesick push to readme, a placeholder test, and removed the all option from git push
This commit is contained in:
@@ -33,6 +33,14 @@ If you're not sure what castles you have around, you can easily list them:
|
|||||||
|
|
||||||
homesick list
|
homesick list
|
||||||
|
|
||||||
|
To pull your castle (omit CASTLE_NAME to pull all castles):
|
||||||
|
|
||||||
|
homesick pull CASTLE_NAME
|
||||||
|
|
||||||
|
To push your castle:
|
||||||
|
|
||||||
|
homesick push CASTLE_NAME
|
||||||
|
|
||||||
Not sure what else homesick has up its sleeve? There's always the built in help:
|
Not sure what else homesick has up its sleeve? There's always the built in help:
|
||||||
|
|
||||||
homesick help
|
homesick help
|
||||||
|
|||||||
@@ -80,7 +80,6 @@ class Homesick < Thor
|
|||||||
end
|
end
|
||||||
|
|
||||||
desc "push NAME", "Push the specified castle"
|
desc "push NAME", "Push the specified castle"
|
||||||
method_option :all, :type => :boolean, :default => false, :required => false, :desc => "Update all cloned castles"
|
|
||||||
def push(name)
|
def push(name)
|
||||||
push_castle name
|
push_castle name
|
||||||
|
|
||||||
|
|||||||
@@ -145,6 +145,12 @@ describe "homesick" do
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
describe "push" do
|
||||||
|
|
||||||
|
xit "needs testing"
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
describe "track" do
|
describe "track" do
|
||||||
it "should move the tracked file into the castle" do
|
it "should move the tracked file into the castle" do
|
||||||
castle = given_castle('castle_repo')
|
castle = given_castle('castle_repo')
|
||||||
|
|||||||
Reference in New Issue
Block a user