tail-cf-plugin 0.0.18.pre → 0.0.19.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tail-cf-plugin/plugin.rb +3 -3
- metadata +2 -2
@@ -11,12 +11,12 @@ module TailCfPlugin
|
|
11
11
|
input :app, :desc => "App to tail logs from", :argument => :optional, :from_given => by_name(:app)
|
12
12
|
input :space, :type => :boolean, :desc => "Logs of all apps in the current space", :default => false
|
13
13
|
|
14
|
-
def
|
14
|
+
def logs
|
15
15
|
if input[:space]
|
16
16
|
app_guid = nil
|
17
17
|
else
|
18
18
|
unless input[:app]
|
19
|
-
Mothership::Help.command_help(@@commands[:
|
19
|
+
Mothership::Help.command_help(@@commands[:logs])
|
20
20
|
fail "Please provide an application to log or call with --space"
|
21
21
|
end
|
22
22
|
app_guid = input[:app].guid
|
@@ -26,7 +26,7 @@ module TailCfPlugin
|
|
26
26
|
loggregator_client.listen(loggregator_host, client.current_space.guid, app_guid, client.token.auth_header)
|
27
27
|
end
|
28
28
|
|
29
|
-
::ManifestsPlugin.default_to_app_from_manifest(:
|
29
|
+
::ManifestsPlugin.default_to_app_from_manifest(:logs, false)
|
30
30
|
|
31
31
|
private
|
32
32
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tail-cf-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.19.pre
|
5
5
|
prerelease: 7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cf
|