bin/braid in realityforge-braid-0.9.3 vs bin/braid in realityforge-braid-0.9.4

- old
+ new

@@ -38,15 +38,15 @@ examples <<-TXT . braid add http://remote/path.git local/dir . braid add http://remote/path local/dir TXT - mixin :argument_url, :option_type, :optional_path, :option_branch, :option_rails_plugin, :option_revision, :option_full, :option_verbose + mixin :argument_url, :optional_path, :option_branch, :option_revision, :option_full, :option_verbose run { Braid.verbose = verbose - Braid::Command.run(:add, url, {"type" => type, "path" => path, "branch" => branch, "rails_plugin" => rails_plugin, "revision" => revision, "full" => full}) + Braid::Command.run(:add, url, {"path" => path, "branch" => branch, "revision" => revision, "full" => full}) } } mode(:update) { description <<-TXT @@ -76,11 +76,11 @@ description <<-TXT Remove a mirror. * removes metadata from .braids * removes the local directory and commits the removal - * removes the git remote by default, --keep can be used to supress that + * removes the git remote by default, --keep can be used to suppress that TXT examples <<-TXT . braid remove local/dir TXT @@ -171,31 +171,14 @@ argument(:url) { attr } } - mixin(:option_type) { - option(:type, :t) { - optional - argument :required - desc 'mirror type' - attr - } - } - mixin(:option_branch) { option(:branch, :b) { optional argument :required desc 'remote branch name' - attr - } - } - - mixin(:option_rails_plugin) { - option(:rails_plugin, :p) { - optional - desc 'added mirror is a Rails plugin' attr } } mixin(:option_revision) {