Class: Josef::Cli
- Inherits:
-
Thor
- Object
- Thor
- Josef::Cli
- Includes:
- Diff, GoogleWorkspace::Client, Remote
- Defined in:
- lib/josef/cli.rb
Instance Method Summary collapse
Methods included from Diff
#be_create?, #be_delete?, #changed?, #remote_diff, #should_be_tareget?
Methods included from Local
#exculued?, #exculued_groups, #exculued_groups!, #local, #local!
Methods included from Remote
#remote, #remote!, #remote_apply, #remote_dump
Methods included from GoogleWorkspace::Group
#create_group, #delete_group, #groups, #groups!
Methods included from GoogleWorkspace::Members
#add_member, #del_member, #member_mail_addreses, #members_by
Methods included from GoogleWorkspace::Config
#actor, #actor!, #credential_path, #domains, #token_path
Methods included from GoogleWorkspace::Client
#authorize!, #client, #client!
Instance Method Details
#apply(path) ⇒ Object
36 37 38 39 |
# File 'lib/josef/cli.rb', line 36 def apply(path) local(path) remote_apply(local) end |
#console ⇒ Object
42 43 44 |
# File 'lib/josef/cli.rb', line 42 def console binding.irb end |
#diff(path) ⇒ Object
30 31 32 33 |
# File 'lib/josef/cli.rb', line 30 def diff(path) local(path) remote_diff(remote, local, "dry run") end |
#dump ⇒ Object
24 25 26 |
# File 'lib/josef/cli.rb', line 24 def dump remote_dump end |