Sha256: 9359e6f44ad9cb8ca544b169888a27ded1b3b0af4ef66ca2b23fe67956abc68d
Contents?: true
Size: 1.55 KB
Versions: 8
Compression:
Stored size: 1.55 KB
Contents
module Takelage # takelage bit scope class BitScope < SubCommandBase include LoggingModule include SystemModule include ConfigModule include GitCheckModule include BitCheckModule include BitScopeModule # # bit scope add # desc 'add [SCOPE]', 'Add a bit [SCOPE]' long_desc <<-LONGDESC.gsub("\n", "\x5") Add bit remote scope This command will add a bit remote scope to a local bit workspace. The scope must exist on the bit remote server. LONGDESC # Add bit remote scope. def add(scope) exit false unless configured? %w(bit_ssh bit_remote) bit_scope_add scope end # # bit scope new # desc 'new [SCOPE]', 'Init a new bit [SCOPE]' long_desc <<-LONGDESC.gsub("\n", "\x5") Create new bit remote scope This command will create a new directory on the remote bit server. Then it will run "bit init --bare" in the newly created directory. See the bit documentation: http://docs.bit.dev/docs/bit-server LONGDESC # Create new bit remote scope. def new(scope) exit false unless configured? %w(bit_ssh bit_remote) bit_scope_new scope end # # bit scope list # desc 'list', 'List bit remote scopes' long_desc <<-LONGDESC.gsub("\n", "\x5") List bit remote scopes This command will list bit remote scopes. LONGDESC # List bit remote scopes. def list exit false unless configured? %w(bit_ssh bit_remote) scopes = bit_scope_list say scopes unless scopes.to_s.strip.empty? end end end
Version data entries
8 entries across 8 versions & 1 rubygems